/* Smoke Eaters TV (/media/) — donker, filmisch, de speler als middelpunt */
.tv-body { background: #050d16; }
.tv { --tv-bg: #050d16; --tv-card: #0c1b2b; --tv-line: rgba(255,255,255,.09); background: var(--tv-bg); color: #fff; overflow: hidden; }

/* ---------- speler ---------- */
.tv-hero { position: relative; padding: 60px 0 70px; isolation: isolate; }
.tv-amb { position: absolute; inset: -10% -10% 10%; z-index: -2; background: center / cover no-repeat; filter: blur(70px) saturate(1.7); opacity: .5; transform: scale(1.1); transition: background-image .6s; }
.tv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--tv-bg) 75%), linear-gradient(180deg, rgba(5,13,22,.35), var(--tv-bg) 92%); }
.tv-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.tv-hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.tv-onair { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(226,12,32,.6); background: rgba(226,12,32,.12); font: italic 900 13px/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; color: #ff4b5c; margin-bottom: 16px; }
.tv-onair i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(226,12,32,.7); animation: tvRec 1.6s ease-out infinite; }
@keyframes tvRec { 0% { box-shadow: 0 0 0 0 rgba(226,12,32,.7); } 70% { box-shadow: 0 0 0 10px rgba(226,12,32,0); } 100% { box-shadow: 0 0 0 0 rgba(226,12,32,0); } }
.tv-title { margin: 0; font: italic 900 clamp(56px, 10vw, 150px)/.82 var(--heading); text-transform: uppercase; letter-spacing: -.01em; }
.tv-title em { font-style: italic; color: transparent; -webkit-text-stroke: 2px var(--gold); background: linear-gradient(100deg, var(--gold), #ffe08a 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; }
.tv-lead { max-width: 560px; margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 17px; }
.tv-sub { box-shadow: 0 14px 34px -12px rgba(226,12,32,.8); }

.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.1), 0 0 80px -20px rgba(226,12,32,.35); }
.tv-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tv-poster { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.tv-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; }
.tv-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,.55)); }
.tv-poster:hover img { transform: scale(1.04); filter: saturate(1.2); }
.tv-poster:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.tv-bigplay { position: absolute; z-index: 1; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 0 0 12px rgba(226,12,32,.25), 0 20px 50px -10px rgba(226,12,32,.8); transition: transform .3s cubic-bezier(.2,.7,.2,1.4); }
.tv-bigplay::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: tvRing 2.2s ease-out infinite; }
@keyframes tvRing { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.tv-poster:hover .tv-bigplay { transform: scale(1.1); }
.tv-bigplay svg { width: 44px; height: 44px; fill: #fff; margin-left: 6px; }
.tv-frame { position: absolute; inset: 0; display: none; }
.tv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tv-screen.is-playing .tv-frame { display: block; }
.tv-screen.is-playing .tv-poster { display: none; }

.tv-now { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-top: 22px; }
.tv-now__label { grid-row: span 2; align-self: start; background: var(--gold); color: var(--navy); border-radius: 10px; padding: 9px 12px; font: italic 900 14px/1 var(--heading); text-transform: uppercase; letter-spacing: .05em; }
.tv-now__title { margin: 0; font: italic 900 clamp(26px, 3.4vw, 44px)/.95 var(--heading); text-transform: uppercase; }
.tv-now__sub { color: rgba(255,255,255,.6); font-size: 14px; }

/* ---------- secties ---------- */
.tv-sec { position: relative; padding: 70px 0; }
.tv-sec--alt { background: linear-gradient(180deg, #081624, var(--tv-bg)); }
.tv-sec--alt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(250,185,33,.5), transparent); }
.tv-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.tv-eyebrow { display: inline-block; font: 800 13px/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.tv-h { margin: 0; font: italic 900 clamp(36px, 5vw, 62px)/.92 var(--heading); text-transform: uppercase; }
.tv-h em { font-style: italic; color: var(--red); }

.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-chip { all: unset; cursor: pointer; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--tv-line); background: rgba(255,255,255,.04); font: italic 800 14px/1 var(--heading); letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); transition: background .2s, color .2s, border-color .2s; }
.tv-chip:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.tv-chip.is-on { background: #fff; color: var(--navy); border-color: #fff; }
.tv-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.tv-tag { display: inline-block; align-self: flex-start; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 5px 10px; font: italic 900 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .05em; }
.tv-tag--on { position: absolute; left: 12px; top: 12px; z-index: 1; }
.tv-live { position: absolute; right: 12px; top: 12px; z-index: 1; background: var(--red); color: #fff; border-radius: 999px; padding: 5px 10px; font: italic 900 12px/1 var(--heading); text-transform: uppercase; animation: tvBlink 1.4s ease-in-out infinite; }
@keyframes tvBlink { 50% { opacity: .55; } }

/* ---------- kaarten ---------- */
.tv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tv-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--tv-card); border: 1px solid var(--tv-line); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.tv-card[hidden] { display: none; }
.tv-card:hover { transform: translateY(-6px); border-color: rgba(226,12,32,.55); box-shadow: 0 30px 60px -30px rgba(226,12,32,.55); }
.tv-card--wide { grid-column: span 2; grid-row: span 2; }
.tv-card__btn { all: unset; cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.tv-card__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 20px; }
.tv-card__btn.is-on .tv-card__img::after { content: "Speelt nu"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,13,22,.7); font: italic 900 20px/1 var(--heading); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.tv-card__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.tv-card:hover .tv-card__img img { transform: scale(1.07); filter: saturate(1.2) brightness(1.05); }
.tv-card__img::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,13,22,.85)); pointer-events: none; }
.tv-card__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(226,12,32,.92); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s cubic-bezier(.2,.7,.2,1.4); box-shadow: 0 10px 30px -6px rgba(226,12,32,.9); }
.tv-card__play::after { content: ""; position: absolute; left: 21px; top: 17px; border: 10px solid transparent; border-left: 15px solid #fff; border-right: 0; }
.tv-card:hover .tv-card__play, .tv-card__btn:focus-visible .tv-card__play { opacity: 1; transform: scale(1); }
.tv-card--wide .tv-card__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; opacity: 1; transform: none; }
.tv-card--wide .tv-card__play::after { left: 33px; top: 26px; border-width: 16px 0 16px 24px; }
.tv-card__meta { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.tv-card__meta b { font: italic 900 20px/1.02 var(--heading); text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-card__meta small { color: rgba(255,255,255,.55); font-size: 13px; margin-top: auto; }
.tv-card--wide .tv-card__meta b { font-size: clamp(26px, 2.6vw, 38px); }
.tv-card--wide .tv-card__img { flex: 1; aspect-ratio: auto; min-height: 260px; }

.tv-grid--games .tv-card__meta { gap: 3px; }
.tv-score { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tv-score b { font-size: 17px !important; -webkit-line-clamp: 1 !important; }
.tv-score em { font: italic 900 22px/1 var(--heading); color: var(--gold); }
.tv-grid--games .tv-card__meta small { margin-top: 6px; }
.tv-card__link { display: block; padding: 0 18px 16px; color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; }
.tv-card__link:hover { color: var(--gold); }
.tv-more { text-align: center; margin: 30px 0 0; }

/* ---------- live en binnenkort ---------- */
.tv-soon { padding-top: 10px; }
.tv-soon__list { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tv-soon__card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, #10263b, var(--tv-card)); border: 1px solid var(--tv-line); }
.tv-soon__card.is-live { border-color: var(--red); background: linear-gradient(160deg, rgba(226,12,32,.35), var(--tv-card) 70%); box-shadow: 0 0 50px -18px rgba(226,12,32,.8); }
.tv-soon__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tv-soon__when { font: italic 800 15px/1 var(--heading); text-transform: uppercase; color: rgba(255,255,255,.8); }
.tv-soon__card.is-live .tv-soon__when { color: #ff5a69; animation: tvBlink 1.4s ease-in-out infinite; }
.tv-soon__teams { font: italic 900 24px/1 var(--heading); text-transform: uppercase; }
.tv-soon__teams i { font-style: italic; font-size: 15px; color: var(--gold); padding: 0 3px; }
.tv-soon__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.tv-soon__via { font-size: 13px; color: rgba(255,255,255,.55); }
.tv-soon__btn { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--navy); font: italic 900 14px/1 var(--heading); text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s; }
.tv-soon__btn:hover, .tv-soon__card.is-live .tv-soon__btn { background: var(--red); color: #fff; }
.tv-soon__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- volgen ---------- */
.tv-follow { padding: 70px 0 90px; background: radial-gradient(ellipse at 20% 100%, rgba(226,12,32,.25), transparent 55%), radial-gradient(ellipse at 90% 0%, rgba(29,95,184,.25), transparent 55%); }
.tv-follow__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.tv-follow__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tv-follow__btn { display: flex; flex-direction: column; gap: 3px; min-width: 150px; padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--tv-line); color: #fff; text-decoration: none; transition: transform .25s, background .25s, border-color .25s; }
.tv-follow__btn b { font: italic 900 22px/1 var(--heading); text-transform: uppercase; }
.tv-follow__btn span { font-size: 13px; color: rgba(255,255,255,.6); }
.tv-follow__btn:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: var(--gold); }

@media (max-width: 1100px) { .tv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .tv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tv-card--wide { grid-row: auto; }
  .tv-card--wide .tv-card__img { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}
@media (max-width: 560px) {
  .tv-hero { padding: 36px 0 44px; }
  .tv-screen { border-radius: 16px; margin: 0 -4px; }
  .tv-bigplay { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .tv-bigplay svg { width: 32px; height: 32px; }
  .tv-now { grid-template-columns: 1fr; }
  .tv-now__label { grid-row: auto; justify-self: start; }
  .tv-sec { padding: 50px 0; }
  .tv-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .tv-chip { flex: none; }
  .tv-card__meta { padding: 12px; gap: 6px; }
  .tv-card__meta b { font-size: 16px; }
  .tv-score b { font-size: 14px !important; }
  .tv-score em { font-size: 17px; }
  .tv-card__link { padding: 0 12px 12px; font-size: 12px; }
  .tv-tag { font-size: 11px; padding: 4px 8px; }
  .tv-tag--on { left: 8px; top: 8px; }
  .tv-card__play { opacity: 1; transform: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .tv-card__play::after { left: 15px; top: 12px; border-width: 8px 0 8px 12px; }
  .tv-soon__list { grid-auto-columns: 82%; }
  .tv-follow__btn { min-width: 0; flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) { .tv-onair i, .tv-bigplay::before, .tv-live, .tv-soon__card.is-live .tv-soon__when { animation: none; } .tv-card, .tv-card__img img, .tv-poster img { transition: none; } }

/* ---------- verdeling bovenaan ---------- */
.tv-cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 26px; }
.tv-cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--tv-line); color: #fff; text-decoration: none; backdrop-filter: blur(8px); transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s; }
.tv-cat::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); transform: scaleX(.25); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.tv-cat { container-type: inline-size; }
.tv-cat b { font: italic 900 min(26px, 12.5cqi)/.95 var(--heading); text-transform: uppercase; white-space: nowrap; }
.tv-cat span { font-size: 12px; color: rgba(255,255,255,.6); }
.tv-cat:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(250,185,33,.6); }
.tv-cat:hover::after { transform: scaleX(1); }
.tv-cat:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tv-cat--teams::after { background: #4f9cff; }
.tv-cat--live::after { background: var(--red); }
.tv-cat--live.is-live { border-color: var(--red); background: rgba(226,12,32,.18); }
.tv-cat--live.is-live b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin: 0 8px 3px 0; animation: tvRec 1.6s ease-out infinite; }
@media (max-width: 820px) {
  .tv-cats { grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }
  .tv-cat { scroll-snap-align: start; padding: 14px; }
}
html { scroll-behavior: smooth; }
#eredivisie, #terugkijken, #live { scroll-margin-top: 80px; }

/* ---------- alle doelpunten ---------- */
.tv-cat--goals::after { background: #2ecc71; }
.tv-grid--goals .tv-card__img::before { background: linear-gradient(180deg, rgba(5,13,22,.15), rgba(5,13,22,.82)); }
.tv-bigscore { position: absolute; z-index: 1; left: 14px; bottom: 8px; font: italic 900 clamp(38px, 4vw, 56px)/1 var(--heading); letter-spacing: -.01em; text-shadow: 0 6px 20px rgba(0,0,0,.6); }
.tv-bigscore i { font-style: normal; color: var(--gold); padding: 0 4px; }
.tv-res { position: absolute; z-index: 1; right: 12px; top: 12px; border-radius: 999px; padding: 5px 10px; font: italic 900 12px/1 var(--heading); text-transform: uppercase; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }
.tv-res--winst { background: #1f9d55; }
.tv-res--verlies { background: rgba(226,12,32,.85); }
.tv-goals { margin-top: 18px; }
.tv-goals__h { display: block; font: 800 12px/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.tv-goals__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.tv-goal { all: unset; cursor: pointer; flex: none; scroll-snap-align: start; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--tv-line); transition: background .2s, border-color .2s, transform .2s; }
.tv-goal em { grid-row: span 2; font: italic 900 22px/1 var(--heading); color: var(--gold); }
.tv-goal b { font: italic 800 15px/1.05 var(--heading); text-transform: uppercase; white-space: nowrap; }
.tv-goal small { font-size: 12px; color: rgba(255,255,255,.55); }
.tv-goal:hover { transform: translateY(-2px); border-color: rgba(250,185,33,.6); }
.tv-goal.is-on { background: rgba(250,185,33,.15); border-color: var(--gold); }
.tv-goal:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#doelpunten { scroll-margin-top: 80px; }

/* ---------- pijltjes bij rijen die opzij scrollen ---------- */
.tv-arrows { display: flex; gap: 8px; }
.tv-goals__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.tv-goals__top .tv-goals__h { margin: 0; }
.tv-goals .arrow-btn { width: 38px; height: 38px; font-size: 16px; }
.tv-goals__list, .tv-soon__list { scrollbar-width: none; }
.tv-goals__list::-webkit-scrollbar, .tv-soon__list::-webkit-scrollbar { display: none; }

/* ---------- speler + doelpunten naast elkaar ---------- */
.tv-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.tv-stage.has-goals { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.tv-stage.has-goals .tv-goals { margin-top: 0; display: flex; flex-direction: column; min-height: 0; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--tv-line); }
.tv-stage.has-goals .tv-arrows .arrow-btn { transform: rotate(90deg); }
.tv-stage.has-goals .tv-goals__list { flex: 1; min-height: 0; flex-direction: column; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; padding: 0; scroll-snap-type: y proximity; }
.tv-stage.has-goals .tv-goals__list::-webkit-scrollbar { display: none; }
.tv-stage.has-goals .tv-goal { grid-template-columns: 54px 1fr; }
.tv-stage.has-goals .tv-goal b { white-space: normal; }
@media (max-width: 900px) {
  .tv-stage.has-goals { grid-template-columns: minmax(0, 1fr); }
  .tv-stage.has-goals .tv-goals { padding: 0; background: none; border: 0; }
  .tv-stage.has-goals .tv-arrows .arrow-btn { transform: none; }
  .tv-stage.has-goals .tv-goals__list { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .tv-stage.has-goals .tv-goal b { white-space: nowrap; }
}

/* ---------- bioscoop: gordijnen, lampjes, popcorn en lichten uit ---------- */
.tv-curtain { position: absolute; top: 0; bottom: 0; width: 52%; z-index: 30; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 80%, rgba(0,0,0,.5)), repeating-linear-gradient(90deg, #6d0712 0 18px, #a50f1f 30px, #c4142a 38px, #8a0a18 52px, #6d0712 64px);
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.5); display: none; transition: transform 4.2s cubic-bezier(.55,0,.25,1); }
.tv-curtain--l { left: 0; border-right: 6px solid #fab921; }
.tv-curtain--r { right: 0; border-left: 6px solid #fab921; }
.tv-hero.has-curtain .tv-curtain { display: block; }
.tv-hero.is-open .tv-curtain--l { transform: translateX(-104%) skewX(-4deg); }
.tv-hero.is-open .tv-curtain--r { transform: translateX(104%) skewX(4deg); }
.tv-doek { display: none; }
.tv-hero.has-curtain .tv-doek { all: unset; box-sizing: border-box; position: absolute; z-index: 40; left: 50%; top: min(38vh, 40%); transform: translate(-50%, -50%) rotate(-3deg); display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 22px 46px; border-radius: 14px; background: radial-gradient(circle at 0 50%, transparent 14px, #fab921 15px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 14px, #fab921 15px) right / 51% 100% no-repeat; color: #0e324f; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); transition: transform .25s cubic-bezier(.2,.7,.2,1.5), opacity .5s; animation: tvTicket 2.4s ease-in-out infinite; }
.tv-doek b { font: italic 900 clamp(40px, 6vw, 64px)/.9 var(--heading); text-transform: uppercase; }
.tv-doek__small { font: italic 800 14px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; }
.tv-hero.has-curtain .tv-doek:hover { transform: translate(-50%, -50%) rotate(0) scale(1.06); }
.tv-hero.has-curtain .tv-doek:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tv-hero.is-open .tv-doek { opacity: 0; pointer-events: none; }
@keyframes tvTicket { 50% { box-shadow: 0 24px 50px -16px rgba(0,0,0,.7), 0 0 0 10px rgba(250,185,33,.18); } }


.tv-pop { all: unset; position: fixed; left: 18px; bottom: 18px; z-index: 950; width: 118px; height: 134px; cursor: pointer; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); transition: transform .25s cubic-bezier(.2,.7,.2,1.6); }
.tv-pop svg { width: 100%; height: 100%; overflow: visible; }
.tv-pop:hover { transform: translateY(-4px) rotate(-6deg); }
.tv-pop:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 12px; }
.tv-pop__corn circle { fill: #fff7dc; stroke: #f0c75e; stroke-width: 1.5; }
.tv-pop:hover .tv-pop__corn { animation: tvCorn .5s ease-in-out infinite alternate; }
@keyframes tvCorn { to { transform: translateY(-3px); } }
.tv-pop__cup { fill: #fff; }
.tv-pop__stripe { fill: #e20c20; }
.tv-pop__badge { fill: #fff; stroke: #0e324f; stroke-width: 1.5; }
.tv-pop__tip { position: absolute; left: 102px; bottom: 34px; white-space: nowrap; background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font: italic 900 13px/1 var(--heading); text-transform: uppercase; letter-spacing: .04em; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.tv-pop:hover .tv-pop__tip, .tv-pop:focus-visible .tv-pop__tip { opacity: 1; transform: none; }
.tv-pop[aria-pressed="true"] .tv-pop__corn circle { fill: #ffe08a; }

.tv-kernel { position: fixed; z-index: 960; width: 14px; height: 12px; margin: -6px 0 0 -7px; pointer-events: none; border-radius: 50% 45% 55% 50%; background: radial-gradient(circle at 35% 35%, #fff, #fff3c4 55%, #e9b94a); box-shadow: 4px -3px 0 -1px #fff8e0, -3px 3px 0 -2px #fff3c4;
  animation: tvKernel 1.4s cubic-bezier(.2,.8,.4,1) forwards; }
@keyframes tvKernel {
  0% { transform: translate(0, 0) rotate(0) scale(.4); opacity: 1; }
  45% { transform: translate(calc(var(--x) * .6), var(--y)) rotate(calc(var(--r) * .5)) scale(1); }
  100% { transform: translate(var(--x), calc(var(--y) * -0.2 + 160px)) rotate(var(--r)) scale(.9); opacity: 0; }
}

/* lichten uit: alles donker behalve de speler */
body.tv-cinema::after { content: ""; position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.88); animation: tvDim .6s ease forwards; }
@keyframes tvDim { from { opacity: 0; } }
body.tv-cinema .tv-hero { isolation: auto; }
body.tv-cinema .tv-stage, body.tv-cinema .tv-now { position: relative; z-index: 910; }
body.tv-cinema .tv-screen { box-shadow: 0 0 140px -10px rgba(250,185,33,.35), 0 0 0 1px rgba(255,255,255,.12); }

@media (max-width: 560px) {
  .tv-pop { width: 74px; height: 84px; left: 10px; bottom: 10px; }
  .tv-pop__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tv-curtain { display: none; } .tv-pop:hover .tv-pop__corn { animation: none; } }

/* ---------- ambilight: gloed in de kleuren van de video ---------- */
.tv-screenwrap { position: relative; isolation: isolate; }
.tv-ambi { position: absolute; inset: 4% 2%; z-index: -1; border-radius: 40px; background: center / cover no-repeat; filter: blur(46px) saturate(2.2) brightness(1.15); opacity: .75; transform: scale(1.08); transition: background-image .8s, opacity .6s; animation: tvAmbi 7s ease-in-out infinite alternate; pointer-events: none; }
@keyframes tvAmbi { to { transform: scale(1.14); opacity: .9; } }
body.tv-cinema .tv-ambi { opacity: 1; filter: blur(60px) saturate(2.6) brightness(1.3); }

/* ---------- bioscoopstoelen voor het scherm ---------- */
.tv-seats { position: relative; height: 196px; margin: -8px -10px 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 64'%3E%3Crect x='8' y='8' width='56' height='60' rx='16' fill='%235a0612'/%3E%3Crect x='16' y='13' width='40' height='6' rx='3' fill='%23a50f1f' opacity='.5'/%3E%3C/svg%3E") 36px 22px / 58px 48px repeat-x; }
/* voorste rij staat vóór het publiek: alleen de helmen steken erboven uit */
.tv-seats::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23c4142a'/%3E%3Cstop offset='1' stop-color='%23580510'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='6' y='6' width='60' height='64' rx='18' fill='url(%23g)'/%3E%3Crect x='14' y='12' width='44' height='8' rx='4' fill='%23ff5a69' opacity='.35'/%3E%3Cpath d='M20 22v40M36 22v40M52 22v40' stroke='%2341040c' stroke-width='1.5' opacity='.6'/%3E%3C/svg%3E") 0 100% / 72px 60px repeat-x; }
.tv-seats::after { content: ""; position: absolute; inset: auto 0 0; height: 26px; z-index: 3; background: linear-gradient(180deg, transparent, var(--tv-bg)); }
.tv-crowd { position: absolute; left: max(0px, calc(50% - 450px - 80px)); bottom: 0; width: min(calc(100% - 150px), 900px); height: 200px; z-index: 1; overflow: visible; }
.tv-fan { transform-box: fill-box; transform-origin: 50% 100%; }

.tv-crowd.is-cheer .tv-fan { animation: tvCheer .3s ease-in-out 5 alternate; }
.tv-crowd.is-cheer .tv-fan:nth-of-type(2n) { animation-delay: .12s; }
.tv-crowd.is-cheer .tv-arm { animation: tvArmUp .3s ease-in-out 5 alternate; }
@keyframes tvCheer { to { transform: translateY(-14px); } }
@keyframes tvArmUp { to { transform: translateY(-8px); } }
body.tv-cinema .tv-seats { z-index: 910; }
body.tv-cinema .tv-crowd { filter: brightness(.7); }
@media (max-width: 560px) {
  .tv-seats { height: 86px; background-size: 38px 32px; background-position: 19px 12px; }
  .tv-seats::before { height: 22px; background-size: 30px 26px; }
  .tv-crowd { height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .tv-crowd.is-cheer .tv-fan, .tv-crowd.is-cheer .tv-arm { animation: none; } }

/* ---------- drinken bij de popcorn ---------- */
.tv-pop__drink { position: absolute; left: 92px; bottom: 0; width: 62px; height: 108px; z-index: -1; transform: rotate(6deg); transform-origin: bottom center; transition: transform .25s; }
.tv-pop:hover .tv-pop__drink { transform: rotate(10deg) translateY(-2px); }
.tv-pop__cupd { fill: #fff; }
.tv-pop__wave { fill: #e20c20; }
.tv-pop__lid { fill: #0e324f; }
.tv-pop__straw { fill: #fab921; }
.tv-pop__fizz circle { fill: #fff; opacity: 0; }
.tv-pop[aria-pressed="true"] .tv-pop__fizz circle { opacity: .9; fill: #ffe08a; animation: tvFizz 1.6s ease-in infinite; }
.tv-pop[aria-pressed="true"] .tv-pop__fizz circle:nth-child(2) { animation-delay: .5s; }
.tv-pop[aria-pressed="true"] .tv-pop__fizz circle:nth-child(3) { animation-delay: 1s; }
@keyframes tvFizz { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-22px); opacity: 0; } }
.tv-pop__tip { left: 166px; bottom: 44px; }
@media (max-width: 560px) { .tv-pop__drink { left: 58px; width: 40px; height: 70px; } }
@media (prefers-reduced-motion: reduce) { .tv-ambi { animation: none; } }

/* ambilight per zone: gloed rondom het scherm in plaats van een vage foto */
.tv-ambi.is-zones { inset: -9% -6%; border-radius: 60px; background-size: 100% 100%; filter: blur(34px) saturate(1.4); opacity: .85; transform: none; animation: tvAmbiZ 6s ease-in-out infinite alternate; }
@keyframes tvAmbiZ { from { opacity: .7; } to { opacity: .95; } }
body.tv-cinema .tv-ambi.is-zones { opacity: 1; filter: blur(40px) saturate(1.7) brightness(1.15); }

/* fans die de gordijnen openduwen */
.tv-curtain__fan { position: absolute; top: min(calc(100vh - 340px), calc(100% - 290px)); width: 130px; height: 270px; overflow: visible; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.tv-curtain--l .tv-curtain__fan { right: -46px; }
.tv-curtain--r .tv-curtain__fan { left: -46px; transform: scaleX(-1); }
.tv-hero.is-open .tv-curtain--l .tv-curtain__fan { animation: tvWalk .3s ease-in-out 14 alternate; }
.tv-hero.is-open .tv-curtain--r .tv-curtain__fan { animation: tvWalkR .3s ease-in-out 14 alternate; }
@keyframes tvWalk { to { transform: translateY(-8px) rotate(-3deg); } }
@keyframes tvWalkR { from { transform: scaleX(-1); } to { transform: scaleX(-1) translateY(-8px) rotate(-3deg); } }
@media (max-width: 560px) { .tv-curtain__fan { width: 80px; height: 113px; } .tv-curtain--l .tv-curtain__fan { right: -30px; } .tv-curtain--r .tv-curtain__fan { left: -30px; } }

/* ---------- oude filmprojector met lichtbundel ---------- */
.tv-proj { position: absolute; z-index: 4; right: -24px; bottom: 2px; width: 170px; height: 130px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.6)); pointer-events: none; }
.tv-proj__reel { animation: tvReel 2.8s linear infinite; }
.tv-proj__reel + .tv-proj__reel { animation-duration: 2.2s; }
@keyframes tvReel { to { transform: rotate(360deg); } }
.tv-proj__lens { filter: drop-shadow(0 0 8px #fff6d8); animation: tvFlicker .18s steps(2) infinite; }
.tv-beam { position: absolute; left: 0; top: 0; z-index: 19; pointer-events: none; mix-blend-mode: screen; animation: tvFlicker .2s steps(2) infinite; overflow: visible; }
@keyframes tvFlicker { 50% { opacity: .86; } }
.tv-dust { position: absolute; inset: 0; z-index: 19; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 20%, #fff, transparent), radial-gradient(1.2px 1.2px at 80% 60%, #fff, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent), radial-gradient(1.4px 1.4px at 70% 40%, #fff, transparent);
  background-size: 260px 220px; animation: tvDust 18s linear infinite; }
@keyframes tvDust { to { background-position: -260px 220px; } }
body.tv-cinema .tv-beam, body.tv-cinema .tv-dust, body.tv-cinema .tv-proj { z-index: 905; }
@media (max-width: 820px) { .tv-proj { width: 96px; height: 74px; right: -6px; } }
@media (prefers-reduced-motion: reduce) { .tv-proj__reel, .tv-proj__lens, .tv-beam, .tv-dust { animation: none; } }

/* speler iets kleiner: zonder doelpunten gecentreerd, met doelpunten wat smaller */
.tv-stage:not(.has-goals) .tv-screenwrap { max-width: 920px; width: 100%; margin: 0 auto; }
.tv-stage.has-goals { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.tv-stage:not(.has-goals) ~ .tv-now { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .tv-stage.has-goals { grid-template-columns: minmax(0, 1fr); } }

/* label bij de popcorn: altijd zichtbaar, met pijltje */
.tv-pop__tip { opacity: 1 !important; transform: none !important; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); animation: tvTipNudge 2.6s ease-in-out infinite; }
.tv-pop__tip i { font-style: normal; color: var(--red); display: inline-block; margin-right: 2px; }
@keyframes tvTipNudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: -6px 0; } 90% { translate: 0 0; } }
.tv-pop[aria-pressed="true"] .tv-pop__tip { background: var(--gold); }
@media (max-width: 560px) { .tv-pop__tip { display: block !important; left: 104px; bottom: 26px; font-size: 11px; padding: 5px 9px; } }
@media (prefers-reduced-motion: reduce) { .tv-pop__tip { animation: none; } }

@media (max-width: 820px) { .tv-crowd { width: calc(100% - 90px); left: 0; } }

/* tijdens het kijken gaan de armen (en sticks) omlaag; bij juichen even omhoog */
.tv-arm, .tv-stickw { transition: transform .6s cubic-bezier(.3,.7,.3,1); }
.tv-crowd.is-watching .tv-arm, .tv-crowd.is-watching .tv-stickw { transform: translateY(110px); }
.tv-crowd.is-watching.is-cheer .tv-arm, .tv-crowd.is-watching.is-cheer .tv-stickw { transform: none; transition-duration: .25s; }
