.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Matches body background */
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.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-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay for text readability */
  z-index: 1;
}

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

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

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.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.3s ease;
  cursor: pointer;
}

.page-payment-methods__button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color for text */
}

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

/* Info Section */
.page-payment-methods__info-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

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

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

.page-payment-methods__card-icon {
  width: 200px; /* Min size 200px */
  height: 200px; /* Min size 200px */
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Deposit & Withdrawal Sections */
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section {
  padding: 60px 0;
  background-color: #F0F0F0;
}

.page-payment-methods__withdrawal-section {
  background-color: #FFFFFF;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.page-payment-methods__grid--deposits,
.page-payment-methods__grid--withdrawals {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__method-icon {
  width: 300px; /* Display width */
  height: 200px; /* Display height */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__method-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  flex-grow: 1;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  border-top: 1px solid #EEEEEE;
  padding-top: 15px;
}

.page-payment-methods__method-details li {
  font-size: 0.9em;
  color: #444444;
  margin-bottom: 8px;
}

.page-payment-methods__method-details li:last-child {
  margin-bottom: 0;
}

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

.page-payment-methods__cta-text {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color for text */
}

.page-payment-methods__button--deposit:hover,
.page-payment-methods__button--withdraw:hover {
  background-color: #e0a53d;
  transform: translateY(-2px);
}

/* How-to Section */
.page-payment-methods__how-to-section {
  padding: 60px 0;
  background-color: #F0F0F0;
}

.page-payment-methods__step-by-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-payment-methods__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__step-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-payment-methods__step-list li {
  counter-increment: step-counter;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.5;
}

.page-payment-methods__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-payment-methods__button--support {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
}

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

/* Security & Responsible Gaming Section */
.page-payment-methods__security-gaming-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__content-block {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__content-subtitle {
  font-size: 2em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-payment-methods__content-subtitle:first-of-type {
  margin-top: 0;
}

.page-payment-methods__content-paragraph {
  font-size: 1.1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-payment-methods__inline-link {
  color: #FCBC45; /* Login color */
  text-decoration: none;
  font-weight: bold;
}

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

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #F0F0F0;
}

.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

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

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

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

/* Final CTA Section */
.page-payment-methods__cta-final-section {
  position: relative;
  padding: 80px 0;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

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

.page-payment-methods__cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay for text readability */
  z-index: 1;
}

.page-payment-methods__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__button--join,
.page-payment-methods__button--download {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

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

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

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

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-payment-methods__hero-section {
    padding: 60px 0;
  }

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

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

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

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

  .page-payment-methods__grid,
  .page-payment-methods__grid--deposits,
  .page-payment-methods__grid--withdrawals,
  .page-payment-methods__step-by-step,
  .page-payment-methods__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }

  .page-payment-methods__card-icon,
  .page-payment-methods__method-icon {
    width: 200px; /* Ensure min size */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__faq-question {
    font-size: 1.4em;
  }

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

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

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

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

  .page-payment-methods__content-subtitle {
    font-size: 1.6em;
  }

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

  /* Override specific image sizes if they somehow become smaller than 200px */
  .page-payment-methods__card-icon {
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
  }
  .page-payment-methods__method-icon {
    min-width: 200px; /* Enforce minimum width */
    min-height: 133px; /* Enforce minimum height for proportionate images */
  }
}

@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__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description,
  .page-payment-methods__section-description,
  .page-payment-methods__cta-text,
  .page-payment-methods__cta-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-payment-methods__step-list li {
    font-size: 1em;
    padding-left: 35px;
  }
  .page-payment-methods__step-list li::before {
    width: 25px;
    height: 25px;
    font-size: 0.8em;
  }
}