:root {
    --bg: #121212;
    --surface: #1c1b1a;
    --border: #2d2b29;
    --primary: #d97706;
    --primary-strong: #f59e0b;
    --rust: #b4532a;
    --slate: #5b6b78;
    --text: #f3f4f6;
    --muted: #a3a3a3;
    --radius: 14px;
    --max: 1040px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(60rem 30rem at 50% -10rem, rgba(217, 119, 6, 0.14), transparent 70%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-strong); }
a:hover { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 1rem; top: -3rem; z-index: 10;
    background: var(--primary); color: #111; padding: .5rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.site-header {
    position: sticky; top: 0; z-index: 5;
    display: flex; align-items: center; gap: 1.5rem;
    padding: .75rem clamp(1rem, 4vw, 2rem);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none; color: var(--rust);
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.brand img { width: 52px; height: auto; }
.brand b { color: var(--slate); margin-left: .35em; font-weight: 800; }

.site-nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }

.lang select {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border); border-radius: 8px;
    padding: .4rem .6rem; font: inherit; font-size: .9rem; cursor: pointer;
}

main { flex: 1; }

.hero {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: clamp(3rem, 10vh, 6rem) 1rem clamp(3rem, 8vh, 5rem);
}
.hero-logo { margin: 0 0 1.5rem; width: min(420px, 80vw); }
.hero-logo img { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35)); }

.tagline { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: var(--muted); max-width: 34rem; margin: 0 0 1.75rem; }

.wip-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    margin: 0 0 2rem; padding: .45rem 1rem; border-radius: 999px;
    background: rgba(217, 119, 6, 0.12); border: 1px solid rgba(217, 119, 6, 0.35);
    color: var(--primary-strong); font-weight: 600; font-size: .95rem;
}
.pulse {
    width: .55rem; height: .55rem; border-radius: 50%; background: var(--primary);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6); }
    100% { box-shadow: 0 0 0 .6rem rgba(217, 119, 6, 0); }
}

.button {
    display: inline-block; padding: .8rem 1.5rem; border-radius: 10px;
    background: var(--primary); color: #111; font-weight: 700; text-decoration: none;
    transition: background .15s, transform .15s;
}
.button:hover { background: var(--primary-strong); color: #111; transform: translateY(-1px); }

.section {
    width: 100%; max-width: var(--max); margin: 0 auto;
    padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1rem, 4vw, 2rem);
    border-top: 1px solid var(--border);
}
.section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
.lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; font-size: 1.05rem; }

.games {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.game {
    position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius);
    background:
        repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.015) 14px 28px),
        var(--surface);
    border: 1px solid var(--border);
    transition: border-color .2s, transform .2s;
}
.game:hover { border-color: rgba(217, 119, 6, 0.5); transform: translateY(-2px); }
.game { padding: 0; overflow: hidden; }
.game-cover img { width: 100%; aspect-ratio: 920 / 430; object-fit: cover; }
.game-body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.game-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.game-emblem { width: 64px; height: auto; flex: none; }
.game .motto { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--text); }
.game h3 { margin: 0 0 .15rem; line-height: 1.1; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--rust); letter-spacing: .02em; text-transform: uppercase; }
.game p { margin: 0 0 1.25rem; color: var(--muted); max-width: 46rem; }
.game .wip-note { margin: 0; font-size: .85rem; color: var(--primary); font-weight: 600; }
.game .genre { margin: 0 0 .35rem; color: var(--primary-strong); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status {
    position: absolute; top: 1.25rem; right: 1.25rem;
    font-size: .75rem; font-weight: 800; letter-spacing: .1em;
    padding: .2rem .6rem; border-radius: 6px;
    background: var(--primary); color: #111;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}

.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.press { margin: 2rem 0 0; color: var(--muted); font-size: .9rem; }

.site-footer {
    text-align: center; padding: 1.5rem 1rem;
    border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem;
}
.site-footer p { margin: 0; }

@media (max-width: 640px) {
    .site-header { gap: .75rem; }
    .site-nav { display: none; }
    .lang { margin-left: auto; }
    .brand span { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
