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

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

.page-faq__top-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    background: #C91F17; /* Main color */
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    color: #FFF5E1; /* Text Main */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-faq__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF5E1; /* Text Main */
}

.page-faq__top-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-faq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-secondary:hover {
    background: #C91F17; /* Main color */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-faq__content-section {
    padding: 50px 0;
    background: #B71C1C; /* Background */
}

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #FFF5E1; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

.page-faq__faq-item {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #7A0E0E; /* Deep Red for border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFF5E1; /* Text Main */
    background: #C91F17; /* Main color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    list-style: none; /* Hide default marker for details summary */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-faq__faq-item[open] > .page-faq__faq-question {
    background: #E53935; /* Auxiliary color when open */
    border-bottom: 1px solid #7A0E0E; /* Deep Red */
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

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

.page-faq__faq-answer p {
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main */
}

.page-faq__faq-answer ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main */
}

.page-faq__faq-answer li {
    margin-bottom: 8px;
    color: #FFF5E1; /* Text Main */
}

.page-faq__link-btn {
    display: inline-block;
    background: #F4D34D; /* Gold */
    color: #7A0E0E; /* Deep Red */
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    border: 1px solid #F2B544; /* Border color */
}

.page-faq__link-btn:hover {
    background: #FFCC66; /* Glow */
}

.page-faq__figure {
    margin: 20px 0;
    text-align: center;
    background: rgba(0,0,0,0.1); /* Slightly dark background for image context */
    padding: 10px;
    border-radius: 8px;
}

.page-faq__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #F2B544; /* Border color */
}

.page-faq__figcaption {
    font-size: 0.9rem;
    color: #FFF5E1; /* Text Main */
    margin-top: 10px;
}

.page-faq__game-trial-frame {
    border: 2px solid #F2B544; /* Border color */
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-faq__game-trial-description {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #FFF5E1; /* Text Main */
}

.page-faq__cta-section {
    padding: 60px 0;
    text-align: center;
    background: #E53935; /* Auxiliary color */
}

.page-faq__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #FFF5E1; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-faq__cta-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto 30px;
    color: #FFF5E1; /* Text Main */
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Button container responsiveness */
    max-width: 100%; /* Button container responsiveness */
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
    /* 1. Top section (padding, CTA layout) */
    .page-faq__top-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }
    .page-faq__container {
        padding: 0 15px !important; /* Adjust container padding */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__main-title {
        font-size: 2rem;
    }
    .page-faq__intro-text {
        font-size: 1rem;
    }
    .page-faq__top-cta {
        flex-direction: column;
        gap: 10px;
    }

    /* 2. Single column long text container (padding, font-size, max-width) */
    .page-faq__content-section {
        padding: 30px 0;
    }
    .page-faq__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-faq__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    .page-faq__faq-answer p,
    .page-faq__faq-answer ul,
    .page-faq__faq-answer li {
        font-size: 0.95rem;
    }

    /* 3. General images and figures (max-width, height: auto) */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-faq__figure {
        margin: 15px 0;
        padding: 8px;
    }
    .page-faq__figcaption {
        font-size: 0.85rem;
    }
    .page-faq__game-trial-frame {
        height: 300px;
    }

    /* 4. Buttons and button containers (max-width, width, flex-wrap) */
    .page-faq__btn,
    .page-faq__link-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-faq__top-cta,
    .page-faq__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 5. FAQ blocks (readability) */
    .page-faq__faq-list {
        padding: 0 10px;
    }
    .page-faq__cta-section {
        padding: 40px 0;
    }
    .page-faq__cta-title {
        font-size: 1.8rem;
    }
    .page-faq__cta-description {
        font-size: 1rem;
    }
}