.page-payment-methods {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Top padding 10px for alignment with body padding-top */
  text-align: center;
  overflow: hidden;
}

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

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

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  transform: translateY(-50px); /* Adjust to bring content slightly over the image, but not covering */
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
}

.page-payment-methods__section-description {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1em;
  color: #FFF6D6;
}

.page-payment-methods__options-overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__fees-limits-section,
.page-payment-methods__troubleshooting-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-bottom-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-payment-methods__options-grid,
.page-payment-methods__steps-grid,
.page-payment-methods__security-features,
.page-payment-methods__info-cards-grid,
.page-payment-methods__troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__option-card,
.page-payment-methods__step-card,
.page-payment-methods__feature-item,
.page-payment-methods__info-card,
.page-payment-methods__issue-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-payment-methods__option-icon,
.page-payment-methods__step-image,
.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-payment-methods__step-image {
  max-width: 400px;
  height: 300px;
  object-fit: cover;
}

.page-payment-methods__feature-icon {
  max-width: 200px;
  height: 200px;
}

.page-payment-methods__option-title,
.page-payment-methods__step-title,
.page-payment-methods__feature-title,
.page-payment-methods__info-title,
.page-payment-methods__issue-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__option-text,
.page-payment-methods__step-text,
.page-payment-methods__feature-text,
.page-payment-methods__info-text,
.page-payment-methods__issue-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #0A0A0A; /* Dark text for contrast */
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFD36B;
}

.page-payment-methods__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
}

.page-payment-methods__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Card BG */
  box-shadow: 0 0 15px #F2C14E;
}

.page-payment-methods__faq-container {
  max-width: 900px;
  margin: 40px auto;
}

.page-payment-methods__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

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

.page-payment-methods__cta-bottom-section {
  text-align: center;
  padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__options-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__info-cards-grid,
  .page-payment-methods__troubleshooting-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-payment-methods__hero-content {
    transform: translateY(-30px);
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-payment-methods__hero-description,
  .page-payment-methods__section-description,
  .page-payment-methods__option-text,
  .page-payment-methods__step-text,
  .page-payment-methods__feature-text,
  .page-payment-methods__info-text,
  .page-payment-methods__issue-text,
  .page-payment-methods__faq-answer p {
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6em, 7vw, 2em);
    padding-top: 20px;
  }

  .page-payment-methods__options-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__info-cards-grid,
  .page-payment-methods__troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__option-card,
  .page-payment-methods__step-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__info-card,
  .page-payment-methods__issue-card {
    padding: 20px;
  }

  .page-payment-methods__option-icon,
  .page-payment-methods__step-image,
  .page-payment-methods__feature-icon {
    max-width: 180px;
    height: auto;
  }

  .page-payment-methods__step-image {
    height: 200px;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__options-overview-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__fees-limits-section,
  .page-payment-methods__troubleshooting-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom-section,
  .page-payment-methods__option-card,
  .page-payment-methods__step-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__info-card,
  .page-payment-methods__issue-card,
  .page-payment-methods__faq-item,
  .page-payment-methods__faq-question {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    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__hero-content .page-payment-methods__btn-primary,
  .page-payment-methods__deposit-guide-section .page-payment-methods__btn-primary,
  .page-payment-methods__withdrawal-guide-section .page-payment-methods__btn-primary,
  .page-payment-methods__cta-bottom-section .page-payment-methods__btn-primary,
  .page-payment-methods__cta-bottom-section .page-payment-methods__btn-secondary {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-payment-methods__cta-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}