.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  min-height: 500px;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__introduction,
.page-payment-methods__withdrawal-process,
.page-payment-methods__faq-section {
  padding: 80px 0;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__benefits,
.page-payment-methods__cta-section {
  padding: 80px 0;
}

/* Background Colors for Contrast */
.page-payment-methods__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-payment-methods__dark-bg,
.page-payment-methods__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Card Grid for Payment Methods */
.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-payment-methods__features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-payment-methods__features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__features-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__info-text {
  font-size: 0.95rem;
  color: #555555;
  margin-top: auto; /* Pushes to bottom */
}

/* CTA Button Styling */
.page-payment-methods__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary:hover {
  background-color: #c96706;
}

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

/* Withdrawal Process Steps */
.page-payment-methods__withdrawal-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-payment-methods__step-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-payment-methods__step-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-payment-methods__withdrawal-note {
  font-size: 1rem;
  text-align: center;
  margin-top: 40px;
  color: #555555;
  font-style: italic;
}

/* Benefits Grid */
.page-payment-methods__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-payment-methods__benefit-item {
  padding: 30px;
  text-align: center;
}

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

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #EA7C07;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: 400px;
  }

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

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-payment-methods__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-payment-methods__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__introduction,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-process,
  .page-payment-methods__benefits,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__card,
  .page-payment-methods__step-item,
  .page-payment-methods__benefit-item {
    padding: 20px;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__step-title,
  .page-payment-methods__benefit-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__method-grid,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__benefit-grid,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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