/* Luvisoft's own page: neutral and quiet, so each game can have its own look. The system's font (no
   font files), light by default, dark when the visitor's system is. */

:root {
    --bg: #fafaf8;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --line: #e3e3e0;
    --card: #ffffff;
    --accent: #1d1d1f;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #161617;
        --text: #f2f2f0;
        --muted: #9a9a9f;
        --line: #2c2c2e;
        --card: #1e1e20;
        --accent: #f2f2f0;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
    text-decoration-color: var(--muted);
}

.wrap {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    padding: 4rem 0 3rem;
}

.logo {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.intro {
    margin: 2.5rem 0 0;
    font-size: clamp(1.6rem, 4.5vw, 2.25rem);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.intro span {
    color: var(--muted);
}

h2 {
    margin: 4rem 0 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* A game: its picture, name and one line, the whole card a link. */
.game {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game:hover,
.game:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.game img {
    display: block;
    width: 100%;
    height: auto;
}

.game-text {
    display: block;
    padding: 1rem 1.25rem 1.2rem;
}

.game-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 650;
}

.game-line {
    display: block;
    color: var(--muted);
}

.contact {
    margin: 0;
    font-size: 1.2rem;
}

footer {
    margin-top: 5rem;
    padding: 1.5rem 0 3rem;
    border-top: 1px solid var(--line);
    font-size: 0.875rem;
    color: var(--muted);
}

footer p {
    margin: 0.15rem 0;
}
