/* style/payment-methods.css */

:root {
  --bat88-primary-color: #11A84E;
  --bat88-secondary-color: #22C768;
  --bat88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bat88-card-bg: #11271B;
  --bat88-background: #08160F;
  --bat88-text-main: #F2FFF6;
  --bat88-text-secondary: #A7D9B8;
  --bat88-border: #2E7A4E;
  --bat88-glow: #57E38D;
  --bat88-gold: #F2C14E;
  --bat88-divider: #1E3A2A;
  --bat88-deep-green: #0A4B2C;
}

/* Base styles for the payment methods page */
.page-payment-methods {
  background-color: var(--bat88-background);
  color: var(--bat88-text-main);
  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-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--bat88-gold);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-payment-methods__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--bat88-text-secondary);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--bat88-deep-green);
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  position: relative; /* Ensure content is above the image if needed, but not overlaying */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly up for visual appeal */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Use clamp for responsive H1 */
  font-weight: 800;
  color: var(--bat88-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-payment-methods__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--bat88-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 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: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: var(--bat88-button-gradient);
  color: #ffffff;
  border: 2px solid var(--bat88-secondary-color);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  filter: brightness(1.1);
}

.page-payment-methods__btn-secondary {
  background: var(--bat88-card-bg);
  color: var(--bat88-gold);
  border: 2px solid var(--bat88-gold);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

.page-payment-methods__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.5);
  background: var(--bat88-gold);
  color: var(--bat88-background);
}

/* Section common styles */
.page-payment-methods__introduction-section,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__limits-fees-section,
.page-payment-methods__faq-section,
.page-payment-methods__support-section,
.page-payment-methods__conclusion-section {
  padding: 80px 0;
}

.page-payment-methods__light-bg {
  background-color: var(--bat88-deep-green);
  color: var(--bat88-text-main);
}

.page-payment-methods__dark-section {
  background-color: var(--bat88-background);
  color: var(--bat88-text-main);
}

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

.page-payment-methods__method-card,
.page-payment-methods__info-card,
.page-payment-methods__card {
  background-color: var(--bat88-card-bg);
  border: 1px solid var(--bat88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--bat88-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(34, 199, 104, 0.5);
}

.page-payment-methods__method-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title,
.page-payment-methods__info-title {
  font-size: 24px;
  color: var(--bat88-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__method-description {
  font-size: 15px;
  color: var(--bat88-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-features,
.page-payment-methods__info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__method-features li,
.page-payment-methods__info-list li {
  font-size: 15px;
  color: var(--bat88-text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__method-features li::before,
.page-payment-methods__info-list li::before {
  content: '✓';
  color: var(--bat88-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__card-button {
  margin-top: auto; /* Push button to the bottom */
}

/* Guide Section */
.page-payment-methods__guide-item {
  background-color: var(--bat88-card-bg);
  border: 1px solid var(--bat88-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__guide-title {
  font-size: 28px;
  color: var(--bat88-gold);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.page-payment-methods__guide-content p {
  font-size: 16px;
  color: var(--bat88-text-secondary);
  margin-bottom: 10px;
}

.page-payment-methods__guide-content strong {
  color: var(--bat88-text-main);
}

.page-payment-methods__note {
  font-style: italic;
  color: var(--bat88-text-secondary);
  font-size: 14px;
  margin-top: 15px;
}

.page-payment-methods__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Withdrawal Section */
.page-payment-methods__important-notes {
  background-color: var(--bat88-card-bg);
  border: 1px solid var(--bat88-border);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__checklist {
  list-style: none;
  padding: 0;
}

.page-payment-methods__checklist li {
  font-size: 16px;
  color: var(--bat88-text-secondary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.page-payment-methods__checklist li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

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

.page-payment-methods__feature-item {
  background-color: var(--bat88-card-bg);
  border: 1px solid var(--bat88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--bat88-text-main);
}

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

.page-payment-methods__feature-title {
  font-size: 22px;
  color: var(--bat88-gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-payment-methods__feature-description {
  font-size: 15px;
  color: var(--bat88-text-secondary);
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: var(--bat88-card-bg);
  border: 1px solid var(--bat88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--bat88-text-main);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--bat88-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: rgba(34, 199, 104, 0.1);
  border-bottom: 1px solid var(--bat88-border);
  border-radius: 8px 8px 0 0;
}

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

.page-payment-methods__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--bat88-gold);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--bat88-text-secondary);
  line-height: 1.7;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-answer {
  max-height: none; /* Let content dictate height for <details> */
  padding-top: 15px;
}

/* Support Section */
.page-payment-methods__support-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section .page-payment-methods__cta-buttons {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }

  .page-payment-methods__hero-content {
    padding: 30px 15px;
    margin-top: -30px;
  }

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

  .page-payment-methods__hero-description {
    font-size: 16px;
  }

  .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;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__hero-cta-buttons,
  .page-payment-methods__support-options,
  .page-payment-methods__conclusion-section .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__introduction-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__limits-fees-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__support-section,
  .page-payment-methods__conclusion-section {
    padding: 50px 0;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 15px;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__withdrawal-grid,
  .page-payment-methods__info-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__info-card,
  .page-payment-methods__card,
  .page-payment-methods__guide-item,
  .page-payment-methods__important-notes,
  .page-payment-methods__feature-item,
  .page-payment-methods__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__method-image,
  .page-payment-methods__guide-image,
  .page-payment-methods__feature-icon,
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of their container */
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* Small padding-top for mobile */
  }

  /* Video specific mobile styles if any video existed */
  .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;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
}

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

  .page-payment-methods__section-title {
    font-size: 24px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 15px !important;
    padding: 10px 15px !important;
  }

  .page-payment-methods__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-payment-methods__faq-answer {
    font-size: 14px;
    padding: 0 20px 15px;
  }
}