/* style/payment-methods.css */

/* Base styles */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color, will be overridden by section-specific colors */
  background-color: var(--bg-color);
}

.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__dark-section {
  background-color: var(--bg-color);
  color: var(--text-main-color);
}

.page-payment-methods__light-bg {
  background-color: #f8f8f8; /* Slightly lighter background for contrast */
  color: #333333;
}

.page-payment-methods__heading {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-payment-methods__dark-section .page-payment-methods__heading {
  color: var(--text-main-color);
}

.page-payment-methods__light-bg .page-payment-methods__heading {
  color: #11A84E; /* Use brand color on light background */
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color);
}

.page-payment-methods__light-bg .page-payment-methods__text-block {
  color: #555555;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  margin-top: -100px; /* Pull content up over the image slightly without overlapping text */
  background: linear-gradient(0deg, var(--bg-color) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0.5) 100%);
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: var(--border-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__light-bg .page-payment-methods__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: #e0e0e0;
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow-color);
}

.page-payment-methods__light-bg .page-payment-methods__feature-title {
  color: var(--deep-green-color);
}

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

.page-payment-methods__light-bg .page-payment-methods__feature-description {
  color: #666666;
}

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

.page-payment-methods__method-card {
  text-align: left;
}

.page-payment-methods__method-image {
  width: 100%;
  height: 200px; /* Fixed height for method images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold-color);
}

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

.page-payment-methods__method-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__method-list li {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__method-list li::before {
  content: '✓';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Withdrawal Steps */
.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 {
  text-align: center;
}

.page-payment-methods__light-bg .page-payment-methods__step-title {
  color: var(--deep-green-color);
}

.page-payment-methods__step-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__step-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--glow-color);
}

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

.page-payment-methods__light-bg .page-payment-methods__step-description {
  color: #666666;
}

.page-payment-methods__note-text {
  margin-top: 40px;
  font-style: italic;
  font-size: 0.95em;
  color: var(--text-secondary-color);
}

.page-payment-methods__light-bg .page-payment-methods__note-text {
  color: #777777;
}

/* FAQ Section */
.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 {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--divider-color);
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
  padding-top: 10px;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question .page-payment-methods__faq-toggle {
  content: '−';
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding-bottom: 80px;
}

.page-payment-methods__cta-section .page-payment-methods__heading {
  color: var(--deep-green-color);
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #555555;
}

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

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

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

  .page-payment-methods__heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

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

  .page-payment-methods__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .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: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__heading {
    font-size: 1.8em;
  }

  .page-payment-methods__text-block {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__withdrawal-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title {
    font-size: 1.3em;
  }

  .page-payment-methods__method-image {
    height: 180px;
  }

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

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

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

  /* Mobile image responsive adaptation */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__methods-grid,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  /* Specific override for section padding to prevent double padding */
  .page-payment-methods__section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__heading {
    font-size: 1.5em;
  }

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

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title {
    font-size: 1.1em;
  }

  .page-payment-methods__faq-question {
    font-size: 1em;
  }

  .page-payment-methods__faq-toggle {
    font-size: 1.2em;
  }
}