.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Inherited from body, explicit for clarity */
}

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

.page-payment-methods__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.6)), url('[GALLERY:hero:1920x1080:8day8,payment_hero,secure_online_banking,vietnam]') no-repeat center center/cover;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-payment-methods__main-title {
  font-size: 3.2em;
  color: #ffc107;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

.page-payment-methods__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
  border-color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__introduction-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__introduction-section .page-payment-methods__section-title {
  color: #007bff;
}

.page-payment-methods__deposit-methods-section {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 80px 0;
}

.page-payment-methods__deposit-methods-section .page-payment-methods__section-title {
  color: #ffc107;
}

.page-payment-methods__withdrawal-methods-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__withdrawal-methods-section .page-payment-methods__section-title {
  color: #007bff;
}

.page-payment-methods__guide-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
}

.page-payment-methods__guide-section .page-payment-methods__section-title {
  color: #ffc107;
}

.page-payment-methods__important-notes-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__important-notes-section .page-payment-methods__section-title {
  color: #007bff;
}

.page-payment-methods__security-section {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 80px 0;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #ffc107;
}

.page-payment-methods__faq-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #007bff;
}

.page-payment-methods__cta-bottom-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__cta-bottom-section .page-payment-methods__section-title {
  color: #ffc107;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__text-block strong {
  color: inherit; /* Ensure strong text color respects parent */
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__introduction-section .page-payment-methods__card,
.page-payment-methods__withdrawal-methods-section .page-payment-methods__card,
.page-payment-methods__faq-section .page-payment-methods__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

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

.page-payment-methods__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-payment-methods__introduction-section .page-payment-methods__card-title,
.page-payment-methods__withdrawal-methods-section .page-payment-methods__card-title,
.page-payment-methods__faq-section .page-payment-methods__card-title {
  color: #007bff;
}

.page-payment-methods__card-text {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-payment-methods__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-payment-methods__guide-block {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__guide-subtitle {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  font-size: 1.05em;
}

.page-payment-methods__ordered-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  color: #ffc107;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__unordered-list li::before {
  content: "\2022"; /* Bullet point */
  color: #ffc107;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.page-payment-methods__security-section .page-payment-methods__content-image {
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 1.1em;
  color: #007bff;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #e0e0e0;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #ffc107;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
  content: "\2212"; /* Minus sign */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #333333;
}

.page-payment-methods__dark-bg {
  color: #ffffff;
}

.page-payment-methods__light-bg {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__main-title {
    font-size: 2.5em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }

  .page-payment-methods__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-payment-methods__main-title {
    font-size: 2em;
  }

  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }

  .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: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__guide-block,
  .page-payment-methods__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__card-image {
    height: auto !important;
  }
  
  .page-payment-methods__text-block,
  .page-payment-methods__ordered-list li,
  .page-payment-methods__unordered-list li {
    font-size: 1em;
  }

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

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