:root {
  color-scheme: dark;
  --bg: #07111c;
  --ink: #f4fbff;
  --muted: #8ea6b8;
  --orange: #ff8a1e;
  --cyan: #3ee0ff;
  --line: rgba(62, 224, 255, 0.28);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(62, 224, 255, 0.16), transparent 58%),
    radial-gradient(680px 420px at 0% 12%, rgba(255, 138, 30, 0.12), transparent 52%),
    var(--bg);
  color: var(--ink);
  font-family: Barlow, "Avenir Next", sans-serif;
}

img, video { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, .brand strong {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.gate {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
}

.gate-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: blur(10px) saturate(1.15);
  transform: scale(1.08);
}

.gate-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.35), rgba(7, 17, 28, 0.78)),
    radial-gradient(circle at 50% 40%, transparent, rgba(7, 17, 28, 0.55));
}

.gate-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: min(420px, 92vw);
  padding: 16px 16px 18px;
  text-align: center;
  background: rgba(7, 17, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.gate-card .mark {
  width: 148px;
  height: 148px;
  margin-bottom: 2px;
  border-radius: 22px;
}

.gate-card h2 {
  margin: 0;
  font-size: 92px;
  line-height: 0.8;
}

.gate-card .lede { margin: 0 0 10px; }

#enter, .ca {
  background: var(--ink);
  color: #071018;
  padding: 13px 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
}

#enter { min-width: 220px; }

.ca.is-on { background: var(--cyan); }

.app { display: block; }
html.stage-open { overflow: hidden; }

.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(7, 17, 28, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 20%;
  background: #07111c;
  box-shadow: 0 0 0 1px rgba(255, 138, 30, 0.7);
}

.brand strong {
  display: block;
  font-size: 30px;
  line-height: 0.85;
}

.brand span,
.lede,
.note,
.reel-label,
footer,
.now,
.strip span,
.stage-nav button {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span {
  font-size: 11px;
  color: var(--muted);
}

.bar .ca { margin-left: auto; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  margin: 0;
  padding: 12px 12px 8px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

.hero-copy {
  position: relative;
  z-index: 1;
  order: -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: end;
  width: auto;
  padding: 0 0 8px;
  background: transparent;
  border: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(84px, 10vw, 132px);
  line-height: 0.8;
}

.spark {
  display: block;
  width: min(280px, 70%);
  height: 32px;
  margin: 2px 0 0;
  overflow: visible;
}

.spark polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(62, 224, 255, 0.8));
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.4s ease forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.note {
  margin: 2px 0 8px;
  color: var(--orange);
  font-size: 11px;
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

.monitor {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.poster {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;
  justify-self: start;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  background: transparent;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 4px 12px;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ticker span:nth-child(odd) { color: var(--orange); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.banner-live {
  overflow: hidden;
  background: #04122a;
}

.banner-live img,
.banner-live video {
  width: 100%;
  height: auto;
  aspect-ratio: 1760 / 576;
  object-fit: cover;
  object-position: center;
  transform-origin: 78% 50%;
}

.banner-live img {
  animation: banner-push 7.5s ease-in-out infinite alternate;
}

@keyframes banner-push {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.cinema {
  display: grid;
  gap: 4px;
  padding: 4px 0 0;
}

.cinema figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.cinema video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 68%;
  background: #041018;
  transform-origin: 50% 68%;
  transition: transform 1.15s ease;
}

.cinema figcaption,
.wall figcaption {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  margin: 0;
  padding: 2px 6px;
  width: max-content;
  max-width: calc(100% - 12px);
  background: rgba(7, 17, 28, 0.72);
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 4px;
  padding: 4px 0 0;
}

.wall figure { position: relative; margin: 0; overflow: hidden; cursor: pointer; }

.wall video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #041018;
  transform-origin: 50% 68%;
  transition: transform 1.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cinema figure:hover video,
  .wall figure:hover video { transform: scale(1.18); }
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #000;
}

.stage[hidden] { display: none; }

.stage-vid {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 68%;
  background: #000;
}

.stage-x,
.stage-prev,
.stage-next {
  position: absolute;
  z-index: 2;
  background: rgba(7, 17, 28, 0.72);
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
}

.stage-x { top: 12px; right: 12px; }
.stage-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.stage-next { right: 12px; top: 50%; transform: translateY(-50%); }

.stage-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  padding: 4px 8px;
  background: rgba(7, 17, 28, 0.72);
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 13px;
}

footer {
  margin: 0;
  padding: 8px 12px 14px;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .bar { padding: 10px 12px; }
  .brand span { display: none; }
  .bar .ca, #enter { padding: 10px 12px; letter-spacing: 0.08em; }
  .gate-card h2 { font-size: 76px; }
  .hero {
    display: block;
    padding: 0;
  }
  .poster {
    width: 100%;
    max-height: none;
  }
  .hero-copy { padding: 8px 12px 10px; }
  .hero h1 { font-size: 72px; }
  .wall { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .cinema {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cinema::-webkit-scrollbar { display: none; }
  .cinema figure {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spark polyline, .ticker-track, .banner-live img, .banner-live video { animation: none; }
  .spark polyline { stroke-dashoffset: 0; }
  .wall video, .cinema video { transition: none; }
  .wall figure:hover video, .cinema figure:hover video { transform: none; }
}
