.page-payment-methods {
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Page background as per instructions */
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure content images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem); /* Responsive H1 size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFD36B;
}

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

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button background */
  border: none;
  cursor: pointer;
}

.page-payment-methods__button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__button--secondary {
  background: #111111;
  color: #FFD36B;
  border: 1px solid #3A2A12;
}

.page-payment-methods__button--secondary:hover {
  background: #1A1A1A;
  color: #FFD36B;
}

.page-payment-methods__button--centered {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

.page-payment-methods__button--text-only {
  background: none;
  border: none;
  color: #FFD36B;
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
}

.page-payment-methods__button--text-only:hover {
  color: #F2C14E;
  transform: none;
  opacity: 1;
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #FFD36B;
  padding-top: 20px;
}

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

.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-bottom-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

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

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

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B40;
}

.page-payment-methods__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure content images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-payment-methods__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
}

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

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

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F2C14E;
  color: #111111;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-payment-methods__step-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #FFF6D6;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__security-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #FFF6D6;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  width: 100%;
}

.page-payment-methods__security-item::before {
  content: '✔';
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.2em;
}

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

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

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

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

  .page-payment-methods__main-title {
    font-size: 1.8rem;
  }

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-payment-methods__button {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }

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

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

  .page-payment-methods__payment-cards,
  .page-payment-methods__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Content area image size constraint */
  .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.4rem;
  }

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

  .page-payment-methods__step-title {
    font-size: 1rem;
  }

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