/* style/payment-methods.css */

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* 10px top padding as per rule, rest from bottom */
  overflow: hidden;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 font size */
  color: #FFD36B; /* Glow for title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__cta-buttons--center {
  margin-top: 40px;
}

.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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89A 0%, #EAA820 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #FFD36B; /* Glow color for border */
}

.page-payment-methods__btn-secondary:hover {
  background: #FFD36B;
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* Why Choose Section */
.page-payment-methods__why-choose-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-payment-methods__feature-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12; /* Border */
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Popular Methods Section */
.page-payment-methods__popular-methods-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-payment-methods__method-card {
  background: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__method-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__method-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How To Sections */
.page-payment-methods__how-to-deposit-section,
.page-payment-methods__how-to-withdraw-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__step-item {
  background: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__security-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__security-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-payment-methods__security-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
}

.page-payment-methods__security-item {
  background: #111111; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__security-item:last-child {
  margin-bottom: 0;
}

.page-payment-methods__security-feature-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__security-feature-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-payment-methods__security-footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #FFF6D6;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.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 3px 10px rgba(0, 0, 0, 0.15);
}

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

.page-payment-methods__faq-question:hover {
  background-color: #252525;
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-question {
  background-color: #252525;
}

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

.page-payment-methods__faq-answer {
  max-height: 0; /* Initial collapsed state */
  overflow: hidden;
  padding: 0 20px; /* Padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px; /* Padding for expanded state */
}

.page-payment-methods__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
  color: #FFF6D6;
}

/* Ready to Play Section */
.page-payment-methods__ready-to-play-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

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

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }

  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }

  .page-payment-methods__why-choose-section,
  .page-payment-methods__popular-methods-section,
  .page-payment-methods__how-to-deposit-section,
  .page-payment-methods__how-to-withdraw-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__ready-to-play-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-item,
  .page-payment-methods__security-item {
    padding: 20px;
  }

  .page-payment-methods__method-image,
  .page-payment-methods__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Maintain min size */
  }

  .page-payment-methods__security-details {
    flex-direction: column;
  }

  .page-payment-methods__security-image {
    order: -1; /* Image above text on mobile */
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

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

  /* Ensure all content containers are responsive */
  .page-payment-methods__hero-content,
  .page-payment-methods__why-choose-section .page-payment-methods__container,
  .page-payment-methods__popular-methods-section .page-payment-methods__container,
  .page-payment-methods__how-to-deposit-section .page-payment-methods__container,
  .page-payment-methods__how-to-withdraw-section .page-payment-methods__container,
  .page-payment-methods__security-section .page-payment-methods__container,
  .page-payment-methods__faq-section .page-payment-methods__container,
  .page-payment-methods__ready-to-play-section .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}