/* nXt Radio – luistersite
   Kleuren uit het logo: geel #F7D449 en zwart #191919.
   Maten naar 538 en 3FM: inhoud 1248px breed, kop 64px, tekst 18px, rijen met lijntjes. */

:root {
  --geel: #F7D449;
  --inkt: #191919;          /* het zwart van het logo, voor tekst op geel */
  --zwart: #0F0F0F;         /* pagina */
  --zwart-2: #000000;       /* kop en voet */
  --lijn: #2A2A2A;
  --wit: #F4F4F4;
  --grijs: #A8A8A8;         /* 8:1 op de pagina */
  --rood: #FF4B3E;          /* alleen het live-stipje */
  --inkt-zacht: rgba(25, 25, 25, .78);

  --binnen: 1248px;
  --rand: clamp(16px, 4vw, 32px);
  --sectie: clamp(56px, 8vw, 104px);
  --schuin: -10deg;
  --uit: cubic-bezier(.16, 1, .3, 1);
  --letter: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #3A3A3A var(--zwart); scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--zwart);
  color: var(--wit);
  font: 400 18px/1.45 var(--letter);
  caret-color: var(--geel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--geel); color: var(--inkt); }
img { display: block; max-width: 100%; }
h1, h2, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 6px; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 3px; }
.band :focus-visible, .favorieten :focus-visible { outline-color: var(--inkt); }
[hidden] { display: none !important; }

.binnen { max-width: calc(var(--binnen) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

.overslaan { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--geel); color: var(--inkt); padding: 10px 14px; font-weight: 700; }
.overslaan:focus { top: 12px; }

/* --- Knoppen: schuin zoals het logo ------------------------------------------ */
.knop, .speel, .duim {
  border: 0; background: none; padding: 0;
  transform: skewX(var(--schuin));
  transition: background-color .15s, color .15s, transform .12s var(--uit);
}
.knop > *, .speel > *, .duim > * { transform: skewX(calc(-1 * var(--schuin))); }
.knop:active, .speel:active, .duim:active { transform: skewX(var(--schuin)) scale(.95); }
.knop {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  font-weight: 800; font-style: italic; font-stretch: 112%; font-size: 15px;
  text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
}
.knop--geel { background: var(--geel); color: var(--inkt); }
.knop--geel:hover { background: #FFE06A; }
.knop--zwart { background: var(--inkt); color: var(--geel); }
.knop--zwart:hover { background: #000; }

/* --- Kop ------------------------------------------------------------------- */
.kop { position: sticky; top: 0; z-index: 20; background: var(--zwart-2); }
.kop__rij { display: flex; align-items: center; gap: 40px; height: 64px; }
.kop__logo img { height: 44px; width: auto; }
.kop__menu { display: flex; gap: 28px; margin-right: auto; }
.kop__menu a { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--wit); padding-block: 6px; }
.kop__menu a:hover { color: var(--geel); text-decoration: underline; }

/* --- Poster ---------------------------------------------------------------- */
.poster { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); background: var(--inkt); }
.poster::before { /* korrel, zoals een gekopieerde poster */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
.poster__pijlen { position: absolute; right: -6vw; top: 50%; translate: 0 -50%; width: min(62vw, 820px); height: auto; aspect-ratio: 200 / 120; color: #262626; }
.poster .binnen { position: relative; }
.poster__kop {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(4rem, 13vw, 9rem); line-height: .86; letter-spacing: -.01em;
}
.poster__regel { display: block; }
.poster__regel--geel { margin-top: .08em; }
.poster__regel--geel > span {
  display: inline-block; background: var(--geel); color: var(--inkt);
  padding: .04em .14em 0; margin-left: -.06em;
  transform: skewX(var(--schuin));
}
.poster__onder { margin-top: 32px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); color: #D0D0D0; }

/* --- De gele band met de speler ------------------------------------------- */
.scheur { position: absolute; left: 0; width: 100%; height: 24px; color: var(--geel); pointer-events: none; }
.scheur--boven { top: -23px; }
.scheur--onder { bottom: -23px; }
.band { position: relative; z-index: 2; background: var(--geel); color: var(--inkt); padding-block: 28px 36px; }
.band__rij { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band__titel {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: .9; letter-spacing: -.005em;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.band__titel.nieuw { animation: wis .6s var(--uit); }
@keyframes wis { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.band__artiest { margin-top: 8px; font-size: 21px; font-weight: 600; }
.band__melding { margin-top: 10px; font-size: 15px; color: var(--inkt-zacht); max-width: 52ch; }
.band__knoppen { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.hoes { position: relative; background: var(--inkt); aspect-ratio: 1; }
.hoes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hoes__leeg { position: absolute; inset: 22%; width: 56%; height: 56%; color: var(--geel); }
.hoes--groot { transform: rotate(-2deg); }
.hoes--groot.nieuw { animation: val .5s var(--uit); }
@keyframes val { from { transform: rotate(-6deg) translateY(-10px); opacity: .4; } to { transform: rotate(-2deg); opacity: 1; } }

.tape { position: absolute; width: 74px; height: 24px; background: rgba(244, 244, 244, .62);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 20% 2%, 30% 6%, 100% 0, 96% 30%, 100% 55%, 95% 80%, 100% 100%, 0 96%, 4% 70%, 0 45%, 5% 22%); }
.hoes .tape { top: -9px; left: -18px; transform: rotate(-32deg); }

.status {
  position: absolute; left: -8px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--inkt); color: var(--wit); padding: 5px 10px 5px 9px;
  font-size: 12px; font-weight: 800; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em;
}
.status__stip { width: 8px; height: 8px; border-radius: 50%; background: var(--rood); }
.status.is-uit .status__stip { background: var(--grijs); }
.status.is-eigen .status__stip { background: var(--geel); }
@media (prefers-reduced-motion: no-preference) {
  .status.is-live .status__stip { animation: knipper 1.6s ease-in-out infinite; }
}
@keyframes knipper { 50% { opacity: .35; } }

.speel { width: 76px; height: 64px; display: grid; place-items: center; background: var(--inkt); color: var(--geel); }
.speel:hover { background: #000; }
.speel svg { width: 30px; height: 30px; }
.speel .speel__uit, .speelt .speel .speel__aan { display: none; }
.speelt .speel .speel__uit { display: block; }
.speel[aria-busy="true"] svg { animation: knipper 1s ease-in-out infinite; }

.duim {
  min-width: 56px; height: 56px; padding: 0 16px; display: grid; place-items: center;
  box-shadow: inset 0 0 0 2.5px var(--inkt); color: var(--inkt);
}
.duim > span { display: inline-flex; align-items: center; gap: 8px; }
.duim svg { width: 24px; height: 24px; }
.duim:hover { background: rgba(25, 25, 25, .1); }
.duim[aria-pressed="true"] { background: var(--inkt); color: var(--geel); }
.duim__aantal { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.duim__aantal:empty { display: none; }

/* --- Gedraaid en hierna ---------------------------------------------------- */
.lijsten { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: calc(var(--sectie) + 24px) var(--sectie); }
.kopje { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: .95; margin-bottom: 20px; }
.kopje--groot { font-size: clamp(3rem, 7vw, 5.5rem); line-height: .88; }
.rijen { border-top: 2px solid var(--wit); }
.rij { display: grid; grid-template-columns: 48px 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--lijn); }
.rij__tijd { color: var(--grijs); font-size: 15px; font-variant-numeric: tabular-nums; }
.rij .hoes { width: 56px; }
.rij__tekst { min-width: 0; }
.rij__tekst strong { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rij__tekst span { display: block; color: var(--grijs); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rij__duim { display: inline-flex; align-items: center; gap: 5px; color: var(--geel); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.rij__duim svg { width: 18px; height: 18px; }
.rijen__leeg { padding: 16px 0; color: var(--grijs); }

/* --- Jullie favorieten (geel, met tape) -------------------------------------- */
.favorieten { position: relative; background: var(--geel); color: var(--inkt); padding-block: var(--sectie); margin-block: 24px; }
.favorieten .tape { width: 120px; height: 34px; top: -14px; }
.tape--links { left: 8%; transform: rotate(-4deg); }
.tape--rechts { right: 10%; transform: rotate(5deg); }
.favorieten__uitleg { margin: -4px 0 36px; font-size: 19px; font-weight: 500; color: var(--inkt-zacht); }
.top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: clamp(32px, 5vw, 72px); }
.top li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--inkt); }
.top__plek { font-weight: 900; font-stretch: 62%; font-size: 3.25rem; line-height: .9; font-variant-numeric: tabular-nums; }
.top__tekst strong { display: block; font-weight: 800; font-size: 19px; line-height: 1.2; }
.top__tekst span { display: block; font-size: 16px; color: var(--inkt-zacht); }
.top__aantal { font-weight: 800; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.favorieten__leeg { font-size: clamp(20px, 2vw, 24px); font-weight: 600; max-width: 34ch; }

/* --- Zo werkt het ---------------------------------------------------------- */
.uitleg { padding-block: var(--sectie); }
.uitleg__lijst { border-top: 2px solid var(--wit); }
.uitleg__lijst > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--lijn); }
.uitleg__lijst dt { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; color: var(--geel); }
.uitleg__lijst dd { color: #D0D0D0; max-width: 56ch; }

/* --- Voet ------------------------------------------------------------------ */
.voet { background: var(--zwart-2); padding: 48px 0 120px; }
.voet__rij { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.voet img { height: 52px; width: auto; }
.voet__slogan { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 2rem; line-height: 1; margin-right: auto; }
.voet__klein { color: var(--grijs); font-size: 15px; }

/* --- Vaste balk onderin (zoals 3FM) ------------------------------------------ */
.balk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: #050505; border-top: 1px solid var(--lijn);
  transform: translateY(105%); transition: transform .35s var(--uit);
}
.balk.zichtbaar { transform: none; }
.balk__rij { display: flex; align-items: center; gap: 14px; height: 76px; }
.balk .hoes { width: 52px; flex: none; }
.balk__tekst { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.balk__tekst strong { font-weight: 800; }
.balk__tekst span { color: var(--grijs); }
.speel--klein { width: 60px; height: 48px; background: var(--geel); color: var(--inkt); }
.speel--klein:hover { background: #FFE06A; }
.speel--klein svg { width: 24px; height: 24px; }
.duim--klein { min-width: 48px; height: 48px; padding: 0 12px; box-shadow: inset 0 0 0 2px var(--wit); color: var(--wit); }
.duim--klein:hover { background: rgba(244, 244, 244, .1); }
.duim--klein[aria-pressed="true"] { background: var(--geel); color: var(--inkt); box-shadow: none; }

/* --- Soon on air (nxtradio.nl zolang de zender nog niet uitzendt) ------------ */
.binnenkort .band__knoppen, .binnenkort .lijsten, .binnenkort .favorieten, .binnenkort .balk,
.binnenkort .kop__menu a[href="#gedraaid"], .binnenkort .kop__menu a[href="#favorieten"] { display: none; }
.binnenkort .band { margin-bottom: 24px; }
.binnenkort .uitleg { padding-top: calc(var(--sectie) + 24px); }

/* --- Kleine schermen --------------------------------------------------------- */
@media (max-width: 900px) {
  .band__rij { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .band__knoppen { grid-column: 1 / -1; justify-content: flex-start; }
  .lijsten { grid-template-columns: minmax(0, 1fr); }
  .top { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 640px) {
  .kop__rij { gap: 16px; }
  .kop__menu { display: none; }
  .kop__logo { margin-right: auto; }
  .kop .knop { height: 40px; padding: 0 16px; font-size: 14px; }
  .poster__pijlen { width: 110vw; right: -50vw; }
  .band__rij { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .band__artiest { font-size: 18px; }
  .speel { width: 68px; height: 56px; }
  .duim { min-width: 52px; height: 52px; padding: 0 12px; }
  .status { font-size: 11px; padding: 4px 8px; bottom: 6px; }
  .rij { grid-template-columns: 44px 48px minmax(0, 1fr) auto; gap: 12px; }
  .rij .hoes { width: 48px; }
  .top li { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .top__plek { font-size: 2.5rem; }
  .uitleg__lijst > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .balk .duim--klein:not([data-actie="volgende"]) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
