.page-payment-methods {
  background-color: #F4F7FB;
  color: #1F2D3D;
  padding-bottom: 40px;
}

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

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

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

.page-payment-methods__hero-content {
  text-align: center;
  padding: 20px;
  z-index: 1; /* Ensure content is above any background effects */
  margin-top: 20px;
}

.page-payment-methods__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 14px 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-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__faq-section,
.page-payment-methods__call-to-action {
  padding: 40px 0;
}

.page-payment-methods__text-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
  min-height: 400px; /* Ensure cards have minimum height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-payment-methods__withdrawal-steps {
  list-style-type: decimal;
  padding-left: 25px;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
  color: #1F2D3D;
}

.page-payment-methods__withdrawal-steps li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-payment-methods__withdrawal-steps li strong {
  color: #2F6BFF;
}

.page-payment-methods__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  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;
  color: #2F6BFF;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
}

.page-payment-methods__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  padding-top: 10px;
  border-top: 1px solid #D6E2FF;
  display: none;
}

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

.page-payment-methods__call-to-action {
  text-align: center;
  padding: 60px 0;
  background-color: #6FA3FF;
  color: #FFFFFF;
  margin-top: 50px;
}

.page-payment-methods__call-to-action .page-payment-methods__section-title {
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-payment-methods__call-to-action .page-payment-methods__text-content {
  color: #FFFFFF;
  margin-bottom: 30px;
}

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

  .page-payment-methods__main-title {
    font-size: 1.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: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-payment-methods__text-content {
    font-size: 0.95rem;
  }

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

  .page-payment-methods__method-card {
    padding: 20px;
  }

  .page-payment-methods__method-icon {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__method-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__withdrawal-steps {
    padding-left: 20px;
  }

  .page-payment-methods__withdrawal-steps li {
    font-size: 0.95rem;
  }

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

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

  /* Ensure content images are responsive */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

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

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