.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #FFFFFF;
  background-color: #100224; /* Deep purple-black background */
}

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

.page-payment-methods__hero-section {
  position: relative;
  background-color: #100224;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure image wrapper can be wide */
  margin-bottom: 20px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #26A9E0; /* Primary color for H1 */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 58, 0.4);
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 94, 58, 0.6);
}

.page-payment-methods__introduction-section,
.page-payment-methods__methods-grid-section,
.page-payment-methods__how-to-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #1c063a; /* Slightly lighter purple for sections */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__introduction-section .page-payment-methods__container,
.page-payment-methods__methods-grid-section .page-payment-methods__container,
.page-payment-methods__how-to-section .page-payment-methods__container,
.page-payment-methods__faq-section .page-payment-methods__container {
    background-color: #100224; /* Inner container background to match main body */
    padding: 40px;
    border-radius: 8px;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0; /* Primary color for section titles */
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

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

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

.page-payment-methods__method-card {
  background-color: #1c063a; /* Card background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure it takes full width of card */
  max-width: 300px; /* Max width for consistency */
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #26A9E0; /* Primary color border */
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods__method-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-payment-methods__method-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #83a1f2; /* Blue pill button */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-link:hover {
  background-color: #688cec;
}

.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.page-payment-methods__step-card {
  background-color: #1c063a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-payment-methods__step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(38, 169, 224, 0.2); /* Transparent primary color */
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
  position: relative;
  z-index: 1;
}

.page-payment-methods__step-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
  position: relative;
  z-index: 1;
}

.page-payment-methods__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__cta-button--secondary {
  background: #EA7C07; /* Login color */
  box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4);
}

.page-payment-methods__cta-button--secondary:hover {
  background: #d46f06;
  box-shadow: 0 6px 20px rgba(234, 124, 7, 0.6);
}

.page-payment-methods__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #1c063a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content */
  padding-top: 10px;
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 15px;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 30px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-icon {
    max-width: 100%;
    min-height: 200px; /* Ensure images are not too small */
    height: auto;
  }

  /* Mobile overflow prevention */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__faq-item {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .page-payment-methods__hero-description {
    font-size: 0.95rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
}

/* Ensure content images are not too small by CSS */
.page-payment-methods__method-icon,
.page-payment-methods__hero-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific rule to prevent small image display if any img is targeted */
.page-payment-methods__methods-grid img,
.page-payment-methods__how-to-section img {
  width: auto; /* allow natural sizing */
  height: auto; /* allow natural sizing */
  min-width: 200px;
  min-height: 200px;
}

/* Override any potential smaller width/height for content images within the main section */
.page-payment-methods img:not(.shared-logo):not(.shared-social-icon):not(.shared-game-provider-icon) {
  width: auto;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}