.page-payment-methods {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods__introduction-section,
.page-payment-methods__methods-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 40px 0;
  background-color: #F4F7FB;
}

.page-payment-methods__text-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__text-content--note {
  font-size: 0.95rem;
  color: #6FA3FF;
  text-align: center;
  margin-top: 30px;
}

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

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

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

.page-payment-methods__method-image,
.page-payment-methods__step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.page-payment-methods__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
}

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

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-payment-methods__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-payment-methods__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }

  .page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__main-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: 2rem;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-payment-methods__method-list,
  .page-payment-methods__withdrawal-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-image,
  .page-payment-methods__step-image {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__card-title {
    font-size: 1.2rem;
  }

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

  /* Ensure all images within .page-payment-methods are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-payment-methods__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}