/* style/payment-methods.css */

/* BEM naming convention: .page-payment-methods__element-name */
/* Colors: Primary #26A9E0, Secondary #FFFFFF, Login #EA7C07, Background #FFFFFF, #000000 */

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

.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;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  min-height: 500px; /* Ensure hero section has a decent height */
  overflow: hidden;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

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

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

/* Section Titles */
.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-payment-methods__section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

/* Text Blocks */
.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

/* Cards */
.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card--dark {
  background: rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  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: #1a7fb0;
  border-color: #1a7fb0;
}

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

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

.page-payment-methods__btn-inline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: none;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-inline:hover {
  background-color: #c76706;
}

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  color: #ffffff;
}

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

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

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

/* Deposit Methods Section */
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods {
  padding: 60px 0;
  background-color: #26A9E0; /* Primary color as background */
  color: #ffffff;
}

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

.page-payment-methods__method-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__method-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-payment-methods__method-description,
.page-payment-methods__method-info {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-payment-methods__method-list {
  list-style: decimal;
  margin-left: 20px;
  color: #f0f0f0;
  font-size: 0.95rem;
}

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

/* Deposit/Withdrawal Guide Sections */
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

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

.page-payment-methods__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-payment-methods__bullet-list {
  list-style: disc;
  margin-left: 25px;
  margin-top: 20px;
  color: #f0f0f0;
  font-size: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-payment-methods__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.page-payment-methods__cta-block p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ffffff;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
}

.page-payment-methods__faq-item summary::-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;
  padding-top: 0;
  font-size: 1rem;
  color: #f0f0f0;
}

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

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Primary color as background */
  color: #ffffff;
  text-align: center;
}

/* Global Image Styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }
}

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

  .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: 1.8rem;
  }

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

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small padding for visual spacing */
    padding-bottom: 40px;
  }

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

  /* Mobile image and container responsiveness */
  .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,
  .page-payment-methods__hero-section,
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

/* Dark background text contrast */
.page-payment-methods__dark-bg {
  color: #ffffff; /* Deep dark background, so text must be light */
}

.page-payment-methods__dark-section .page-payment-methods__text-block {
  color: #f0f0f0;
}

.page-payment-methods__dark-section .page-payment-methods__card {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__method-title {
  color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__method-subtitle {
  color: #f0f0f0;
}

.page-payment-methods__dark-section .page-payment-methods__method-description,
.page-payment-methods__dark-section .page-payment-methods__method-info,
.page-payment-methods__dark-section .page-payment-methods__method-list {
  color: #f0f0f0;
}