* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  font: 500 18px/1.4 system-ui, sans-serif;
  color: #f5faff;
  background: #010609;
  background-image: linear-gradient(135deg, #ffcf29, #010609 45%, #0ed6f0);
}
#colormix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
main {
  --padding: clamp(16px, 4vw, 64px);
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  height: 100svh;
  padding: var(--padding);
}
#stage {
  position: relative;
  width: min(100%, 960px, calc((100svh - 2 * var(--padding)) * 16 / 9));
  aspect-ratio: 16 / 9;
}
iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
#video-shell { width: 100%; height: 100%; }
#stage:not([data-state="revealed"]) #video-shell { visibility: hidden; }
#gate { position: absolute; inset: 0; display: grid; place-items: center; }
[hidden] { display: none !important; }
#loading, #continue, #fallback, .noscript {
  margin: 0;
  padding: 16px 24px;
  background: rgba(1, 6, 9, .91);
  border: 1px solid rgba(14, 214, 240, .6);
  border-radius: 12px;
  box-shadow: 0 8px 32px #01060955;
  text-align: center;
}
#loading { display: flex; align-items: center; justify-content: center; gap: 14px; }
#continue { color: inherit; font: inherit; cursor: pointer; min-height: 52px; }
#continue:hover { background: #13252b; border-color: #ffcf29; }
#continue:focus-visible, a:focus-visible { outline: 3px solid #ffcf29; outline-offset: 5px; }
.spinner { flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid #0ed6f044; border-top-color: #0ed6f0; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#fallback { position: absolute; top: calc(100% + 12px); left: 0; right: 0; padding: 10px; font-size: 14px; }
a { color: #0ed6f0; }
.noscript { position: absolute; inset: 0; display: grid; place-items: center; }
body:has(noscript a) #gate { display: none; }
@media (max-width: 480px) { #loading, #continue { font-size: 16px; padding: 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
