/* The landing page: the hero, the featured-games strip and the band that
   hands people over to the shop. The game cards themselves come from
   game-cards.css, so they match the hub exactly. */

.home-hero {
    /* padding-block only — the side gutter comes from .wrap */
    padding-block: 66px 26px;
    text-align: center;
}
.home-hero h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    font-weight: 700;
    margin: 22px 0 0;
}
.home-hero .lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 20px auto 0;
}
.home-cta {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* the row of toys that drifts under the hero */
.toy-rail {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.toy {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    animation: bob 4.5s ease-in-out infinite;
}
.toy:nth-child(2n) {
    animation-delay: -1.1s;
}
.toy:nth-child(3n) {
    animation-delay: -2.3s;
}
@keyframes bob {
    50% {
        transform: translateY(-9px) rotate(-3deg);
    }
}

/* ---------- the shop hand-off ---------- */
.shop-band {
    background: linear-gradient(150deg, #f4f7ff, #fff7ec);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 46px 44px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.shop-band h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
}
.shop-band p {
    color: var(--ink-soft);
    margin-top: 14px;
    font-size: 16px;
    max-width: 420px;
}
.shop-band .home-cta {
    justify-content: flex-start;
    margin-top: 24px;
}
.shelf {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.shelf div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-size: 32px;
    box-shadow: var(--shadow-card);
}

/* ---------- the three promises ---------- */
.promises {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.promises div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
}
.promises .ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 21px;
    background: var(--tint);
    margin-bottom: 12px;
}
.promises h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.promises p {
    font-size: 14px;
    color: var(--ink-soft);
}

@media (max-width: 860px) {
    .shop-band {
        grid-template-columns: 1fr;
        padding: 34px 26px;
    }
    .promises {
        grid-template-columns: 1fr;
    }
}
