/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* body background is handled by shared.css */
}

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

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px);
    text-align: center;
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    background-image: url('[GALLERY:hero:1920x1080:bet_inax_faq_hero,customer_service,support_team,online_betting]');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.page-faq__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__description-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background-color: #C30808; /* Register button color */
    color: #ffffff; /* Adjusted for contrast */
    border: 2px solid #C30808;
}

.page-faq__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-faq__btn-secondary {
    background-color: #C30808; /* Login button color */
    color: #ffffff; /* Adjusted for contrast */
    border: 2px solid #C30808;
}

.page-faq__btn-secondary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Content Area */
.page-faq__content-area {
    padding: 60px 0;
    background-color: #0a0a0a; /* Ensure dark background for content area */
    color: #ffffff; /* Light text for dark background */
}

.page-faq__section-title {
    font-size: 2.2em;
    color: #FFFF00; /* Yellow for main titles */
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ List */
.page-faq__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for items */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Darker on question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-heading {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00;
    transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px;
}

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

.page-faq__faq-answer a {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

.page-faq__faq-answer a:hover {
    text-decoration: underline;
}

/* Image styles within FAQ answers */
.page-faq__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

/* General link style for content */
.page-faq__link {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

.page-faq__link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-faq__main-title {
        font-size: 2em;
    }

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

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
    }

    .page-faq__faq-heading {
        font-size: 1.1em;
    }

    .page-faq__faq-answer {
        padding: 0 20px;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Mobile video responsiveness */
    .page-faq video,
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-faq__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }

    .page-faq__faq-heading {
        font-size: 1em;
    }
}