/* Arrow Escape pages. Builds on assets/css/style.css and assets/css/theme.css. */

.game_hero_icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    filter: drop-shadow(0 0 30px rgba(61, 220, 132, 0.45));
}
.game_store_note {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--gq-muted);
}

/* Legal pages use an h1 (one per page, for SEO): same look as the theme's legal h2. */
.legal_section h1 {
    font-size: 46px;
    line-height: 58px;
}

/* How to play: numbered steps */
.ae_step_number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--gq-btn-gradient);
    color: var(--gq-white);
    font-size: 24px;
    font-weight: 800;
}

/* Screenshot strip: swipeable on phones, scrolls sideways on desktop */
.ae_shots {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.ae_shots figure {
    flex: 0 0 auto;
    width: 250px;
    margin: 0;
    scroll-snap-align: start;
}
.ae_shots img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid var(--gq-border);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.ae_shots figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--gq-muted);
}

/* Chapter list */
.ae_chapters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    padding: 0;
    list-style: none;
}
.ae_chapters li {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--gq-card);
    border: 1px solid var(--gq-border);
    color: var(--gq-muted);
    font-size: 15px;
    line-height: 22px;
}
.ae_chapters strong {
    display: block;
    color: var(--gq-text);
    font-size: 16px;
}

/* FAQ */
.ae_faq details {
    margin-bottom: 14px;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--gq-card);
    border: 1px solid var(--gq-border);
}
.ae_faq summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--gq-text);
}
.ae_faq details[open] summary {
    color: var(--gq-gold);
}
.ae_faq p {
    margin: 12px 0 0;
    color: var(--gq-muted);
    font-size: 15px;
    line-height: 26px;
}

@media only screen and (max-width: 767px) {
    .legal_section h1 {
        font-size: 30px;
        line-height: 40px;
    }
    .game_hero_icon {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }
    .ae_shots figure {
        width: 210px;
    }
}
