.page-payment-methods {
  color: #333333; /* Dark text for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  z-index: 2;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FCBC45;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.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, transform 0.2s ease;
  min-width: 200px;
  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: transparent;
  color: #FFFFFF;
  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: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

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

.page-payment-methods__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-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__why-choose-section {
  background-color: #f8f8f8;
}

.page-payment-methods__feature-grid,
.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__feature-icon,
.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

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

.page-payment-methods__feature-text,
.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-payment-methods__security-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-payment-methods__security-item-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__security-item-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-payment-methods__faq-list {
  margin-top: 50px;
}

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

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

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

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

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-payment-methods__cta-section .page-payment-methods__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-payment-methods__button--cta:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  
  .page-payment-methods__hero-content {
    position: static;
    transform: none;
    padding: 30px 20px;
    max-width: 100%;
  }

  .page-payment-methods__hero-image {
    display: none; /* Hide large hero image on mobile for better focus on text */
  }

  .page-payment-methods__hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:hero_payment_mobile:768x1024:online casino,payment methods,secure transactions,fast withdrawals,luxury,gold,red,filipino culture]'); /* Use a smaller background image for mobile */
    background-size: cover;
    background-position: center;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__button {
    width: 100%;
    min-width: unset;
  }

  .page-payment-methods__container {
    padding: 30px 15px;
  }

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

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

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

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }

  .page-payment-methods__feature-text,
  .page-payment-methods__method-description {
    font-size: 0.9em;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-payment-methods__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}