:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --fg: #f4f4f5;
  --muted: #9b9ba3;
  --accent: #e11d48;
  --surface: #17171b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

header { text-align: center; }

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage {
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  position: relative;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.badge[hidden], .overlay[hidden], video[hidden] { display: none; }

.error { color: #fca5a5; max-width: 40ch; }

footer { color: var(--muted); font-size: 0.85rem; }
