/* 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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-payment-methods {
  background-color: var(--page-payment-methods-background);
  color: var(--page-payment-methods-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;
}

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  order: -1; /* Image appears above content */
}

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

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 1; /* Ensure text is above image if any overlap occurs (though not intended) */
  margin-top: -80px; /* Pull content slightly over image for visual appeal, but not covering */
}

.page-payment-methods__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--page-payment-methods-gold);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Sections */
.page-payment-methods__introduction-section,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__tips-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: var(--page-payment-methods-background);
}

.page-payment-methods__dark-section {
  background-color: var(--page-payment-methods-card-bg);
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--page-payment-methods-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__text-secondary {
  color: var(--page-payment-methods-text-secondary);
}

/* Method Grid (Deposit/Withdrawal) */
.page-payment-methods__method-grid {
  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: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  color: var(--page-payment-methods-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px; /* Min size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__card-text {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Security Section */
.page-payment-methods__security-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Tips Section */
.page-payment-methods__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods__list-item {
  background-color: var(--page-payment-methods-deep-green);
  border-left: 5px solid var(--page-payment-methods-glow);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--page-payment-methods-text-main);
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-payment-methods__list-item strong {
  color: var(--page-payment-methods-gold);
}

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

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

.page-payment-methods__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--page-payment-methods-text-main);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-item summary:hover {
  background-color: var(--page-payment-methods-divider);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-payment-methods-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: var(--page-payment-methods-divider);
}

/* Call to Action Section */
.page-payment-methods__cta-section {
  text-align: center;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  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: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: var(--page-payment-methods-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.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-color: var(--page-payment-methods-glow);
  color: var(--page-payment-methods-background);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -60px;
  }
  .page-payment-methods__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

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

  .page-payment-methods__hero-title,
  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-payment-methods__hero-description,
  .page-payment-methods__text-block,
  .page-payment-methods__card-text,
  .page-payment-methods__list-item,
  .page-payment-methods__faq-item summary,
  .page-payment-methods__faq-answer {
    font-size: 1rem !important;
  }

  .page-payment-methods__hero-cta-buttons,
  .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: 1rem;
  }

  /* All images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image and content containers */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-grid,
  .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;
  }

  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__tips-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

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

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

@media (max-width: 480px) {
  .page-payment-methods__hero-content {
    margin-top: -20px;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-payment-methods__card {
    padding: 20px;
  }
  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }
}