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

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

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section:nth-child(even) {
  background-color: #f8f8f8;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000; /* Primary color for titles */
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Hero Section */
.page-payment-methods__hero-section {
  padding: 0; /* Adjusted padding as hero-image will take care of height */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
  min-height: 600px; /* Minimum height for hero section */
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

.page-payment-methods__button--login {
  background-color: #FCBC45; /* Custom color for Login background */
  color: #000000; /* Dark text for light button background */
}

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

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

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

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

.page-payment-methods__button--support:hover {
  background-color: #333333;
}

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

.page-payment-methods__button--promo:hover {
  background-color: #333333;
}

/* Why Choose Section */
.page-payment-methods__why-choose {
  background-color: #FFFFFF;
}

.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-payment-methods__feature-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Deposit & Withdrawal Methods Sections */
.page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods {
  background-color: #f8f8f8;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
}

.page-payment-methods__method-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  min-height: 200px; /* Minimum height for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000000;
}

.page-payment-methods__method-description {
  font-size: 0.95em;
  color: #555555;
}

.page-payment-methods__call-to-action-text {
  font-size: 1.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

/* Security Info Section */
.page-payment-methods__security-info {
  background-color: #FFFFFF;
}

.page-payment-methods__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-payment-methods__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  min-height: 200px; /* Minimum height for images */
  object-fit: cover;
  border-radius: 10px;
}

.page-payment-methods__security-text {
  flex: 2;
  min-width: 300px;
}

.page-payment-methods__security-text p {
  margin-bottom: 15px;
  color: #333333;
}

.page-payment-methods__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-payment-methods__faq {
  background-color: #f8f8f8;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  text-align: left;
}

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

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-payment-methods__faq-question.active + .page-payment-methods__faq-answer {
  display: block;
}

/* CTA Section */
.page-payment-methods__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-payment-methods__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.6em;
  }
  .page-payment-methods__method-title {
    font-size: 1.4em;
  }
  .page-payment-methods__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
  }
  .page-payment-methods__hero-content {
    padding: 20px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-payment-methods__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__security-image {
    max-width: 100%;
  }

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

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

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

  /* Mobile content area images must not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  .page-payment-methods__hero-image {
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
  .page-payment-methods__method-title {
    font-size: 1.2em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
}