.page-payment-methods {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small padding, body handles main offset */
  padding-bottom: 40px;
  background-color: #100224; /* Dark purple from Hero/Jackpot */
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/5; /* Adjust as needed for visual */
  margin-bottom: 20px;
}

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

.page-payment-methods__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #FFF6D6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  /* clamp for responsive font size without hardcoding huge values */
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-payment-methods__hero-description,
.page-payment-methods__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD36B, #F2C14E);
  border-radius: 2px;
}

.page-payment-methods__overview-section,
.page-payment-methods__how-to-deposit-section,
.page-payment-methods__how-to-withdraw-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-final-section {
  padding: 60px 0;
}

.page-payment-methods__overview-section {
  background-color: #0A0A0A;
}

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

.page-payment-methods__method-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B;
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Example max-width for smaller image within card */
  height: auto;
  min-height: 200px; /* Minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
}

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

.page-payment-methods__method-text {
  font-size: 1em;
  color: #FFF6D6;
  opacity: 0.8;
}

.page-payment-methods__how-to-deposit-section,
.page-payment-methods__how-to-withdraw-section {
  background-color: #100224;
}

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

.page-payment-methods__step-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  color: #111111;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-payment-methods__step-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-payment-methods__step-text {
  font-size: 1em;
  color: #FFF6D6;
  opacity: 0.8;
}

.page-payment-methods__step-text a {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-payment-methods__security-section {
  background-color: #0A0A0A;
}

.page-payment-methods__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-payment-methods__security-info,
.page-payment-methods__fees-info {
  flex: 1 1 calc(50% - 15px);
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 300px; /* Ensure cards don't get too small */
}

.page-payment-methods__security-image,
.page-payment-methods__fees-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 25px auto;
  display: block;
}

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

.page-payment-methods__info-text {
  font-size: 1em;
  color: #FFF6D6;
  opacity: 0.8;
}

.page-payment-methods__faq-section {
  background-color: #100224;
}

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

.page-payment-methods__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #FFF6D6;
  opacity: 0.8;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #3A2A12;
  margin-top: 15px;
}

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

.page-payment-methods__cta-final-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A0A0A;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

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

  .page-payment-methods__security-info,
  .page-payment-methods__fees-info {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-image,
  .page-payment-methods__method-icon,
  .page-payment-methods__security-image,
  .page-payment-methods__fees-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure minimum size is maintained */
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-payment-methods__container img,
  .page-payment-methods__overview-section img,
  .page-payment-methods__how-to-deposit-section img,
  .page-payment-methods__how-to-withdraw-section img,
  .page-payment-methods__security-section img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__container {
    padding: 15px;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__how-to-deposit-section,
  .page-payment-methods__how-to-withdraw-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-final-section {
    padding: 40px 0;
  }
}