/* style/payment-methods.css */

/* Custom Colors */
:root {
    --fafa191-primary: #11A84E; /* Main */
    --fafa191-secondary: #22C768; /* Auxiliary */
    --fafa191-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --fafa191-card-bg: #11271B; /* Card BG */
    --fafa191-background: #08160F; /* Background */
    --fafa191-text-main: #F2FFF6; /* Text Main */
    --fafa191-text-secondary: #A7D9B8; /* Text Secondary */
    --fafa191-border: #2E7A4E; /* Border */
    --fafa191-glow: #57E38D; /* Glow */
    --fafa191-gold: #F2C14E; /* Gold */
    --fafa191-divider: #1E3A2A; /* Divider */
    --fafa191-deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the page content */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--fafa191-text-main); /* Default text color for dark background */
    background-color: var(--fafa191-background); /* Default background */
}

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

/* Color contrast enforcement */
.page-payment-methods__dark-bg {
    background-color: var(--fafa191-background);
    color: var(--fafa191-text-main); /* Light text on dark background */
}

.page-payment-methods__light-bg {
    background-color: #ffffff; /* Use white for light sections for contrast */
    color: #333333; /* Dark text on light background */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--fafa191-background);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-payment-methods__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--fafa191-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-payment-methods__hero-description {
    font-size: 1.15rem;
    color: var(--fafa191-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-inline,
.page-payment-methods__btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-cta {
    background: var(--fafa191-btn-gradient);
    color: var(--fafa191-text-main); /* Light text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-payment-methods__btn-primary:hover,
.page-payment-methods__btn-cta:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: var(--fafa191-primary); /* Brand color text on transparent button */
    border: 2px solid var(--fafa191-primary);
    box-shadow: none;
}

.page-payment-methods__btn-secondary:hover {
    background-color: var(--fafa191-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
    transform: translateY(-2px);
}

.page-payment-methods__btn-inline {
    background-color: var(--fafa191-deep-green);
    color: var(--fafa191-text-main);
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
    border: none;
}

.page-payment-methods__btn-inline:hover {
    background-color: var(--fafa191-primary);
}

/* Section common styles */
.page-payment-methods__introduction-section,
.page-payment-methods__bank-transfer-section,
.page-payment-methods__e-wallet-section,
.page-payment-methods__cryptocurrency-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 80px 0;
}

.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--fafa191-gold);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
    color: var(--fafa191-deep-green); /* Darker title on light background */
    text-shadow: none;
}

.page-payment-methods__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    color: var(--fafa191-text-secondary);
}

.page-payment-methods__light-bg .page-payment-methods__text-block {
    color: #555555; /* Darker text on light background */
}

.page-payment-methods__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.page-payment-methods__content-grid--reverse {
    grid-template-areas: "image text"; /* For reverse layout */
}

.page-payment-methods__content-grid--reverse .page-payment-methods__image-wrapper {
    grid-area: image;
}

.page-payment-methods__content-grid--reverse .page-payment-methods__text-content {
    grid-area: text;
}

.page-payment-methods__image-wrapper {
    text-align: center;
}

.page-payment-methods__image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Example max-width for content images */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto;
}

.page-payment-methods__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-payment-methods__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--fafa191-text-secondary);
}

.page-payment-methods__light-bg .page-payment-methods__list-item {
    color: #555555;
}

.page-payment-methods__list-item::before {
    content: "✅";
    position: absolute;
    left: 0;
    color: var(--fafa191-glow);
    font-size: 1.2rem;
    line-height: 1;
}

/* Security Features List */
.page-payment-methods__security-features .page-payment-methods__list-item::before {
    content: "🔒"; /* Lock icon for security features */
}


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

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

.page-payment-methods__faq-item summary {
    list-style: none; /* Hide default marker for details */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--fafa191-deep-green);
    color: var(--fafa191-text-main);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: var(--fafa191-primary);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--fafa191-text-secondary);
    border-top: 1px solid var(--fafa191-divider);
}

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

.page-payment-methods__contact-link {
    color: var(--fafa191-gold);
    text-decoration: none;
    font-weight: bold;
}

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

/* CTA Section */
.page-payment-methods__cta-section {
    text-align: center;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
}

.page-payment-methods__cta-card {
    background-color: #f8f8f8; /* Slightly off-white card background */
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-payment-methods__cta-card .page-payment-methods__section-title {
    color: var(--fafa191-deep-green);
    margin-bottom: 25px;
}

.page-payment-methods__cta-card .page-payment-methods__text-block {
    color: #555555;
    margin-bottom: 35px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods__content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .page-payment-methods__content-grid--reverse {
        grid-template-areas: unset; /* Reset grid area for single column */
    }
    .page-payment-methods__content-grid--reverse .page-payment-methods__image-wrapper {
        order: -1; /* Place image above text on mobile */
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-payment-methods__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .page-payment-methods__hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-payment-methods__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is just a small decorative top margin */
    }

    /* Mobile video responsiveness (if any, though not present now) */
    .page-payment-methods video,
    .page-payment-methods__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-payment-methods__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-payment-methods__video-section {
        padding-top: 10px !important;
    }
    .page-payment-methods__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile button responsiveness */
    .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"] {
        max-width: 100% !important;
        width: 100% !important; /* Make buttons full width on mobile */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
        flex-wrap: wrap !important; /* Ensure buttons wrap */
        gap: 10px; /* Space between wrapped buttons */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
    }

    .page-payment-methods__introduction-section,
    .page-payment-methods__bank-transfer-section,
    .page-payment-methods__e-wallet-section,
    .page-payment-methods__cryptocurrency-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
    .page-payment-methods__section-title {
        margin-bottom: 30px;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}