:root {
  --bg: #06080f;
  --ink: #f3f6ff;
  --muted: #9fb0d6;
  --glow: rgba(56, 120, 255, 0.35);
}

* { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(40, 90, 220, 0.22), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 32px);
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

header { text-align: center; }

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 0 28px rgba(80, 140, 255, 0.55);
}

.credit {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 18px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.screen {
  width: min(1120px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(120, 160, 255, 0.18), 0 18px 60px var(--glow);
}

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

.fallback { margin: 0; color: var(--muted); text-align: center; max-width: 520px; }

@media (max-width: 600px) {
  .screen { border-radius: 10px; }
}
