/* =============================================================================
   arxori.nl — Pinguïn Brigade
   Eén stylesheet, geen inline stijlen (strenge CSP). Licht thema is standaard;
   html[data-theme="dark"] wordt gezet door js/theme-early.js.
   ============================================================================= */

/* ---------- Kleuren en maten ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f3f8fe;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-solid: #ffffff;
    --line: #d9e5f3;
    --ink: #0a192f;
    --muted: #4a5a70;
    --primary: #0a6cff;           /* knoppen, accenten (4.7:1 op wit) */
    --primary-ink: #0a5bd6;       /* tekstlinks */
    --primary-soft: #e8f1ff;
    --primary-glow: rgba(10, 108, 255, 0.28);
    --on-primary: #ffffff;
    --online: #0e7a55;
    --online-soft: #e3f6ee;
    --online-dot: #12a06e;
    --offline: #b42318;
    --offline-soft: #fdecea;
    --live: #d61f3c;
    --live-soft: #fde8ec;
    --focus: #0a6cff;
    --shadow: 0 12px 36px rgba(10, 60, 140, 0.08);
    --shadow-hover: 0 18px 44px rgba(10, 60, 140, 0.14);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1160px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #060c17;
    --bg-soft: #0b1424;
    --surface: rgba(15, 26, 45, 0.88);
    --surface-solid: #0f1a2d;
    --line: #1f3150;
    --ink: #e6eef8;
    --muted: #a3b4c9;
    --primary: #4da3ff;
    --primary-ink: #7dbbff;
    --primary-soft: #12284a;
    --primary-glow: rgba(77, 163, 255, 0.25);
    --on-primary: #04122a;
    --online: #5ee6a8;
    --online-soft: #11302a;
    --online-dot: #3ddc97;
    --offline: #ff8a80;
    --offline-soft: #3a1518;
    --live: #ff5c72;
    --live-soft: #3d1420;
    --focus: #7dbbff;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--primary-ink); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 10000;
    background: var(--primary); color: var(--on-primary);
    padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Knoppen en kaarten ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 48px; padding: 0 1.5rem;
    border-radius: 14px;
    font-weight: 700; font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.2s ease;
}
.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 10px 24px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px var(--primary-glow); filter: brightness(1.06); }

.card {
    background: var(--surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--primary-ink);
    background: var(--primary-soft);
    border: 1px solid var(--line);
}
.pill-live { color: var(--live); background: var(--live-soft); }

.count-badge {
    display: inline-flex; align-items: center;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 800;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.status-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: currentColor; flex-shrink: 0;
}

.status-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.status-pill.is-online { color: var(--online); background: var(--online-soft); }
.status-pill.is-online .status-dot { background: var(--online-dot); animation: pulse-dot 1.8s ease-in-out infinite; }
.status-pill.is-offline { color: var(--offline); background: var(--offline-soft); }

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.6; }
}

/* ---------- Live-balk (alleen als we live zijn) ---------- */
.live-banner {
    position: sticky; top: 0; z-index: 900;
    background: linear-gradient(90deg, #5b1fb5 0%, #9146ff 50%, #5b1fb5 100%);
    background-size: 200% 100%;
    animation: banner-shimmer 6s ease infinite;
    color: #ffffff;
}
@keyframes banner-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.live-banner-inner {
    max-width: 1300px; margin: 0 auto;
    padding: 0.55rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.live-banner-text { display: flex; align-items: center; gap: 0.65rem; min-width: 0; font-size: 0.95rem; }
.live-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #ff3355; box-shadow: 0 0 0 0 rgba(255, 51, 85, 0.7);
    animation: live-ring 1.6s ease-out infinite;
}
@keyframes live-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 85, 0.7); }
    100% { box-shadow: 0 0 0 10px rgba(255, 51, 85, 0); }
}
.live-label {
    font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
    background: #ffffff; color: #c4002a;
    padding: 0.1rem 0.6rem; border-radius: 999px;
}
.live-banner-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-banner-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 40px; padding: 0 1.1rem;
    border-radius: 999px;
    background: #ffffff; color: #6a2bd9;
    font-weight: 800; font-size: 0.9rem; text-decoration: none; white-space: nowrap;
}
@media (max-width: 640px) {
    .live-banner-name { display: none; }
}

/* ---------- Intro (splash) ---------- */
.splash {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--bg);
    padding: 2rem 1rem 9rem;
}
.splash::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 35%;
    background: linear-gradient(to bottom, transparent, var(--bg) 70%);
    pointer-events: none;
    z-index: 2;
}
.hero-video {
    display: none;
    position: absolute; top: 0; height: 100%; width: 50%;
    object-fit: cover;
    opacity: 0.32;
    filter: blur(2px);
    transition: opacity 1s ease-in-out;
    z-index: 1;
    pointer-events: none;
}
.hero-video.is-fading { opacity: 0; }
.hero-video.v-left {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, #000 65%, transparent 100%);
    mask-image: linear-gradient(to right, #000 65%, transparent 100%);
}
.hero-video.v-right {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 100%);
    mask-image: linear-gradient(to left, #000 65%, transparent 100%);
}
html[data-theme="dark"] .hero-video { opacity: 0.24; }
@media (min-width: 768px) {
    .hero-video { display: block; }
}
.splash-content {
    position: relative; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.splash-logo {
    width: min(640px, 82vw); height: auto;
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: splash-in 1.2s var(--ease) both, splash-float 6s ease-in-out 1.2s infinite;
}
@keyframes splash-in {
    from { opacity: 0; transform: scale(0.85) translateY(30px); }
    to { opacity: 1; transform: none; }
}
@keyframes splash-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.splash-status {
    display: inline-flex; align-items: center; gap: 0.6rem;
    min-height: 44px; padding: 0 1.2rem;
    border-radius: 999px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink); font-weight: 600; text-decoration: none;
}
.splash-status .icon { color: var(--primary-ink); }
.splash-status.is-live { color: var(--live); border-color: var(--live); }
.splash-status.is-live .status-dot { animation: pulse-dot 1.4s ease-in-out infinite; }
.splash-hint {
    position: absolute; bottom: 2.5rem; left: 50%; z-index: 4;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    color: var(--primary-ink); text-decoration: none; text-transform: uppercase; text-align: center;
    padding: 0.5rem 1rem;
    animation: hint-bounce 2.2s ease-in-out infinite;
}
.hint-main { font-size: 1.35rem; font-weight: 900; letter-spacing: 0.5px; }
.hint-sub { font-size: 0.85rem; font-weight: 600; opacity: 0.85; }
.splash-hint .icon { width: 1.4rem; height: 1.4rem; }
@keyframes hint-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

/* ---------- Navigatie ---------- */
.site-nav {
    position: fixed; z-index: 800;
    display: flex; align-items: center;
    background: var(--surface);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(10, 30, 60, 0.16);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-nav-links { display: flex; align-items: center; }
.site-nav a, .nav-theme {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); text-decoration: none;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover, .nav-theme:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav-links a[aria-current="true"] {
    color: var(--on-primary);
    background: var(--primary);
}
.site-nav-divider { background: var(--line); flex-shrink: 0; }
.nav-status .status-dot { width: 10px; height: 10px; background: #8a99ad; }
.nav-status.is-live .status-dot { background: var(--live); animation: pulse-dot 1.4s ease-in-out infinite; }

.icon-sun { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }

.floating-btn {
    position: fixed; left: 24px; z-index: 790;
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    color: var(--primary-ink);
    box-shadow: 0 8px 22px rgba(10, 30, 60, 0.12);
    transition: transform 0.3s var(--spring), opacity 0.3s ease, border-color 0.2s ease;
}
.floating-btn .icon { width: 1.3rem; height: 1.3rem; }
.floating-btn:hover { border-color: var(--primary); transform: scale(1.08); }
.theme-toggle { bottom: 24px; }
.back-to-top { bottom: 84px; opacity: 0; pointer-events: none; transform: translateY(16px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Groot scherm: zwevende pil links */
@media (min-width: 1300px) {
    .site-nav {
        left: 24px; top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 8px; padding: 12px 8px;
        border-radius: 50px;
    }
    .site-nav.is-hidden { opacity: 0; pointer-events: none; transform: translate(-40px, -50%); }
    .site-nav-links { flex-direction: column; gap: 6px; }
    .site-nav-links a { width: 44px; height: 44px; }
    .site-nav-links .icon { width: 1.2rem; height: 1.2rem; }
    .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .site-nav-divider { width: 22px; height: 1px; }
    .nav-status { width: 36px; height: 36px; }
    .nav-theme { display: none; }
    .site-nav [data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute; left: calc(100% + 14px); top: 50%;
        transform: translate(-6px, -50%);
        padding: 0.4rem 0.75rem; border-radius: 8px;
        background: var(--ink); color: var(--bg);
        font-size: 0.8rem; font-weight: 700; white-space: nowrap;
        opacity: 0; pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .site-nav [data-tooltip]:hover::after,
    .site-nav [data-tooltip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}

/* Kleiner scherm: balk onderin, met themaknop erin */
@media (max-width: 1299px) {
    body { padding-bottom: 92px; }
    .site-nav {
        left: 50%; bottom: 14px;
        transform: translateX(-50%);
        width: min(560px, calc(100% - 16px));
        padding: 6px 8px; gap: 4px;
        border-radius: 26px;
    }
    .site-nav.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 130%); }
    .site-nav-links { flex: 1; justify-content: space-around; gap: 2px; }
    .site-nav-links li { flex: 1; }
    .site-nav-links a {
        flex-direction: column; gap: 2px;
        min-height: 52px; padding: 4px 2px;
        border-radius: 18px;
        font-size: 0.7rem; font-weight: 700;
    }
    .site-nav-links .icon { width: 1.25rem; height: 1.25rem; }
    .site-nav-divider { width: 1px; height: 28px; }
    .nav-status { width: 36px; height: 52px; }
    .nav-theme { width: 46px; height: 52px; border-radius: 18px; }
    .nav-theme .icon { width: 1.3rem; height: 1.3rem; }
    .floating-btn { display: none; }
}
@media (max-width: 520px) {
    .nav-hide-small { display: none; }
}

/* ---------- Secties ---------- */
main { position: relative; }
.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 5.5rem 1.5rem;
    scroll-margin-top: 3.5rem;
}
.section-compact { padding-top: 2rem; }
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-title {
    font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--ink) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.1em;
}
.section-lead {
    margin: 1rem auto 0;
    max-width: 640px;
    font-size: 1.12rem;
    color: var(--muted);
}
@media (max-width: 768px) {
    .section { padding: 3.75rem 1rem; }
    .section-header { margin-bottom: 2rem; }
}

/* Rustig binnenkomen (alleen met JavaScript, één keer) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Spelers (eerst een plaatje, pas na klik de echte speler) ---------- */
.player-card { padding: 14px; }
.player-frame, .theater-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0a192f;
}
.player-frame iframe, .theater-stage iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.facade {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;
    padding: 1.5rem;
    color: #ffffff; text-align: center;
    background: #0a192f;
}
.facade-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.38;
    transition: opacity 0.3s ease, transform 0.6s var(--ease);
}
.facade-bg.is-thumb { opacity: 0.75; }
.facade:hover .facade-bg { opacity: 0.5; transform: scale(1.03); }
.facade:hover .facade-bg.is-thumb { opacity: 0.9; }
.facade-play {
    position: relative;
    width: 78px; height: 78px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #ffffff; color: #0a192f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s var(--spring);
}
.facade-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.facade:hover .facade-play { transform: scale(1.08); }
.facade-title { position: relative; font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem); font-weight: 800; }
.facade-sub { position: relative; font-size: 0.98rem; opacity: 0.9; max-width: 480px; }
.facade-note {
    position: relative;
    font-size: 0.8rem; font-weight: 600;
    padding: 0.25rem 0.7rem; border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
}

/* ---------- Rooster & countdown ---------- */
.countdown-card {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
    padding: 1.75rem 2.25rem;
    margin-bottom: 2rem;
}
.countdown-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: var(--primary);
}
.countdown-card.is-live-now::before { background: var(--live); }
.countdown-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.countdown-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.3px; }
.countdown-card.is-live-now .countdown-title { color: var(--live); }
.countdown-desc { color: var(--muted); }
.countdown-clock { display: flex; align-items: center; gap: 0.55rem; }
.cd-box {
    display: flex; flex-direction: column; align-items: center;
    min-width: 68px; padding: 0.65rem 0.8rem;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.cd-num { font-size: 1.9rem; font-weight: 900; line-height: 1; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.cd-lbl { margin-top: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.cd-colon { font-size: 1.5rem; font-weight: 800; color: var(--primary-ink); opacity: 0.5; }
@media (max-width: 768px) {
    .countdown-card { flex-direction: column; align-items: stretch; text-align: center; padding: 1.5rem 1.25rem; }
    .countdown-info { align-items: center; }
    .countdown-clock { justify-content: center; gap: 0.35rem; }
    .cd-box { min-width: 58px; padding: 0.55rem 0.4rem; }
    .cd-num { font-size: 1.5rem; }
}

.schedule { position: relative; }
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 14px;
}
.day-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.25rem;
    min-height: 210px;
    padding: 1.6rem 0.75rem 1.25rem;
    border-radius: 20px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.day-card.is-stream { background: var(--primary-soft); border-color: var(--primary); }
.day-card.is-today { border: 2px solid var(--primary); box-shadow: 0 14px 34px var(--primary-glow); }
.day-card.is-live-now { border: 2px solid var(--live); background: var(--live-soft); box-shadow: 0 14px 34px rgba(214, 31, 60, 0.25); }
.day-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.2rem 0.7rem; border-radius: 8px;
    background: var(--primary); color: var(--on-primary);
    font-size: 0.7rem; font-weight: 900; letter-spacing: 1px; white-space: nowrap;
}
.day-badge.is-live { background: var(--live); color: #ffffff; }
.day-badge.is-live .status-dot { animation: pulse-dot 1.4s ease-in-out infinite; }
.day-label { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.6px; color: var(--primary-ink); }
.day-date { display: flex; flex-direction: column; align-items: center; line-height: 1; margin: 0.4rem 0; }
.day-number { font-size: 2.2rem; font-weight: 900; }
.day-month { margin-top: 4px; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.day-body { margin-top: auto; display: flex; flex-direction: column; gap: 0.2rem; }
.activity-name { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.activity-time { font-size: 0.88rem; font-weight: 700; color: var(--primary-ink); }
.activity-time.is-struck { text-decoration: line-through; color: var(--muted); }
.day-card.is-off .day-label, .day-card.is-off .activity-name { color: var(--muted); }
.day-card.is-off:not(.is-today) { box-shadow: none; }
.schedule-nav { display: none; }

@media (max-width: 1100px) and (min-width: 769px) {
    .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.75rem; }
}
@media (max-width: 768px) {
    .week-grid {
        display: flex; gap: 1rem;
        overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 14px 1rem 1.25rem;
        margin: 0 -1rem;
        scrollbar-width: none;
    }
    .week-grid::-webkit-scrollbar { display: none; }
    .day-card { flex: 0 0 min(220px, 64%); scroll-snap-align: center; min-height: 180px; }
    .schedule-nav {
        position: absolute; top: 50%; z-index: 5;
        transform: translateY(-50%);
        width: 44px; height: 44px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        background: var(--surface-solid); color: var(--primary-ink);
        border: 1px solid var(--line);
        box-shadow: 0 6px 18px rgba(10, 30, 60, 0.16);
        transition: opacity 0.2s ease;
    }
    .schedule-nav.prev { left: -6px; }
    .schedule-nav.next { right: -6px; }
    .schedule-nav[disabled] { opacity: 0; pointer-events: none; }
}

/* ---------- Game servers ---------- */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start; /* een uitgeklapte uitleg rekt de buurkaart niet mee */
}
.server-card {
    display: flex; flex-direction: column; gap: 0.75rem;
    padding: 1.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.server-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.server-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.server-pills { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.server-label {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.3rem 0.75rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    background: var(--primary); color: var(--on-primary);
    vertical-align: middle;
}
.server-label .icon { width: 0.9rem; height: 0.9rem; }
.server-icon {
    width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-soft); color: var(--primary-ink);
}
.server-icon .icon { width: 1.6rem; height: 1.6rem; }
.server-title { font-size: 1.4rem; font-weight: 800; line-height: 1.25; }
.server-genre { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--primary-ink); }
.server-description { color: var(--muted); font-size: 0.95rem; }
.ip-box {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 0.75rem;
    width: 100%; text-align: left;
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: border-color 0.2s ease;
}
.ip-box:hover { border-color: var(--primary); }
.ip-label { grid-column: 1; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.ip-box code { grid-column: 1; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.95rem; font-weight: 700; color: var(--primary-ink); }
.ip-copy { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); }
.is-copied { border-color: var(--online) !important; }
.is-copied .ip-copy { color: var(--online); }
.server-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.25rem; }
.server-actions .btn { flex: 1; }
.server-faq {
    border-top: 1px solid var(--line);
    padding-top: 0.6rem;
    margin-top: auto;
}
.server-faq summary {
    display: flex; align-items: center; gap: 0.5rem;
    min-height: 44px;
    font-weight: 700; color: var(--ink);
    cursor: pointer; list-style: none;
}
.server-faq summary::-webkit-details-marker { display: none; }
.server-faq summary > .icon:first-child { color: var(--primary-ink); }
.faq-chevron { margin-left: auto; transition: transform 0.25s ease; color: var(--muted); }
.server-faq[open] .faq-chevron { transform: rotate(180deg); }
.server-faq-body { padding: 0.25rem 0 0.5rem; color: var(--muted); font-size: 0.92rem; }
.server-faq-body ol { list-style: decimal; padding-left: 1.2rem; }
.server-faq-body li + li { margin-top: 0.25rem; }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    padding: 2.5rem 1.5rem; text-align: center; color: var(--muted);
}
.empty-state > .icon { width: 2rem; height: 2rem; color: var(--primary-ink); }
.empty-title { font-weight: 800; color: var(--ink); font-size: 1.1rem; }

.offline-servers { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.offline-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; font-weight: 800; margin-bottom: 1.1rem; }
.offline-title .status-dot { color: var(--offline); }
.offline-list { display: flex; flex-direction: column; gap: 0.75rem; }
.offline-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.offline-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--surface-solid); color: var(--muted);
    border: 1px solid var(--line);
}
.offline-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.offline-name { font-weight: 800; }
.offline-type { font-weight: 600; font-size: 0.8rem; color: var(--muted); margin-left: 0.35rem; }
.offline-desc { font-size: 0.85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
    .offline-item { border-radius: 18px; flex-wrap: wrap; }
}

/* ---------- Social media ---------- */
.social-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1.5rem;
}
.social-card {
    --brand: var(--primary); --brand-2: var(--primary); --brand-ink: var(--primary-ink);
    --brand-icon: #ffffff; --on-brand: #ffffff; --glow: rgba(10, 108, 255, 0.16);
    position: relative; overflow: hidden;
    flex: 1 1 300px; max-width: 360px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 2.25rem 1.75rem 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--surface-solid);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink); text-decoration: none;
    transition: transform 0.4s var(--spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.social-card:nth-child(-n + 2) { flex-basis: 380px; max-width: 480px; }
.social-card::before {
    content: ""; position: absolute; inset: -40%;
    background: radial-gradient(circle at center, var(--glow) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.social-card:hover, .social-card:focus-visible { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-hover); }
.social-card:hover::before, .social-card:focus-visible::before { opacity: 1; }
.social-card > * { position: relative; }
.social-badge {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 0.35rem 0.9rem; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
    margin-bottom: 1.4rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.social-card:hover .social-badge { color: var(--brand-ink); border-color: var(--brand); }
.social-icon {
    width: 84px; height: 84px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: var(--brand-icon);
    box-shadow: 0 12px 30px var(--icon-glow, var(--glow));
    margin-bottom: 1.4rem;
    transition: transform 0.4s var(--spring);
}
.social-icon .icon { width: 42px; height: 42px; }
.social-card:hover .social-icon { transform: scale(1.12) rotate(-3deg); }
.social-title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.social-tag { margin: 0.2rem 0 0.7rem; font-weight: 700; color: var(--brand-ink); }
.social-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.6rem; flex-grow: 1; }
.social-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 50px; border-radius: 14px;
    background: var(--bg-soft); border: 1px solid var(--line);
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.social-btn .icon { transition: transform 0.3s ease; }
.social-card:hover .social-btn { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.social-card:hover .social-btn .icon { transform: translateX(4px); }

.social-twitch  { --brand: #9146ff; --brand-2: #6441a5; --brand-ink: #6f2bdb; --glow: rgba(145, 70, 255, 0.18); }
.social-discord { --brand: #5865f2; --brand-2: #3e48b8; --brand-ink: #3f4bc4; --glow: rgba(88, 101, 242, 0.18); }
.social-youtube { --brand: #e0002b; --brand-2: #b3001e; --brand-ink: #c4002a; --glow: rgba(255, 0, 51, 0.15); }
.social-tiktok  { --brand: #00f2fe; --brand-2: #00c4ce; --brand-ink: #00757d; --brand-icon: #ffffff; --on-brand: #06222a; --glow: rgba(0, 242, 254, 0.2); }
.social-tiktok .social-icon { background: linear-gradient(135deg, #000000, #1a1a1a); }
.social-kick    { --brand: #53fc18; --brand-2: #3cc90c; --brand-ink: #237a0c; --brand-icon: #53fc18; --on-brand: #0a1a05; --glow: rgba(83, 252, 24, 0.2); }
.social-kick .social-icon { background: linear-gradient(135deg, #0f200c, #000000); }
html[data-theme="dark"] .social-twitch  { --brand-ink: #b894ff; --icon-glow: rgba(145, 70, 255, 0.6); }
html[data-theme="dark"] .social-discord { --brand-ink: #a3aaff; --icon-glow: rgba(88, 101, 242, 0.6); }
html[data-theme="dark"] .social-youtube { --brand-ink: #ff6b80; --icon-glow: rgba(255, 0, 51, 0.5); }
html[data-theme="dark"] .social-tiktok  { --brand-ink: #5ceff5; --icon-glow: rgba(0, 242, 254, 0.45); }
html[data-theme="dark"] .social-kick    { --brand-ink: #7cf552; --icon-glow: rgba(83, 252, 24, 0.45); }
@media (max-width: 680px) {
    .social-card, .social-card:nth-child(-n + 2) { flex-basis: 100%; max-width: 440px; }
}

/* ---------- VODs & clips ---------- */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: -1rem 0 2rem; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 44px; padding: 0 1.2rem;
    border-radius: 999px;
    background: var(--surface-solid); border: 1px solid var(--line);
    font-weight: 700; color: var(--ink);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-btn:hover { border-color: var(--primary); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.brand-youtube { color: #e0002b; }
.filter-btn[aria-pressed="true"] .brand-youtube { color: inherit; }

.theater {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.theater-main { padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.theater-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.theater-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.badge-newest {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.3rem 0.75rem; border-radius: 999px;
    background: #d61f3c; color: #ffffff;
    font-size: 0.72rem; font-weight: 900; letter-spacing: 0.8px;
}
.badge-platform, .badge-date {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.3rem 0.75rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
}
.badge-platform[data-platform="youtube"] { color: #c4002a; background: #fde8ec; border-color: #f8c3cd; }
.badge-platform[data-platform="tiktok"] { color: #00757d; background: #e0fbfc; border-color: #a8eef1; }
html[data-theme="dark"] .badge-platform[data-platform="youtube"] { color: #ff8a9a; background: #3d1420; border-color: #5c2232; }
html[data-theme="dark"] .badge-platform[data-platform="tiktok"] { color: #5ceff5; background: #0c2c30; border-color: #164a50; }
.btn-external {
    display: inline-flex; align-items: center; gap: 0.4rem;
    min-height: 40px; padding: 0 0.95rem; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line);
    color: var(--ink); font-size: 0.85rem; font-weight: 700; text-decoration: none;
}
.btn-external:hover { border-color: var(--primary); color: var(--primary-ink); }
.theater-stage.is-portrait iframe { width: 31.64%; left: 34.18%; }
.theater-title { font-size: 1.3rem; font-weight: 800; line-height: 1.35; }

.theater-side { padding: 1.25rem; display: flex; flex-direction: column; contain: size; min-height: 360px; }
.theater-side-head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding-bottom: 0.9rem; margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}
.theater-side-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; font-weight: 800; }
.theater-side-title .icon { color: var(--primary-ink); }
.playlist-wrap { position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.playlist { display: flex; flex-direction: column; gap: 0.5rem; padding-bottom: 0.5rem; }
.playlist-item {
    width: 100%;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.5rem; border-radius: 14px;
    text-align: left;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.playlist-item:hover { background: var(--bg-soft); }
.playlist-item.is-active { background: var(--primary-soft); border-color: var(--primary); }
.playlist-thumb {
    position: relative; flex-shrink: 0;
    width: 108px; aspect-ratio: 16 / 10;
    border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #0a192f; color: #ffffff;
}
.playlist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.playlist-thumb.thumb-tiktok { background: linear-gradient(135deg, #111111, #0a3b40); }
.playlist-thumb.thumb-tiktok > .icon { width: 28px; height: 28px; color: #5ceff5; }
.playlist-platform {
    position: absolute; right: 4px; bottom: 4px;
    width: 22px; height: 22px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    background: #e0002b; color: #ffffff;
}
.thumb-tiktok .playlist-platform { background: #00f2fe; color: #06222a; }
.playlist-platform .icon { width: 14px; height: 14px; }
.playlist-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.playlist-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); }
.badge-newest-mini { background: #d61f3c; color: #ffffff; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.5px; padding: 0.1rem 0.4rem; border-radius: 4px; }
.playlist-title {
    font-size: 0.9rem; font-weight: 700; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.playlist-item.is-active .playlist-title { color: var(--primary-ink); }
.scroll-hint {
    position: sticky; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: center; gap: 0.35rem;
    padding: 1.6rem 0 0.25rem;
    background: linear-gradient(to bottom, transparent, var(--surface-solid) 65%);
    color: var(--primary-ink); font-size: 0.8rem; font-weight: 800;
    pointer-events: none;
}
@media (max-width: 960px) {
    .theater { grid-template-columns: 1fr; }
    .theater-side { contain: none; max-height: 460px; }
}

/* ---------- Contact & footer ---------- */
.contact-card { text-align: center; padding: 2.5rem 2rem; }
.contact-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 800; margin-bottom: 0.6rem; }
.contact-text { color: var(--muted); max-width: 720px; margin: 0 auto 1.75rem; }
.site-footer {
    background: var(--bg-soft);
    border-radius: 40px 40px 0 0;
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    color: var(--muted); font-size: 0.9rem;
}
.site-footer a { margin-left: 0.6rem; font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Melding onderin ---------- */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 950;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 1rem;
    max-width: calc(100% - 24px);
    padding: 0.7rem 0.8rem 0.7rem 1.25rem;
    border-radius: 999px;
    background: var(--ink); color: var(--bg);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}
.toast-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    min-height: 40px; padding: 0 1rem; border-radius: 999px;
    background: var(--primary); color: var(--on-primary); font-weight: 700;
}
@media (max-width: 1299px) { .toast { bottom: 104px; } }

/* ---------- Losse pagina's (privacy, 404) ---------- */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-card { padding: 2.5rem; }
.page-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.page-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 900; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.page-brand img { width: 40px; height: 40px; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.page-card h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 900; color: var(--primary-ink); margin-bottom: 1.5rem; line-height: 1.15; }
.page-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--primary-ink); margin: 2rem 0 0.75rem; }
.page-card p { color: var(--muted); margin-bottom: 1rem; }
.page-center { text-align: center; }
.page-center .page-logo { width: 180px; height: auto; margin: 0 auto 1.5rem; }
.page-center .btn { margin-top: 1rem; }
.page-theme { position: fixed; right: 20px; bottom: 20px; left: auto; display: flex; }
@media (max-width: 600px) { .page-card { padding: 1.75rem 1.25rem; } }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .hero-video { display: none !important; }
}
