.page-payment-methods {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3; /* Overlay for text readability */
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #F0F0F0;
}

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

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

.page-payment-methods__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-3px);
}

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

.page-payment-methods__overview-section, .page-payment-methods__details-section, .page-payment-methods__process-section, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-payment-methods__overview-title, .page-payment-methods__details-title, .page-payment-methods__process-title, .page-payment-methods__security-title, .page-payment-methods__faq-title, .page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__overview-text, .page-payment-methods__details-intro, .page-payment-methods__process-intro, .page-payment-methods__security-intro, .page-payment-methods__cta-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-payment-methods__feature-card:hover, .page-payment-methods__method-card:hover, .page-payment-methods__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__feature-icon, .page-payment-methods__security-icon, .page-payment-methods__method-image {
  width: 100%; /* Ensures image fills card width */
  max-width: 400px; /* Constrain max width for larger screens */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__feature-title, .page-payment-methods__security-heading, .page-payment-methods__method-name {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__feature-description, .page-payment-methods__security-text, .page-payment-methods__method-info {
  font-size: 1em;
  color: #666666;
}

.page-payment-methods__method-category {
  margin-bottom: 60px;
}

.page-payment-methods__category-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin: 60px 0 20px 0;
  font-weight: bold;
}

.page-payment-methods__category-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__method-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-button:hover {
  background-color: #E0A030;
}

.page-payment-methods__process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

.page-payment-methods__process-subtitle {
  font-size: 2em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-payment-methods__process-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-payment-methods__process-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-payment-methods__process-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-payment-methods__step-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 5px;
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #666666;
}

.page-payment-methods__button--deposit, .page-payment-methods__button--withdraw {
  margin-top: 30px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-payment-methods__button--deposit:hover, .page-payment-methods__button--withdraw:hover {
  background-color: #333333;
}

.page-payment-methods__security-section {
  background-color: #F8F8F8;
}

.page-payment-methods__faq-item {
  text-align: left;
}

.page-payment-methods__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FCBC45;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
}

.page-payment-methods__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-payment-methods__cta-title {
  color: #FCBC45;
}

.page-payment-methods__cta-description {
  color: #F0F0F0;
}

.page-payment-methods__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-payment-methods__button--register-alt {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--register-alt:hover {
  background-color: #E0A030;
  transform: translateY(-3px);
}

.page-payment-methods__button--login-alt {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__button--login-alt:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-payment-methods__process-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__hero-actions, .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__overview-title, .page-payment-methods__details-title, .page-payment-methods__process-title, .page-payment-methods__security-title, .page-payment-methods__faq-title, .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__category-title {
    font-size: 1.8em;
  }
  .page-payment-methods__feature-title, .page-payment-methods__security-heading, .page-payment-methods__method-name, .page-payment-methods__process-subtitle, .page-payment-methods__faq-question {
    font-size: 1.3em;
  }
  .page-payment-methods__feature-icon, .page-payment-methods__security-icon, .page-payment-methods__method-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__container {
    padding: 20px 15px;
  }
  .page-payment-methods__overview-section, .page-payment-methods__details-section, .page-payment-methods__process-section, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  /* Mobile content area image constraint */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-payment-methods__hero-container {
    padding: 40px 20px;
    min-height: 400px;
  }
}