/* ============================================================
   MegaMC — stylesheet
   Kleuren komen uit config.php (via CSS variabelen in de header).
   ============================================================ */

:root {
    --bg: #07090f;
    --bg-2: #0c111b;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .08);
    --border-2: rgba(255, 255, 255, .14);
    --text: #eef2f7;
    --muted: #8b95a7;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .85em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
::selection { background: var(--primary); color: #000; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Achtergrond-effecten ---------- */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#cursor-glow {
    position: fixed; z-index: 0; pointer-events: none;
    width: 600px; height: 600px; left: 0; top: 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), .09), transparent 60%);
    transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0;
}
.noise {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav, .announce { position: relative; z-index: 2; }

/* ---------- Typografie ---------- */
.font-pixel h1, .font-pixel h2, .font-pixel .logo span, .font-pixel .stat b, .font-pixel .cd-num {
    font-family: var(--font-head); letter-spacing: 0; font-weight: 400;
}
.font-pixel h1 { line-height: 1.25; }
.font-pixel h2 { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.4; }
.font-modern h1, .font-modern h2 { font-family: var(--font-head); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: .9rem;
    padding: .35rem .8rem; border-radius: 99px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25);
}
.lead { font-size: 1.15rem; color: #c7cfdc; }

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .9rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: .98rem;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
    position: relative; isolation: isolate; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; margin-top: 1.5rem; }
.btn-primary {
    color: #04130a;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), .7), inset 0 -3px 0 rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(var(--primary-rgb), .9), inset 0 -3px 0 rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(var(--accent-rgb), .5); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .8); }
.btn-mode { background: var(--mc); color: #081008; box-shadow: 0 10px 30px -10px rgba(var(--mc-rgb), .8); }

/* ---------- Badges & tags ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .35rem; font-style: normal;
    font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 6px; border: 1px solid currentColor;
}
.badge-live { color: #4ade80; background: rgba(74, 222, 128, .1); }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 1.6s infinite; }
.badge-beta { color: #fbbf24; background: rgba(251, 191, 36, .1); }
.badge-soon { color: #c084fc; background: rgba(192, 132, 252, .1); }
.badge-maint { color: #f87171; background: rgba(248, 113, 113, .1); }

.tag {
    font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding: .3rem .65rem; border-radius: 6px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff;
    border: 1px solid var(--border-2);
}
.tag-update { color: #67e8f9; }
.tag-event { color: #fdba74; }
.tag-gamemode { color: #86efac; }
.tag-belangrijk { color: #fde047; }
.tag-store { color: #f9a8d4; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .2); flex-shrink: 0; }
.dot.is-online { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25), 0 0 12px #22c55e; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Aankondigingsbalk ---------- */
.announce {
    display: flex; align-items: center; overflow: hidden; height: 40px;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), .25), rgba(var(--secondary-rgb), .25));
    border-bottom: 1px solid var(--border); font-size: .9rem;
}
.announce-track { display: flex; gap: 6rem; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 100%; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-item b { color: #fff; background: rgba(0, 0, 0, .35); padding: .1rem .45rem; border-radius: 5px; }
.announce-close { position: absolute; right: 0; top: 0; bottom: 0; width: 44px; font-size: 1.4rem; background: linear-gradient(90deg, transparent, var(--bg) 40%); }
@keyframes marquee { to { transform: translateX(-100%); } }
.announce.is-hidden { display: none; }

/* ---------- Navigatie ---------- */
.nav {
    position: sticky; top: 0; z-index: 50; height: var(--nav-h);
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 9, 15, .75); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 100%; }
.logo { display: flex; align-items: center; gap: .7rem; font-weight: 900; font-size: 1.25rem; }
.logo img { filter: drop-shadow(0 4px 10px rgba(var(--primary-rgb), .5)); transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-12deg) scale(1.1); }
.font-pixel .logo span { font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-right: auto; }
.nav-link {
    position: relative; padding: .55rem .9rem; border-radius: 10px; font-weight: 600; font-size: .95rem; color: #c3cad6;
    transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: var(--surface-2); }
.nav-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 18px; height: 3px; border-radius: 3px; transform: translateX(-50%); background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.chev { font-size: .7em; opacity: .6; }

.nav-drop { position: relative; }
.drop-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 380px; padding: .5rem;
    background: rgba(13, 17, 26, .96); backdrop-filter: blur(20px); border: 1px solid var(--border-2); border-radius: 16px;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s var(--ease);
}
.drop-menu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.drop-small { width: 220px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-item { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: 10px; transition: background .2s; }
.drop-item:hover { background: var(--surface-2); }
.drop-item img { width: 36px; height: 36px; transition: transform .3s var(--ease); }
.drop-item:hover img { transform: translateY(-3px) rotate(-6deg); }
.drop-item span { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.drop-item small { color: var(--muted); font-size: .8rem; }
.drop-item .badge { font-size: .6rem; }
.drop-emoji { font-size: 1.2rem; flex: 0 0 auto !important; }

.nav-actions { display: flex; align-items: center; gap: .7rem; }
.status-pill {
    display: flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--border); font-weight: 800; font-size: .9rem; transition: border-color .2s;
}
.status-pill:hover { border-color: rgba(var(--primary-rgb), .5); }
.status-pill small { color: var(--muted); font-weight: 500; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Logo ---------- */
.logo img { width: 48px; height: 48px; object-fit: contain; }
.footer .logo img { width: 64px; height: 64px; }
.hero-logo {
    width: clamp(200px, 30vw, 320px); height: auto; margin-bottom: .5rem;
    filter: drop-shadow(0 20px 40px rgba(var(--primary-rgb), .35)) drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
    animation: float 6s ease-in-out infinite;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vote-cta-wide { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.vote-cta-wide p { margin-bottom: 0; max-width: 560px; }

/* ---------- Language switch ---------- */
.lang-switch { display: flex; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.lang-switch a { padding: .35rem .6rem; border-radius: 7px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; color: var(--muted); transition: .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #04130a; }
.lang-switch-mobile, .nav-play-mobile { display: none; }
.drop-all { display: block; margin-top: .3rem; padding: .7rem .8rem; border-top: 1px solid var(--border); font-size: .88rem; font-weight: 700; color: var(--primary); }
.board-head small { color: var(--muted); font-size: .8rem; }
.section-head-left { text-align: left; margin: 0 0 1.5rem; }
.section-head-spaced { margin-top: 4rem; }
.not-found-block { width: 140px; margin: 0 auto 1rem; }

/* ---------- IP box ---------- */
.ip-box {
    display: inline-flex; align-items: center; gap: .9rem; padding: .55rem .6rem .55rem 1.1rem;
    border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--border-2);
    transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; text-align: left;
}
.ip-box:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(var(--primary-rgb), .6); }
.ip-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.ip-text { font-family: ui-monospace, monospace; font-weight: 800; font-size: 1.05rem; }
.ip-copy {
    padding: .55rem .9rem; border-radius: 10px; font-weight: 800; font-size: .85rem; color: #04130a;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.ip-box.is-copied .ip-copy::after { content: ' ✓'; }
.ip-box-lg .ip-text { font-size: 1.25rem; }
.inline-copy { font-family: ui-monospace, monospace; font-weight: 800; color: var(--primary); border-bottom: 1px dashed; }

/* ---------- Secties ---------- */
.section { padding: 6rem 0; position: relative; }
.section-tight { padding-top: 2rem; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02) 15%, rgba(255, 255, 255, .02) 85%, transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding: 3rem 0 6rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid {
    position: absolute; inset: -50% -10% 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(700px) rotateX(58deg); transform-origin: 50% 100%;
    mask-image: linear-gradient(to top, #000 10%, transparent 75%);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%);
    animation: grid-move 6s linear infinite;
}
@keyframes grid-move { to { background-position: 0 56px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; background: rgba(var(--accent-rgb), .55); top: -160px; left: -120px; animation: orb 14s ease-in-out infinite alternate; }
.orb-2 { width: 460px; height: 460px; background: rgba(var(--secondary-rgb), .4); bottom: -160px; right: -100px; animation: orb 18s ease-in-out infinite alternate-reverse; }
@keyframes orb { to { transform: translate(120px, 80px) scale(1.15); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-chip {
    display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 99px;
    background: var(--surface-2); border: 1px solid var(--border-2); font-size: .9rem; color: #cbd5e1; margin-bottom: 1.6rem;
}
.hero-title { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 1.2rem; }
.font-pixel .hero-title { font-size: clamp(2.2rem, 6.2vw, 4.6rem); }
.glitch {
    position: relative; display: inline-block;
    background: linear-gradient(135deg, #fff 20%, var(--primary) 55%, var(--secondary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 8px 30px rgba(var(--primary-rgb), .35));
}
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text;
    opacity: 0;
}
.glitch:hover::before { opacity: .8; animation: glitch .4s steps(2) infinite; color: transparent; text-shadow: 3px 0 #f0f; }
.glitch:hover::after { opacity: .8; animation: glitch .3s steps(2) infinite reverse; text-shadow: -3px 0 #0ff; }
@keyframes glitch {
    0% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 0); }
    50% { clip-path: inset(50% 0 20% 0); transform: translate(3px, 0); }
    100% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 0); }
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #c7cfdc; max-width: 520px; }
.hero-typed { margin-top: .6rem; font-size: 1.25rem; font-weight: 700; color: var(--muted); }
.typed { color: var(--primary); }
.caret { animation: blink 1s steps(1) infinite; color: var(--primary); margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; align-items: center; }
.hero-bedrock { margin-top: 1.2rem; color: var(--muted); font-size: .92rem; }
.hero-bedrock b { color: #dbe2ec; cursor: pointer; }

.scroll-hint { position: absolute; bottom: 2rem; left: 50%; width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- OneBlock 3D kubus ---------- */
.oneblock { position: relative; height: 480px; display: grid; place-items: center; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer; }
.ob-shadow, .ob-island, .ob-hud, .ob-scene, .cube, .face { pointer-events: none; }
.oneblock:active .ob-scene { filter: brightness(1.1); }
.ob-scene { perspective: 1000px; cursor: pointer; z-index: 2; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-18px); } }
.cube {
    --s: 190px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d;
    transform: rotateX(-24deg) rotateY(var(--ry, 38deg)); transition: transform .1s;
}
.cube.is-hit { animation: hit .15s; }
@keyframes hit { 50% { scale: .93; } }
.cube.is-spawn { animation: spawn .45s var(--ease); }
@keyframes spawn { 0% { scale: .2; opacity: 0; } 70% { scale: 1.08; } 100% { scale: 1; opacity: 1; } }
.face {
    position: absolute; inset: 0; background-size: cover; image-rendering: pixelated;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); backface-visibility: hidden;
}
.face-front { transform: translateZ(calc(var(--s) / 2)); filter: brightness(.82); }
.face-back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(.7); }
.face-right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.62); }
.face-left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.9); }
.face-top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.5); }
.crack { position: absolute; inset: 0; opacity: 0; transition: opacity .1s; image-rendering: pixelated; background-size: cover; }
.ob-shadow { position: absolute; bottom: 92px; width: 210px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(14px); animation: shadow 4s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scale(.8); opacity: .6; } }
.ob-island {
    position: absolute; bottom: 60px; width: 340px; height: 120px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), .35), transparent 65%); filter: blur(10px);
}
.ob-hud {
    position: absolute; bottom: 10px; display: flex; gap: 1rem; align-items: center; padding: .55rem 1.1rem;
    background: rgba(0, 0, 0, .5); border: 1px solid var(--border-2); border-radius: 12px; font-size: .88rem; backdrop-filter: blur(8px);
}
.ob-hud span { color: var(--muted); }
.ob-hud b { color: var(--primary); }
.ob-particle { position: absolute; width: 12px; height: 12px; pointer-events: none; z-index: 5; image-rendering: pixelated; background-size: 400% 400%; }
.ob-popup { position: absolute; z-index: 6; font-weight: 900; color: #fde047; text-shadow: 0 2px 0 #000; pointer-events: none; animation: popup 1s var(--ease) forwards; }
@keyframes popup { to { transform: translateY(-60px); opacity: 0; } }

/* Homepage block is decoration only (5 quick clicks = secret) */
.oneblock.is-deco { cursor: default; height: 440px; }

/* ---------- Easter egg page (/breakit) ---------- */
.egg { min-height: calc(100vh - var(--nav-h)); padding: 3rem 0 4rem; }
.egg-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.egg .page-title { margin-bottom: .6rem; }
.egg .lead { max-width: 560px; }
.egg .oneblock { width: 100%; max-width: 520px; margin: 1rem auto 0; }
.egg-hint { color: var(--muted); font-size: .9rem; margin: 1.2rem 0 1.4rem; }

/* ---------- Stats balk ---------- */
.stats-bar { position: relative; z-index: 3; margin-top: -3rem; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(13, 17, 26, .8); backdrop-filter: blur(16px); border: 1px solid var(--border-2); border-radius: 20px; box-shadow: var(--shadow);
}
.stat { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.2rem; font-weight: 900; background: linear-gradient(135deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.font-pixel .stat b { font-size: 1.5rem; line-height: 1.6; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Gamemode kaarten ---------- */
.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.4rem; }
.mode-card {
    position: relative; overflow: hidden; padding: 1.6rem; border-radius: 22px; isolation: isolate;
    background: linear-gradient(160deg, rgba(var(--mc-rgb), .12), rgba(255, 255, 255, .02) 50%);
    border: 1px solid rgba(var(--mc-rgb), .2);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
    transform-style: preserve-3d; display: flex; flex-direction: column;
}
.mode-card:hover { border-color: rgba(var(--mc-rgb), .6); box-shadow: 0 30px 60px -20px rgba(var(--mc-rgb), .45); }
.mode-glow {
    position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%; left: var(--mx, 50%); top: var(--my, 0%);
    background: radial-gradient(circle, rgba(var(--mc-rgb), .35), transparent 65%); transform: translate(-50%, -50%);
    opacity: 0; transition: opacity .3s;
}
.mode-card:hover .mode-glow { opacity: 1; }
.mode-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mode-top code { font-size: .75rem; color: var(--muted); background: rgba(0, 0, 0, .3); padding: .2rem .5rem; border-radius: 6px; }
.mode-icon { height: 150px; display: grid; place-items: center; margin: 1rem 0; transform: translateZ(40px); }
.mode-icon img { width: 120px; filter: drop-shadow(0 20px 25px rgba(var(--mc-rgb), .45)); transition: transform .5s var(--ease); animation: float 5s ease-in-out infinite; }
.mode-card:nth-child(2) .mode-icon img { animation-delay: -1.2s; }
.mode-card:nth-child(3) .mode-icon img { animation-delay: -2.4s; }
.mode-card:hover .mode-icon img { transform: scale(1.12) rotate(-6deg); }
.mode-card h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.font-pixel .mode-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 400; line-height: 1.5; }
.mode-card > p { color: var(--muted); }
.mode-tags { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.mode-tags li { font-size: .78rem; padding: .3rem .6rem; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.mode-more { margin-top: auto; padding-top: 1.4rem; font-weight: 800; color: var(--mc); }
.mode-card.is-soon { background: repeating-linear-gradient(-45deg, rgba(var(--mc-rgb), .05) 0 14px, transparent 14px 28px), rgba(255, 255, 255, .02); border-style: dashed; }
.mode-card.is-soon .mode-icon img { filter: drop-shadow(0 0 30px rgba(var(--mc-rgb), .8)); animation: float 5s ease-in-out infinite, mystery 3s ease-in-out infinite; }
@keyframes mystery { 50% { filter: drop-shadow(0 0 50px rgba(var(--mc-rgb), 1)) hue-rotate(40deg); } }
@keyframes float { 50% { translate: 0 -14px; } }
.float { animation: float 5s ease-in-out infinite; }

.mini-countdown { display: flex; gap: .4rem; margin-top: 1rem; }
.mini-countdown .cd-unit { flex: 1; padding: .4rem 0; border-radius: 8px; background: rgba(0, 0, 0, .35); text-align: center; }
.mini-countdown .cd-num { display: block; font-weight: 900; font-size: 1.1rem; color: var(--mc); }
.font-pixel .mini-countdown .cd-num { font-size: .75rem; line-height: 2; }
.mini-countdown .cd-lbl { font-size: .62rem; color: var(--muted); text-transform: uppercase; }

/* ---------- Tabs & stappen ---------- */
.tab-buttons { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { padding: .75rem 1.4rem; border-radius: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.tab-btn.is-active { background: rgba(var(--primary-rgb), .15); border-color: var(--primary); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up .5s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step > span {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 1rem; font-weight: 900;
    background: linear-gradient(135deg, var(--mc, var(--primary)), var(--secondary)); color: #041008;
}
.step p { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.steps-mode .step > span { background: var(--mc); }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.2rem; }
.feature {
    padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
    transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .05); }
.feature-icon {
    width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1.1rem; border-radius: 14px;
    background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .25);
}
.feature p { color: var(--muted); margin-top: .4rem; }
.feature-mode:hover { border-color: var(--mc); }

/* ---------- Countdown ---------- */
.countdown-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
    padding: 2.5rem; border-radius: 26px; border: 1px solid rgba(192, 132, 252, .3);
    background: radial-gradient(circle at 0% 50%, rgba(168, 85, 247, .25), transparent 50%), rgba(255, 255, 255, .02);
    --accent: #c084fc; --accent-rgb: 192, 132, 252;
}
.cd-block { width: 110px; animation: float 4s ease-in-out infinite, mystery 3s infinite; --mc-rgb: 192, 132, 252; }
.countdown { display: flex; gap: .7rem; margin-top: 1.4rem; }
.countdown-card .countdown { margin: 0; }
.cd-unit { min-width: 82px; padding: .9rem .5rem; text-align: center; border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--border-2); }
.cd-num { display: block; font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.font-pixel .cd-num { font-size: 1.25rem; line-height: 1.8; }
.cd-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.countdown-sm .cd-unit { min-width: 60px; padding: .5rem; }
.countdown-sm .cd-num { font-size: 1.3rem; }
.font-pixel .countdown-sm .cd-num { font-size: .85rem; }

/* ---------- Nieuws ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.4rem; }
.news-card {
    display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.news-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--mc) 50%, transparent); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .8); }
.news-thumb { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: #0a0d14; }
.news-pattern {
    position: absolute; inset: -20px; background-size: 64px; image-rendering: pixelated; opacity: .25; filter: saturate(1.3);
    transition: transform 6s linear;
}
.news-card:hover .news-pattern { transform: translate(-30px, -30px); }
.news-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 9, 15, .9)); }
.news-thumb img { position: relative; z-index: 1; width: 100px; filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .6)); transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.15) rotate(8deg); }
.news-thumb .tag { position: absolute; z-index: 2; top: 1rem; left: 1rem; }
.news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-body small { color: var(--muted); font-weight: 600; }
.news-body h3 { margin: .45rem 0 .55rem; }
.news-body p { color: var(--muted); font-size: .95rem; }
.read-more { margin-top: auto; padding-top: 1rem; font-weight: 800; color: var(--mc); }
.news-card.is-hidden { display: none; }

/* ---------- Podium & leaderboard ---------- */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.podium-card, .vote-cta { padding: 2.2rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.vote-cta {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    background: radial-gradient(circle at 100% 0%, rgba(var(--primary-rgb), .25), transparent 60%), var(--surface);
}
.vote-cta img { width: 90px; margin-bottom: 1.2rem; filter: drop-shadow(0 15px 25px rgba(var(--primary-rgb), .5)); }
.vote-cta p { color: var(--muted); margin: 1rem 0 1.6rem; }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; }
.podium-col { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 170px; text-align: center; }
.podium-col img { height: 150px; width: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .6)); transition: transform .4s var(--ease); }
.podium-col:hover img { transform: translateY(-10px); }
.podium-col b { margin-top: .5rem; }
.podium-col small { color: var(--muted); }
.podium-step {
    width: 100%; margin-top: .8rem; border-radius: 12px 12px 0 0; display: grid; place-items: center;
    font-family: var(--font-head); font-size: 1.6rem; color: rgba(0, 0, 0, .55);
}
.podium-1 .podium-step { height: 120px; background: linear-gradient(180deg, #fde047, #ca8a04); box-shadow: 0 0 40px rgba(253, 224, 71, .35); }
.podium-2 .podium-step { height: 85px; background: linear-gradient(180deg, #e5e7eb, #9ca3af); }
.podium-3 .podium-step { height: 60px; background: linear-gradient(180deg, #fdba74, #c2410c); }
.podium-1 img { height: 180px; }
.podium-xl { margin: 1rem auto 1rem; max-width: 640px; }
.podium-xl img { height: 190px; }
.podium-xl .podium-1 img { height: 230px; }

.boards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 1.4rem; margin-top: 2.5rem; }
.boards-single { max-width: 560px; margin-inline: auto; grid-template-columns: 1fr; }
.board { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.board-head { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 18%, transparent), transparent); }
.board-list { list-style: none; margin: 0; padding: .5rem; }
.board-list li { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border-radius: 10px; transition: background .2s; }
.board-list li:hover { background: var(--surface-2); }
.board-list li.is-match { background: color-mix(in srgb, var(--mc) 20%, transparent); outline: 1px solid var(--mc); }
.board-list li.is-dim { opacity: .3; }
.board-list img { border-radius: 6px; image-rendering: pixelated; }
.rank { width: 28px; text-align: center; font-weight: 800; color: var(--muted); }
.pname { flex: 1; font-weight: 600; }
.pval { font-weight: 800; font-variant-numeric: tabular-nums; }
.pval small { color: var(--muted); font-weight: 500; }
.rank-1 { background: rgba(253, 224, 71, .06); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 5rem 0 3rem; overflow: hidden; }
.page-hero-sm { padding: 3rem 0 1rem; }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.03em; margin: .4rem 0 1rem; background: linear-gradient(135deg, #fff 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.font-pixel .page-title { font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1.35; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.back-link { display: inline-block; color: var(--muted); font-weight: 600; margin-bottom: 1.2rem; margin-right: 1rem; transition: color .2s; }
.back-link:hover { color: #fff; }

/* Gamemode detail */
.mode-hero { --accent: var(--mc); --accent-rgb: var(--mc-rgb); padding-bottom: 2rem; }
.mode-hero .orb-1 { background: rgba(var(--mc-rgb), .5); }
.mode-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.mode-hero .lead { margin: 0 0 1rem; color: #fff; font-weight: 600; }
.mode-desc { color: #b4bdcb; max-width: 560px; }
.mode-hero-art { position: relative; height: 380px; display: grid; place-items: center; }
.big-block { width: min(300px, 70%); filter: drop-shadow(0 40px 50px rgba(var(--mc-rgb), .5)); }
.mini-block { position: absolute; width: 70px; opacity: .7; }
.mb-1 { top: 10%; right: 8%; animation-delay: -1.5s; width: 60px; }
.mb-2 { bottom: 12%; left: 6%; animation-delay: -3s; width: 46px; }
.mode-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 3rem; border: 1px solid rgba(var(--mc-rgb), .3); border-radius: 18px; background: rgba(var(--mc-rgb), .06); }
.mode-stats div { padding: 1.4rem; text-align: center; border-right: 1px solid var(--border); }
.mode-stats div:last-child { border-right: 0; }
.mode-stats b { display: block; font-size: 1.8rem; font-weight: 900; color: var(--mc); }
.mode-stats span { color: var(--muted); font-size: .9rem; }

/* Gamemode overzicht */
.mode-list { display: flex; flex-direction: column; gap: 2rem; }
.mode-row {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; padding: 2.5rem; border-radius: 28px;
    background: linear-gradient(120deg, rgba(var(--mc-rgb), .1), transparent 60%); border: 1px solid rgba(var(--mc-rgb), .2);
}
.mode-row.is-flipped { grid-template-columns: 1.3fr 1fr; }
.mode-row.is-flipped .mode-row-art { order: 2; }
.mode-row.is-soon { border-style: dashed; }
.mode-row-art { position: relative; display: grid; place-items: center; min-height: 280px; }
.mode-row-art img { width: min(240px, 80%); position: relative; filter: drop-shadow(0 30px 40px rgba(var(--mc-rgb), .5)); }
.mode-row-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--mc-rgb), .4), transparent 65%); }
.mode-row h2 { margin: .8rem 0 .4rem; }
.mode-row .lead { color: var(--mc); font-weight: 700; margin-bottom: .8rem; }
.mode-row-text > p:not(.lead) { color: var(--muted); }

/* ---------- Store ---------- */
.sale-banner {
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.4rem 1.8rem; margin-bottom: 1.4rem;
    border-radius: 20px; border: 1px solid rgba(250, 204, 21, .35);
    background: linear-gradient(110deg, rgba(250, 204, 21, .15), rgba(239, 68, 68, .12));
}
.sale-left { display: flex; align-items: center; gap: 1.2rem; }
.sale-pct { font-family: var(--font-head); font-size: 2rem; color: #fde047; text-shadow: 0 4px 0 #a16207; transform: rotate(-6deg); }
.font-pixel .sale-pct { font-size: 1.4rem; }
.sale-left p { color: #e5e7eb; font-size: .95rem; }
.code-chip { font-family: ui-monospace, monospace; font-weight: 800; padding: .15rem .55rem; border-radius: 6px; background: #000; border: 1px dashed #fde047; color: #fde047; }
.sale-banner .countdown { margin: 0; }
.goal { padding: 1.4rem 1.8rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 2rem; }
.goal-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.goal-head span { color: var(--muted); font-weight: 600; }
.goal-bar { height: 22px; border-radius: 99px; background: rgba(0, 0, 0, .4); overflow: hidden; border: 1px solid var(--border); }
.goal-fill {
    height: 100%; width: 0; border-radius: inherit; display: flex; justify-content: flex-end; align-items: center; padding-right: .6rem;
    font-size: .75rem; font-weight: 900; color: #04130a; transition: width 1.6s var(--ease);
    background: linear-gradient(90deg, var(--primary), var(--secondary)), repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, .2) 10px 20px);
    background-blend-mode: overlay; box-shadow: 0 0 20px rgba(var(--primary-rgb), .6);
}
.goal-fill.is-in { width: var(--w); }

.store-filters { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.center-row { justify-content: center; margin-bottom: 2.5rem; }
.chip { padding: .55rem 1rem; border-radius: 99px; font-weight: 600; font-size: .9rem; background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.chip:hover { border-color: var(--border-2); background: var(--surface-2); }
.chip.is-active { background: color-mix(in srgb, var(--mc, var(--primary)) 20%, transparent); border-color: var(--mc, var(--primary)); color: #fff; }

.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1.3rem; }
.package {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem 1.5rem;
    border-radius: 22px; background: linear-gradient(180deg, rgba(var(--pc-rgb), .1), rgba(255, 255, 255, .02) 45%);
    border: 1px solid rgba(var(--pc-rgb), .2); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.package:hover { border-color: rgba(var(--pc-rgb), .7); box-shadow: 0 30px 60px -25px rgba(var(--pc-rgb), .6); }
.package.is-popular { border-color: rgba(var(--pc-rgb), .6); box-shadow: 0 0 0 1px rgba(var(--pc-rgb), .4), 0 20px 50px -20px rgba(var(--pc-rgb), .6); }
.package.is-hidden { display: none; }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(40deg); background: linear-gradient(90deg, #f97316, #ef4444); padding: .25rem 2.5rem; font-size: .72rem; font-weight: 800; }
.package { overflow: hidden; }
.package-icon img { width: 96px; filter: drop-shadow(0 15px 20px rgba(var(--pc-rgb), .5)); transition: transform .5s var(--ease); }
.package:hover .package-icon img { transform: translateY(-8px) rotate(-8deg) scale(1.08); }
.package-mode { margin-top: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.package h3 { color: var(--pc); font-size: 1.5rem; margin: .2rem 0; }
.font-pixel .package h3 { font-family: var(--font-head); font-weight: 400; font-size: 1rem; line-height: 1.8; }
.package-price { display: flex; gap: .6rem; align-items: baseline; margin-bottom: 1rem; }
.package-price b { font-size: 1.6rem; font-weight: 900; }
.package-price s { color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 0 0 1.5rem; width: 100%; text-align: left; font-size: .92rem; color: #c3cad6; }
.perks li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px solid var(--border); }
.perks li::before { content: '✔'; position: absolute; left: 0; color: var(--pc); font-weight: 900; }
.btn-buy {
    margin-top: auto; width: 100%; background: var(--pc); color: #0a0a0a;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), 0 10px 25px -10px rgba(var(--pc-rgb), .8);
}
.btn-buy em { font-style: normal; font-size: .75rem; padding: .1rem .4rem; border-radius: 5px; background: rgba(0, 0, 0, .25); }
.store-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; margin-top: 3rem; }
.store-info div { display: flex; flex-direction: column; padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.store-info span { color: var(--muted); font-size: .9rem; }
.empty-state { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- Vote ---------- */
.rewards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.reward { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.reward span { font-size: 1.6rem; }
.vote-user { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding: 1.2rem 1.4rem; border-radius: 18px; margin-bottom: 1.5rem; background: rgba(var(--primary-rgb), .07); border: 1px solid rgba(var(--primary-rgb), .25); }
.vote-user img { border-radius: 8px; image-rendering: pixelated; }
.vote-user label { display: flex; flex-direction: column; flex: 1; min-width: 200px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.vote-user input, .search input {
    margin-top: .3rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(0, 0, 0, .4); border: 1px solid var(--border-2);
    color: #fff; font: inherit; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.vote-user input:focus, .search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .15); }
.vote-progress { font-weight: 700; }
.vote-progress b { color: var(--primary); font-size: 1.3rem; }
.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 1rem; }
.vote-site { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: .3s var(--ease); }
.vote-site:hover { transform: translateX(6px); border-color: var(--primary); }
.vote-site div { flex: 1; display: flex; flex-direction: column; }
.vote-site small { color: var(--muted); }
.vote-num { font-family: var(--font-head); font-size: .9rem; color: var(--muted); width: 40px; }
.vote-btn { padding: .55rem 1rem; border-radius: 10px; font-weight: 800; font-size: .88rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #04130a; }
.vote-site.is-voted { opacity: .65; border-color: rgba(34, 197, 94, .4); }
.vote-site.is-voted .vote-btn { background: rgba(34, 197, 94, .15); color: #4ade80; }

/* ---------- Zoeken ---------- */
.search { max-width: 480px; margin: 2rem auto 0; }
.search input { width: 100%; }

/* ---------- Staff ---------- */
.staff-group { margin-bottom: 3.5rem; }
.staff-role { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; font-size: 1.4rem; }
.font-pixel .staff-role { font-size: 1rem; }
.staff-role span { color: var(--rc); text-shadow: 0 0 20px var(--rc); }
.staff-role small { font-family: Inter, sans-serif; font-size: .8rem; padding: .15rem .55rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.staff-role::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--rc), transparent); opacity: .5; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.staff-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem 1.3rem; border-radius: 20px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 14%, transparent), var(--surface) 60%); border: 1px solid var(--border);
    transition: transform .4s var(--ease), border-color .3s;
}
.staff-card:hover { border-color: var(--rc); }
.staff-render { height: 170px; display: grid; place-items: end center; margin-bottom: .8rem; }
.staff-render img { max-height: 170px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); transition: transform .4s var(--ease); }
.staff-card:hover .staff-render img { transform: scale(1.06) translateY(-4px); }
.role-tag { font-style: normal; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rc); margin: .2rem 0; }
.staff-card small { color: var(--muted); }
.staff-discord { margin-top: .8rem; font-size: .8rem; padding: .35rem .7rem; border-radius: 8px; background: rgba(88, 101, 242, .15); color: #a5b4fc; }

.apply-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.2rem; border-radius: 22px; margin-top: 2rem; background: linear-gradient(120deg, rgba(var(--primary-rgb), .15), rgba(var(--secondary-rgb), .08)); border: 1px solid rgba(var(--primary-rgb), .3); }
.apply-card p { color: var(--muted); margin-top: .3rem; }

/* ---------- Regels & FAQ ---------- */
.rule-cat { margin-bottom: 2.5rem; }
.rule-cat h2 { font-size: 1.4rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.font-pixel .rule-cat h2 { font-size: 1rem; }
.accordion { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: .6rem; transition: border-color .2s, background .2s; }
.accordion[open] { border-color: rgba(var(--primary-rgb), .4); background: rgba(var(--primary-rgb), .04); }
.accordion summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary b { flex: 1; }
.accordion p { padding: 0 1.3rem 1.2rem; color: #b4bdcb; animation: fade-up .35s var(--ease); }
.rule .accordion p, .rule p { padding-left: 4rem; }
.rule-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-weight: 800; font-size: .85rem; background: rgba(var(--primary-rgb), .15); color: var(--primary); flex-shrink: 0; }
.punish { font-style: normal; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; background: rgba(239, 68, 68, .12); color: #fca5a5; white-space: nowrap; }
.plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.is-filtered { display: none; }

/* ---------- Artikel ---------- */
.article-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin: 1rem 0; }
.font-pixel .article-title { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.3rem, 3.5vw, 2.1rem); line-height: 1.45; }
.article-meta { display: flex; align-items: center; gap: .7rem; color: var(--muted); }
.article-meta img { border-radius: 6px; }
.article { font-size: 1.08rem; color: #d0d7e2; padding: 2.2rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.article p { margin-bottom: 1.1rem; }
.article h3 { margin: 1.8rem 0 .8rem; color: #fff; }
.article ul { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.article li { margin-bottom: .4rem; }
.article li::marker { color: var(--accent); }
.article b { color: #fff; }
.share { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--muted); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.article-nav-item { display: flex; flex-direction: column; padding: 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.article-nav-item:hover { border-color: var(--accent); }
.article-nav-item small { color: var(--muted); }
.article-nav-item.is-next { text-align: right; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; text-align: center; padding: 5rem 2rem; border-radius: 32px;
    background: radial-gradient(ellipse at 50% 120%, rgba(var(--primary-rgb), .45), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    border: 1px solid var(--border-2);
}
.cta h2 { position: relative; }
.cta p { position: relative; color: #c7cfdc; margin: 1rem auto 2rem; max-width: 520px; font-size: 1.1rem; }
.cta-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cta-blocks img { position: absolute; width: 64px; opacity: .55; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
.cta-blocks img:nth-child(1) { top: 12%; left: 6%; }
.cta-blocks img:nth-child(2) { top: 60%; left: 12%; width: 44px; }
.cta-blocks img:nth-child(3) { top: 15%; right: 8%; }
.cta-blocks img:nth-child(4) { bottom: 12%; right: 14%; width: 48px; }
.cta-blocks img:nth-child(5) { top: 6%; left: 45%; width: 36px; }
.cta-blocks img:nth-child(6) { bottom: 8%; left: 30%; width: 40px; }

/* ---------- Footer ---------- */
.footer { margin-top: 2rem; padding: 4rem 0 2rem; background: #05070b; border-top: 1px solid var(--border); }
.footer-grass {
    position: absolute; top: -16px; left: 0; right: 0; height: 16px; image-rendering: pixelated;
    background: var(--grass-tex) repeat-x 0 0 / 32px 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); margin: 1rem 0 1.4rem; max-width: 360px; font-size: .95rem; }
.footer h4 { margin-bottom: 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.footer-grid > div:not(.footer-brand) a { display: flex; align-items: center; gap: .4rem; padding: .3rem 0; color: #c3cad6; transition: color .2s, transform .2s; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--primary); transform: translateX(4px); }
.footer .badge { font-size: .55rem; padding: .1rem .35rem; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); transition: .25s var(--ease); }
.socials a:hover { background: var(--primary); color: #000; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; z-index: 100; left: 50%; bottom: 2rem; transform: translate(-50%, 150%);
    padding: .9rem 1.4rem; border-radius: 14px; font-weight: 700; display: flex; gap: .6rem; align-items: center;
    background: rgba(13, 17, 26, .95); backdrop-filter: blur(12px); border: 1px solid rgba(var(--primary-rgb), .5);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8), 0 0 30px -10px rgba(var(--primary-rgb), .6); transition: transform .45s var(--ease);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Reveal animaties ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
    .nav-inner { gap: 1rem; }
    .logo, .nav-actions { position: relative; z-index: 2; }
    .nav-links {
        position: fixed; inset: 0; z-index: 1; margin: 0;
        flex-direction: column; align-items: stretch; gap: .25rem;
        padding: calc(var(--nav-h) + 1rem) 1.25rem 2rem;
        background: rgba(7, 9, 15, .98); overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav-open { overflow: hidden; }
    .nav-open .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
    .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-link { font-size: 1.1rem; padding: .95rem 1rem; border-radius: 12px; border: 1px solid transparent; }
    .nav-link.is-active { background: rgba(var(--primary-rgb), .12); border-color: rgba(var(--primary-rgb), .3); }
    .nav-link.is-active::after { display: none; }
    .nav-drop .nav-link { display: flex; justify-content: space-between; align-items: center; }
    .chev { transition: transform .3s var(--ease); }
    .nav-drop.is-open .chev { transform: rotate(180deg); }
    .drop-menu { position: static; width: auto; padding: .25rem 0 .5rem .5rem; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
    .nav-drop.is-open .drop-menu { display: block; animation: fade-up .3s var(--ease); }
    .nav-drop:hover .drop-menu { transform: none; }
    .drop-item small { display: none; }
    .nav-play-mobile { display: flex; margin-top: 1rem; white-space: normal; }
    .burger { display: block; flex-shrink: 0; }
    .nav-actions .btn { display: none; }
    .nav-actions .lang-switch { display: none; }
    .lang-switch-mobile { display: flex; align-self: flex-start; margin-top: 1rem; }
    .lang-switch-mobile a { font-size: .95rem; padding: .55rem 1rem; }
}
@media (max-width: 900px) {
    .hero-inner, .mode-hero-inner, .split, .mode-row, .mode-row.is-flipped { grid-template-columns: 1fr; }
    .mode-row.is-flipped .mode-row-art { order: 0; }
    .hero { text-align: center; padding-top: 2rem; }
    .hero-logo { margin-inline: auto; }
    .hero-sub { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .oneblock { height: 380px; }
    .cube { --s: 150px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .countdown-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .mode-hero-art { height: 280px; order: -1; }
    .mode-hero { text-align: center; }
    .mode-hero .hero-actions, .mode-hero .countdown { justify-content: center; }
    .mode-desc { margin-inline: auto; }
}
@media (max-width: 560px) {
    :root { --nav-h: 64px; }
    .container, .narrow { width: calc(100% - 2rem); }
    .logo img { width: 40px; height: 40px; }
    .status-pill { padding: .45rem .7rem; }
    .announce { font-size: .8rem; height: 36px; }
    .hero { min-height: auto; padding: 1.5rem 0 5rem; }
    .hero-logo { width: min(240px, 70vw); }
    .hero-sub { font-size: 1.05rem; }
    .oneblock { height: 320px; }
    .cube { --s: 120px; }
    .ob-shadow { bottom: 70px; width: 140px; }
    .ob-island { width: 240px; bottom: 50px; }
    .ob-hud { font-size: .78rem; gap: .6rem; padding: .45rem .8rem; }
    .scroll-hint { display: none; }
    .stat { padding: 1.2rem .5rem; }
    .stat b { font-size: 1.6rem; }
    .font-pixel .stat b { font-size: 1.05rem; }
    .section-head { margin-bottom: 2.2rem; }
    .page-hero { padding: 3rem 0 2rem; }
    .mode-row { padding: 1.4rem; gap: 1.5rem; }
    .mode-row-art { min-height: 200px; }
    .mode-card { padding: 1.3rem; }
    .countdown-card { padding: 1.6rem; }
    .vote-cta, .podium-card { padding: 1.5rem; }
    .step, .feature { padding: 1.3rem; }
    .tab-btn { flex: 1; padding: .7rem .8rem; font-size: .9rem; }
    .hero-actions .btn { width: 100%; }
    .ip-text { font-size: .95rem; overflow-wrap: anywhere; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section { padding: 4rem 0; }
    .status-pill small { display: none; }
    .ip-box { width: 100%; justify-content: space-between; }
    .cd-unit { min-width: 0; flex: 1; }
    .countdown { width: 100%; }
    .vote-grid, .boards-grid, .news-grid { grid-template-columns: 1fr; }
    .rule p { padding-left: 1.3rem; }
    .punish { display: none; }
    .article { padding: 1.4rem; }
    .podium-col img { height: 110px; }
    .podium-1 img { height: 140px; }
    .podium-xl img { height: 120px; }
    .podium-xl .podium-1 img { height: 150px; }
    .cta { padding: 3.5rem 1.2rem; }
    .font-pixel .logo span { font-size: .8rem; }
}
@media (max-width: 380px) {
    .logo span { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cd-num { font-size: 1.4rem; }
    .font-pixel .cd-num { font-size: .9rem; }
    .cd-lbl { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
