/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body has #121212, this ensures content sections can have their own backgrounds */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    text-align: center;
    overflow: hidden; /* For image positioning */
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

/* Section Titles */
.page-payment-methods__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand primary color */
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #017439; /* Brand primary color */
    text-align: center;
}

/* Paragraphs */
.page-payment-methods__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Cards */
.page-payment-methods__card {
    background-color: #ffffff; /* White background for cards */
    color: #333333; /* Dark text for white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.page-payment-methods__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
    display: block;
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

/* Lists */
.page-payment-methods__list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #333333; /* Dark text for white background */
}

.page-payment-methods__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-payment-methods__list-items {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #ffffff; /* Light text for dark background */
}

.page-payment-methods__list-items li {
    margin-bottom: 10px;
    font-size: 1.05em;
}


/* Buttons */
.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__cta-buttons--center {
    justify-content: center;
}

.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.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Crucial for responsiveness */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-payment-methods__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
    background-color: #9d0606;
    border-color: #9d0606;
    color: #ffffff;
}

.page-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Section Backgrounds for Contrast */
.page-payment-methods__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for contrast, but still dark */
    color: #ffffff;
}

.page-payment-methods__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-payment-methods__introduction .page-payment-methods__section-title,
.page-payment-methods__withdrawal-guide .page-payment-methods__section-title,
.page-payment-methods__customer-support .page-payment-methods__section-title {
    color: #017439;
}

.page-payment-methods__deposit-guide .page-payment-methods__section-title,
.page-payment-methods__important-notes .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
    color: #FFFF00;
}

.page-payment-methods__deposit-guide .page-payment-methods__sub-title,
.page-payment-methods__important-notes .page-payment-methods__sub-title,
.page-payment-methods__faq-section .page-payment-methods__sub-title {
    color: #ffffff;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: #017439; /* Brand primary color for FAQ background */
    color: #ffffff;
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2); /* Darker background for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow for toggle icon */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '−' */
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #f0f0f0;
    background-color: rgba(0, 0, 0, 0.1); /* Slightly darker for answer */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__sub-title {
        font-size: 1.6em;
    }
    .page-payment-methods__card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 300px !important; /* Limit button width on small screens */
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-payment-methods__paragraph,
    .page-payment-methods__list li,
    .page-payment-methods__list-items li {
        font-size: 0.95em;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__card-title {
        font-size: 1.3em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }

    /* Image responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__card-image {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Ensure all containing elements for images/buttons/videos are responsive */
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__introduction,
    .page-payment-methods__deposit-guide,
    .page-payment-methods__withdrawal-guide,
    .page-payment-methods__important-notes,
    .page-payment-methods__customer-support,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-buttons,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-payment-methods__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__sub-title {
        font-size: 1.2em;
    }
    .page-payment-methods__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-payment-methods__faq-answer {
        padding: 12px 15px;
    }
    .page-payment-methods__hero-section {
        min-height: 400px;
    }
}