/* style/payment-methods.css */

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

/* Base styles for the page */
.page-payment-methods {
  background-color: var(--page-payment-methods-background); /* #08160F - very dark */
  color: var(--page-payment-methods-text-main); /* #F2FFF6 - light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods a {
  color: var(--page-payment-methods-gold); /* #F2C14E */
  text-decoration: none;
}

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

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

.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--page-payment-methods-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg); /* #11271B - dark */
  color: var(--page-payment-methods-text-main); /* #F2FFF6 - light */
  border: 1px solid var(--page-payment-methods-border); /* #2E7A4E */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.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: 80px;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 0.9) 100%);
  border-radius: 15px;
  margin-top: -100px; /* Overlap slightly for visual effect */
}

.page-payment-methods__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--page-payment-methods-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background: var(--page-payment-methods-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Overview Section */
.page-payment-methods__overview .page-payment-methods__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 40px 20px;
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

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

.page-payment-methods__feature-description {
  color: var(--page-payment-methods-text-secondary);
  font-size: 1em;
}

/* Deposit/Withdrawal Guide Sections */
.page-payment-methods__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.page-payment-methods__method-title {
  font-size: 1.9em;
  color: var(--page-payment-methods-gold);
  margin-bottom: 15px;
}

.page-payment-methods__method-item p {
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 20px;
}

.page-payment-methods__method-item ol {
  text-align: left;
  padding-left: 20px;
  margin: 0 auto;
  max-width: 80%;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__method-item ol li {
  margin-bottom: 10px;
}

.page-payment-methods__notes, .page-payment-methods__conditions {
  margin-top: 50px;
  padding: 30px;
}

.page-payment-methods__notes-title, .page-payment-methods__conditions-title {
  font-size: 1.8em;
  color: var(--page-payment-methods-gold);
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__notes ul, .page-payment-methods__conditions ul {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--page-payment-methods-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__notes ul li, .page-payment-methods__conditions ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Security Section */
.page-payment-methods__security-info {
  background-color: var(--page-payment-methods-deep-green); /* #0A4B2C */
  color: var(--page-payment-methods-text-main);
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__security-info .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__security-info .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__security-item {
  background-color: var(--page-payment-methods-card-bg); /* #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--page-payment-methods-glow)); /* Only for shadow, not color change */
}

.page-payment-methods__security-title {
  font-size: 1.6em;
  color: var(--page-payment-methods-gold);
  margin-bottom: 10px;
}

.page-payment-methods__security-item p {
  color: var(--page-payment-methods-text-secondary);
  font-size: 0.95em;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-payment-methods-text-main);
  background-color: var(--page-payment-methods-card-bg); /* #11271B */
  border-bottom: 1px solid var(--page-payment-methods-divider); /* #1E3A2A */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-question:hover {
  background-color: rgba(var(--page-payment-methods-card-bg), 0.8); /* Slight hover effect */
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: var(--page-payment-methods-gold);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-glow);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--page-payment-methods-text-secondary);
  background-color: rgba(var(--page-payment-methods-card-bg), 0.7); /* Lighter background for answer */
}

/* CTA Bottom Section */
.page-payment-methods__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
}

.page-payment-methods__cta-bottom .page-payment-methods__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

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

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

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

  .page-payment-methods__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__feature-item, .page-payment-methods__method-item, .page-payment-methods__security-item {
    padding: 25px 15px;
  }

  .page-payment-methods__feature-icon, .page-payment-methods__method-icon, .page-payment-methods__security-icon {
    max-width: 200px;
  }

  .page-payment-methods__notes ul, .page-payment-methods__conditions ul, .page-payment-methods__method-item ol {
    padding-left: 20px;
    max-width: 100%;
  }

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

  .page-payment-methods__faq-answer {
    padding: 18px 20px;
    font-size: 1em;
  }

  .page-payment-methods__cta-bottom .page-payment-methods__section-title {
    font-size: 2.2em;
  }

  /* Image and Video responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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__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;
  }
}