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

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

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

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

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

.page-payment-methods__button--register:hover {
  background-color: #E0E0E0;
  color: #000000;
}

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

.page-payment-methods__button--login:hover {
  background-color: #E0A83D;
  color: #000000;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
  object-fit: cover;
  filter: brightness(0.7); /* Allowed for background effect, not color change */
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-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__introduction-section .page-payment-methods__text-content,
.page-payment-methods__deposit-methods-section .page-payment-methods__text-content,
.page-payment-methods__withdrawal-methods-section .page-payment-methods__text-content,
.page-payment-methods__security-section .page-payment-methods__text-content,
.page-payment-methods__cta-section .page-payment-methods__text-content {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-payment-methods__card-features li {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #444444;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-image {
    height: 400px; /* Adjust hero image height for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-content {
    font-size: 0.95em;
  }
  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image {
    height: 180px;
  }
  .page-payment-methods__image-content,
  .page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__hero-image {
    height: 300px;
  }
  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-image {
    filter: brightness(0.5); /* Slightly darker on mobile for readability */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__hero-image {
    height: 250px;
  }
}