/* Portal games.vielhaben.com, Richtung 1a "Nachtkarte" aus dem Claude-Design
   "Games Vielhaben". Statisch, ohne Build; nginx liefert portal/ direkt aus. */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/fonts/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('/fonts/poppins-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('/fonts/poppins-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); }

:root {
    --bg: #0e0f14;
    --card: #16171d;
    --fg: #f3f1ea;
    --nav: #c9c8cf;
    --muted: #9a9aa6;
    --dim: #6e6e7a;
    --line: #1f2027;
    --border: #24262e;
    --border-strong: #3a3c46;
    --street: #1c1d24;
    --red: #e5333b;
    --red-hover: #ff5a60;
    --gutter: 64px;
}
@media (max-width: 900px) { :root { --gutter: 24px; } }
@media (max-width: 600px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--fg);
    font-family: Poppins, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.streets { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.streets i { position: absolute; display: block; background: var(--street); }
.streets .h { left: -10%; width: 130%; height: 2px; }
.streets .v { top: -20%; width: 2px; height: 140%; }

nav {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 28px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.logo .domain { color: var(--muted); font-weight: 500; margin-left: -10px; }
.links { display: flex; gap: 32px; align-items: center; font-size: 15px; color: var(--nav); }
.links > a:hover { color: var(--red-hover); }
.lang { display: flex; gap: 2px; border: 1px solid #2a2c35; border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="page"] { background: var(--fg); color: var(--bg); }

.intro { position: relative; padding: 72px var(--gutter) 56px; }
.bar { width: 72px; height: 5px; background: var(--red); margin-bottom: 28px; }
h1 {
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.02em;
    max-width: 820px;
    margin: 0;
    text-wrap: pretty;
}
.intro p { font-size: clamp(18px, 2.5vw, 22px); color: var(--muted); margin: 20px 0 0; max-width: 600px; }

.games {
    position: relative;
    flex: 1;
    padding: 0 var(--gutter) 72px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--red); }
.game {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .15s;
}
.game:hover { border-color: var(--border-strong); }
.game img { display: block; width: 100%; height: auto; }
.game-info {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 22px 28px;
}
.game h2 { font-size: 24px; font-weight: 700; margin: 4px 0 0; }
.game p { font-size: 15px; color: var(--muted); margin: 0; }
.btn {
    background: var(--red); color: #fff; font-weight: 600; font-size: 15px;
    padding: 12px 20px; border-radius: 999px; white-space: nowrap; transition: background .15s;
}
.game:hover .btn { background: var(--red-hover); }

.soon {
    border: 1px dashed #2f313b;
    border-radius: 8px;
    padding: 28px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.soon-ring { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--red); }
.soon .eyebrow { color: var(--muted); }
.soon h2 { font-size: 20px; font-weight: 600; margin: 4px 0 0; }
.soon p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

footer {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 24px var(--gutter);
    font-size: 13px; color: var(--dim);
}

@media (max-width: 900px) {
    .intro { padding-top: 40px; }
    .games { grid-template-columns: 1fr; }
    .game-info { padding: 20px; }
}
