/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with 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.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-payment-methods__sub-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-payment-methods__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.page-payment-methods__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__text-block {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-payment-methods__text-block ol,
.page-payment-methods__text-block ul {
  margin-left: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-payment-methods__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__link {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Sections */
.page-payment-methods__hero-section {
  padding: var(--header-offset, 120px) 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #007bb6);
  color: #ffffff;
}

.page-payment-methods__hero-title {
  font-size: 3.8rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3rem;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-payment-methods__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__introduction-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__support-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Lighter dark background for contrast */
  color: #f0f0f0;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Darker background */
  color: #ffffff;
}

/* Buttons */
.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.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-payment-methods__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

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

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

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

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%; /* Ensure image fills card width */
  min-height: 200px; /* Minimum size for content images */
}

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

.page-payment-methods__card-description {
  font-size: 1rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-payment-methods__feature-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-payment-methods__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__feature-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-payment-methods__security-tip {
  text-align: center;
  margin-top: 50px;
  font-style: italic;
  color: #cccccc;
}

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

.page-payment-methods__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 100px 0;
  background-color: #1a1a1a;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3rem;
  }

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

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

  .page-payment-methods__content-wrapper {
    flex-direction: column;
  }

  .page-payment-methods__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-payment-methods__text-block,
  .page-payment-methods__image-wrapper {
    width: 100%;
    flex: none;
  }
}

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

  .page-payment-methods__hero-section {
    padding: var(--header-offset, 120px) 15px 60px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.5rem;
  }

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

  .page-payment-methods__section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .page-payment-methods__sub-title {
    font-size: 1.5rem;
  }

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

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    padding: 25px;
  }

  .page-payment-methods__feature-icon {
    width: 150px;
    height: 150px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

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

/* Color Contrast Adjustments (based on body background #0a0a0a - dark) */
.page-payment-methods__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text on dark background */
}

.page-payment-methods__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #f0f0f0; /* Light text on slightly lighter dark background */
}

.page-payment-methods p,
.page-payment-methods li,
.page-payment-methods__section-description,
.page-payment-methods__card-description,
.page-payment-methods__feature-text,
.page-payment-methods__security-tip,
.page-payment-methods__faq-answer p {
  color: #f0f0f0; /* Ensure all paragraph/list text is light */
}

.page-payment-methods__card {
  background-color: #1a1a1a; /* Card background */
  color: #f0f0f0; /* Card text */
}

.page-payment-methods__faq-item {
  background-color: #1a1a1a;
}

.page-payment-methods__faq-question {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

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

.page-payment-methods__faq-title {
  color: #ffffff;
}

.page-payment-methods__faq-answer {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-payment-methods__hero-section .page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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