/* style/payment-methods.css */

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

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Using brand color for hero background */
  color: #ffffff;
}

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

.page-payment-methods__hero-content {
  max-width: 800px;
  margin-top: 30px; /* Space between image and content */
}

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

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for section titles */
}

/* Text Blocks */
.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffffff; /* Default text color for sections on dark body */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Image in content sections */
.page-payment-methods__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 80px 0;
  background-color: transparent; /* Body background is #000000 */
  color: #ffffff;
}
.page-payment-methods__intro-section .page-payment-methods__section-title {
  color: #26A9E0;
}
.page-payment-methods__intro-section .page-payment-methods__text-block {
  color: #ffffff;
}


/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}
.page-payment-methods__deposit-methods .page-payment-methods__section-title {
  color: #26A9E0;
}
.page-payment-methods__deposit-methods .page-payment-methods__text-block {
  color: #ffffff;
}

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

.page-payment-methods__card {
  background: #1a1a1a; /* Dark background for cards on dark section */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px; /* Enforce minimum size for card content */
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

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

.page-payment-methods__card-title {
  font-size: 1.5rem;
  color: #26A9E0; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.page-payment-methods__list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

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

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide {
  padding: 80px 0;
  background-color: transparent; /* Body background is #000000 */
  color: #ffffff;
}
.page-payment-methods__withdrawal-guide .page-payment-methods__section-title {
  color: #26A9E0;
}
.page-payment-methods__withdrawal-guide .page-payment-methods__text-block {
  color: #ffffff;
}

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

.page-payment-methods__step-item {
  background: #1a1a1a; /* Dark background for steps on dark section */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  display: block;
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__step-description {
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Important Notes Section */
.page-payment-methods__important-notes {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}
.page-payment-methods__important-notes .page-payment-methods__section-title {
  color: #26A9E0;
}
.page-payment-methods__important-notes .page-payment-methods__text-block {
  color: #ffffff;
}

.page-payment-methods__note-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__note-list li {
  background: #1a1a1a; /* Dark background for notes on dark section */
  color: #ffffff;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-left: 50px;
  font-size: 1rem;
}

.page-payment-methods__note-list li strong {
  color: #26A9E0;
}

.page-payment-methods__note-list li::before {
  content: '🚨';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: transparent; /* Body background is #000000 */
  color: #ffffff;
}
.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #26A9E0;
}
.page-payment-methods__faq-section .page-payment-methods__text-block {
  color: #ffffff;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-payment-methods__faq-item {
  background: #1a1a1a; /* Dark background for FAQ items */
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.page-payment-methods__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #262626; /* Slightly different dark background for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-payment-methods__faq-answer {
  padding: 20px 30px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color for CTA background */
  color: #ffffff;
}
.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #ffffff;
}
.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #ffffff;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-payment-methods__btn-primary {
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-payment-methods__text-block,
  .page-payment-methods__card-description,
  .page-payment-methods__list li,
  .page-payment-methods__step-description,
  .page-payment-methods__note-list li,
  .page-payment-methods__faq-answer {
    font-size: 0.9rem;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .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;
    margin: 10px 0 !important;
  }

  .page-payment-methods__cta-section .page-payment-methods__container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* All images must be responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image/video/button containers must be responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__method-grid,
  .page-payment-methods__steps-list,
  .page-payment-methods__faq-list,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container,
  .page-payment-methods__hero-section,
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-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 */
  }

  .page-payment-methods__note-list li {
    padding-left: 45px; /* Adjust for smaller screens */
  }
  .page-payment-methods__note-list li::before {
    left: 10px;
  }
}

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

/* For sections with dark background, ensure light text */
.page-payment-methods__dark-bg {
  color: #ffffff;
}
.page-payment-methods__dark-bg .page-payment-methods__section-title {
  color: #26A9E0; /* Still use brand color for title */
}
.page-payment-methods__dark-bg .page-payment-methods__text-block {
  color: #ffffff;
}

/* Contrast fix for elements that might otherwise have poor contrast */
.page-payment-methods__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-payment-methods__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}