.page-payment-methods {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
}

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

.page-payment-methods__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #17191F;
}

.page-payment-methods__hero-image-wrapper {
  margin: 0 0 20px 0;
  overflow: hidden;
  border-radius: 8px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* Approx 1920x600 */
  object-fit: cover;
  object-position: center;
}

.page-payment-methods__hero-content {
  text-align: center;
}

.page-payment-methods__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for H1, prevent too large on desktop */
  font-weight: 700;
  line-height: 1.2;
  color: #FFF3E6;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-payment-methods__cta-button--small {
  padding: 10px 25px;
  font-size: 0.9rem;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #FFA53A;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-payment-methods__method-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small, min 200px */
  min-width: 200px;
  min-height: 200px;
  aspect-ratio: 4 / 3; /* Example for 400x300 */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it respects max-width */
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-payment-methods__withdrawal-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 30px;
}

.page-payment-methods__withdrawal-steps li {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__withdrawal-steps li::before {
  content: "✓";
  color: #FFA53A;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Example size */
  min-width: 200px;
  min-height: 200px;
  aspect-ratio: 4 / 3; /* Example for 800x600 */
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

.page-payment-methods__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px;
}

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

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

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

  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

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

  .page-payment-methods__cta-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section {
    padding: 40px 0;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 30px;
  }

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

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

  .page-payment-methods__method-image,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  
  .page-payment-methods__method-card img,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
  }

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

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

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

@media (max-width: 549px) {
  .page-payment-methods__text-content {
    text-align: left;
  }
}