/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

.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;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
}

.page-payment-methods__inline-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__inline-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, #26A9E0, #4AD8FF);
  color: #FFFFFF;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-payment-methods__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background-color: #D36C06;
  transform: translateY(-2px);
}

/* Section styles */
.page-payment-methods__introduction-section,
.page-payment-methods__guide-section,
.page-payment-methods__tips-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-payment-methods__deposit-methods-section .page-payment-methods__section-title,
.page-payment-methods__withdrawal-methods-section .page-payment-methods__section-title,
.page-payment-methods__security-section .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #FFFFFF;
}

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

.page-payment-methods__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  background: #FFFFFF;
  color: #26A9E0;
  padding: 10px 20px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Lists */
.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods__security-section .page-payment-methods__unordered-list li {
  color: #FFFFFF;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  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-item[open] .page-payment-methods__faq-question {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section-title {
    font-size: 2em;
  }

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

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

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

  .page-payment-methods__btn-primary {
    padding: 12px 25px;
  }

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

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-payment-methods__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  /* Buttons responsiveness */
  .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;
    margin-left: auto;
    margin-right: auto;
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
}