/* FAQ Section Styles */
.faq-section {
    max-width: 1000px;
    /* Wider for web as requested */
    margin: 0 auto 60px;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    position: relative;
    z-index: 10;
}

/* Gradient blending for Hero bottom */
/* Targeted via global .hero class if present */
.hero {
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 5;
}

.faq-header {
    display: inline-block;
    background-color: var(--accent-color, #d63d00);
    /* Matching Game Accent */
    color: #fff;
    /* White text on accent background */
    padding: 10px 30px;
    border-radius: 4px;
    /* Slightly less rounded to match primary buttons */
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-item {
    background-color: transparent;
    border-bottom: 1px solid #333;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid #333;
}

.faq-question {
    padding: 25px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e5e5;
    transition: color 0.3s ease;
}

.faq-toggle-icon {
    font-size: 1rem;
    color: #e5e5e5;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    background-color: transparent;
    color: #ccc;
    line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 25px 0;
}

/* Active State */
.faq-item.active .faq-question h3 {
    color: var(--accent-color, #d63d00);
    /* Active Accent Color */
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-color, #d63d00);
    /* Active Accent Color */
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-section {
        padding: 0 20px;
        margin-top: -50px;
        /* Pull up slightly on mobile if needed, or keep standard */
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    /* Optimize Features Grid for Mobile */
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }

    .feature-item {
        gap: 10px !important;
        align-items: center !important;
        /* Better alignment for smaller items */
    }

    .feature-icon {
        font-size: 1.2rem !important;
        /* Smaller icon */
        width: 24px !important;
    }

    .feature-title {
        font-size: 0.8rem !important;
        /* Smaller title */
        font-weight: 700 !important;
    }

    .feature-desc {
        font-size: 0.7rem !important;
        /* Smaller desc */
        line-height: 1.2 !important;
    }
}