:root {
    --arcade-blue: #3545b0;
    --arcade-blue-light: #6679f2;
    --arcade-green: #50c995;
    --arcade-red: #ef6270;
}

body.arcade-hub-page {
    min-height: 100vh;
    display: block;
    padding: 0;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(53, 69, 176, .16),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #080b0f 0%,
            #05070a 100%
        );
}

.arcade-hub-shell {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    padding: 34px 0 64px;
}

.arcade-hub-nav {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 76px;
}

.arcade-hub-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);
    text-decoration: none;

    font-size: 12px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.arcade-hub-nav-meta {
    color: #5f6e79;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.arcade-hub-header {
    max-width: 960px;
    margin-bottom: 54px;
}

.arcade-hub-header h1 {
    margin-top: 20px;

    color: var(--text);

    font-size: clamp(72px, 12vw, 142px);
    line-height: .83;
    letter-spacing: -.065em;
}

.arcade-hub-tagline {
    margin: 30px 0 0;

    color: #83909b;

    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.35;
}

.arcade-hub-tagline strong {
    color: #edf1f4;
}

.arcade-hub-intro {
    max-width: 720px;
    margin: 13px 0 0;

    color: #65747f;

    font-size: 14px;
    line-height: 1.65;
}


/* Games ------------------------------------------------------------- */

.arcade-hub-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.arcade-hub-game {
    position: relative;

    min-width: 0;
    min-height: 370px;

    padding: 27px 28px 25px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    color: inherit;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(53, 69, 176, .075),
            rgba(10, 16, 21, .88) 46%
        );

    border: 1px solid rgba(79, 98, 205, .34);
    border-radius: 17px;

    transition:
        transform 170ms ease,
        border-color 170ms ease,
        background 170ms ease;
}

.arcade-hub-game::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            #5367e8,
            rgba(83, 103, 232, .12) 72%,
            transparent
        );
}

.arcade-hub-game:hover,
.arcade-hub-game:focus-visible {
    transform: translateY(-2px);

    border-color: rgba(102, 121, 242, .72);

    background:
        linear-gradient(
            135deg,
            rgba(53, 69, 176, .16),
            rgba(10, 16, 21, .90) 50%
        );
}

.arcade-hub-game:focus-visible {
    outline: 2px solid #6679f2;
    outline-offset: 3px;
}

.arcade-hub-game-danger {
    background:
        linear-gradient(
            135deg,
            rgba(239, 98, 112, .07),
            rgba(10, 16, 21, .90) 48%
        );

    border-color: rgba(239, 98, 112, .30);
}

.arcade-hub-game-danger::before {
    background:
        linear-gradient(
            90deg,
            #ef6270,
            rgba(239, 98, 112, .10) 72%,
            transparent
        );
}

.arcade-hub-game-danger:hover,
.arcade-hub-game-danger:focus-visible {
    border-color: rgba(239, 98, 112, .62);

    background:
        linear-gradient(
            135deg,
            rgba(239, 98, 112, .13),
            rgba(10, 16, 21, .90) 50%
        );
}

.arcade-hub-game-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.arcade-hub-number {
    color: #6679f2;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.arcade-hub-state {
    color: var(--arcade-green);

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.arcade-hub-game-danger .arcade-hub-state {
    color: var(--arcade-red);
}

.arcade-hub-game-body {
    margin-top: 56px;
}

.arcade-hub-kicker {
    color: #6878dc;

    font-size: 9px;
    font-weight: 850;
    letter-spacing: .15em;
}

.arcade-hub-game-danger .arcade-hub-kicker {
    color: #d96673;
}

.arcade-hub-game h2 {
    margin: 12px 0 0;

    color: #eef1f4;

    font-size: clamp(29px, 4vw, 48px);
    line-height: .95;
    letter-spacing: -.045em;
}

.arcade-hub-game p {
    max-width: 430px;
    min-height: 46px;

    margin: 16px 0 0;

    color: #7d8b96;

    font-size: 12px;
    line-height: 1.6;
}

.arcade-hub-tags {
    margin-top: 21px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.arcade-hub-tags span {
    padding: 5px 8px;

    color: #687782;
    background: rgba(255,255,255,.018);

    border: 1px solid rgba(255,255,255,.065);
    border-radius: 999px;

    font-size: 7px;
    font-weight: 850;
    letter-spacing: .10em;
}

.arcade-hub-action {
    margin-top: auto;
    padding-top: 32px;

    color: #7789f3;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.arcade-hub-game-danger .arcade-hub-action {
    color: #ef7180;
}


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

.arcade-hub-footer {
    margin-top: 27px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #61707b;

    font-size: 9px;
    font-weight: 750;
    letter-spacing: .11em;
}

.arcade-hub-footer > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.arcade-hub-footer-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: var(--arcade-blue);

    box-shadow: 0 0 11px rgba(53,69,176,.9);
}


@media (max-width: 760px) {
    .arcade-hub-shell {
        width: min(calc(100% - 28px), 1180px);
        padding-top: 24px;
    }

    .arcade-hub-nav {
        margin-bottom: 52px;
    }

    .arcade-hub-nav-meta {
        display: none;
    }

    .arcade-hub-games {
        grid-template-columns: 1fr;
    }

    .arcade-hub-game {
        min-height: 320px;
        padding: 24px 22px;
    }

    .arcade-hub-game-body {
        margin-top: 40px;
    }

    .arcade-hub-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
