.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Body Background */
}

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

.page-faq__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #C91F17; /* Main brand color for hero background */
    position: relative;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

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

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
}

.page-faq__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #FFD86A; /* Gold-like for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__description {
    font-size: 1.1em;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for text on gold button */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #F2B544; /* Border color */
}

.page-faq__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #FFE89C 0%, #F0C400 100%);
}

.page-faq__intro-section {
    padding: 60px 0;
    background-color: #B71C1C;
    text-align: center;
}

.page-faq__section-title {
    font-size: 2.2em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__sub-section-title {
    font-size: 1.8em;
    color: #F4D34D; /* Gold for sub-titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #E53935; /* Accent color border */
    padding-bottom: 10px;
    display: inline-block;
}

.page-faq__intro-text {
    font-size: 1.05em;
    color: #FFF5E1;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red background for accordion */
}

.page-faq__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #E53935;
}

.page-faq__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    background-color: #C91F17; /* Main brand color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq__faq-item summary:hover {
    background-color: #E53935; /* Accent color on hover */
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 24px;
    text-align: center;
    user-select: none;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    content: '−';
}

.page-faq__faq-answer {
    padding: 20px 25px;
    color: #FFF5E1;
    font-size: 1em;
    background-color: #D32F2F; /* Card BG */
}

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

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__link {
    color: #FFD86A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.page-faq__faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-faq__game-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.page-faq__game-link {
    background-color: #E53935;
    color: #FFF5E1;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #FFCC66;
}

.page-faq__game-link:hover {
    background-color: #C91F17;
    transform: translateY(-2px);
}

.page-faq__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #B71C1C;
}

.page-faq__cta-section .page-faq__container {
    background-color: #D32F2F; /* Card BG */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid #E53935;
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: #FFD86A; /* Gold for CTA title */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-text {
    font-size: 1.1em;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Styles --- */

/* Desktop/Tablet (up to 1024px, but 768px is the main breakpoint) */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.5em;
    }

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

    .page-faq__sub-section-title {
        font-size: 1.6em;
    }

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

    .page-faq__faq-answer {
        font-size: 0.95em;
    }

    .page-faq__btn-primary {
        padding: 10px 25px;
        font-size: 1em;
    }

    .page-faq__cta-title {
        font-size: 2.2em;
    }

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-faq__container,
    .page-faq__hero-content,
    .page-faq__cta-section .page-faq__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-faq__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-faq__hero-image {
        object-fit: contain !important; /* Mobile hero image should contain, not cover */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio for better fit */
        max-height: none !important;
    }

    .page-faq__main-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .page-faq__description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .page-faq__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
    }

    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-faq__sub-section-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-faq__intro-text {
        font-size: 0.95em;
    }

    .page-faq__faq-item summary {
        font-size: 0.95em;
        padding: 15px 20px;
    }

    .page-faq__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-faq__game-links {
        flex-direction: column;
        gap: 8px;
    }

    .page-faq__game-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }

    .page-faq__cta-section {
        padding: 50px 0;
    }

    .page-faq__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-faq__cta-text {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
}