/* style/payment-methods.css */

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

/* General Page Styles */
.page-payment-methods {
  background-color: var(--background-color);
  color: var(--text-main); /* Dark background, so light text */
  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__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  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;
  overflow: hidden;
  padding: 20px 0;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Separates content from image */
}

.page-payment-methods__main-title {
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__cta-button--small {
  font-size: 0.95em;
  padding: 12px 25px;
}

.page-payment-methods__cta-button--large {
  font-size: 1.3em;
  padding: 18px 35px;
}

/* Intro Section */
.page-payment-methods__intro-section {
  background-color: var(--card-bg);
  padding: 80px 0;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-section {
  background-color: var(--background-color);
}

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

.page-payment-methods__method-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__method-icon {
  width: 250px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

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

.page-payment-methods__method-description {
  color: var(--text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  color: var(--text-main);
}

.page-payment-methods__method-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.9em;
}

.page-payment-methods__method-features li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  background-color: var(--card-bg);
}

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

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

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__step-description {
  color: var(--text-secondary);
  font-size: 0.9em;
}

/* Security Section */
.page-payment-methods__security-section {
  background-color: var(--background-color);
  padding: 80px 0;
}

.page-payment-methods__security-image {
  width: 600px; /* Example display size, min 200px */
  height: 450px; /* Example display size */
  max-width: 100%;
  margin: 30px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  margin: 30px auto 0 auto;
  max-width: 800px;
  text-align: left;
  color: var(--text-main);
}

.page-payment-methods__security-features li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  font-size: 1.1em;
}

.page-payment-methods__security-features li strong {
  color: var(--gold-color);
}

.page-payment-methods__security-features li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: -2px;
}

/* Tips Section */
.page-payment-methods__tips-section {
  background-color: var(--card-bg);
}

.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  color: var(--text-main);
}

.page-payment-methods__tips-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
}

.page-payment-methods__tips-list li strong {
  color: var(--primary-color);
}

.page-payment-methods__tips-list li::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-size: 1.1em;
  top: -2px;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: var(--background-color);
}

.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-payment-methods__faq-question:hover {
  background-color: var(--deep-green);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: var(--gold-color);
  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: 20px 25px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.7;
  background-color: var(--card-bg);
}

.page-payment-methods__faq-image {
  width: 400px; /* Example display size, min 200px */
  height: 300px; /* Example display size */
  max-width: 100%;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Call to Action Section */
.page-payment-methods__cta-section {
  background-color: var(--deep-green);
  padding: 80px 0;
}

.page-payment-methods__container--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2em;
  }

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

  .page-payment-methods__description {
    font-size: 1.1em;
  }

  .page-payment-methods__hero-image {
    width: 100%;
    height: auto;
  }
}

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

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

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

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

  .page-payment-methods__text-block, .page-payment-methods__description {
    font-size: 1em;
  }

  .page-payment-methods__methods-grid, .page-payment-methods__withdrawal-steps {
    grid-template-columns: 1fr;
  }

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

  .page-payment-methods__method-icon {
    width: 200px; /* Ensure minimum size */
    height: auto;
  }

  .page-payment-methods__security-image, .page-payment-methods__faq-image {
    width: 100%;
    height: auto;
  }

  .page-payment-methods__security-features li, .page-payment-methods__tips-list li {
    font-size: 0.95em;
    padding-left: 25px;
  }

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

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

  /* Mobile image responsive adaptation */
  .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,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__hero-content,
  .page-payment-methods__methods-grid,
  .page-payment-methods__method-card,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__step-card,
  .page-payment-methods__security-section,
  .page-payment-methods__tips-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__faq-list,
  .page-payment-methods__faq-item,
  .page-payment-methods__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsive adaptation */
  .page-payment-methods__cta-button,
  .page-payment-methods__cta-button--small,
  .page-payment-methods__cta-button--large,
  .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;
    margin-bottom: 15px; /* Add some space between stacked buttons */
  }
  
  .page-payment-methods__cta-button:last-child {
    margin-bottom: 0;
  }
  
  /* If multiple buttons are in a group, stack them vertically */
  .page-payment-methods__button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Specific padding for hero content on mobile to ensure it's not too wide */
  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.5em, 8vw, 2.5em);
  }
  .page-payment-methods__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-payment-methods__method-title {
    font-size: 1.4em;
  }
  .page-payment-methods__step-title {
    font-size: 1.2em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
  }
  .page-payment-methods__security-features li, .page-payment-methods__tips-list li {
    font-size: 0.9em;
  }
}

/* Contrast Fixes - Ensure text is readable on various backgrounds */
.page-payment-methods__dark-bg {
  background-color: var(--deep-green);
  color: var(--text-main); /* Force light text on dark background */
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333; /* Force dark text on light background */
}

/* Ensure content text is always readable */
.page-payment-methods p,
.page-payment-methods li {
  color: var(--text-secondary);
}

.page-payment-methods__section-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__faq-question {
  color: var(--text-main);
}

.page-payment-methods__main-title {
  color: var(--gold-color);
}

.page-payment-methods__method-features li::before {
  color: var(--secondary-color);
}

.page-payment-methods__security-features li strong {
  color: var(--gold-color);
}

.page-payment-methods__tips-list li strong {
  color: var(--primary-color);
}