/* style/payment-methods.css */

/* Base styles for the page content, ensuring proper text color for dark body background */
.page-payment-methods {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  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;
}

/* Sections */
.page-payment-methods__hero-section,
.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__tips-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

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

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

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__description,
.page-payment-methods__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  font-weight: bold;
}

/* Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade of green for contrast */
  border: 2px solid #2AD16F;
}

.page-payment-methods__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

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

.page-payment-methods__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F2FFF6; /* Ensure text on card is light */
}

.page-payment-methods__card-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-payment-methods__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__card-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-payment-methods__list-icon {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-payment-methods__note-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 40px;
  padding: 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  text-align: center;
}

.page-payment-methods__feature-image,
.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

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

.page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8; /* Text Secondary */
}

/* Background colors for sections */
.page-payment-methods__dark-bg {
  background-color: #08160F;
}

.page-payment-methods__dark-section {
  background-color: #0A4B2C;
}

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

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

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

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

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

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__card-image {
    height: 180px; /* Adjust height for mobile */
  }

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

  /* Video/Image sections padding for mobile */
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }

  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure all content areas are properly padded and constrained */
  .page-payment-methods__hero-content {
    padding: 0 15px;
  }

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

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

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

  .page-payment-methods__note-text {
    padding: 15px;
  }
}