/* dibbi mijlpaal-video sandbox - speler-styling.
   Merkkleuren: oranje #FF6B35, lichtgrijs #F2F2EF, donker #231F20. */

:root {
  --dibbi-orange: #FF6B35;
  --dibbi-orange-dark: #e85a20;
  --dibbi-bg: #F2F2EF;
  --dibbi-dark: #231F20;
  --gray: #525252;
  --line: #e5e5e5;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #14110f;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--dibbi-dark);
}

.frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}

/* 16:9 podium */
.stage {
  position: relative;
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  background: var(--dibbi-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.caption {
  margin: 0;
  color: #8a8a86;
  font-size: 12.5px;
  text-align: center;
}

/* CTA: 1-druk-op-de-knop */
.cta-bar {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
}
.cta-bar[hidden] { display: none; }
.cta-btn {
  font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  color: #fff; background: var(--dibbi-orange); border: 0;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255,107,53,0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}
.cta-btn:hover:not(:disabled) { background: var(--dibbi-orange-dark); transform: translateY(-1px); }
.cta-btn:disabled { opacity: 0.7; cursor: default; }
.cta-done {
  display: flex; align-items: center; gap: 9px;
  color: #e8e8e3; font-size: 14.5px; font-weight: 500;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.4);
  padding: 11px 18px; border-radius: 12px; max-width: 520px; text-align: left;
}
.cta-done[hidden] { display: none; }
.cta-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* A/B stem-schakelaar */
.switcher {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #8a8a86;
}
.switcher-label { color: #6f6f6b; }
.switcher a {
  color: #c9c9c4; text-decoration: none; cursor: pointer;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid #2c2823; background: #1b1815;
  transition: all 0.15s ease;
}
.switcher a:hover { border-color: var(--dibbi-orange); color: #fff; }
.switcher a.active {
  background: var(--dibbi-orange); border-color: var(--dibbi-orange); color: #fff; font-weight: 600;
}

/* ---- Scenes ---- */
.scenes { position: absolute; inset: 0; }

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  padding: 5%;
}
.scene.is-active { opacity: 1; }

/* Intro */
.scene-intro { flex-direction: column; gap: 18px; text-align: center; background:
  radial-gradient(120% 120% at 50% 0%, #ffffff 0%, var(--dibbi-bg) 60%); }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dibbi-logo { width: clamp(110px, 18%, 170px); height: auto; }
.dibbi-logo.small { width: clamp(80px, 12%, 120px); margin-top: 6px; opacity: 0.9; }
.party { font-size: clamp(34px, 7vw, 64px); line-height: 1; }
.scene h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(24px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.accent { color: var(--dibbi-orange); }

/* Browser-chrome */
.scene-browser { background: var(--dibbi-bg); }
.browser {
  width: 86%;
  height: 80%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.985);
}
.scene-browser.is-active .browser { animation: kenburns 6s ease-out forwards; }
@keyframes kenburns { from { transform: scale(0.985); } to { transform: scale(1.015); } }

.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  background: #f1f1ee;
  border-bottom: 1px solid var(--line);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d2; display: block; }
.dots i:nth-child(1){ background:#ff5f57;} .dots i:nth-child(2){ background:#febc2e;} .dots i:nth-child(3){ background:#28c840;}
.urlbar {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 6px 10px; font-size: clamp(10px, 1.5vw, 13px); color: var(--gray);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lock { filter: grayscale(1); opacity: 0.6; font-size: 0.85em; }

.browser-body { flex: 1; overflow: hidden; }

.leesnu-top {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-weight: 700; color: var(--dibbi-dark);
  border-bottom: 1px solid var(--line); font-size: clamp(12px,1.7vw,15px);
}
.badge { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.badge.live { background: #dcfce7; color: #15803d; }

.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--line);
}
.site-logo { font-weight: 800; color: var(--dibbi-orange); font-size: clamp(13px,2vw,17px); letter-spacing: -0.01em; }
.site-nav nav { color: var(--gray); font-size: clamp(10px,1.5vw,13px); }

.article { padding: 16px 22px; }
.article-hero {
  height: 34%; min-height: 78px; border-radius: 9px; margin-bottom: 12px;
  background: linear-gradient(120deg, #ffd9c2 0%, #ffb38a 40%, #ff8f5e 100%);
  position: relative; overflow: hidden;
}
.article-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(255,255,255,0.45), transparent 60%);
}
.article-meta { font-size: clamp(10px,1.4vw,12px); color: #9a9a96; margin-bottom: 6px; }
.article h2 {
  margin: 0 0 12px; font-weight: 700; line-height: 1.22;
  font-size: clamp(13px, 2.1vw, 21px); letter-spacing: -0.01em;
}
.lines { display: flex; flex-direction: column; gap: 7px; }
.lines span { height: 7px; border-radius: 4px; background: #ececea; }
.lines span.short { width: 55%; }

/* CTA */
.scene-cta {
  flex-direction: column; gap: 14px; text-align: center;
  background: radial-gradient(120% 120% at 50% 110%, #fff1e9 0%, var(--dibbi-bg) 55%);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.plug { font-size: clamp(30px, 6vw, 52px); line-height: 1; }
.scene-cta p { margin: 0; max-width: 70%; color: var(--gray); font-size: clamp(12px, 1.9vw, 17px); line-height: 1.45; }

/* Scene-tag (rechtsboven label) */
.scene-tag {
  position: absolute; top: 14px; right: 14px;
  background: rgba(35,31,32,0.82); color: #fff;
  font-size: clamp(10px,1.5vw,13px); font-weight: 600;
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.scene-tag.accent-tag { background: var(--dibbi-orange); }

/* ---- Ondertiteling ---- */
.subtitle {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  max-width: 84%; z-index: 4; pointer-events: none;
  display: flex; justify-content: center;
}
.subtitle span {
  background: rgba(20,17,15,0.82); color: #fff;
  font-size: clamp(13px, 2.1vw, 20px); font-weight: 500; line-height: 1.35;
  padding: 7px 15px; border-radius: 10px; text-align: center;
  text-wrap: balance; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0; transition: opacity 0.18s ease;
}
.subtitle span.show { opacity: 1; }

/* ---- Voortgangsbalk ---- */
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: rgba(35,31,32,0.12); z-index: 5; cursor: pointer;
}
.progress-bar { height: 100%; width: 0%; background: var(--dibbi-orange); transition: width 0.1s linear; }

/* ---- Play-overlay ---- */
.overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; color: #fff;
  background: rgba(20,17,15,0.34); backdrop-filter: blur(2px);
  font-family: inherit;
}
.overlay[hidden] { display: none; }
.overlay-btn {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--dibbi-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(255,107,53,0.5);
  transition: transform 0.15s ease, background 0.15s ease;
  padding-left: 5px;
}
.overlay:hover .overlay-btn { transform: scale(1.06); background: var(--dibbi-orange-dark); }
.overlay-label { font-size: 18px; font-weight: 700; }
.overlay-sub { font-size: 12.5px; opacity: 0.8; margin-top: -4px; }

/* ---- Replay ---- */
.replay {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 9; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(20,17,15,0.82); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 15px; border-radius: 999px;
}
.replay[hidden] { display: none; }
.replay:hover { background: var(--dibbi-orange); }
