.page-payment-methods {
  color: #333333; /* Dark text for default light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #003366;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

.page-payment-methods__hero-cta {
  display: inline-block;
  background-color: #FFCC00; /* Auxiliary color for CTA */
  color: #003366; /* Main color for text on CTA */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__hero-cta:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Light background for content sections */
  margin-bottom: 20px;
}

.page-payment-methods__overview-section {
  background-color: #ffffff;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__section-title {
  font-size: 2.2em;
  color: #003366; /* Main color for section titles */
  text-align: center;
  margin-bottom: 30px;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

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

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

.page-payment-methods__method-icon,
.page-payment-methods__feature-icon {
  width: 200px; /* Min width 200px */
  height: auto; /* Height auto to maintain aspect ratio */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title,
.page-payment-methods__feature-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-payment-methods__method-description,
.page-payment-methods__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #444444;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-payment-methods__method-cta,
.page-payment-methods__register-cta,
.page-payment-methods__account-cta,
.page-payment-methods__learn-more-cta,
.page-payment-methods__support-cta,
.page-payment-methods__final-cta {
  display: inline-block;
  background-color: #003366; /* Main color for CTAs */
  color: #FFCC00; /* Auxiliary color for text on CTAs */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__method-cta:hover,
.page-payment-methods__register-cta:hover,
.page-payment-methods__account-cta:hover,
.page-payment-methods__learn-more-cta:hover,
.page-payment-methods__support-cta:hover,
.page-payment-methods__final-cta:hover {
  background-color: #002244;
  transform: translateY(-3px);
}

.page-payment-methods__additional-info {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666666;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px);
  }

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

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

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

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

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 250px; /* Adjust for smaller screens, but still >= 200px */
  }

  .page-payment-methods__hero-image,
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    max-width: 100%;
    height: auto;
  }

  /* All img tags within .page-payment-methods must use max-width: 100%; height: auto; */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.6em;
  }

  .page-payment-methods__hero-cta {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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

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

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 200px;
  }
}