/* style/payment-methods.css */

/* Custom Colors */
:root {
  --page-primary-color: #11A84E;
  --page-secondary-color: #22C768;
  --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-card-bg: #11271B;
  --page-background: #08160F;
  --page-text-main: #F2FFF6;
  --page-text-secondary: #A7D9B8;
  --page-border-color: #2E7A4E;
  --page-glow-color: #57E38D;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1E3A2A;
  --page-deep-green: #0A4B2C;
}

.page-payment-methods {
  background-color: var(--page-background);
  color: var(--page-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not color change */
  display: block;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down from top of hero image */
}

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

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  color: var(--page-text-main);
  margin-bottom: 30px;
}

.page-payment-methods__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--page-button-gradient);
  color: var(--page-text-main);
  border: 2px solid transparent;
}

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

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--page-gold-color);
  border: 2px solid var(--page-gold-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-gold-color);
  color: var(--page-background);
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: 2.5rem;
  color: var(--page-gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-payment-methods__section-intro {
  font-size: 1.1rem;
  color: var(--page-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-payment-methods__feature-card {
  background-color: var(--page-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-border-color);
}

.page-payment-methods__card-title {
  font-size: 1.8rem;
  color: var(--page-gold-color);
  margin-bottom: 15px;
}

.page-payment-methods__card-text {
  color: var(--page-text-secondary);
  font-size: 1rem;
}

.page-payment-methods__method-image,
.page-payment-methods__guide-image,
.page-payment-methods__security-image,
.page-payment-methods__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__method-item {
  background-color: var(--page-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--page-border-color);
}

.page-payment-methods__method-name {
  font-size: 1.6rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
}

.page-payment-methods__method-description {
  color: var(--page-text-secondary);
  font-size: 1rem;
}

.page-payment-methods__guide-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-payment-methods__guide-item {
  background-color: var(--page-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--page-border-color);
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
}

.page-payment-methods__guide-item p {
  color: var(--page-text-secondary);
  font-size: 1rem;
}

.page-payment-methods__guide-item a {
  color: var(--page-secondary-color);
  text-decoration: underline;
}

.page-payment-methods__guide-item a:hover {
  color: var(--page-glow-color);
}

.page-payment-methods__note-text {
  color: var(--page-text-secondary);
  text-align: center;
  margin-top: 40px;
  font-size: 1rem;
}

.page-payment-methods__note-text a {
  color: var(--page-secondary-color);
  text-decoration: underline;
}

.page-payment-methods__note-text a:hover {
  color: var(--page-glow-color);
}

.page-payment-methods__security-section {
  background-color: var(--page-deep-green);
  padding: 60px 0;
  text-align: center;
}

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

.page-payment-methods__security-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--page-border-color);
  text-align: left;
}

.page-payment-methods__security-item .page-payment-methods__item-title {
  font-size: 1.5rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
}

.page-payment-methods__security-item p {
  color: var(--page-text-secondary);
  font-size: 1rem;
}

.page-payment-methods__security-item a {
  color: var(--page-secondary-color);
  text-decoration: underline;
}

.page-payment-methods__security-item a:hover {
  color: var(--page-glow-color);
}

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

.page-payment-methods__faq-item {
  background-color: var(--page-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-text-main);
  cursor: pointer;
  background-color: var(--page-card-bg);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(var(--page-card-bg-rgb), 0.8);
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-gold-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--page-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.page-payment-methods__cta-section {
  background-color: var(--page-deep-green);
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__cta-title {
  font-size: 2.5rem;
  color: var(--page-gold-color);
  margin-bottom: 20px;
}

.page-payment-methods__cta-description {
  font-size: 1.1rem;
  color: var(--page-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: 50px;
    padding: 30px;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

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

  .page-payment-methods__cta-title {
    font-size: 2rem;
  }
}

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

  .page-payment-methods__hero-content {
    margin-top: 30px;
    padding: 20px;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-payment-methods__features-grid,
  .page-payment-methods__method-list,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__method-name,
  .page-payment-methods__step-title,
  .page-payment-methods__security-item .page-payment-methods__item-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__card-text,
  .page-payment-methods__method-description,
  .page-payment-methods__guide-item p,
  .page-payment-methods__security-item p,
  .page-payment-methods__note-text {
    font-size: 0.9rem;
  }

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

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

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

  .page-payment-methods__cta-description {
    font-size: 1rem;
  }

  /* 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-section {
    padding-top: 10px !important; 
  }

  /* Mobile video responsiveness */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
  
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    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-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}