:root {
    --ink: #132033;
    --muted: #5f6b7a;
    --line: #d9e2ef;
    --paper: #f5f7fb;
    --navy: #10243f;
    --blue: #2563eb;
    --green: #15803d;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    padding: 18px clamp(20px, 5vw, 72px);
    background: var(--navy);
    color: white;
}

.identity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    font-size: 13px;
}

main {
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.game-link {
    width: min(560px, 100%);
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: white;
    box-shadow: 0 14px 34px rgba(16, 36, 63, .08);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.game-link:hover,
.game-link:focus-visible {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(16, 36, 63, .13);
    outline: none;
}

.game-icon {
    font-size: 40px;
    line-height: 1;
}

.game-link strong {
    font-size: 24px;
}

.arrow {
    color: var(--blue);
    font-size: 28px;
    font-weight: 800;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

footer a {
    color: var(--blue);
    font-weight: 700;
}

@media (max-width: 560px) {
    .game-link {
        grid-template-columns: 42px 1fr auto;
        padding: 18px;
    }

    .game-icon {
        font-size: 32px;
    }

    footer {
        flex-direction: column;
    }
}
