.page-payment-methods {
  background-color: #08160F; /* Nền chính theo màu tùy chỉnh */
  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 20px;
  box-sizing: border-box;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để body xử lý padding-top */
  text-align: center;
  overflow: hidden;
  background: #0A4B2C; /* Deep Green */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-payment-methods__hero-description {
  font-size: 1.25rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

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

.page-payment-methods__btn-secondary:hover {
  background: #F2C14E;
  color: #08160F; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__overview-section,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__faq-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__security-features,
.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-payment-methods__method-grid,
.page-payment-methods__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-payment-methods__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card.page-payment-methods__light-bg {
  background-color: #0A4B2C; /* Deep Green - slightly lighter for contrast */
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

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

.page-payment-methods__card-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__card-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__card-list li::before {
  content: '✓';
  color: #2AD16F; /* Button top gradient color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__security-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-payment-methods__security-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #2AD16F;
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

/* Details element specific styling */
details.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: #0A4B2C;
  color: #F2FFF6;
}

details.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question .page-payment-methods__faq-toggle {
  color: #F2FFF6;
}

.page-payment-methods__cta-section {
  padding: 100px 0;
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%); /* Main colors gradient */
  color: #F2FFF6;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #08160F; /* Background color for contrast */
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #08160F;
}

.page-payment-methods__cta-section .page-payment-methods__btn-primary {
  background: #08160F;
  color: #F2FFF6;
}

.page-payment-methods__cta-section .page-payment-methods__btn-primary:hover {
  background: #11271B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__cta-section .page-payment-methods__btn-secondary {
  border-color: #08160F;
  color: #08160F;
}

.page-payment-methods__cta-section .page-payment-methods__btn-secondary:hover {
  background: #08160F;
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-features,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-payment-methods__hero-image,
  .page-payment-methods__card-image,
  .page-payment-methods__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__main-title {
    font-size: 2.2rem;
  }

  .page-payment-methods__hero-description {
    font-size: 1rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card,
  .page-payment-methods__security-item {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 1.5rem;
  }

  .page-payment-methods__security-title {
    font-size: 1.4rem;
  }

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

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }
}