/* style/payment-methods.css */

/* Custom Colors */
:root {
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-background: #08160F;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border: #2E7A4E;
  --page-payment-methods-glow: #57E38D;
  --page-payment-methods-gold: #F2C14E;
  --page-payment-methods-divider: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
  --page-payment-methods-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General Page Styles */
.page-payment-methods {
  background-color: var(--page-payment-methods-background); /* Dark background */
  color: var(--page-payment-methods-text-main); /* Light text for contrast */
  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);
  color: var(--page-payment-methods-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 18px;
  color: var(--page-payment-methods-text-secondary);
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

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

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-btn-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--page-payment-methods-glow);
  border: 2px solid var(--page-payment-methods-glow);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-glow);
  color: var(--page-payment-methods-background);
  transform: translateY(-2px);
}

.page-payment-methods__btn-center {
  display: block;
  margin: 30px auto;
  max-width: 300px;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for hero image on desktop */
  object-fit: cover;
  position: relative;
  z-index: 1;
  border-radius: 0;
  box-shadow: none;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-top: -150px; /* Adjust to slightly overlap the image, but text is below */
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-payment-methods__hero-description {
  font-size: 20px;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Overview Section */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__contact-cta {
  padding: 60px 0;
}

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

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__card-title {
  font-size: 24px;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-payment-methods__card li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__card li::before {
  content: '✓';
  color: var(--page-payment-methods-glow);
  position: absolute;
  left: 0;
  top: 0;
}

/* Method Details for Withdrawal */
.page-payment-methods__method-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__detail-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__detail-title {
  font-size: 24px;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__detail-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-payment-methods__detail-item li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__detail-item li::before {
  content: '→';
  color: var(--page-payment-methods-gold);
  position: absolute;
  left: 0;
  top: 0;
}

/* Security Features List */
.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__security-features li {
  font-size: 18px;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-payment-methods__security-features li::before {
  content: '🛡️';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: var(--page-payment-methods-text-main);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-glow);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 17px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -100px;
  }
}

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

  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__hero-content,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-payment-methods__hero-image {
    height: 400px;
  }

  .page-payment-methods__hero-content {
    margin-top: -80px; /* Reduced overlap for mobile */
  }

  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

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

  .page-payment-methods__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-payment-methods__card-title,
  .page-payment-methods__detail-title {
    font-size: 20px;
  }

  .page-payment-methods__security-features li,
  .page-payment-methods__faq-item summary {
    font-size: 18px;
  }

  .page-payment-methods__faq-answer {
    font-size: 16px;
  }

  /* Ensure all images are responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__method-cards,
  .page-payment-methods__method-details,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons specific mobile overrides for padding */
  .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"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-image {
    height: 300px;
  }

  .page-payment-methods__hero-content {
    margin-top: -60px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-payment-methods__section-title {
    font-size: clamp(20px, 5vw, 30px);
  }
}