.page-payment-methods {
  background-color: #08160F; /* Nền chính của body */
  color: #F2FFF6; /* Màu chữ chính trên nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* padding-top 10px theo yêu cầu */
  background-color: #08160F;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao để không quá lớn trên desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  padding: 40px 15px;
  max-width: 900px;
  z-index: 1;
  color: #F2FFF6;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Tương đối, không quá lớn */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Nút màu xanh lá cây */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Đảm bảo nút không tràn */
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* General Section Styling */
.page-payment-methods__intro-section, 
.page-payment-methods__how-to-deposit-section, 
.page-payment-methods__how-to-withdraw-section, 
.page-payment-methods__support-section, 
.page-payment-methods__cta-section {
  background-color: #08160F;
  color: #F2FFF6;
  padding: 60px 0;
}

.page-payment-methods__deposit-methods-section, 
.page-payment-methods__withdrawal-methods-section, 
.page-payment-methods__security-section, 
.page-payment-methods__faq-section {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6;
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-payment-methods__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

.page-payment-methods__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
}

/* Methods Grid */
.page-payment-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-payment-methods__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
}

.page-payment-methods__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Steps Grid */
.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-payment-methods__step-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: contain; /* Use contain for step images */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-payment-methods__step-text {
  font-size: 0.95em;
  color: #A7D9B8;
}

.page-payment-methods__note-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #A7D9B8;
  font-size: 0.9em;
}

/* Security Features */
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-payment-methods__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__feature-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #57E38D; /* Glow */
}

.page-payment-methods__feature-text {
  font-size: 0.9em;
  color: #A7D9B8;
}

/* Support Channels */
.page-payment-methods__support-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-payment-methods__support-link {
  display: inline-block;
  background-color: #22C768; /* Auxiliary color */
  color: #000000; /* Dark text for contrast */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__support-link:hover {
  background-color: #11A84E; /* Main color on hover */
  color: #F2FFF6;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F2C14E; /* Gold */
  background-color: #1E3A2A; /* Divider for summary background */
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

/* CTA Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #08160F;
}

.page-payment-methods__cta-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__methods-grid, 
  .page-payment-methods__steps-grid, 
  .page-payment-methods__security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-payment-methods__hero-content {
    padding: 20px 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General section padding */
  .page-payment-methods__intro-section, 
  .page-payment-methods__deposit-methods-section, 
  .page-payment-methods__how-to-deposit-section, 
  .page-payment-methods__withdrawal-methods-section, 
  .page-payment-methods__how-to-withdraw-section, 
  .page-payment-methods__security-section, 
  .page-payment-methods__support-section, 
  .page-payment-methods__faq-section, 
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-payment-methods__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__container,
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__support-channels,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-payment-methods__method-card,
  .page-payment-methods__step-item,
  .page-payment-methods__feature-item {
    padding: 20px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__step-image {
    height: auto; /* Allow auto height on mobile */
    max-height: 150px; /* Max height for smaller screens */
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-payment-methods__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__support-channels {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__support-link {
    width: 100%;
  }
}

/* Contrast Fixes */
.page-payment-methods__dark-bg {
  background-color: #08160F; /* Nền chính */
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__light-bg {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__card {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E;
}

.page-payment-methods__faq-question {
  background-color: #1E3A2A; /* Divider for summary background */
  color: #F2C14E; /* Gold */
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-payment-methods__support-link {
  background-color: #22C768; /* Auxiliary color */
  color: #000000; /* Dark text for contrast */
}

.page-payment-methods__support-link:hover {
  background-color: #11A84E; /* Main color on hover */
  color: #F2FFF6;
}