/* style/payment-methods.css */

/* Custom Colors */
:root {
  --page-payment-methods-primary-color: #11A84E;
  --page-payment-methods-secondary-color: #22C768;
  --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 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-payment-methods-text-main);
  background-color: var(--page-payment-methods-background); /* Ensures dark background for main content */
}

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

/* Sections */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  min-height: 450px;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--page-payment-methods-text-main);
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
  border-radius: 8px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__subtitle {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdraw-guide,
.page-payment-methods__faq-section {
  background-color: #ffffff; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-payment-methods__methods-section,
.page-payment-methods__withdraw-methods-section,
.page-payment-methods__limits-security-section,
.page-payment-methods__conclusion-section {
  background-color: var(--page-payment-methods-background); /* Dark background */
  color: var(--page-payment-methods-text-main); /* Light text */
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-payment-methods__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

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

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

.page-payment-methods__note {
  font-style: italic;
  color: var(--page-payment-methods-deep-green);
  margin-top: 30px;
  padding: 15px;
  border-left: 5px solid var(--page-payment-methods-primary-color);
  background-color: rgba(17, 168, 78, 0.1);
}

/* 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: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: #ffffff;
  border: none;
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: var(--page-payment-methods-primary-color);
  color: #ffffff;
}

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

/* Grid for method cards */
.page-payment-methods__method-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 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;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  padding: 0 15px;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0 15px;
  margin: 0;
  text-align: left;
  font-size: 0.9em;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
}

.page-payment-methods__card-features li::before {
  content: '✓';
  color: var(--page-payment-methods-primary-color);
  font-weight: bold;
  margin-right: 8px;
}

/* Ordered Lists */
.page-payment-methods__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-payment-methods__list-item {
  margin-bottom: 30px;
  color: #333333;
}

.page-payment-methods__list-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-payment-methods-deep-green);
}

/* Bullet Lists */
.page-payment-methods__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-payment-methods__bullet-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__bullet-list li::before {
  content: '•';
  color: var(--page-payment-methods-primary-color);
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-payment-methods__grid-item {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-payment-methods-text-main);
}

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--page-payment-methods-deep-green);
  border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--page-payment-methods-primary-color);
  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 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 300px;
  }

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

  .page-payment-methods__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

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

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

  .page-payment-methods__text-block {
    font-size: 1em;
  }

  .page-payment-methods__methods-section,
  .page-payment-methods__withdraw-methods-section,
  .page-payment-methods__limits-security-section,
  .page-payment-methods__conclusion-section,
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdraw-guide,
  .page-payment-methods__faq-section {
    padding: 40px 0;
  }

  .page-payment-methods__method-cards-grid,
  .page-payment-methods__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  .page-payment-methods img {
    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__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdraw-guide,
  .page-payment-methods__faq-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__withdraw-methods-section,
  .page-payment-methods__limits-security-section,
  .page-payment-methods__conclusion-section,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevents overflow from images/buttons */
  }

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

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

/* No filter property on images */
.page-payment-methods img {
  filter: none; /* Ensure no CSS filter is applied */
}

/* Image CSS size lower bound (content area) */
.page-payment-methods__hero-image,
.page-payment-methods__card-image,
.page-payment-methods__deposit-guide img,
.page-payment-methods__withdraw-guide img,
.page-payment-methods__content-grid img {
  min-width: 200px; /* Minimum width for content images */
  min-height: 200px; /* Minimum height for content images */
}