.page-payment-methods {
  color: #FFFFFF;
  background-color: #100224; /* Deep purple-black background */
  font-family: Arial, sans-serif;
  padding-top: 10px; /* Small top padding for first section */
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 40px;
  background-color: #100224;
  gap: 20px;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(to right, #26A9E0, #EA7C07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #26A9E0; /* Fallback */
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background-color: #c96706;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-faq {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(to right, #26A9E0, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #26A9E0; /* Fallback */
}

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

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

.page-payment-methods__method-card {
  background-color: #1a0633; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-button:hover {
  background-color: #1d8ac2;
}

.page-payment-methods__withdrawal-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.page-payment-methods__withdrawal-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-payment-methods__withdrawal-steps {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-payment-methods__withdrawal-steps p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #CCCCCC;
}

.page-payment-methods__withdrawal-steps ol {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #CCCCCC;
}

.page-payment-methods__withdrawal-steps li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.page-payment-methods__security-content {
  display: flex;
  flex-wrap: wrap-reverse; /* Image after text on mobile, text before image on desktop */
  gap: 30px;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__security-content p {
  flex: 1 1 45%;
  min-width: 300px;
  font-size: 1rem;
  line-height: 1.6;
  color: #CCCCCC;
}

.page-payment-methods__security-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

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

.page-payment-methods__faq-item {
  background-color: #1a0633;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-payment-methods__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-payment-methods__support-button {
  margin-top: 30px;
  text-align: center;
  display: block;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-faq {
    padding: 20px 15px;
  }

  .page-payment-methods__hero-image {
    aspect-ratio: 4 / 3;
  }

  .page-payment-methods__hero-title {
    font-size: 2rem;
  }

  .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: 1.8rem;
  }

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

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

  .page-payment-methods__method-icon,
  .page-payment-methods__withdrawal-image,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    max-height: unset; /* Ensure no fixed max-height */
  }

  .page-payment-methods__withdrawal-content,
  .page-payment-methods__security-content {
    flex-direction: column;
  }

  .page-payment-methods__withdrawal-image,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__security-content p,
  .page-payment-methods__security-image {
    flex: 1 1 100%;
    min-width: unset;
  }

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

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

@media (max-width: 549px) {
  .page-payment-methods__hero-title {
    font-size: 1.6rem;
  }

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