/* ==========================================================
   LANDING PAGE — layout only
   Not part of the Arcade UI Kit component system. This file
   just arranges kit components (background, title, button,
   badge, card) into a page layout. All visual styling still
   comes from the kit's own CSS.
========================================================== */

body {
    /* the kit's reset.css sets overflow:hidden on body, which is
       correct for single-viewport game screens (popups, showcases)
       but blocks scrolling on a page taller than the viewport like
       this one. Override scoped to the landing page only. */
    overflow-y: auto;
    height: auto;
    background: var(--background);
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------
   Hero
---------------------------------- */

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 48px 24px;
    text-align: center;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ----------------------------------
   Features
---------------------------------- */

.features {
    padding: 64px 0 24px;
}

.features__header {
    text-align: center;
    margin-bottom: 32px;
}

.features__eyebrow {
    display: inline-block;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features__card {
    text-decoration: none;
    color: inherit;
}

.features__card .card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features__card-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

/* ----------------------------------
   Footer
---------------------------------- */

.landing-footer {
    text-align: center;
    padding: 40px 24px 56px;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.landing-footer a {
    color: var(--text-muted);
}

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

@media (max-width: 860px) {

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 520px) {

    .features__grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero__content {
        min-height: 480px;
    }

}
