/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #26A9E0;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods .highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  min-height: 500px;
  box-sizing: border-box;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* Overview Section */
.page-payment-methods__overview-section,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__important-notes {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__process-guide,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  background-color: #000000; /* Dark background for contrast */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-payment-methods__overview-section .page-payment-methods__section-title,
.page-payment-methods__withdrawal-methods .page-payment-methods__section-title,
.page-payment-methods__important-notes .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__overview-section .page-payment-methods__text-block,
.page-payment-methods__withdrawal-methods .page-payment-methods__text-block,
.page-payment-methods__important-notes .page-payment-methods__text-block {
  color: #333333;
}

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

.page-payment-methods__image--full-width {
  width: 100%;
  margin: 40px 0;
}

.page-payment-methods__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  color: #ffffff; /* Light text for dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.page-payment-methods__withdrawal-methods .page-payment-methods__card {
  background-color: #f9f9f9; /* Light background for light section */
  color: #333333; /* Dark text for light section */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-payment-methods__card-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-payment-methods__card p,
.page-payment-methods__card ol,
.page-payment-methods__card ul {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods__card ol,
.page-payment-methods__card ul {
  padding-left: 20px;
}

.page-payment-methods__card li {
  margin-bottom: 5px;
}

.page-payment-methods__card .page-payment-methods__btn-secondary {
  margin-top: 20px;
  margin-left: 0;
  align-self: flex-start;
  background-color: #26A9E0; /* Button background for dark cards */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__withdrawal-methods .page-payment-methods__card .page-payment-methods__btn-secondary {
  background-color: #26A9E0; /* Button background for light cards */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__card .page-payment-methods__btn-secondary:hover {
  background-color: #1a8cc4;
  transform: translateY(-2px);
}

/* Process Guide */
.page-payment-methods__process-guide {
  padding: 60px 0;
}

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

.page-payment-methods__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 80px;
}

.page-payment-methods__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #000000;
}

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

.page-payment-methods__step-item p {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Important Notes */
.page-payment-methods__important-notes .page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-payment-methods__important-notes .page-payment-methods__list li {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1rem;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__important-notes .page-payment-methods__list li strong {
  color: #26A9E0;
}

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

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.8); /* Brand color with transparency */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #ffffff;
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
  margin-bottom: 40px;
}

.page-payment-methods__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  }

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

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

  .page-payment-methods__card {
    min-height: auto;
  }
}

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

  /* Force responsive images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive buttons */
  .page-payment-methods__cta-button,
  .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-left: 0 !important; /* Reset margin for single column */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button groups for mobile */
  .page-payment-methods__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__process-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

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

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

  .page-payment-methods__hero-section {
    padding-bottom: 40px;
    min-height: 400px;
  }

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

  .page-payment-methods__description {
    font-size: 0.9rem;
  }

  .page-payment-methods__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-payment-methods__card-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__step-item {
    padding: 70px 20px 30px;
  }

  .page-payment-methods__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

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

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

  .page-payment-methods__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure all containers handle overflow */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__method-grid,
  .page-payment-methods__step-list,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
}

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

  .page-payment-methods__description {
    font-size: 0.85rem;
  }

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

  .page-payment-methods__cta-button {
    font-size: 0.95rem;
  }
}