/* style/payment-methods.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không thêm vào đây */

.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary Color */
  border: 2px solid #FFA53A;
}

.page-payment-methods__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F; /* Card BG for contrast */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

/* General Content Sections */
.page-payment-methods__content-section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  text-align: justify;
}

.page-payment-methods__highlight {
  color: #FFA53A; /* Auxiliary Color for highlights */
  font-weight: bold;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 1000px; /* Example max width for content images */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-payment-methods__image-center {
  margin-left: auto;
  margin-right: auto;
}

/* Payment Method Grid */
.page-payment-methods__payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 165, 58, 0.2);
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-text {
  font-size: 1rem;
  margin-bottom: 15px;
  flex-grow: 1; /* Ensure text fills space */
}

.page-payment-methods__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.page-payment-methods__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.page-payment-methods__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFA53A; /* Auxiliary Color */
  font-weight: bold;
}

/* Feature Grid (Criteria Section) */
.page-payment-methods__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  text-align: center;
  color: #FFF3E6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 165, 58, 0.2);
}

.page-payment-methods__feature-icon {
  width: 250px; /* Adjusted to be >= 200px */
  height: 200px; /* Adjusted to be >= 200px */
  margin-bottom: 20px;
  border-radius: 8px; /* Apply border-radius for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__feature-title {
  font-size: 1.4rem;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__feature-text {
  font-size: 1rem;
  flex-grow: 1;
}

/* Guide Steps */
.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__guide-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  color: #FFF3E6; /* Text Main */
}

.page-payment-methods__guide-title {
  font-size: 1.6rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.page-payment-methods__guide-card ol {
  list-style: decimal;
  padding-left: 25px;
}

.page-payment-methods__guide-card ol li {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-payment-methods__guide-card ol li strong {
  color: #FFA53A; /* Auxiliary Color */
}

.page-payment-methods__text-link {
  color: #FFA53A;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-payment-methods__text-link:hover {
  color: #FFB04D;
}

/* Benefits List */
.page-payment-methods__list-benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-payment-methods__list-benefits li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
}

.page-payment-methods__list-benefits li::before {
  content: '⭐'; /* Use an emoji or custom icon */
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6; /* Text Main */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary Color */
  cursor: pointer;
  background-color: rgba(255, 165, 58, 0.05); /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary default style */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFB04D; /* Glow */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Dark Background Section */
.page-payment-methods__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-payment-methods__dark-section {
  background-color: #FF8C1A; /* Main Color */
  color: #ffffff; /* Forced white text for contrast */
}

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__feature-title {
  color: #ffffff; /* Ensure titles are white on dark section */
}

.page-payment-methods__dark-section .page-payment-methods__feature-card {
  background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark card */
  border-color: rgba(255, 255, 255, 0.3); /* Lighter border for contrast */
}

.page-payment-methods__dark-section .page-payment-methods__feature-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}