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

.page-index-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-index-payment-methods__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 20px;
}

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

.page-index-payment-methods__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

.page-index-payment-methods__button--register {
  background-color: #000000; /* Main color for register */
  color: #FFFFFF;
}

.page-index-payment-methods__button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index-payment-methods__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-index-payment-methods__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-index-payment-methods__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-index-payment-methods__section--deposits {
  background-color: #f9f9f9;
}

.page-index-payment-methods__section--withdrawals {
  background-color: #FFFFFF;
}

.page-index-payment-methods__section--security {
  background-color: #f9f9f9;
}

.page-index-payment-methods__section--faq {
  background-color: #FFFFFF;
}

.page-index-payment-methods__section--call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-index-payment-methods__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-index-payment-methods__section--call-to-action .page-index-payment-methods__section-title {
  color: #FFFFFF;
}

.page-index-payment-methods__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-index-payment-methods__section--call-to-action .page-index-payment-methods__section-intro {
  color: #CCCCCC;
}

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

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

.page-index-payment-methods__section--deposits .page-index-payment-methods__card, 
.page-index-payment-methods__section--withdrawals .page-index-payment-methods__card {
  min-height: 550px; /* Ensure cards have similar height */
}

.page-index-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-index-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index-payment-methods__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
}

.page-index-payment-methods__cta {
  margin-top: 60px;
}

.page-index-payment-methods__cta-text {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: 500;
}

.page-index-payment-methods__section--call-to-action .page-index-payment-methods__cta-text {
  color: #FFFFFF;
}

.page-index-payment-methods__button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index-payment-methods__button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-index-payment-methods__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px; /* Ensure consistent height for feature items */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-index-payment-methods__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.page-index-payment-methods__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-payment-methods__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-payment-methods__feature-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
}

.page-index-payment-methods__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

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

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

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

.page-index-payment-methods__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-index-payment-methods__button--primary:hover {
  background-color: #e0a53b;
}

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

.page-index-payment-methods__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #e0a53b;
}

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

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

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

@media (max-width: 768px) {
  .page-index-payment-methods__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-index-payment-methods__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-index-payment-methods__section {
    padding: 40px 15px;
  }

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

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

  .page-index-payment-methods__card, .page-index-payment-methods__feature-item {
    padding: 20px;
  }

  .page-index-payment-methods__card-image, .page-index-payment-methods__feature-icon {
    height: 180px;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
  }

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

  .page-index-payment-methods__cta-text {
    font-size: 1.2em;
  }

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

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

  .page-index-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-index-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-index-payment-methods__grid, .page-index-payment-methods__features {
    grid-template-columns: 1fr;
  }

  .page-index-payment-methods__hero-actions, .page-index-payment-methods__cta-buttons {
    width: 100%;
    padding: 0 15px;
  }

  .page-index-payment-methods__button {
    width: 100%;
    max-width: none;
  }
}