/* style/payment-methods.css */
/* General styles for the payment methods page */
.page-payment-methods {
  background-color: var(--bg-color, #08160F); /* Fallback to custom background color if --bg-color is not set */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding-top: 20px;
}

.page-payment-methods__section-title--gold {
  color: #F2C14E; /* Gold color for special titles */
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #F2FFF6; /* Main text color */
}

.page-payment-methods__highlight {
  color: #57E38D; /* Glow color for highlights */
  font-weight: bold;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual effect, but not cover text on image */
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-50px); /* Lift it slightly */
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-payment-methods__intro-text {
  font-size: 1.2em;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Buttons */
.page-payment-methods__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__cta-button--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-payment-methods__cta-button--secondary {
    background: #11271B; /* Card BG color */
    border: 2px solid #2AD16F;
    color: #2AD16F;
}

.page-payment-methods__cta-button--secondary:hover {
    background: #2AD16F;
    color: #ffffff;
}

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}


/* Overview Section */
.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
}

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

.page-payment-methods__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #F2FFF6; /* Main text color */
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-description {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #F2FFF6; /* Main text color */
}

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

.page-payment-methods__list li::before {
  content: "•";
  color: #57E38D; /* Glow color for list bullets */
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-payment-methods__list ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin-top: 10px;
}

.page-payment-methods__list ol li {
  margin-bottom: 5px;
  padding-left: 0; /* Remove padding from ordered list items */
}

.page-payment-methods__list ol li::before {
  content: none; /* Remove bullet from ordered list items */
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-payment-methods__withdrawal-card {
    margin-bottom: 30px;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
  text-align: center;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-payment-methods__faq-item {
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  color: #F2FFF6; /* Main text color */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #0A4B2C; /* Deep Green */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2C14E; /* Gold color */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow color */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 20px 30px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
  line-height: 1.7;
}

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

/* Contact Section */
.page-payment-methods__contact-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
  text-align: center;
}

.page-payment-methods__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__link:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-content {
      margin-top: -80px;
      padding: 30px 15px;
  }
}

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

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

  .page-payment-methods__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
    transform: translateY(-30px);
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-payment-methods__intro-text {
    font-size: 1em;
  }

  .page-payment-methods__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to button group */
  }

  .page-payment-methods__method-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-payment-methods__card-title {
    font-size: 1.3em;
  }

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

  /* Mobile image and video responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-image {
    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__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-section,
  .page-payment-methods__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific padding for sections if needed, overriding container padding */
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-section,
  .page-payment-methods__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for hero section's own small top margin */
  }
}

/* Ensure images meet minimum size requirement */
.page-payment-methods img {
    min-width: 200px;
    min-height: 200px;
}

/* CSS for contrast enforcement */
/* Assuming body is dark from shared.css, so main text color is light */
.page-payment-methods {
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods p,
.page-payment-methods li {
  color: #A7D9B8; /* Text Secondary for paragraph and list items */
}

.page-payment-methods__card {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__card-title {
  color: #F2C14E; /* Gold color */
}

.page-payment-methods__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2C14E; /* Gold color */
}

.page-payment-methods__faq-answer {
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__cta-button {
  color: #ffffff; /* White for button text */
}

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

/* No CSS filter allowed for images */
.page-payment-methods img {
    filter: none;
}