/* Kids Mowe — tek, koyu tema: video izleme odaklı, sıcak vurgu */
:root {
  --ink: #14112A;
  --panel: #1E1A3A;
  --panel-2: #262150;
  --line: #332D5E;
  --text: #F4F1FF;
  --muted: #ABA5CC;
  --sun: #FFB547;
  --sun-ink: #2A1B00;
  --live: #FF4D5E;
  --ok: #3DDC97;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font: 15px/1.55 var(--body);
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding-inline: 16px; }

/* ── Üst bar ─────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 16px/1 var(--display); letter-spacing: -0.2px; color: var(--text); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--sun); display: grid; place-items: center; }
.brand-mark svg { width: 16px; height: 16px; fill: var(--sun-ink); }

.pill { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--body); letter-spacing: 1px; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.live { background: rgba(255, 77, 94, .16); color: var(--live); }
.pill.live .dot { animation: pulse 1.6s ease-in-out infinite; }
.pill.wait { background: rgba(255, 181, 71, .14); color: var(--sun); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

/* ── Oynatıcı ────────────────────────────── */
.venue { padding-block: 4px 14px; }
.venue-logo { display: block; height: 64px; width: auto; max-width: 80%; object-fit: contain; margin-bottom: 14px; }
.eyebrow { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.venue h1 { font: 700 26px/1.2 var(--display); letter-spacing: -0.4px; text-wrap: balance; margin-top: 2px; }

.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.stage video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: radial-gradient(ellipse at center, rgba(30, 26, 58, .92), rgba(20, 17, 42, .97)); }
.overlay p { max-width: 280px; color: var(--muted); font-size: 15px; }
.overlay .big { font: 600 17px/1.35 var(--display); color: var(--text); }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--sun); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cam-off { width: 46px; height: 46px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); color: var(--sun-ink); background: var(--sun); border: 0; border-radius: 12px; padding: 13px 20px; cursor: pointer; }
.btn:active { transform: translateY(1px); }

.fs { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(20, 17, 42, .7); display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fs svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

.facts { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.facts svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.notice { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; margin-bottom: 20px; }
.notice summary { cursor: pointer; list-style: none; padding-block: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary::after { content: "+"; font: 400 20px/1 var(--body); color: var(--muted); }
.notice[open] summary::after { content: "–"; }
.notice .body { padding-bottom: 14px; font-size: 13.5px; color: var(--muted); display: grid; gap: 8px; }
.notice .body strong { color: var(--text); font-weight: 600; }

.foot { padding-block: 8px 28px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Telefon yan çevrilince: sadece video */
@media (orientation: landscape) and (max-height: 520px) {
  .topbar, .venue, .facts, .notice, .foot { display: none; }
  .wrap { max-width: none; padding-inline: 0; }
  .stage { height: 100dvh; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
}

/* ── Karşılama sayfası ───────────────────── */
.hero { padding-block: 28px 8px; display: grid; gap: 14px; }
.hero h1 { font: 700 34px/1.12 var(--display); letter-spacing: -0.8px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p { color: var(--muted); font-size: 16px; max-width: 34em; }

.scan { margin-block: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.qr { width: 92px; height: 92px; border-radius: 14px; background: var(--text); padding: 10px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.qr i { background: var(--ink); border-radius: 2px; }
.qr i.o { background: transparent; }
.scan h2 { font: 700 18px/1.3 var(--display); margin-bottom: 4px; }
.scan p { color: var(--muted); font-size: 14px; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 10px; margin-bottom: 24px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 11px; background: var(--panel-2); color: var(--sun); font: 700 15px/34px var(--display); text-align: center; }
.steps strong { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 3s; }
  .pill.live .dot { animation: none; }
}
