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

.page-payment-methods__hero-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding to avoid double spacing with shared header offset */
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

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

.page-payment-methods__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-payment-methods__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.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(-2px);
}

.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(-2px);
}

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

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

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

.page-payment-methods__section-title {
  font-size: 2.2rem;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

.page-payment-methods__method-card,
.page-payment-methods__feature-item,
.page-payment-methods__link-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
  text-decoration: none;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__feature-item:hover,
.page-payment-methods__link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-card img,
.page-payment-methods__feature-item img {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Max width for content images */
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #EFEFEF; /* Light background for images */
}

.page-payment-methods__card-title,
.page-payment-methods__feature-title,
.page-payment-methods__link-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-payment-methods__card-text,
.page-payment-methods__feature-text,
.page-payment-methods__link-text {
  font-size: 0.95rem;
  color: #666666;
  flex-grow: 1;
}

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

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

.page-payment-methods__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #FCBC45;
}

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

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

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  color: #000000;
}

.page-payment-methods__cta-image {
  margin-top: 50px;
  text-align: center;
}

.page-payment-methods__cta-image img {
  width: 100%;
  max-width: 1000px; /* Larger image for CTA banner */
  height: auto;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__explore-more {
  background-color: #F0F0F0;
}

.page-payment-methods__explore-more .page-payment-methods__section-title {
  color: #000000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

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

  .page-payment-methods__methods-grid,
  .page-payment-methods__features-grid,
  .page-payment-methods__links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-payment-methods__method-card img,
  .page-payment-methods__feature-item img,
  .page-payment-methods__cta-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are not too small on mobile */
    min-height: 200px; /* Ensure content images are not too small on mobile */
  }
  
  .page-payment-methods__section-description {
    font-size: 0.95rem;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__feature-title,
  .page-payment-methods__link-title {
    font-size: 1.2rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__section {
    padding: 30px 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }
  .page-payment-methods__intro-text {
    font-size: 1rem;
  }
  .page-payment-methods__section-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__faq-item {
    padding: 15px;
  }
  .page-payment-methods__cta-buttons,
  .page-payment-methods__cta-center {
    flex-direction: column;
    gap: 15px;
  }
}