/* =====================================================================
   Reestdalteam — design system
   1. Tokens   2. Basis   3. Componenten   4. Secties   5. Speler
   6. Stamtafel   7. Formulieren   8. Responsive
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:        #070a12;
  --bg-soft:   #0c1120;
  --bg-card:   #111830;
  --surface:   rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --text:      #eaf0ff;
  --muted:     #97a3bf;
  --muted-2:   #6b7692;

  --gold:      #ffb13a;
  --gold-2:    #ff7d1a;
  --blue:      #5b91ff;
  --blue-2:    #7b5bff;
  --red:       #ff4d63;
  --green:     #34d98b;

  --grad-gold: linear-gradient(135deg, #ffcd5c 0%, #ff8a1f 55%, #ff5f2e 100%);
  --grad-blue: linear-gradient(135deg, #6ea8ff 0%, #6a5bff 100%);
  --grad-dark: linear-gradient(180deg, rgba(17,24,48,.92) 0%, rgba(9,13,26,.96) 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shell:     1220px;
  --header-h:  72px;
  --player-h:  86px;

  --shadow:    0 20px 60px -24px rgba(0, 0, 0, .85);
  --shadow-gold: 0 16px 40px -18px rgba(255, 140, 30, .65);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  background:
    radial-gradient(60% 60% at 18% 0%, rgba(255, 140, 30, .16), transparent 70%),
    radial-gradient(50% 55% at 85% 5%, rgba(90, 120, 255, .16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: Outfit, Inter, sans-serif;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1em; }

::selection { background: rgba(255, 177, 58, .3); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #1a1000; padding: 10px 18px;
  border-radius: 0 0 12px 12px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; position: relative; z-index: 1; }

.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; z-index: 1; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- 3. Componenten ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--btn-bg); color: var(--text);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-2); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-gold); color: #21140a; border-color: transparent;
  box-shadow: var(--shadow-gold); font-weight: 700;
}
.btn--primary:hover { box-shadow: 0 22px 50px -18px rgba(255, 140, 30, .8); }
.btn--ghost { background: transparent; }
.btn--soft { background: var(--surface); }
.btn--icon { padding: 11px; border-radius: 50%; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

.btn--live { gap: 10px; }
.btn--live.is-playing { border-color: rgba(255, 177, 58, .5); background: rgba(255, 177, 58, .12); }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 77, 99, .7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 99, .6); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 77, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 99, 0); }
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--surface-2); border: 1px solid var(--line);
}
.badge--live { background: rgba(255, 77, 99, .14); border-color: rgba(255, 77, 99, .35); color: #ffd3d8; }
.badge--soft { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }

.card {
  background: var(--grad-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7, 10, 18, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(7, 10, 18, .92); }
.site-header__inner { display: flex; align-items: center; gap: 22px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { width: 150px; max-width: none; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500;
  color: var(--muted); transition: color .2s, background .2s; position: relative;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--text); background: var(--surface-2); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; translate: -50% 0;
  width: 16px; height: 2px; border-radius: 2px; background: var(--grad-gold);
}

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0; cursor: pointer; position: relative;
}
.hamburger span {
  position: absolute; left: 11px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); transition: .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 20px; rotate: 45deg; }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 20px; rotate: -45deg; }

/* ---------- 4. Secties ---------- */
/* Hero */
.hero { padding: clamp(50px, 8vw, 90px) 0 clamp(60px, 8vw, 100px); position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat strong {
  display: block; font-family: Outfit, sans-serif; font-size: 1.9rem; font-weight: 700; line-height: 1;
}
.hero__stat span { font-size: .84rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }

/* Live kaart */
.livecard { padding: 26px; border-radius: var(--radius-lg); }
.livecard::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 177, 58, .55), transparent 45%, rgba(91, 145, 255, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.livecard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.livecard__body { display: flex; gap: 18px; align-items: center; }
.livecard__art {
  width: 104px; height: 104px; border-radius: 20px; object-fit: cover; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
}
.livecard__show { font-family: Outfit, sans-serif; font-size: 1.45rem; font-weight: 700; margin: 0 0 4px; }
.livecard__sub { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.livecard__track {
  display: flex; align-items: center; gap: 9px; color: var(--gold);
  font-size: .94rem; font-weight: 600; min-height: 24px;
}
.livecard__track span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livecard__bar { height: 5px; border-radius: 999px; background: var(--surface-2); margin-top: 18px; overflow: hidden; }
.livecard__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-gold); width: 0; transition: width 1s linear; }
.livecard__times { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted-2); margin-top: 8px; }
.livecard__foot { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; border-radius: 2px; background: var(--gold); height: 40%; }
.is-playing .eq i, .eq.is-on i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: .15s; }
.eq i:nth-child(3) { animation-delay: .3s; }
.eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { from { height: 25%; } to { height: 100%; } }

/* Programma */
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.days button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 600; font-size: .92rem;
  transition: .25s var(--ease);
}
.days button:hover { color: var(--text); transform: translateY(-2px); }
.days button.is-active { background: var(--grad-gold); color: #21140a; border-color: transparent; box-shadow: var(--shadow-gold); }
.days button .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: 7px; vertical-align: middle; }

.shows { display: grid; gap: 14px; }
.shows[hidden] { display: none; }
.show {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  padding: 16px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: .3s var(--ease);
}
.show:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateX(4px); }
.show.is-live { border-color: rgba(255, 177, 58, .45); background: rgba(255, 177, 58, .08); }
.show__time { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.02rem; }
.show__time span { display: block; color: var(--muted-2); font-size: .82rem; font-weight: 500; }
.show__main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.show__avatar {
  width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--bg-card);
}
.show__avatar--empty { display: grid; place-items: center; color: var(--muted-2); font-size: 1.2rem; }
.show h3 { margin: 0; font-size: 1.08rem; }
.show p { margin: 0; color: var(--muted); font-size: .88rem; }
.shows--empty { color: var(--muted); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.dj {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-card); transition: .35s var(--ease); position: relative;
}
.dj:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.dj__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.dj__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.dj:hover .dj__img img { scale: 1.06; }
.dj__img--empty { display: grid; place-items: center; font-family: Outfit, sans-serif; font-size: 3rem; color: var(--muted-2); }
.dj__body { padding: 18px 20px 22px; }
.dj__body h3 { margin: 0 0 2px; font-size: 1.1rem; }
.dj__name { color: var(--gold); font-size: .88rem; font-weight: 600; }
.dj__role { color: var(--muted-2); font-size: .82rem; margin-top: 6px; }
.dj__bio { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.dj__live {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 77, 99, .92); color: #fff; border: 0;
}

/* Over */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__media img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4/5; object-fit: cover; }
.about__media img:first-child { translate: 0 -22px; }
.about__media img:last-child { translate: 0 22px; }
.about p { color: var(--muted); }
.about ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.about li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: .96rem; }
.about li svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* Nieuws */
.news-grid { display: grid; gap: 20px; }
.news {
  display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: .3s var(--ease);
}
.news:hover { border-color: var(--line-2); background: var(--surface-2); }
.news--plain { grid-template-columns: 1fr; }
.news img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.news time { color: var(--gold); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.news h3 { margin: 6px 0 10px; }
.news p { color: var(--muted); margin: 0 0 .7em; white-space: pre-line; }
.news p:last-child { margin: 0; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.partner {
  display: grid; place-items: center; min-height: 170px; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: .3s var(--ease);
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.partner img { max-height: 90px; width: auto; object-fit: contain; }

/* CTA */
.cta {
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); text-align: center;
  background: radial-gradient(120% 130% at 50% 0%, rgba(255, 140, 30, .22), rgba(12, 17, 32, .9) 60%);
  border: 1px solid var(--line);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 54ch; margin-inline: auto; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Paginakop */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(26px, 4vw, 44px); position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02));
  position: relative; z-index: 1;
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer__brand p { color: var(--muted); font-size: .92rem; margin: 16px 0; max-width: 40ch; }
.site-footer__social { display: flex; gap: 16px; font-size: .9rem; }
.site-footer__social a { color: var(--gold); }
.site-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 16px; }
.site-footer__nav, .site-footer__listen { display: flex; flex-direction: column; gap: 9px; font-size: .93rem; }
.site-footer__nav a, .site-footer__listen a { color: var(--muted); transition: color .2s; }
.site-footer__nav a:hover, .site-footer__listen a:hover { color: var(--text); }
.site-footer__listen span { color: var(--muted-2); font-size: .8rem; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted-2);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--muted); }

/* ---------- 5. Speler ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(9, 13, 24, .86);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.player__progress { height: 2px; background: var(--surface-2); overflow: hidden; }
.player__progress span { display: block; height: 100%; width: 0; background: var(--grad-gold); transition: width 1s linear; }
.player__inner { display: flex; align-items: center; gap: 16px; height: var(--player-h); }

.player__play {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  border: 0; background: var(--grad-gold); color: #21140a;
  display: grid; place-items: center; box-shadow: var(--shadow-gold);
  transition: transform .25s var(--ease);
}
.player__play:hover { transform: scale(1.07); }
.player__play svg { grid-area: 1/1; }
.player__play .icon-pause, .player__play .icon-loading { display: none; }
.player.is-playing .icon-play { display: none; }
.player.is-playing .icon-pause { display: block; }
.player.is-loading .icon-play, .player.is-loading .icon-pause { display: none; }
.player.is-loading .icon-loading { display: block; animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.player__art { position: relative; flex-shrink: 0; }
.player__art img {
  width: 54px; height: 54px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--line); background: var(--bg-card);
}
.player__art .eq {
  position: absolute; right: -4px; bottom: -4px; height: 16px; padding: 3px 4px;
  background: var(--bg); border-radius: 6px; border: 1px solid var(--line); opacity: 0; transition: opacity .3s;
}
.player.is-playing .eq { opacity: 1; }

.player__info { min-width: 0; flex: 1; }
.player__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.player__show { font-size: .84rem; color: var(--muted); font-weight: 600; }
.player__listeners { font-size: .8rem; color: var(--muted-2); display: inline-flex; align-items: center; gap: 5px; }
.player__listeners::before { content: "👂"; font-size: .9em; }
.player__title-wrap { overflow: hidden; position: relative; }
.player__title {
  display: block; font-weight: 600; font-size: .97rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.player__title.is-scrolling {
  text-overflow: clip; animation: marquee 22s linear infinite;
  padding-right: 60px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.player__controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.player__volume { display: flex; align-items: center; gap: 8px; }
.player__mute { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 8px; }
.player__mute:hover { color: var(--text); }
.player.is-muted .player__mute { color: var(--red); }

.player__slider {
  -webkit-appearance: none; appearance: none; width: 92px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 80%), rgba(255, 255, 255, .14) var(--fill, 80%));
  cursor: pointer;
}
.player__slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .6); cursor: pointer;
}
.player__slider::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }

.player__quality { display: flex; gap: 2px; padding: 3px; background: var(--surface); border-radius: 999px; border: 1px solid var(--line); }
.player__quality button {
  border: 0; background: none; color: var(--muted-2); font-size: .74rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.player__quality button.is-active { background: var(--surface-2); color: var(--text); }

/* ---------- 6. Stamtafel ---------- */
.chat-layout { display: grid; grid-template-columns: 1fr 268px; gap: 20px; align-items: start; }

.chat {
  display: flex; flex-direction: column;
  height: min(72vh, 720px); min-height: 460px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--grad-dark); overflow: hidden; position: relative;
}

.chat__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.chat__head h2 { margin: 0; font-size: 1.05rem; }
.chat__head .badge { margin-left: auto; }
.chat__icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: .2s;
}
.chat__icon-btn:hover { color: var(--text); background: var(--surface-2); }
.chat__icon-btn.is-on { color: var(--gold); border-color: rgba(255, 177, 58, .4); }

.chat__stream {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px; display: flex; flex-direction: column; gap: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.chat__stream::-webkit-scrollbar { width: 8px; }
.chat__stream::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 99px; }

.msg { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 3px 0; animation: msgIn .32s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg--grouped { margin-top: -4px; }
.msg--grouped .msg__avatar { visibility: hidden; }
.msg--grouped .msg__head { display: none; }
.msg--mine .msg__bubble { background: rgba(255, 177, 58, .12); border-color: rgba(255, 177, 58, .28); }

.msg__avatar {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-family: Outfit, sans-serif; font-weight: 700; font-size: .95rem; color: #10131f;
  user-select: none;
}
.msg__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.msg__nick { font-weight: 700; font-size: .92rem; }
.msg__time { font-size: .74rem; color: var(--muted-2); }
.msg__badge {
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 6px; background: var(--grad-gold); color: #21140a;
}
.msg__bubble {
  display: inline-block; max-width: min(100%, 60ch);
  padding: 9px 14px; border-radius: 4px 16px 16px 16px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .95rem; line-height: 1.55; word-break: break-word; white-space: pre-wrap;
  position: relative;
}
.msg--grouped .msg__bubble { border-radius: 16px; }
.msg__bubble a { color: var(--blue); text-decoration: underline; }
.msg__bubble.is-jumbo { font-size: 2.3rem; line-height: 1.25; background: none; border: 0; padding: 4px 0; }
.msg__del {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--red);
  cursor: pointer; font-size: .7rem; display: none; place-items: center; line-height: 1;
}
.msg:hover .msg__del { display: grid; }
.emoji-img { font-size: 1.15em; line-height: 1; }

/* Klassieke GIF-smileys van het station */
.smiley { display: inline-block; height: 24px; width: auto; vertical-align: -6px; margin: 0 1px; }
.msg__bubble.is-jumbo .smiley { height: 58px; vertical-align: -12px; }
.emoji-picker__grid button.is-gif { display: grid; place-items: center; padding: 3px; }
.emoji-picker__grid button.is-gif img { max-height: 26px; max-width: 100%; width: auto; }
.emoji-picker__grid button.is-gif:hover { transform: scale(1.15); }

.msg--system { grid-template-columns: 1fr; justify-items: center; margin: 10px 0; }
.msg--system .msg__bubble {
  background: rgba(91, 145, 255, .1); border-color: rgba(91, 145, 255, .28);
  border-radius: 999px; font-size: .84rem; color: #cfe0ff; padding: 6px 16px;
}
.msg--verzoek .msg__bubble {
  background: linear-gradient(135deg, rgba(255, 177, 58, .16), rgba(255, 125, 26, .08));
  border-color: rgba(255, 177, 58, .35); border-radius: 16px;
}

.chat__jump {
  position: absolute; left: 50%; bottom: 104px; translate: -50% 0; z-index: 3;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg-card); color: var(--text); font-size: .84rem; font-weight: 600;
  cursor: pointer; box-shadow: var(--shadow); display: none; align-items: center; gap: 7px;
}
.chat__jump.is-visible { display: flex; animation: msgIn .3s var(--ease); }

.chat__typing { height: 20px; padding: 0 20px; font-size: .78rem; color: var(--muted-2); font-style: italic; }

.chat__form { border-top: 1px solid var(--line); padding: 12px 16px 16px; background: rgba(255, 255, 255, .02); }
.chat__row { display: flex; align-items: flex-end; gap: 9px; }
.chat__input {
  flex: 1; resize: none; max-height: 120px; min-height: 44px;
  padding: 11px 14px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-size: .96rem; line-height: 1.45; transition: border-color .2s;
}
.chat__input:focus { outline: none; border-color: rgba(255, 177, 58, .5); }
.chat__input::placeholder { color: var(--muted-2); }
.chat__send {
  width: 44px; height: 44px; border-radius: 14px; border: 0; flex-shrink: 0; cursor: pointer;
  background: var(--grad-gold); color: #21140a; display: grid; place-items: center;
  transition: transform .2s var(--ease), opacity .2s;
}
.chat__send:hover { transform: scale(1.06); }
.chat__send:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.chat__emoji-btn {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); font-size: 1.25rem;
  display: grid; place-items: center; transition: .2s;
}
.chat__emoji-btn:hover, .chat__emoji-btn.is-open { background: var(--surface-2); transform: scale(1.05); }
.chat__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .78rem; color: var(--muted-2); }
.chat__count.is-warn { color: var(--gold); }
.chat__count.is-over { color: var(--red); }
.chat__hint kbd {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; font-size: .72rem; font-family: inherit;
}
.chat__error { color: var(--red); font-size: .84rem; margin-top: 8px; min-height: 0; }

/* Emoji-kiezer */
.emoji-picker {
  position: absolute; z-index: 20; bottom: 96px; right: 16px; width: min(348px, calc(100% - 32px));
  background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; display: none;
  animation: pop .22s var(--ease);
}
.emoji-picker.is-open { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.emoji-picker__search { padding: 12px 12px 8px; }
.emoji-picker__search input {
  width: 100%; padding: 9px 13px; border-radius: 11px; font-size: .9rem;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
}
.emoji-picker__search input:focus { outline: none; border-color: rgba(255, 177, 58, .5); }
.emoji-picker__tabs { display: flex; gap: 2px; padding: 0 10px 8px; overflow-x: auto; scrollbar-width: none; }
.emoji-picker__tabs::-webkit-scrollbar { display: none; }
.emoji-picker__tabs button {
  border: 0; background: none; cursor: pointer; font-size: 1.1rem; padding: 6px 9px;
  border-radius: 9px; opacity: .55; transition: .2s; flex-shrink: 0;
}
.emoji-picker__tabs button:hover { opacity: 1; background: var(--surface); }
.emoji-picker__tabs button.is-active { opacity: 1; background: var(--surface-2); }
.emoji-picker__body { max-height: 236px; overflow-y: auto; padding: 0 8px 10px; scrollbar-width: thin; }
.emoji-picker__body::-webkit-scrollbar { width: 7px; }
.emoji-picker__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 99px; }
.emoji-picker__label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2);
  padding: 10px 6px 6px; position: sticky; top: 0; background: var(--bg-card);
}
.emoji-picker__grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.emoji-picker__grid button {
  border: 0; background: none; cursor: pointer; font-size: 1.35rem; line-height: 1;
  aspect-ratio: 1; border-radius: 9px; transition: background .15s, transform .15s;
}
.emoji-picker__grid button:hover { background: var(--surface-2); transform: scale(1.22); }
.emoji-picker__empty { padding: 26px 10px; text-align: center; color: var(--muted-2); font-size: .88rem; }

/* Zijbalk stamtafel */
.chat-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.chat-side .card { padding: 18px 20px; }
.chat-side h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 14px; }
.chat-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.chat-side li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.chat-side .dotje { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.chat-side p { font-size: .88rem; color: var(--muted); margin: 0; }
.chat-side ol { color: var(--muted); font-size: .88rem; padding-left: 18px; margin: 0; display: grid; gap: 7px; }

/* Naam kiezen */
.nickgate {
  position: absolute; inset: 0; z-index: 12; display: grid; place-items: center; padding: 24px;
  background: rgba(8, 11, 20, .86); backdrop-filter: blur(8px);
}
.nickgate__box { width: min(400px, 100%); text-align: center; }
.nickgate h3 { font-size: 1.3rem; margin-bottom: 8px; }
.nickgate p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.nickgate input {
  width: 100%; padding: 13px 16px; border-radius: 13px; text-align: center; font-size: 1rem;
  background: var(--bg); border: 1px solid var(--line); color: var(--text); margin-bottom: 12px;
}
.nickgate input:focus { outline: none; border-color: rgba(255, 177, 58, .5); }

/* ---------- 7. Formulieren ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  padding: 13px 16px; border-radius: 13px; font-size: .97rem;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(255, 177, 58, .55); background: var(--bg);
}
.field textarea { resize: vertical; min-height: 130px; }
.field small { color: var(--muted-2); font-size: .8rem; }
.form__note { font-size: .84rem; color: var(--muted-2); }
.form-status { padding: 13px 18px; border-radius: 13px; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(52, 217, 139, .12); border: 1px solid rgba(52, 217, 139, .35); color: #b4f2d4; }
.form-status.is-error { background: rgba(255, 77, 99, .12); border: 1px solid rgba(255, 77, 99, .35); color: #ffc9d0; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.info-card { padding: 26px; display: grid; gap: 18px; }
.info-card__item { display: flex; gap: 14px; align-items: flex-start; }
.info-card__item svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.info-card__item strong { display: block; font-size: .95rem; }
.info-card__item span, .info-card__item a { color: var(--muted); font-size: .9rem; }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 10px; font-size: .88rem; }
  .site-header__inner { gap: 14px; }
  .brand img { width: 128px; }
}

@media (max-width: 1100px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 980px) {
  .hero__grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .about__media img:first-child, .about__media img:last-child { translate: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .player__quality, .player__request { display: none; }
}

@media (max-width: 860px) {
  :root { --player-h: 76px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 16px 20px 24px; margin: 0;
    background: rgba(8, 11, 20, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
  .nav__link.is-active::after { display: none; }
  .hamburger { display: block; }
  .btn--live span:not(.live-dot) { display: none; }
  .btn--live { padding: 11px; border-radius: 50%; }
  .show { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
  .show__time { order: -1; }
  .news { grid-template-columns: 1fr; }
  .player__volume { display: none; }
  .player__inner { gap: 12px; }
  .player__art { display: none; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .hero__stats { gap: 22px; }
  .hero__stat strong { font-size: 1.5rem; }
  .livecard { padding: 20px; }
  .livecard__body { flex-direction: column; align-items: flex-start; }
  .livecard__art { width: 76px; height: 76px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .chat { height: calc(100vh - var(--header-h) - var(--player-h) - 150px); min-height: 400px; }
  .player__show { display: none; }
  .player__listeners { font-size: .76rem; }
  .player__title { font-size: .9rem; }
  .emoji-picker { right: 8px; left: 8px; width: auto; }
  .form__row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .dj__body { padding: 14px; }
  .dj__bio { display: none; }
}

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

@media print {
  .player, .site-header, .site-footer, .noise { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
