/* ═══════════════════════════════════════════════════════════════
   MistyRadio — Design Systeem v5
   "On Air" — warme, ingetogen studio-esthetiek.
   Broadcast-geïnspireerd: tally-light, VU-naald, papier-korrel,
   golfvormen. Geen kant-en-klare gradient-soup, geen overdreven
   glow op alles — kleur wordt gebruikt als signaal, niet als decor.
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800;9..144,900&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary:      #f97316;
    --primary-dark: #ea580c;
    --primary-light:#fb923c;
    --accent:       #e11d48;
    --accent-dark:  #be123c;
    --gold:         #fbbf24;

    --background:   #080706;
    --background-secondary: #0d0908;
    --foreground:   #f2ede4;
    --card:         #131009;
    --card-hover:   #1a140d;
    --border:       rgba(249,115,22,0.14);
    --line:         rgba(255,255,255,0.06);
    --muted:        #8c7f70;
    --muted-dim:    #665c50;
    --secondary:    #100c08;

    --radius:       10px;
    --radius-lg:    16px;
    --success:      #f59e0b;
    --danger:       #e11d48;

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body:    'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out:  cubic-bezier(.16,1,.3,1);
    --ease-soft: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 0;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(249,115,22,0.32); color: #fff; }

h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.01em; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    background: rgba(8,7,6,0.86);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.logo:hover { opacity: 0.88; }

.logo-icon-wrap {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: #000;
    padding: 1px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 1px rgba(249,115,22,0.35);
    flex-shrink: 0;
    position: relative;
}
.logo-icon-inner {
    width: 100%; height: 100%;
    border-radius: 7px;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.logo-icon {
    width: 100%; height: 100%;
    border-radius: 7px;
    object-fit: cover;
    display: block;
}
.logo-icon-fallback {
    display: none;
    width: 20px; height: 20px;
    align-items: center; justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.nav-live {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
    color: var(--muted);
    padding: 0.2rem 0;
    margin-left: 0.15rem;
}
.nav-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 5px 1px rgba(225,29,72,0.7);
    animation: livePulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse { 0%,100%{opacity:1;} 50%{opacity:0.45;} }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 7px;
    transition: color 0.18s, background 0.18s;
    display: flex; align-items: center; gap: 0.35rem;
    white-space: nowrap;
}
.nav-link:hover  { color: var(--foreground); background: rgba(255,255,255,0.045); }
.nav-link.active { color: var(--primary-light); }

.nav-chat-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80; flex-shrink: 0;
}

.nav-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.58rem; font-weight: 700; color: white; flex-shrink: 0;
    font-family: var(--font-display);
}

.nav-login-btn {
    background: var(--foreground) !important;
    color: #14100b !important;
    font-weight: 700 !important;
    padding: 0.45rem 1.05rem !important;
    border-radius: 100px !important;
    margin-left: 0.35rem;
}
.nav-login-btn:hover {
    background: #fff !important;
    transform: translateY(-1px);
}

.nav-admin-link { color: var(--primary-light) !important; }
.nav-admin-link:hover { color: var(--gold) !important; }
.nav-logout { color: var(--muted-dim) !important; font-size: 0.82rem !important; padding: 0.45rem 0.6rem !important; }

.welcome-banner {
    background: var(--secondary);
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.welcome-banner button { background: none; border: none; cursor: pointer; color: var(--muted); margin-left: 0.5rem; font-size: 1rem; line-height: 1; }

.mobile-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; border-radius: 6px;
}
.mobile-toggle span {
    width: 20px; height: 1.5px;
    background: var(--foreground); border-radius: 2px;
    transition: all 0.28s var(--ease-soft);
    display: block;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.main-content { position: relative; z-index: 1; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color .2s, background .2s, color .2s;
    font-family: var(--font-body); white-space: nowrap;
}

.btn-primary {
    background: var(--foreground);
    color: #14100b;
}
.btn-primary:hover { transform: translateY(-2px); background: #fff; }

.btn-outline {
    background: transparent; color: var(--foreground);
    border: 1px solid rgba(255,255,255,0.16);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(249,115,22,0.06); }

.btn-listen {
    background: var(--accent);
    color: white; font-size: 1rem;
    padding: 1rem 2.25rem; border-radius: 100px;
    box-shadow: 0 8px 30px -8px rgba(225,29,72,0.65);
    font-family: var(--font-body);
    font-weight: 700;
}
.btn-listen:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 10px 36px -6px rgba(225,29,72,0.75); }

@keyframes pulse-orange {
    0%,100% { box-shadow: 0 6px 30px rgba(249,115,22,0.45); }
    50%      { box-shadow: 0 6px 42px rgba(249,115,22,0.72); }
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 5rem 0 3.5rem;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 45% at 50% -8%, rgba(249,115,22,0.10) 0%, transparent 65%);
    pointer-events: none;
}

.hero-deco-waves {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    display: flex; align-items: flex-end; gap: 4px;
    opacity: 0.08; pointer-events: none;
}
.hero-deco-waves.left  { left: 4%; }
.hero-deco-waves.right { right: 4%; transform: translateY(-50%) scaleX(-1); }
.hero-deco-bar {
    width: 3px; border-radius: 1px;
    background: var(--muted);
}

.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--background));
    pointer-events: none;
}

.hero-container { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.35rem 0.9rem 0.35rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.7rem; font-weight: 700;
    color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 2rem;
}

.live-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 6px rgba(225,29,72,0.8);
    animation: blink 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.6vw, 4.6rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.gradient-text {
    font-style: italic;
    font-weight: 500;
    color: var(--primary-light);
    display: block;
}

.hero-subtitle {
    font-size: 1.05rem; color: var(--muted);
    max-width: 520px; margin: 0 auto 0.75rem;
    line-height: 1.75;
}

.hero-context {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; margin-bottom: 2.75rem; flex-wrap: wrap;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; color: var(--muted); font-weight: 500;
}
.hero-tag svg { color: var(--primary); }

.hero-actions {
    display: flex; gap: 0.875rem; align-items: center;
    justify-content: center; flex-wrap: wrap;
    margin: 2rem 0 4rem;
}

#heroNowPlaying { border-radius: var(--radius-lg) !important; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hero-stat {
    padding: 1.6rem 1rem;
    text-align: center;
    border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.85rem; font-weight: 700;
    color: var(--foreground);
    line-height: 1; margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}
.hero-stat-label {
    font-size: 0.68rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.1em;
}

/* ─── REVEAL ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ─── SECTIE SCHEIDINGEN ─────────────────────────────────────── */
.section-divider { position: relative; height: 1px; margin: 0; overflow: visible; background: transparent; }
.section-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }

.section-alt { background: var(--background-secondary); position: relative; }

.section { padding: 5.5rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3.25rem; }

.section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--primary-light); margin-bottom: 0.9rem;
}
.section-eyebrow::before { content: ''; width: 14px; height: 1px; background: var(--primary-light); display: inline-block; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600; letter-spacing: -0.02em;
    margin-bottom: 0.875rem; line-height: 1.2;
    color: var(--foreground);
}

.section-subtitle { color: var(--muted); font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ─── SHOW CARDS ─────────────────────────────────────────────── */
.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }

.show-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform 0.28s var(--ease-out), border-color .28s;
    text-decoration: none; color: inherit;
    display: block; position: relative;
    cursor: pointer;
}
.show-card:hover { transform: translateY(-4px); border-color: rgba(249,115,22,0.4); }

.show-card-image-placeholder {
    width: 100%; height: 150px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; position: relative;
    background: var(--secondary);
    filter: grayscale(0.15);
}
.show-card-image-placeholder::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to bottom, transparent, var(--card));
    pointer-events: none;
}

.show-live-badge {
    position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
    background: var(--accent); color: white;
    font-size: 0.6rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.22rem 0.6rem; border-radius: 4px;
    display: flex; align-items: center; gap: 0.3rem;
}
.show-live-badge::before { content:''; width:5px;height:5px;background:white;border-radius:50%;animation:blink 1.2s infinite; }

.show-card-body { padding: 1.25rem; }
.show-card-dj { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.625rem; }
.show-dj-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.68rem; flex-shrink: 0; color: white;
    font-family: var(--font-display);
}
.show-dj-name { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.show-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.show-card-time { font-size: 0.78rem; color: var(--primary-light); display: flex; align-items: center; gap: 0.3rem; font-weight: 500; }
.show-card-genre {
    display: inline-flex; margin-top: 0.625rem;
    padding: 0.2rem 0.625rem;
    border: 1px solid var(--border); border-radius: 100px;
    font-size: 0.66rem; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─── SCHEDULE ───────────────────────────────────────────────── */
.schedule-tabs { display: flex; gap: 0.375rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 2rem; scrollbar-width: none; }
.schedule-tabs::-webkit-scrollbar { display: none; }

.schedule-tab {
    flex-shrink: 0; padding: 0.5rem 1.1rem;
    border-radius: 100px; border: 1px solid var(--border);
    background: none; color: var(--muted);
    font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
    font-family: var(--font-body); white-space: nowrap;
}
.schedule-tab:hover { border-color: var(--primary); color: var(--primary-light); }
.schedule-tab.active { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.4); color: var(--primary-light); font-weight: 600; }
.schedule-tab.today { border-color: rgba(251,191,36,0.35); color: var(--gold); }
.schedule-tab.today.active { background: rgba(251,191,36,0.08); }

.schedule-day { display: none; }
.schedule-day.active { display: block; }

.schedule-item {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.15rem 1.25rem; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--card);
    margin-bottom: 0.75rem; transition: border-color 0.2s, background 0.2s;
    position: relative; overflow: hidden;
}
.schedule-item:hover { border-color: rgba(249,115,22,0.28); background: var(--card-hover); }
.schedule-item.now-playing { border-color: rgba(225,29,72,0.4); }
.schedule-item.now-playing::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.schedule-time { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--primary-light); min-width: 75px; flex-shrink: 0; }
.schedule-dj-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem; flex-shrink: 0; color: white;
    font-family: var(--font-display);
}
.schedule-info { flex: 1; min-width: 0; }
.schedule-show-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.schedule-dj-name { font-size: 0.8rem; color: var(--muted); }
.schedule-genre { font-size: 0.7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.schedule-now-label { font-size: 0.68rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }

/* ─── OVER ONS ───────────────────────────────────────────────── */
.about-section { position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
.about-title { font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,2.4rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.25rem; line-height: 1.2; }
.about-text { color: var(--muted); font-size: 0.975rem; line-height: 1.8; margin-bottom: 1.1rem; }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 1.75rem 0 2rem; }
.about-feature { display: flex; align-items: flex-start; gap: 0.875rem; }
.about-feature-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--secondary); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light); flex-shrink: 0; margin-top: 0.1rem;
    transition: border-color .2s;
}
.about-feature:hover .about-feature-icon { border-color: rgba(249,115,22,0.4); }
.about-feature-text strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.about-feature-text span { font-size: 0.83rem; color: var(--muted); }

.about-visual { display: flex; flex-direction: column; gap: 1rem; }
.about-stat-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    display: flex; align-items: center; gap: 1.25rem;
    transition: border-color .25s, transform .25s;
}
.about-stat-card:hover { border-color: rgba(249,115,22,0.3); transform: translateX(4px); }
.about-stat-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-stat-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--foreground); line-height: 1; }
.about-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ─── NIEUWS ─────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.25rem; }

.news-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform 0.25s var(--ease-out), border-color .25s;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(249,115,22,0.35); }
.news-card:first-child .news-card-image { height: 200px; }

.news-card-image {
    height: 165px;
    background: var(--secondary);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    filter: grayscale(0.2);
}
.news-card-image img { width:100%; height:100%; object-fit:cover; }
.news-card-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to bottom, transparent, var(--card)); pointer-events: none; }

.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.news-card-category { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-light); }
.news-card-date { font-size: 0.75rem; color: var(--muted-dim); }
.news-card-title { font-family: var(--font-display); font-size: 0.975rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.news-card:first-child .news-card-title { font-size: 1.15rem; }
.news-card-excerpt { font-size: 0.83rem; color: var(--muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.875rem; padding-top: 0.875rem; border-top: 1px solid var(--line); }
.news-card-author { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.news-card-author-avatar { width:22px;height:22px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:0.56rem;font-weight:700;color:white; }
.news-read-more { font-size: 0.75rem; color: var(--primary-light); font-weight: 600; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.feature-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem 1.75rem;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; gap: 0.875rem;
    transition: transform .28s var(--ease-out), border-color .28s;
    position: relative; overflow: hidden; cursor: pointer;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,0.34); }

.feature-icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--secondary); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light); transition: border-color .2s;
}
.feature-card:hover .feature-icon { border-color: rgba(249,115,22,0.5); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; flex: 1; }
.feature-card .feat-arrow {
    font-size: 0.8rem; color: var(--primary-light); font-weight: 600;
    display: flex; align-items: center; gap: 0.35rem;
    opacity: 0; transform: translateX(-4px); transition: all 0.2s;
}
.feature-card:hover .feat-arrow { opacity: 1; transform: translateX(0); }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.625rem; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.social-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); text-decoration: none; color: var(--muted); font-size: 0.875rem; font-weight: 500; transition: border-color .2s, color .2s; background: var(--secondary); }
.social-link:hover { border-color: var(--primary); color: var(--foreground); }
.social-link-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--background-secondary); border-top: 1px solid var(--line); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; text-decoration: none; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; font-style: italic; color: var(--foreground); }
.footer-brand-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: none; color: var(--muted); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color .2s, color .2s; }
.footer-social-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.footer-col-title { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--foreground); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 1rem; }
.footer-bottom-text { font-size: 0.8rem; color: var(--muted-dim); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ─── PAGE SECTIONS ──────────────────────────────────────────── */
.page-section { padding: 3rem 0 5rem; }
.page-title { font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,2.4rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }

/* ─── DASHBOARD ──────────────────────────────────────────────── */
.dashboard-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.dashboard-role-badge { padding: 0.4rem 0.9rem; color: var(--primary-light); border-radius: 100px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; transition: border-color .2s; }
.stat-card:hover { border-color: rgba(249,115,22,0.3); }
.stat-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); flex-shrink: 0; }
.stat-label { font-size: 0.875rem; color: var(--muted); margin: 0 0 0.25rem; }
.stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin: 0; line-height: 1; }

/* ─── TABLES ─────────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; border-radius: var(--radius); }
.requests-table { width: 100%; border-collapse: collapse; }
.requests-table th, .requests-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.requests-table th { font-weight: 600; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(255,255,255,0.02); }
.requests-table tr:last-child td { border-bottom: none; }
.requests-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── STATUS BADGES ──────────────────────────────────────────── */
.status-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.625rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.status-pending  { background: rgba(234,179,8,0.1); color: #eab308; border: 1px solid rgba(234,179,8,0.2); }
.status-approved { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.status-played   { background: rgba(249,115,22,0.1); color: var(--primary-light); border: 1px solid rgba(249,115,22,0.2); }
.status-rejected { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }

/* ─── ACTION BUTTONS ─────────────────────────────────────────── */
.action-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.action-btn { padding: 0.3rem 0.75rem; border-radius: 6px; border: none; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: background .2s; font-family: var(--font-body); }
.action-approve { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.action-approve:hover { background: rgba(34,197,94,0.2); }
.action-played  { background: rgba(249,115,22,0.1); color: var(--primary-light); border: 1px solid rgba(249,115,22,0.2); }
.action-played:hover { background: rgba(249,115,22,0.2); }
.action-delete  { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.action-delete:hover { background: rgba(239,68,68,0.2); }

/* ─── TOAST ──────────────────────────────────────────────────── */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: 0 12px 32px rgba(0,0,0,0.45); min-width: 280px; animation: slideIn 0.3s var(--ease-out); font-family: var(--font-body); }
.toast.success { border-left: 3px solid #22c55e; }
.toast.error   { border-left: 3px solid #ef4444; }
@keyframes slideIn { from{transform:translateX(350px);opacity:0;} to{transform:translateX(0);opacity:1;} }

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; color: var(--foreground); }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--secondary); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--foreground);
    font-size: 0.95rem; transition: border-color .2s, box-shadow .2s; font-family: var(--font-body);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-textarea { resize: vertical; min-height: 110px; }

/* ─── CARD ───────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }

/* ─── STREAM LINK ────────────────────────────────────────────── */
.stream-link-section { padding: 3rem 0; }
.stream-link-card { max-width: 700px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.stream-link-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.5rem; }
.stream-link-desc { color: var(--muted); font-size: 0.875rem; margin-bottom: 1rem; }
.stream-link-btn { display: inline-block; background: var(--secondary); padding: 0.875rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; transition: border-color .2s; }
.stream-link-btn:hover { border-color: rgba(249,115,22,0.4); }
.stream-link-btn code { color: var(--primary-light); font-family: 'Courier New', monospace; font-size: 0.95rem; }

/* ─── LUISTERAAR DASHBOARD ───────────────────────────────────── */
.listener-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.listener-profile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; position: sticky; top: calc(64px + 1rem); }
.listener-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: white; }
.listener-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.375rem; }
.listener-level { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.75rem; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2); color: var(--gold); border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem; }
.listener-stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.listener-stat-mini { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.875rem 0.625rem; text-align: center; }
.listener-stat-mini-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--primary-light); }
.listener-stat-mini-label { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }

/* ─── POLLS ──────────────────────────────────────────────────── */
.poll-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.poll-question { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.poll-options { display: flex; flex-direction: column; gap: 0.625rem; }
.poll-option { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color .2s; background: var(--secondary); }
.poll-option:hover { border-color: var(--primary); }
.poll-option.voted { border-color: rgba(249,115,22,0.4); cursor: default; }
.poll-option-bar { position: absolute; top:0;left:0;bottom:0; background: rgba(249,115,22,0.1); transition: width 0.5s ease-out; pointer-events: none; }
.poll-option-content { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; z-index: 1; }
.poll-option-text { font-size: 0.9rem; font-weight: 500; }
.poll-option-pct { font-size: 0.8rem; color: var(--primary-light); font-weight: 600; font-family: var(--font-display); }

/* ─── CHAT ───────────────────────────────────────────────────── */
.chat-container { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 400px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.chat-message { display: flex; gap: 0.75rem; align-items: flex-start; }
.chat-avatar { width:30px;height:30px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:0.68rem;font-weight:700;flex-shrink:0;color:white;font-family:var(--font-display); }
.chat-bubble { flex: 1; }
.chat-meta { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.25rem; }
.chat-username { font-size: 0.8rem; font-weight: 700; color: var(--primary-light); }
.chat-time { font-size: 0.7rem; color: var(--muted-dim); }
.chat-text { font-size: 0.875rem; color: var(--foreground); background: var(--secondary); padding: 0.625rem 0.875rem; border-radius: 0 12px 12px 12px; display: inline-block; max-width: 100%; word-break: break-word; }
.chat-input-area { border-top: 1px solid var(--border); padding: 1rem; display: flex; gap: 0.75rem; align-items: center; }
.chat-input { flex: 1; background: var(--secondary); border: 1px solid var(--border); border-radius: 20px; padding: 0.625rem 1rem; color: var(--foreground); font-size: 0.875rem; outline: none; font-family: var(--font-body); transition: border-color 0.2s; }
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn { width:36px;height:36px;border-radius:50%;background:var(--accent);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:white;transition:transform 0.2s;flex-shrink:0; }
.chat-send-btn:hover { transform: scale(1.08); }

/* ─── LEADERBOARD ────────────────────────────────────────────── */
.leaderboard-item { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); margin-bottom: 0.625rem; transition: border-color .2s; }
.leaderboard-rank { font-family: var(--font-display); font-size: 1rem; font-weight: 700; width: 28px; text-align: center; flex-shrink: 0; }
.rank-1 { color: var(--gold); }
.rank-2 { color: #94a3b8; }
.rank-3 { color: #d97706; }
.leaderboard-avatar { width:34px;height:34px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:0.72rem;font-weight:700;flex-shrink:0;color:white;font-family:var(--font-display); }
.leaderboard-info { flex: 1; }
.leaderboard-name { font-weight: 600; font-size: 0.9rem; }
.leaderboard-points { font-size: 0.75rem; color: var(--muted); }
.leaderboard-badge { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--primary-light); }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mb-1{margin-bottom:.5rem;} .mb-2{margin-bottom:1rem;} .mb-3{margin-bottom:1.5rem;} .mb-4{margin-bottom:2rem;}
.mt-1{margin-top:.5rem;} .mt-2{margin-top:1rem;} .mt-3{margin-top:1.5rem;} .mt-4{margin-top:2rem;}

.badge { display: inline-flex; padding: 0.22rem 0.65rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-info { background: rgba(249,115,22,0.1); color: var(--primary-light); border: 1px solid rgba(249,115,22,0.2); }

/* ─── ANIMATIES (globaal) ────────────────────────────────────── */
@keyframes spin        { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
@keyframes pulse-green { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(16,185,129,.5);} 50%{opacity:.8;box-shadow:0 0 0 4px rgba(16,185,129,0);} }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid    { grid-template-columns: 1fr 1fr; }
    .about-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid   { grid-template-columns: 1fr; }
    .listener-grid  { grid-template-columns: 1fr; }
    .news-grid      { grid-template-columns: 1fr 1fr; }
    .features-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-toggle  { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(8,7,6,0.98); border-bottom: 1px solid var(--line);
        padding: 0.75rem 1rem 1rem; flex-direction: column; gap: 0.2rem;
        backdrop-filter: blur(18px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 0.7rem 1rem; font-size: 0.95rem; min-height: 44px; border-radius: 8px; }
    .nav-live { display: flex; }
    .nav-login-btn { margin-left: 0; width: 100%; justify-content: center; margin-top: .4rem; min-height: 46px; }
    .nav-logout { border-top: 1px solid var(--line) !important; margin-top: .3rem; padding-top: .75rem !important; font-size: .95rem !important; }
    .nav-content { padding: 0.6rem 0; }

    .hero { padding: 4.5rem 0 4rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2) { border-right: none; }
    .shows-grid { grid-template-columns: 1fr; }
    .news-grid  { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .schedule-item { flex-wrap: wrap; }
}

@media (max-width: 360px) {
    .logo-text { display: none; }
}

@media (max-width: 900px) {
    .player-right .player-action-btn { display: none; }
    .player-divider { display: none; }
    .listener-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .listener-profile { position: static; max-width: 100%; padding: 1.5rem; }
    .listener-stats-mini { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
}

@media (max-width: 640px) {
    .player-inner { grid-template-columns: 1fr auto; gap: 0.75rem; padding: 0 1rem; }
    .player-right { display: none; }
    .player-controls { gap: 0.625rem; }
    .player-album { width: 44px; height: 44px; }
    .player-play-btn { width: 44px; height: 44px; }
    .player-track-title { font-size: 0.85rem; }
    .player-track-artist { font-size: 0.74rem; }
    .player-waves { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .listener-stats-mini { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-bottom: 1rem; }
    .listener-stat-mini { padding: 0.5rem 0.25rem; border-radius: 8px; }
    .listener-stat-mini-value { font-size: 0.95rem; }
    .listener-stat-mini-label { font-size: 0.6rem; }
    .chat-container { height: 300px; }
    .card { padding: 1.125rem !important; }
}

@media (max-width: 380px) {
    .listener-stats-mini { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   MISTYRADIO WIDGET PLAYER — losstaande klassen, aanwezig als
   uitbreiding/fallback naast de inline-gestylede widget in footer.php
═══════════════════════════════════════════════════════════════ */

.mr-player {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 900;
    font-family: var(--font-body);
    --mr-bg: var(--card); --mr-border: var(--border); --mr-radius: var(--radius-lg); --mr-w: 300px;
    display: flex; flex-direction: column; align-items: flex-end; gap: .625rem;
}

.mr-pill {
    display: flex; align-items: center; gap: .625rem;
    background: var(--card); border: 1px solid var(--mr-border);
    border-radius: 100px; padding: .5rem .875rem .5rem .5rem; cursor: pointer;
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    transition: opacity .3s ease, transform .3s var(--ease-out), border-color .2s;
    max-width: 240px; opacity: 0; transform: translateY(12px); pointer-events: none;
}
.mr-pill.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mr-pill:hover { border-color: rgba(249,115,22,0.4); }

.mr-pill-art { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.mr-pill-art img { width:100%; height:100%; object-fit:cover; border-radius:50%; }

.mr-pill-info { min-width: 0; flex: 1; }
.mr-pill-title { display: block; font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--foreground); }
.mr-pill-sub { display: block; font-size: .67rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mr-pill-waves { display: flex; align-items: center; gap: 2px; height: 16px; flex-shrink: 0; }
.mr-pill-waves span { width: 2.5px; border-radius: 2px; background: var(--primary-light); height: 4px; opacity: .3; }
.mr-pill-waves.playing span { opacity: 1; }
.mr-pill-waves.playing span:nth-child(1) { animation: pilwave .8s ease-in-out infinite; }
.mr-pill-waves.playing span:nth-child(2) { animation: pilwave .8s ease-in-out .18s infinite; }
.mr-pill-waves.playing span:nth-child(3) { animation: pilwave .8s ease-in-out .32s infinite; }
.mr-pill-waves.playing span:nth-child(4) { animation: pilwave .8s ease-in-out .12s infinite; }
@keyframes pilwave { 0%,100%{height:3px;} 50%{height:14px;} }

.mr-widget {
    width: var(--mr-w); background: var(--card); border: 1px solid var(--mr-border);
    border-radius: var(--mr-radius); overflow: hidden;
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0; transform: translateY(16px) scale(0.98); transform-origin: bottom right;
    pointer-events: none; max-height: 0;
    transition: opacity .3s var(--ease-soft), transform .32s var(--ease-out), max-height .32s var(--ease-soft);
}
.mr-widget.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; max-height: 400px; overflow: visible; }

.mr-widget-header { display: flex; align-items: center; justify-content: space-between; padding: .625rem .875rem .5rem; border-bottom: 1px solid var(--line); }

.mr-live-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: livePulse 2.2s ease-in-out infinite; }

.mr-collapse-btn { width: 26px; height: 26px; border-radius: 7px; background: none; border: 1px solid var(--border); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; flex-shrink: 0; }
.mr-collapse-btn:hover { border-color: rgba(249,115,22,0.4); color: var(--primary-light); }

.mr-widget-body { display: flex; gap: .875rem; padding: .875rem; }

.mr-art-wrap { width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0; background: var(--secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.mr-art-wrap.spinning { animation: albumSpin 12s linear infinite; }
.mr-art-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.mr-track-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .2rem; }
.mr-track-title { font-family: var(--font-display); font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--foreground); line-height: 1.2; transition: opacity .3s; }
.mr-track-artist { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mr-track-extras { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; }
.mr-listeners-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--muted); }
.mr-live-badge-sm { display: inline-flex; align-items: center; gap: .25rem; font-size: .62rem; font-weight: 700; background: rgba(225,29,72,0.12); color: #fb7185; padding: .15rem .45rem; border-radius: 4px; border: 1px solid rgba(225,29,72,0.25); text-transform: uppercase; letter-spacing: .08em; }

.mr-vol-row { display: flex; align-items: center; gap: .625rem; padding: 0 .875rem .625rem; }
.mr-vol-icon-btn { background: none; border: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; padding: 2px; flex-shrink: 0; transition: color .2s; }
.mr-vol-icon-btn:hover { color: var(--primary-light); }
.mr-vol-track { flex: 1; position: relative; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; cursor: pointer; }
.mr-vol-fill { height: 100%; border-radius: 2px; background: var(--primary); pointer-events: none; transition: width .05s; }
.mr-vol-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; background: var(--foreground); pointer-events: none; transition: left .05s; }
.mr-vol-slider-hidden { position: absolute; inset: -8px 0; width: 100%; opacity: 0; cursor: pointer; height: 20px; }
.mr-vol-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; opacity: 0; }

.mr-controls-row { display: flex; align-items: center; justify-content: space-between; padding: .375rem .875rem .875rem; border-top: 1px solid var(--line); }

.mr-wave-bars { display: flex; align-items: center; gap: 2.5px; height: 24px; }
.mr-wave-bars span { width: 3px; border-radius: 2px; background: var(--muted); height: 4px; opacity: .3; transition: opacity .3s; }
.mr-wave-bars.playing span { background: var(--primary-light); opacity: 1; }
.mr-wave-bars.playing span:nth-child(1) { animation: wave .7s ease-in-out infinite; }
.mr-wave-bars.playing span:nth-child(2) { animation: wave .7s ease-in-out .12s infinite; }
.mr-wave-bars.playing span:nth-child(3) { animation: wave .7s ease-in-out .24s infinite; }
.mr-wave-bars.playing span:nth-child(4) { animation: wave .7s ease-in-out .08s infinite; }
.mr-wave-bars.playing span:nth-child(5) { animation: wave .7s ease-in-out .20s infinite; }
.mr-wave-bars.playing span:nth-child(6) { animation: wave .7s ease-in-out .16s infinite; }
.mr-wave-bars.playing span:nth-child(7) { animation: wave .7s ease-in-out .04s infinite; }
@keyframes wave { 0%,100%{height:4px;} 50%{height:18px;} }
@keyframes albumSpin { to{transform:rotate(360deg);} }

.mr-play-btn {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--accent); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: white;
    box-shadow: 0 6px 20px -4px rgba(225,29,72,0.6);
    transition: transform .2s var(--ease-out), background .2s;
}
.mr-play-btn:hover { transform: scale(1.06); background: var(--accent-dark); }
.mr-play-btn:active { transform: scale(0.96); }

@media (max-width: 400px) {
    .mr-player { right: .75rem; bottom: .75rem; --mr-w: 280px; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — LAYOUT v2
   Asymmetrische hero + broadcast-console, tickertape, horizontale
   "on air"-rail, chart-lijst voor Top 25, redactionele nieuwslay-out.
═══════════════════════════════════════════════════════════════ */

/* ── Hero: split in plaats van gecentreerd ── */
.hero-split {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem; align-items: center;
    max-width: 1180px; margin: 0 auto;
    text-align: left;
    padding: 4.5rem 0 3rem;
}
.hero-split .hero-badge { margin-bottom: 1.75rem; }
.hero-split .hero-title { text-align: left; margin-bottom: 1.25rem; }
.hero-split .hero-subtitle { text-align: left; margin: 0 0 2rem; max-width: 460px; }
.hero-split .hero-actions { justify-content: flex-start; margin: 0 0 2.25rem; }

/* Byline-achtige inline stats i.p.v. dikke kaart */
.hero-byline {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--muted);
}
.hero-byline strong {
    font-family: var(--font-display); color: var(--foreground);
    font-weight: 700; font-size: 0.95rem; margin-right: 0.35rem;
}
.hero-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-dim); }

/* ── Console: het "on air"-paneel rechts ── */
.hero-console {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.console-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--line);
}
.console-onair {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
}
.console-onair .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 6px rgba(225,29,72,0.8);
    animation: livePulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
.console-freq { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: var(--muted-dim); }

.console-body { padding: 1.5rem 1.15rem; display: flex; align-items: center; gap: 1.1rem; min-height: 96px; }
.console-body #heroArtWrap { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; background: var(--secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.console-body #heroArtImg { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.console-track { flex: 1; min-width: 0; }
.console-track-label { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-light); margin-bottom: 0.3rem; }
.console-track #heroNpTitle { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-track #heroNpArtist { font-size: 0.85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.console-play-btn {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent); border: none; cursor: pointer; color: white;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s var(--ease-out), background .2s;
    box-shadow: 0 8px 24px -6px rgba(225,29,72,0.6);
}
.console-play-btn:hover { transform: scale(1.06); background: var(--accent-dark); }

.console-footer {
    display: flex; border-top: 1px solid var(--line);
}
.console-stat {
    flex: 1; text-align: center; padding: 0.9rem 0.5rem;
    border-right: 1px solid var(--line);
}
.console-stat:last-child { border-right: none; }
.console-stat-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.console-stat-label { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.15rem; }

/* ── Ticker: horizontaal scrollende meldingenbalk ── */
.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--background-secondary);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: tickerScroll 32s linear infinite;
    padding: 0.75rem 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--muted);
    padding: 0 1.75rem; position: relative;
}
.ticker-item::after {
    content: '·'; position: absolute; right: -0.15rem; color: var(--muted-dim);
}
.ticker-item strong { color: var(--foreground); font-weight: 600; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Shows: horizontale "on air"-rail i.p.v. grid ── */
.shows-rail-wrap { position: relative; margin: 0 -1.5rem; padding: 0 1.5rem; }
.shows-rail {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.shows-rail .show-card { flex: 0 0 260px; scroll-snap-align: start; }

/* ── Top 25: chart-lijst i.p.v. losse kaart-splits ── */
.chart-list { display: flex; flex-direction: column; }
.chart-row {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
    transition: padding-left .2s;
}
.chart-row:hover { padding-left: 0.5rem; }
.chart-row:first-child { padding-top: 0; }
.chart-rank {
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
    color: var(--muted-dim); width: 34px; flex-shrink: 0; text-align: center;
    font-variant-numeric: tabular-nums;
}
.chart-row:nth-child(1) .chart-rank { color: var(--gold); }
.chart-row:nth-child(2) .chart-rank { color: #b8c4d6; }
.chart-row:nth-child(3) .chart-rank { color: #d97706; }
.chart-cover { width: 46px; height: 46px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: var(--secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.chart-cover img { width: 100%; height: 100%; object-fit: cover; }
.chart-meta { flex: 1; min-width: 0; }
.chart-title { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-artist { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-votes { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--foreground); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.chart-votes span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Nieuws: redactioneel — 1 uitgelicht + lijst ── */
.news-editorial { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.news-feature { text-decoration: none; color: inherit; display: block; }
.news-feature-image {
    height: 280px; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--secondary); position: relative; margin-bottom: 1.1rem;
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    filter: grayscale(0.2);
}
.news-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.6rem; }
.news-feature-excerpt { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

.news-list { display: flex; flex-direction: column; }
.news-list-item {
    display: flex; gap: 1rem; padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none; color: inherit;
}
.news-list-item:first-child { padding-top: 0; }
.news-list-thumb {
    width: 68px; height: 68px; border-radius: 8px; flex-shrink: 0; overflow: hidden;
    background: var(--secondary); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; filter: grayscale(0.2);
}
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.35; margin-bottom: 0.3rem; }
.news-list-meta { font-size: 0.72rem; color: var(--muted-dim); }

/* ── Features: compacte quicklinks-balk i.p.v. grote kaarten ── */
.quicklinks-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden;
}
.quicklink {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    text-align: center; padding: 1.75rem 1rem;
    text-decoration: none; color: inherit;
    border-right: 1px solid var(--line);
    transition: background .2s;
}
.quicklink:last-child { border-right: none; }
.quicklink:hover { background: var(--card); }
.quicklink-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--secondary); display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.quicklink-label { font-size: 0.82rem; font-weight: 600; }
.quicklink-sub { font-size: 0.7rem; color: var(--muted); }

@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; }
    .hero-split .hero-title, .hero-split .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-split .hero-actions { justify-content: center; }
    .hero-byline { justify-content: center; }
    .news-editorial { grid-template-columns: 1fr; }
    .quicklinks-bar { grid-template-columns: repeat(3, 1fr); }
    .quicklink:nth-child(3) { border-right: none; }
}
@media (max-width: 560px) {
    .quicklinks-bar { grid-template-columns: repeat(2, 1fr); }
    .quicklink:nth-child(2n) { border-right: none; }
    .console-footer { flex-wrap: wrap; }
    .console-stat { flex: 1 1 50%; }
    .console-stat:nth-child(2) { border-right: none; }
}
