/* style/payment-methods-guide.css */
:root {
    --primary-color: #0056B3;
    --secondary-color: #FFC107;
    --dark-bg-1: #0d0d0d; /* Assuming a dark background from shared.css */
    --text-light: #ffffff;
    --text-dark: #333333;
    --light-grey-bg: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-payment-methods-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for potentially dark body background */
    background-color: var(--dark-bg-1);
}

.page-payment-methods-guide__hero-banner {
    background-color: var(--primary-color);
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    padding-bottom: 80px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

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

.page-payment-methods-guide__container--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-payment-methods-guide__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-payment-methods-guide__main-title .highlight {
    color: var(--secondary-color);
}

.page-payment-methods-guide__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-payment-methods-guide__subtitle a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods-guide__subtitle a:hover {
    text-decoration: underline;
}

.page-payment-methods-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-guide__cta-button:hover {
    background: #ffdb80;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-payment-methods-guide__section {
    padding: 60px 0;
    color: var(--text-dark);
}

.page-payment-methods-guide__section--intro {
    background-color: var(--light-grey-bg);
}

.page-payment-methods-guide__section--popular-methods {
    background-color: var(--light-grey-bg);
}

.page-payment-methods-guide__section--selection-guide {
    background-color: #ffffff;
}

.page-payment-methods-guide__section--deposit-guide {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-payment-methods-guide__section--withdrawal-guide {
    background-color: #ffffff;
    color: var(--text-dark);
}

.page-payment-methods-guide__section--security {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-payment-methods-guide__section--faq {
    background-color: var(--light-grey-bg);
    color: var(--text-dark);
}

.page-payment-methods-guide__section--cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-payment-methods-guide__section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-payment-methods-guide__section-title .highlight {
    color: var(--secondary-color);
}

.page-payment-methods-guide__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-payment-methods-guide__paragraph a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods-guide__paragraph--note {
    font-style: italic;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.page-payment-methods-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-guide__image--full-width {
    width: 100%;
}

.page-payment-methods-guide__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods-guide__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-payment-methods-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-guide__card-icon {
    width: 120px; /* Min 200px requirement for images applies to content images, icons can be smaller if purely decorative and not primary content */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods-guide__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-payment-methods-guide__card-description {
    font-size: 16px;
    color: var(--text-dark);
}

.page-payment-methods-guide__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-payment-methods-guide__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin: 0 0 30px 0;
}

.page-payment-methods-guide__list-item {
    font-size: 17px;
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
    color: inherit;
}

.page-payment-methods-guide__list-item strong {
    color: var(--primary-color);
}

.page-payment-methods-guide__section--deposit-guide .page-payment-methods-guide__list-item strong,
.page-payment-methods-guide__section--security .page-payment-methods-guide__list-item strong {
    color: var(--secondary-color);
}

.page-payment-methods-guide__list-item::before {
    content: '✅';
    position: absolute;
    left: -15px;
    top: 0;
    color: var(--primary-color); /* Default checkmark color */
}

.page-payment-methods-guide__section--deposit-guide .page-payment-methods-guide__list-item::before,
.page-payment-methods-guide__section--security .page-payment-methods-guide__list-item::before {
    color: var(--secondary-color); /* Checkmark color for dark sections */
}

.page-payment-methods-guide__ordered-list .page-payment-methods-guide__list-item::before {
    content: none;
}

/* FAQ Styles */
.page-payment-methods-guide__faq-list {
  margin-top: 40px;
}

.page-payment-methods-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-payment-methods-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-payment-methods-guide__faq-item.active .page-payment-methods-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-payment-methods-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-payment-methods-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-payment-methods-guide__faq-question:active {
  background: #eeeeee;
}

.page-payment-methods-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-payment-methods-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-payment-methods-guide__faq-item.active .page-payment-methods-guide__faq-toggle {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods-guide__main-title {
        font-size: 36px;
    }

    .page-payment-methods-guide__subtitle {
        font-size: 18px;
    }

    .page-payment-methods-guide__section-title {
        font-size: 28px;
    }

    .page-payment-methods-guide__paragraph {
        font-size: 16px;
    }

    .page-payment-methods-guide__list-item {
        font-size: 16px;
    }

    .page-payment-methods-guide__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-payment-methods-guide__card-title {
        font-size: 20px;
    }

    .page-payment-methods-guide__card-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods-guide__hero-banner {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 60px;
    }

    .page-payment-methods-guide__main-title {
        font-size: 30px;
    }

    .page-payment-methods-guide__subtitle {
        font-size: 16px;
    }

    .page-payment-methods-guide__section {
        padding: 40px 0;
    }

    .page-payment-methods-guide__container {
        padding: 0 15px;
    }

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

    .page-payment-methods-guide__paragraph,
    .page-payment-methods-guide__list-item {
        font-size: 15px;
    }

    .page-payment-methods-guide__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-payment-methods-guide__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods-guide__card {
        padding: 20px;
    }

    .page-payment-methods-guide__card-icon {
        width: 100px;
        height: 100px;
    }

    .page-payment-methods-guide__card-title {
        font-size: 18px;
    }

    .page-payment-methods-guide__card-description {
        font-size: 14px;
    }
    
    .page-payment-methods-guide__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-payment-methods-guide__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-payment-methods-guide__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-payment-methods-guide__faq-answer {
      padding: 0 15px;
    }
    
    .page-payment-methods-guide__faq-item.active .page-payment-methods-guide__faq-answer {
      padding: 15px !important;
    }
    
    /* Mobile image responsiveness */
    .page-payment-methods-guide img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-payment-methods-guide__section,
    .page-payment-methods-guide__card,
    .page-payment-methods-guide__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

/* Contrast Fixes */
.page-payment-methods-guide__dark-bg {
  color: var(--text-light);
}

.page-payment-methods-guide__light-bg {
  color: var(--text-dark);
}

.page-payment-methods-guide__btn-primary {
  background: var(--secondary-color);
  color: var(--text-dark);
  border: 2px solid transparent;
}

.page-payment-methods-guide__btn-primary:hover {
    background: #ffdb80;
}

.page-payment-methods-guide__paragraph a {
    color: var(--secondary-color);
}

.page-payment-methods-guide__section--selection-guide .page-payment-methods-guide__list-item strong {
    color: var(--primary-color);
}

.page-payment-methods-guide__section--selection-guide .page-payment-methods-guide__list-item::before {
    color: var(--primary-color);
}