/* The games hub page: /games/ — the intro, the "why" strip and the empty state.
   The cards themselves are in game-cards.css, shared with the home page. */

.hub-head {
    /* padding-block only — the side gutter comes from .wrap */
    padding-block: 54px 10px;
}
.hub-head h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 700;
    margin: 20px 0 0;
}
.hub-head .lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 560px;
    margin-top: 18px;
}

.hub-empty {
    border: 1.5px dashed var(--line);
    border-radius: var(--r-lg);
    padding: 44px 26px;
    text-align: center;
    color: var(--ink-soft);
    margin-top: 26px;
}

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

@media (max-width: 980px) {
    .why {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 680px) {
    .why {
        grid-template-columns: 1fr;
    }
}
