/* LIVE G — 2D path camera. Flood of images. Unpredictable motion. */
:root {
  --bg: #050506;
  --ink: #f2efe8;
  --dim: rgba(242, 239, 232, 0.58);
  --red: #e53e3e;
  --red2: #ff3b2f;
  --lime: #c8f542;
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-ui: "Space Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body.game {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); cursor: none;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.game.is-booting { overflow: hidden; height: 100%; }
body.game.touch-mode { cursor: auto; }
img { display: block; max-width: 100%; }
button, a { font: inherit; color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--red2); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--red); padding: .5rem 1rem; }

.boot-loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-content: center; justify-items: center; gap: 1.2rem;
  background: #050506; transition: opacity .7s var(--ease), visibility .7s;
}
.boot-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-logo {
  width: 72px; height: 72px;
  animation: bootPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(229,62,62,.55));
}
@keyframes bootPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.boot-bar { width: min(200px, 50vw); height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.boot-bar span {
  display: block; height: 100%; width: 0%; background: var(--red);
  transition: width .2s linear; box-shadow: 0 0 12px rgba(229,62,62,.8);
}
.boot-label { margin: 0; font-size: .65rem; letter-spacing: .28em; color: var(--dim); text-transform: uppercase; }

.noise, .scanlines, .vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 80;
}
.noise {
  opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scanlines {
  opacity: .1;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.28) 2px 3px);
}
.vignette { background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.6) 100%); }
body.drone-active .vignette { background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.35) 100%); }
body.drone-active .scanlines { opacity: .05; }
body.drone-active .noise { opacity: .04; }

.cursor-blob {
  position: fixed; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--lime); z-index: 95; pointer-events: none;
  transform: translate(-50%, -50%); mix-blend-mode: difference;
  transition: width .25s, height .25s, background .25s;
}
.cursor-blob.hot { width: 44px; height: 44px; background: rgba(200,245,66,.18); }

/* Scroll drives 2D camera */
.scroll-space {
  height: calc((var(--steps, 6) + 1) * 100vh);
  position: relative;
}
.viewport {
  position: sticky; top: 0;
  width: 100vw; height: 100vh; height: 100svh;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
.world {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
}

/* Giant aerial plane across the path — you fly over the concert */
.drone-field {
  position: absolute;
  left: calc(-0.6 * 100vw);
  top: calc(-0.4 * 100vh);
  width: 280vw;
  height: 220vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(var(--drone-x, 0px), var(--drone-y, 0px), 0) scale(var(--drone-zoom, 1.08));
}
.drone-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.35) contrast(1.12) brightness(1.08);
}
.drone-haze {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,6,.08) 0%, transparent 28%, transparent 62%, rgba(5,5,6,.42) 100%);
  mix-blend-mode: normal;
  opacity: .85;
}

.debris {
  position: absolute; inset: -20%;
  pointer-events: none; z-index: 2;
  will-change: transform;
  opacity: .55;
}

.stage {
  position: absolute;
  width: 100vw; height: 100vh; height: 100svh;
  left: calc(var(--gx) * 100vw);
  top: calc(var(--gy) * 100vh);
  overflow: hidden;
  --v: 0;
  background: #070708;
  z-index: 1;
}
.stage--lift { background: #070708; }
.stage--drone {
  background: transparent;
}
/* Keep text readable without killing the aerial background */
.stage--drone::before {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(229,62,62, calc(var(--v) * .1)), transparent 48%),
    linear-gradient(180deg, rgba(5,5,6,.05) 0%, rgba(5,5,6,.12) 45%, rgba(5,5,6,.55) 100%) !important;
}
.stage--drone-fade { background: transparent; }
.stage--drone-fade::before {
  background:
    linear-gradient(180deg, rgba(5,5,6,.15) 0%, rgba(5,5,6,.35) 55%, rgba(5,5,6,.7) 100%) !important;
}
.stage--drone .stage-core {
  text-shadow: 0 2px 24px rgba(0,0,0,.75), 0 0 40px rgba(0,0,0,.45);
}
.drone-hud {
  margin: 0 0 .75rem;
  font-size: .68rem;
  letter-spacing: .28em;
  color: var(--lime);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(200,245,66,.35), 0 2px 16px rgba(0,0,0,.8);
}
.flood.light { opacity: .12; }

/* Flood of images behind content */
.flood {
  position: absolute; inset: -8%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(18vh, 1fr);
  gap: .35rem;
  transform: rotate(-2deg) scale(1.08);
  opacity: .42;
  z-index: 0;
}
.flood.dense {
  grid-template-columns: repeat(8, 1fr);
  opacity: .5; gap: .25rem;
}
.flood-cell {
  appearance: none; padding: 0; margin: 0; cursor: none;
  position: relative; overflow: hidden; background: #111;
  border: 1px solid rgba(255,255,255,.04);
  min-height: 14vh;
}
.flood-cell img {
  width: 100%; height: 100%; object-fit: cover;
  animation: floodDrift 12s ease-in-out infinite alternate;
  filter: saturate(1.15) contrast(1.05);
}
.flood-cell:nth-child(3n) img { animation-duration: 16s; animation-name: floodKen; }
.flood-cell:nth-child(4n) img { animation-duration: 10s; animation-delay: -3s; }
.flood-cell:nth-child(5n) { grid-row: span 2; }
.flood-cell:nth-child(7n) { grid-column: span 2; }
@keyframes floodDrift {
  from { transform: scale(1.05) translate(0,0); }
  to { transform: scale(1.18) translate(-3%, 2%); }
}
@keyframes floodKen {
  from { transform: scale(1.1) translate(2%, -1%) rotate(-.5deg); }
  to { transform: scale(1.22) translate(-2%, 2%) rotate(.5deg); }
}

.debris-piece {
  position: absolute; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  animation: debrisFloat 9s ease-in-out infinite alternate;
}
.debris-piece img { width: 100%; height: 100%; object-fit: cover; }
.debris-piece:nth-child(odd) { animation-duration: 11s; }
.debris-piece:nth-child(3n) { animation-duration: 7s; animation-delay: -2s; }
@keyframes debrisFloat {
  from { transform: translate3d(0,0,0) rotate(-2deg); }
  to { transform: translate3d(12px, -18px, 0) rotate(3deg); }
}

.stage-core {
  position: relative; z-index: 3;
  height: 100%;
  padding: max(3.5rem, env(safe-area-inset-top)) 1.25rem max(2.5rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: center;
  max-width: 920px; margin: 0 auto;
  opacity: calc(0.12 + var(--v) * 0.88);
  transform: translate3d(
    calc((1 - var(--v)) * var(--slide-x, 0px)),
    calc((1 - var(--v)) * var(--slide-y, 36px)),
    0
  ) scale(calc(0.92 + var(--v) * 0.08));
  filter: blur(calc((1 - var(--v)) * 8px));
  transition: opacity .12s linear, transform .12s linear, filter .12s linear;
}
.stage-core.wide { max-width: 1200px; }
.stage.is-active .stage-core { opacity: 1; transform: none; filter: none; }

.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(229,62,62, calc(var(--v) * .28)), transparent 50%),
    linear-gradient(180deg, rgba(5,5,6,.25), rgba(5,5,6, calc(0.55 + var(--v) * .25)));
}

.glitch-line {
  font-size: .72rem; letter-spacing: .28em; color: var(--lime);
  margin: 0 0 1rem; position: relative; text-align: center;
}
.glitch-line::before, .glitch-line::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: .65;
}
.glitch-line::before { color: #0ff; mix-blend-mode: screen; animation: g1 1s infinite linear alternate-reverse; }
.glitch-line::after { color: #f0f; mix-blend-mode: screen; animation: g2 1.2s infinite linear alternate-reverse; }
@keyframes g1 { to { clip-path: inset(15% 0 45% 0); transform: translate(2px,0); } }
@keyframes g2 { to { clip-path: inset(55% 0 8% 0); transform: translate(-2px,0); } }

.mega-brand { margin: 0; line-height: .82; text-align: center; }
.mega-row {
  display: block; font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 8rem); letter-spacing: -0.03em; text-transform: uppercase;
}
.mega-g {
  color: var(--red); display: inline-block; margin: .05em 0;
  transform: rotate(-4deg) scale(1.08);
  text-shadow: 0 0 40px rgba(229,62,62,.55), 8px 0 0 rgba(200,245,66,.3);
  animation: gPulse 3s ease-in-out infinite;
}
@keyframes gPulse { 50% { filter: brightness(1.25); } }
.title-sub {
  text-align: center; margin: 1rem 0 .75rem; letter-spacing: .22em;
  font-size: .68rem; color: var(--dim);
}
.title-blurb {
  text-align: center; margin: 0 auto 1.4rem; max-width: 32rem;
  color: var(--dim); font-size: .98rem; line-height: 1.5;
}

.screen-title-xl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  line-height: .92; letter-spacing: -0.02em;
  text-transform: uppercase; margin: 0 0 1rem; max-width: 12ch;
}
.rich-copy { color: var(--dim); font-size: 1.05rem; line-height: 1.5; max-width: 34rem; margin: 0 0 1rem; }
.tag-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud li {
  border: 1px solid rgba(242,239,232,.2); padding: .35rem .7rem;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  animation: tagPulse 4s ease-in-out infinite;
}
.tag-cloud li:nth-child(odd) { border-color: rgba(229,62,62,.45); animation-delay: .5s; }
@keyframes tagPulse { 50% { transform: translateY(-3px); opacity: 1; } }

.arcade-btn {
  appearance: none; border: 0; cursor: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.35rem; margin: 0 auto;
  font-family: var(--font-display); font-size: clamp(.85rem, 2.2vw, 1.05rem);
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
  transition: transform .3s var(--ease), background .2s, box-shadow .3s;
}
.arcade-btn:hover { background: var(--red2); transform: translateY(-3px) skewX(-2deg); box-shadow: 0 0 32px rgba(229,62,62,.5); }
.arcade-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(242,239,232,.35); }
#stage-0 .arcade-btn { display: inline-flex; }

.loadout { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); max-width: 36rem; }
@media (min-width: 800px) { .loadout { grid-template-columns: repeat(4, 1fr); max-width: none; } }
.loadout-card {
  border: 1px solid rgba(242,239,232,.2); background: rgba(0,0,0,.4);
  padding: 1rem .8rem; cursor: none; font-family: var(--font-display);
  letter-spacing: .06em; text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
  transition: border-color .25s, background .25s, transform .3s;
}
.loadout-card.is-on { border-color: var(--red); background: rgba(229,62,62,.16); transform: translateY(-4px); }
.loadout-desc { color: var(--dim); margin: .9rem 0 0; min-height: 2.5em; }

.cues-grid { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .cues-grid { grid-template-columns: repeat(4, 1fr); } }
.cue-card {
  border: 1px solid rgba(242,239,232,.14);
  background: linear-gradient(160deg, rgba(229,62,62,.14), rgba(0,0,0,.35));
  padding: 1rem .85rem; animation: cueFloat 5s ease-in-out infinite;
}
.cue-card:nth-child(2) { animation-delay: .4s; }
.cue-card:nth-child(3) { animation-delay: .8s; }
.cue-card:nth-child(4) { animation-delay: 1.2s; }
@keyframes cueFloat { 50% { transform: translateY(-8px); } }
.cue-num { color: var(--lime); font-size: .68rem; letter-spacing: .2em; }
.cue-card h3 { font-family: var(--font-display); margin: .35rem 0 .4rem; text-transform: uppercase; font-size: 1.1rem; }
.cue-card p { margin: 0; color: var(--dim); font-size: .88rem; }

.drop-rail {
  display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x proximity; cursor: grab; touch-action: pan-x;
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
  margin-top: .5rem; max-width: 100%;
}
.drop-rail.is-drag { cursor: grabbing; }
.drop-card {
  flex: 0 0 min(68vw, 300px); aspect-ratio: 3/4; position: relative;
  overflow: hidden; border: 1px solid rgba(242,239,232,.14);
  scroll-snap-align: start; animation: cueFloat 6s ease-in-out infinite;
}
.drop-card:nth-child(even) { animation-delay: .7s; transform: rotate(1deg); }
.drop-card img { width: 100%; height: 100%; object-fit: cover; animation: floodKen 14s ease-in-out infinite alternate; }
.drop-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.88)); font-size: .8rem;
}
.drop-card .tag { color: var(--lime); font-size: .6rem; letter-spacing: .16em; }

.proof-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-bottom: 1rem; }
@media (min-width: 800px) { .proof-stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border: 1px solid rgba(242,239,232,.12); padding: .9rem .7rem; background: rgba(0,0,0,.35); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--lime); }
.stat span { color: var(--dim); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.proof-quote {
  margin: 0; padding: 1rem; border-left: 3px solid var(--red);
  background: rgba(229,62,62,.08); font-size: 1.05rem; line-height: 1.45;
}

.call-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(229,62,62,.4), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(200,245,66,.12), transparent 35%);
  animation: pulseBg 6s ease-in-out infinite;
}
@keyframes pulseBg { 50% { filter: hue-rotate(-12deg); } }
.call-mega {
  font-size: clamp(3rem, 12vw, 7rem); max-width: none; line-height: .85;
  text-shadow: 6px 0 0 rgba(200,245,66,.22), -4px 0 0 rgba(229,62,62,.35);
}
.call-line { color: var(--dim); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.call-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 1rem; }
.call-actions .arcade-btn { margin: 0; }
.call-form { display: grid; gap: .5rem; max-width: 420px; }
.call-form input {
  width: 100%; padding: .9rem 1rem; border: 1px solid rgba(242,239,232,.25);
  background: rgba(0,0,0,.4); color: var(--ink); outline: none; cursor: none;
}
.call-form input:focus { border-color: var(--red); }

.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.92);
  display: grid; place-items: center; padding: 2rem; backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none !important; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 74vh; }
.lightbox p { color: var(--dim); text-align: center; margin: .75rem 0 0; }
.lightbox-x {
  position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.5rem; cursor: none;
}

@media (max-width: 760px) {
  body.game { cursor: auto; }
  .cursor-blob { display: none; }
  .arcade-btn, .loadout-card, .call-form input, .lightbox-x { cursor: auto; }
  .flood { grid-template-columns: repeat(4, 1fr); opacity: .35; }
  .cues-grid { grid-template-columns: 1fr; }
  .stage-core { padding-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.game { overflow: auto; cursor: auto; }
  .scroll-space { height: auto !important; }
  .viewport { position: relative; height: auto; overflow: visible; }
  .world { transform: none !important; position: relative; }
  .stage { position: relative; left: auto !important; top: auto !important; height: auto; min-height: 100svh; --v: 1 !important; }
  .stage-core { opacity: 1 !important; transform: none !important; filter: none !important; }
  .flood-cell img, .debris-piece, .cue-card, .drop-card, .mega-g, .glitch-line::before, .glitch-line::after, .boot-logo, .call-bg { animation: none !important; }
  .debris, .drone-field { display: none; }
}
