/* style/payment-methods.css */

/* Base styles for the payment methods 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 */
}

.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__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
}

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

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

.page-payment-methods__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-payment-methods__text-link:hover {
  color: #ffffff;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  background-color: #0a0a0a; /* Fallback, main body background from shared.css */
}

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

.page-payment-methods__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-payment-methods__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* 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.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

/* Intro Section */
.page-payment-methods__intro-section {
  background-color: #0a0a0a;
  padding: 60px 0;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  background-color: #0d0d0d;
  padding: 60px 0;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly transparent white for contrast */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 400px; /* Display area size */
  height: 300px; /* Display area size */
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  color: #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

.page-payment-methods__note {
  margin-top: 40px;
  font-style: italic;
  color: #ccc;
}

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide {
  background-color: #0a0a0a;
  padding: 60px 0;
}

.page-payment-methods__content-grid {
  display: grid;
  grid-template-columns: 1fr 400px; /* Content and image column */
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-payment-methods__text-content {
  text-align: left;
}

.page-payment-methods__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  width: 500px; /* Display area size */
  height: 375px; /* Display area size */
}

.page-payment-methods__ordered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0 0 20px 0;
  text-align: left;
  color: #f0f0f0;
}

.page-payment-methods__ordered-list li {
  margin-bottom: 10px;
}

/* Security Guarantee Section */
.page-payment-methods__security-guarantee {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-payment-methods__security-guarantee .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__security-guarantee .page-payment-methods__text-block {
  color: #f0f0f0;
}

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

.page-payment-methods__feature-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-payment-methods__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 400px; /* Display area size */
  height: 300px; /* Display area size */
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

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

/* Tips Section */
.page-payment-methods__tips-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

.page-payment-methods__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__checklist li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  padding-left: 35px;
  position: relative;
}

.page-payment-methods__checklist li::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: -2px;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #0a0a0a;
  padding: 60px 0;
}

.page-payment-methods__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  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;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Plus to X for active */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 to show content */
  padding: 20px;
}

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

.page-payment-methods__faq-cta {
  margin-top: 40px;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

.page-payment-methods__final-cta {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

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

  .page-payment-methods__content-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-payment-methods__content-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-payment-methods__hero-content {
    max-width: 100%;
    padding: 20px 15px;
  }

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

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

  .page-payment-methods__hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Constrain width for better look */
    padding: 12px 20px;
    font-size: 1em;
    margin-left: auto; /* Center buttons */
    margin-right: auto;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-payment-methods__text-block {
    font-size: 0.95em;
  }

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

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

  .page-payment-methods__card-image,
  .page-payment-methods__feature-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__content-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__feature-card,
  .page-payment-methods__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Ensure all images are responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all video elements are responsive */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__video-section,
  .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;
  }

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