/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__section-description {
  font-size: 18px;
  color: #A7D9B8; /* Secondary text color */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-payment-methods__intro-description {
  font-size: 20px;
  color: #A7D9B8;
  margin-bottom: 40px;
}

/* CTA 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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits in container */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #F2FFF6; /* Main text color */
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green from the gradient for contrast */
  border: 2px solid #2AD16F;
}

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

/* Why Choose Section */
.page-payment-methods__why-choose {
  background-color: #0A4B2C; /* Deep Green for a distinct section */
}

.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-item {
  background-color: #11271B; /* Custom card background color */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom border color */
}

.page-payment-methods__feature-title {
  font-size: 24px;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__feature-item p {
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  background-color: #08160F;
}

.page-payment-methods__method-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #11271B; /* Custom card background */
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: left;
  border: 1px solid #2E7A4E; /* Custom border color */
}

.page-payment-methods__method-card--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__method-content {
  flex: 1;
}

.page-payment-methods__method-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.page-payment-methods__method-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-payment-methods__method-title {
  font-size: 28px;
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__method-content p {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-payment-methods__method-details li {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__method-details li::before {
  content: '•';
  color: #2AD16F; /* Highlight bullet point */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__method-details ol {
  list-style: decimal;
  margin-left: 20px;
  color: #A7D9B8;
}

.page-payment-methods__method-details ol li {
  padding-left: 0;
  margin-bottom: 5px;
}

.page-payment-methods__method-details ol li::before {
  content: none;
}

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide {
  background-color: #0A4B2C;
}

.page-payment-methods__withdrawal-steps,
.page-payment-methods__withdrawal-conditions {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: left;
  border: 1px solid #2E7A4E;
}

.page-payment-methods__step-title {
  font-size: 24px;
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__step-list,
.page-payment-methods__condition-list {
  list-style: none;
  padding: 0;
}

.page-payment-methods__step-list li,
.page-payment-methods__condition-list li {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-payment-methods__step-list li strong,
.page-payment-methods__condition-list li strong {
  color: #F2FFF6;
}

.page-payment-methods__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #2AD16F;
  color: #08160F;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: bold;
}

.page-payment-methods__condition-list li::before {
  content: '•';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

/* FAQ Section */
.page-payment-methods__faq {
  background-color: #08160F;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B; /* Custom card background */
  border: 1px solid #2E7A4E; /* Custom border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #1E3A2A; /* Divider color for summary background */
  border-bottom: 1px solid transparent; /* No border for summary */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker */
}

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

.page-payment-methods__faq-question:hover {
  background-color: #2E7A4E;
}

.page-payment-methods__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #2AD16F;
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8;
  line-height: 1.6;
  border-top: 1px solid #2E7A4E;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Show border when open */
}

/* Safety Tips Section */
.page-payment-methods__safety-tips {
  background-color: #0A4B2C;
}

.page-payment-methods__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__tip-list li {
  background-color: #11271B;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #A7D9B8;
  border: 1px solid #2E7A4E;
  line-height: 1.6;
  position: relative;
  padding-left: 60px;
}

.page-payment-methods__tip-list li strong {
  color: #F2FFF6;
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.page-payment-methods__tip-list li::before {
  content: '✓';
  font-family: 'Font Awesome 5 Free'; /* Assuming Font Awesome or similar for icon */
  font-weight: 900;
  color: #57E38D; /* Glow color */
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 24px;
}

/* CTA Bottom Section */
.page-payment-methods__cta-bottom {
  background-color: #08160F;
  padding-bottom: 80px;
}

.page-payment-methods__cta-bottom-content {
  background-color: #11271B;
  padding: 50px;
  border-radius: 15px;
  border: 2px solid #2E7A4E;
  box-shadow: 0 0 30px rgba(87, 227, 141, 0.3); /* Glow effect */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-payment-methods__method-card {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__method-card--reverse {
    flex-direction: column;
  }

  .page-payment-methods__method-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

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

  .page-payment-methods__main-title {
    font-size: 32px;
  }

  .page-payment-methods__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__withdrawal-conditions,
  .page-payment-methods__faq-item,
  .page-payment-methods__tip-list li,
  .page-payment-methods__cta-bottom-content {
    padding: 25px;
  }
  
  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Ensure contrast for all text */
.page-payment-methods h1, .page-payment-methods h2, .page-payment-methods h3, .page-payment-methods h4, .page-payment-methods h5, .page-payment-methods h6 {
  color: #F2FFF6; /* Main text color for all headings */
}

.page-payment-methods p, .page-payment-methods li {
  color: #A7D9B8; /* Secondary text color for paragraphs and lists */
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  color: #F2FFF6; /* Ensure button text is light for contrast */
}

.page-payment-methods__btn-secondary {
  color: #2AD16F; /* Specific color for secondary button text */
}

.page-payment-methods__btn-secondary:hover {
  color: #F2FFF6;
}

/* Override default details/summary styles */
.page-payment-methods__faq-item details > summary {
  list-style: none;
}
.page-payment-methods__faq-item details > summary::-webkit-details-marker {
  display: none;
}