/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

.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;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-payment-methods__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-payment-methods__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-payment-methods__list-item strong {
  color: #26A9E0;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  min-height: 500px;
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
  background-color: #1a7bbd;
  border-color: #1a7bbd;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Section Specific Styles */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__overview-section .page-payment-methods__section-title,
.page-payment-methods__overview-section .page-payment-methods__sub-title,
.page-payment-methods__overview-section .page-payment-methods__text-block,
.page-payment-methods__overview-section .page-payment-methods__list-item {
  color: #333333;
}
.page-payment-methods__overview-section .page-payment-methods__list-item strong {
  color: #26A9E0;
}

.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background for these sections */
  color: #ffffff; /* Light text for dark background */
}

/* Image styles within content */
.page-payment-methods__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff; /* Light text for cards */
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

/* Guide List */
.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-payment-methods__guide-item {
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-payment-methods__guide-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-payment-methods__guide-step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-payment-methods__guide-step-description {
  font-size: 1em;
  color: #333333;
}

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

.page-payment-methods__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

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

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

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

.page-payment-methods__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e9e9e9;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #e0e0e0;
  border-bottom: none;
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #f8f8f8;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__conclusion-section .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Links within content */
.page-payment-methods a {
  color: #26A9E0;
  text-decoration: none;
}

.page-payment-methods a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }
  .page-payment-methods__card-title {
    font-size: 1.4em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  /* Mobile container responsiveness */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* 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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  /* FAQ items */
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px;
  }
}

/* Ensure no filter on images */
.page-payment-methods img {
  filter: none !important;
}