:root {
    --bg: #0b0b0d;
    --bg-2: #111114;
    --panel: #151518;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f4f4f2;
    --muted: #9a9a94;
    --acid: #c8ff3d;
    --acid-dim: rgba(200, 255, 61, 0.14);
    --danger: #ff5c5c;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    letter-spacing: -0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.09;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(11, 11, 13, 0.78);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand strong {
    font-size: 15px;
    letter-spacing: 0.18em;
}

.brand span,
.kicker,
.mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--acid); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-acid {
    background: var(--acid);
    color: #111;
    font-weight: 700;
}

.btn-acid:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.btn-ghost:hover { border-color: var(--acid); color: var(--acid); }

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--acid);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 10px var(--acid);
}

.hero {
    position: relative;
    z-index: 1;
    padding: 88px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

h1 {
    margin: 18px 0 20px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.92;
    font-weight: 700;
}

.lead {
    max-width: 52ch;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.portal {
    min-height: 340px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 70% 40%, rgba(200, 255, 61, 0.16), transparent 38%),
        linear-gradient(180deg, #17171b, #0d0d10);
    position: relative;
    overflow: hidden;
}

.portal::after {
    content: "";
    position: absolute;
    inset: 18% 22%;
    border: 2px solid rgba(200, 255, 61, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(200, 255, 61, 0.18);
}

.section {
    position: relative;
    z-index: 1;
    padding: 84px 0;
    border-top: 1px solid var(--line);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    align-items: end;
}

h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 48px);
}

.pipeline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.chip {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
}

.chip.on {
    color: var(--acid);
    border-color: rgba(200, 255, 61, 0.4);
    background: var(--acid-dim);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.shot-collage {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 72px;
    gap: 14px;
}

.shot {
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #09090b;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shot figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(11, 11, 13, 0.78);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--acid);
}

.shot-hero {
    grid-column: 1 / 5;
    grid-row: 1 / 8;
    border-radius: 32px;
    transform: rotate(-3deg);
    z-index: 3;
}

.shot-hero img { object-position: center 12%; }

.shot-mascot {
    grid-column: 5 / 8;
    grid-row: 1 / 4;
    border-radius: 50%;
    transform: rotate(6deg);
    z-index: 4;
    border-color: rgba(200, 255, 61, 0.35);
}

.shot-join {
    grid-column: 8 / 11;
    grid-row: 1 / 5;
    border-radius: 28px;
    transform: rotate(3.5deg);
}

.shot-join img { object-position: center 30%; }

.shot-games {
    grid-column: 11 / 13;
    grid-row: 1 / 5;
    border-radius: 24px;
    transform: rotate(-4deg);
}

.shot-games img { object-position: center 22%; }

.shot-spotify {
    grid-column: 5 / 9;
    grid-row: 4 / 8;
    border-radius: 22px;
}

.shot-spotify img { object-position: center 18%; }

.shot-vinyl {
    grid-column: 9 / 13;
    grid-row: 5 / 8;
    border-radius: 18px;
    transform: rotate(2deg);
}

.shot-snake {
    grid-column: 1 / 4;
    grid-row: 8 / 12;
    border-radius: 40% 20% 40% 20%;
    transform: rotate(-6deg);
    z-index: 2;
}

.shot-vote {
    grid-column: 4 / 7;
    grid-row: 8 / 13;
    border-radius: 30px;
    transform: rotate(2deg);
}

.shot-vote img { object-position: center 70%; }

.shot-punish {
    grid-column: 7 / 10;
    grid-row: 8 / 11;
    border-radius: 18px;
    transform: rotate(-2deg);
}

.shot-doodle {
    grid-column: 10 / 13;
    grid-row: 8 / 11;
    border-radius: 16px;
}

.shot-hand {
    grid-column: 7 / 10;
    grid-row: 11 / 15;
    border-radius: 26px;
    transform: rotate(3deg);
}

.shot-hand img { object-position: center 78%; }

.shot-score {
    grid-column: 10 / 13;
    grid-row: 11 / 15;
    border-radius: 26px;
    transform: rotate(-3deg);
}

.shot-score img { object-position: center 82%; }

.card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--bg-2);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card.locked {
    background:
        repeating-linear-gradient(-45deg, #121215, #121215 10px, #16161a 10px, #16161a 20px);
}

.card h3 { margin: 0; font-size: 26px; }

.card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--acid);
}

.badge {
    margin-top: auto;
    width: fit-content;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--acid-dim);
    color: var(--acid);
}

.feed {
    display: grid;
    gap: 14px;
}

.log {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 22px;
    background: #101013;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.7;
    color: #d7d7d0;
    white-space: pre-wrap;
}

.bar {
    height: 8px;
    background: #1d1d22;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 10px;
}

.bar > span {
    display: block;
    height: 100%;
    background: var(--acid);
}

.cta {
    text-align: center;
    padding: 92px 0;
}

.cta h2 { font-size: clamp(36px, 6vw, 72px); }

.legal-page {
    position: relative;
    z-index: 1;
    padding: 72px 0 96px;
}

.legal-page h1 { font-size: clamp(32px, 5vw, 56px); }

.prose {
    max-width: 74ch;
    color: #cfcfc8;
    line-height: 1.7;
}

.prose h2 {
    font-size: 22px;
    margin-top: 36px;
    color: var(--text);
}

.prose p, .prose li { margin: 12px 0; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--acid); }

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    padding: 36px 0 48px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links a:hover { color: var(--acid); }

.nav-panel { display: contents; }

@media (max-width: 860px) {
    .hero-grid, .cards { grid-template-columns: 1fr; }
    .shot-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .shot { transform: none !important; }
    .shot-hero, .shot-mascot, .shot-join, .shot-games,
    .shot-spotify, .shot-vinyl, .shot-snake, .shot-vote,
    .shot-punish, .shot-doodle, .shot-hand, .shot-score {
        grid-column: auto;
        grid-row: auto;
        border-radius: 20px;
    }
    .shot-hero { grid-column: 1 / 3; grid-row: span 2; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-panel {
        display: none;
        position: absolute;
        inset: 72px 20px auto;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #121215;
        flex-direction: column;
        gap: 16px;
    }
    .nav-panel.open { display: flex; }
    .nav-links { flex-direction: column; align-items: flex-start; }
    .hero { padding-top: 48px; }
}
