:root {
  color-scheme: dark;
  --black: #030304;
  --near-black: #08080b;
  --panel: #111217;
  --panel-2: #191b22;
  --metal: #2a2c35;
  --line: rgba(194, 184, 255, 0.16);
  --violet: #9a6cff;
  --violet-hot: #c7a8ff;
  --text: #f2f0f8;
  --muted: #a8a4b5;
  --danger-glow: rgba(151, 87, 255, 0.44);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 18%, rgba(114, 67, 201, 0.16), transparent 32rem),
    linear-gradient(180deg, #020203 0%, #07070a 46%, #030304 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.machine-activated .machine-image,
body.machine-activated .machine-video {
  filter: saturate(1.16) contrast(1.04) brightness(1.2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.machine-activated .machine-shadow {
  background:
    radial-gradient(circle at 50% 44%, rgba(156, 92, 255, 0.12) 0 19%, rgba(0, 0, 0, 0.22) 47%, #000 88%),
    linear-gradient(90deg, #000 0%, transparent 18%, transparent 82%, #000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 30%, #000 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-150%);
  padding: 0.7rem 0.9rem;
  background: var(--text);
  color: var(--black);
  border-radius: 4px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.scene-machine {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 68%, rgba(56, 25, 92, 0.16), transparent 30rem),
    linear-gradient(180deg, #000 0%, #000 100%);
}

.scene-machine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 62%, transparent 0 24%, rgba(0, 0, 0, 0.2) 53%, rgba(0, 0, 0, 0.68) 86%, #000 100%),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.48) 8%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.5) 92%, #000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 34%, transparent 68%, rgba(0, 0, 0, 0.58) 90%, #000 100%);
}

.machine-video,
.machine-image {
  position: absolute;
  top: 7svh;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 93svh;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.14) saturate(1.06);
}

.machine-video {
  z-index: 1;
  opacity: 0;
  transform: scale(1.02);
  transition: filter 700ms ease, opacity 450ms ease, transform 900ms ease;
}

.machine-image {
  z-index: 0;
  opacity: 0.94;
  transform: scale(1.02);
  transition: filter 700ms ease, opacity 450ms ease, transform 900ms ease;
}

.intro-playing .machine-video {
  opacity: 1;
}

.intro-playing .machine-image {
  opacity: 0;
}

.video-failed .machine-video {
  opacity: 0;
}

.video-failed .machine-image {
  opacity: 0.94;
}

.machine-shadow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 25%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.74) 94%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, transparent 16%, transparent 84%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 38%, rgba(0, 0, 0, 0.66) 100%);
  z-index: 1;
}

.machine-reels {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: min(30vw, 355px);
  min-width: 190px;
  aspect-ratio: 4 / 1.35;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.35rem, 0.8vw, 0.7rem);
  padding: clamp(0.35rem, 0.75vw, 0.65rem);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(211, 195, 255, 0.16);
  border-radius: 5px;
  background: rgba(5, 4, 9, 0.54);
  box-shadow:
    inset 0 0 30px rgba(145, 88, 255, 0.2),
    0 0 42px rgba(136, 79, 255, 0.2);
  opacity: 0;
  pointer-events: none;
}

.machine-reels span {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(5, 3, 8, 0.96), rgba(75, 39, 133, 0.28), rgba(5, 3, 8, 0.96)),
    repeating-linear-gradient(180deg, rgba(210, 190, 255, 0.86) 0 3px, transparent 3px 17px);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.72);
}

.machine-reels span::after {
  content: "";
  position: absolute;
  inset: -80% 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 17px,
    rgba(205, 181, 255, 0.55) 17px 19px,
    transparent 19px 34px
  );
  opacity: 0;
}

.machine-handle {
  position: absolute;
  z-index: 5;
  left: 77%;
  top: 45%;
  width: min(13vw, 170px);
  min-width: 76px;
  height: min(33vh, 310px);
  min-height: 160px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  transform: translate(-50%, -18%);
  transform-origin: 50% 18%;
  opacity: 1;
  transition: filter 260ms ease;
}

.machine-handle::after {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 168, 255, 0.3), transparent 62%);
  opacity: 0;
  filter: blur(2px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.handle-stem,
.handle-grip {
  display: none;
}

.machine-handle:hover,
.machine-handle:focus-visible,
.machine-handle.is-dragging {
  outline: none;
}

.machine-handle:hover::after,
.machine-handle:focus-visible::after,
.machine-handle.is-dragging::after {
  opacity: 0.58;
  transform: scale(1.08);
}

.machine-handle.is-pulled,
.machine-activated .machine-handle {
  cursor: default;
  pointer-events: none;
  animation: hotspotPull 520ms cubic-bezier(0.2, 0.8, 0.16, 1) both;
}

.machine-activated .machine-handle::after {
  animation: none;
  opacity: 0;
}

.machine-surge {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(212, 184, 255, 0.52), transparent 18rem),
    radial-gradient(circle at 50% 50%, rgba(133, 72, 255, 0.32), transparent 34rem);
}

.machine-activated .machine-surge {
  animation: purpleSurge 940ms ease-out both;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(90vw, 760px);
  align-self: start;
  justify-self: center;
  padding-top: clamp(1.5rem, 6vh, 4.5rem);
  text-align: center;
  text-shadow: 0 0 26px rgba(0, 0, 0, 0.92);
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--violet-hot);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.25rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.05;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(211, 199, 255, 0.34);
  border-radius: 4px;
  background: rgba(16, 14, 24, 0.68);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  box-shadow: 0 0 26px rgba(107, 67, 214, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(226, 216, 255, 0.78);
  background: rgba(80, 53, 145, 0.42);
}

.button.primary {
  background: linear-gradient(180deg, rgba(155, 111, 255, 0.94), rgba(78, 42, 171, 0.92));
  border-color: rgba(229, 220, 255, 0.72);
}

.button.ghost {
  margin-top: 1rem;
}

.button.small {
  min-height: 40px;
  padding: 0.68rem 0.88rem;
  font-size: 0.72rem;
}

.scene-ride {
  background:
    radial-gradient(circle at 50% 50%, rgba(153, 98, 255, 0.3), transparent 26rem),
    linear-gradient(180deg, #020203 0%, #101016 44%, #040406 100%);
}

.reel-tunnel {
  position: absolute;
  inset: -12vh -12vw;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.reel-tunnel span {
  position: absolute;
  width: min(80vw, 860px);
  aspect-ratio: 1.85;
  border: 1px solid rgba(196, 176, 255, 0.18);
  box-shadow: inset 0 0 44px rgba(143, 80, 255, 0.12), 0 0 36px rgba(101, 54, 207, 0.22);
  transform: rotateX(63deg) translateZ(var(--depth));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%);
}

.reel-tunnel span:nth-child(1) {
  --depth: 20px;
}

.reel-tunnel span:nth-child(2) {
  --depth: 150px;
}

.reel-tunnel span:nth-child(3) {
  --depth: 280px;
}

.reel-tunnel span:nth-child(4) {
  --depth: 410px;
}

.ride-copy {
  position: relative;
  z-index: 2;
  width: min(88vw, 760px);
  text-align: center;
}

.ride-copy p {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  color: #dad5e7;
}

.section-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.scene-world {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 15%, rgba(116, 79, 198, 0.2), transparent 32rem),
    #050507;
  background-size: 96px 96px, 96px 96px, auto, auto;
}

.portal-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.3rem;
}

.portal-card,
.product-card {
  min-height: 260px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 38%),
    linear-gradient(180deg, rgba(27, 29, 38, 0.92), rgba(8, 8, 12, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.portal-card {
  display: flex;
  flex-direction: column;
}

.portal-card p {
  flex: 1;
}

.portal-number {
  display: block;
  margin-bottom: 2rem;
  color: rgba(199, 168, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.scene-jackpot {
  background:
    radial-gradient(circle at 50% 48%, rgba(154, 108, 255, 0.26), transparent 20rem),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 42rem),
    #020203;
}

.jackpot-core {
  width: min(calc(100% - 2rem), 760px);
  text-align: center;
}

.jackpot-core h2 {
  margin-bottom: 1.25rem;
}

.jackpot-core p {
  margin-bottom: 0.2rem;
  color: #eeeaf8;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.24;
}

.final-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.support-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--near-black);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.support-section:nth-of-type(even) {
  background: #0b0b0f;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.video-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(154, 108, 255, 0.16), transparent 45%),
    #12131a;
}

.video-placeholder span {
  width: 68px;
  height: 68px;
  clip-path: polygon(24% 14%, 24% 86%, 86% 50%);
  background: var(--violet-hot);
  box-shadow: 0 0 34px var(--danger-glow);
}

.video-placeholder p,
.video-placeholder small {
  margin: 0;
  color: var(--text);
}

.video-placeholder small {
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-height: 220px;
}

.price {
  color: var(--violet-hot);
  font-weight: 850;
}

button[disabled] {
  width: 100%;
  min-height: 42px;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(242, 240, 248, 0.58);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: not-allowed;
}

.repair-section p {
  max-width: 62ch;
}

.contact-panel {
  text-align: center;
}

.email-link {
  display: inline-block;
  color: var(--violet-hot);
  font-size: clamp(1.35rem, 4vw, 3.2rem);
  font-weight: 850;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes handlePull {
  0% {
    transform: translate(-50%, -20%) rotate(0deg);
  }

  42% {
    transform: translate(-50%, 5%) rotate(13deg);
  }

  100% {
    transform: translate(-50%, -20%) rotate(0deg);
  }
}

@keyframes hotspotPull {
  0% {
    transform: translate(-50%, -18%) scaleY(1);
  }

  45% {
    transform: translate(-50%, 4%) scaleY(1.08);
  }

  100% {
    transform: translate(-50%, -18%) scaleY(1);
  }
}

@keyframes reelSpin {
  0% {
    opacity: 0.2;
    transform: translateY(-24%);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(58%);
  }
}

@keyframes handleHint {
  0%,
  100% {
    opacity: 0.16;
    transform: translateX(-50%) scale(0.82);
  }

  50% {
    opacity: 0.56;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes purpleSurge {
  0% {
    opacity: 0;
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .portal-grid,
  .product-grid,
  .support-layout {
    grid-template-columns: 1fr 1fr;
  }

  .support-layout {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    width: min(92vw, 420px);
    padding-top: 1.4rem;
  }

  .machine-reels {
    top: 44%;
    width: min(52vw, 240px);
    min-width: 150px;
  }

  .machine-handle {
    left: 78%;
    top: 45%;
    width: min(20vw, 94px);
    min-width: 58px;
    height: min(28vh, 210px);
    min-height: 118px;
  }

  .portal-grid,
  .product-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .portal-card,
  .product-card {
    min-height: auto;
  }

  .machine-image {
    object-position: 50% center;
  }

  .machine-video {
    object-position: 50% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Map ride scene. Future media slots:
   assets/ride/kot-old-map.jpg
   assets/filmstrip/timber-nutt-hologram.png
   assets/filmstrip/fuck-cancer-mission.png
   assets/filmstrip/road-content-hologram.png
   assets/filmstrip/roots-mission-hologram.png */
.map-scene {
  min-height: 390svh;
  background: #000;
}

.map-stage {
  --map-scale: 0.08;
  --map-rotate: -34deg;
  --map-opacity: 0;
  --map-x: 0vw;
  --map-y: 16vh;
  --map-blur: 7px;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(0, 0, 0, 0.48) 58%, #000 92%),
    linear-gradient(90deg, #000, transparent 16%, transparent 84%, #000);
  pointer-events: none;
}

.old-map {
  position: relative;
  z-index: 1;
  width: min(94vw, 1500px);
  max-height: 88svh;
  object-fit: contain;
  opacity: var(--map-opacity);
  filter: saturate(0.95) contrast(1.04) blur(var(--map-blur)) drop-shadow(0 44px 80px rgba(0, 0, 0, 0.72));
  transform: translate(var(--map-x), var(--map-y)) rotate(var(--map-rotate)) scale(var(--map-scale));
  transform-origin: 50% 52%;
  transition: filter 260ms ease;
}

.map-stage[data-active-path="road"] .old-map {
  filter: saturate(0.86) contrast(1.02) blur(1px) brightness(0.72) drop-shadow(0 44px 80px rgba(0, 0, 0, 0.72));
}

.map-stage[data-active-path="roots"] .old-map {
  filter: saturate(0.76) contrast(1.02) blur(1px) brightness(0.66) drop-shadow(0 44px 80px rgba(0, 0, 0, 0.72));
}

.hologram {
  position: absolute;
  z-index: 4;
  width: min(32vw, 430px);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translateY(38px) scale(0.72) rotateX(18deg);
  transform-origin: 50% 100%;
  filter: blur(0.2px) drop-shadow(0 0 22px rgba(166, 101, 255, 0.68));
  transition: opacity 260ms ease, transform 300ms ease, filter 300ms ease;
}

.holo-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.map-stage.map-live .hologram {
  opacity: 0.34;
  transform: translateY(18px) scale(0.82) rotateX(12deg);
  filter: blur(0.8px) drop-shadow(0 0 16px rgba(166, 101, 255, 0.42));
}

.map-stage.map-live .holo-button {
  pointer-events: auto;
}

.map-stage.map-transitioning .holo-button {
  pointer-events: none;
}

.hologram::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 110%;
  height: 32%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(171, 107, 255, 0.42), transparent 68%);
  filter: blur(8px);
}

.hologram::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 58%;
  height: 2px;
  transform: translateX(-50%);
  background: rgba(210, 190, 255, 0.74);
  box-shadow: 0 0 32px rgba(174, 111, 255, 0.88), 0 0 72px rgba(80, 210, 255, 0.28);
}

.hologram i {
  position: absolute;
  display: block;
  pointer-events: none;
}

.holo-beam {
  left: 50%;
  bottom: -4%;
  width: 88%;
  height: 76%;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(177, 117, 255, 0.18), rgba(91, 210, 255, 0.06) 48%, transparent),
    repeating-linear-gradient(180deg, rgba(221, 208, 255, 0.2) 0 1px, transparent 1px 9px);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(0.6px);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.dust-devil {
  --dust-radius: min(14vw, 190px);
  position: relative;
  z-index: 2;
  display: block;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  margin: 0 auto;
  transform-style: preserve-3d;
  perspective: 1200px;
  filter: drop-shadow(0 0 30px rgba(229, 67, 255, 0.4));
}

.dust-devil::before,
.dust-devil::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 92, 255, 0.22), rgba(99, 211, 255, 0.08) 42%, transparent 72%);
  filter: blur(10px);
  transform: translateZ(-90px);
}

.dust-devil::after {
  inset: 10% 28%;
  border: 1px solid rgba(245, 153, 255, 0.42);
  background: transparent;
  box-shadow: 0 0 34px rgba(229, 67, 255, 0.45), inset 0 0 28px rgba(99, 211, 255, 0.12);
  transform: rotateX(78deg) translateZ(-72px);
}

.dust-orbit {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  animation: dustDevilSpin 14s linear infinite;
}

.dust-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 58%;
  opacity: 0.7;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: shardFlicker 4.8s ease-in-out infinite alternate;
}

.dust-panel img,
.dust-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22% 28% 20% 30% / 18% 22% 30% 26%;
  clip-path: polygon(10% 6%, 88% 0, 98% 88%, 18% 100%, 0 24%);
  backface-visibility: hidden;
}

.dust-panel img {
  object-fit: contain;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 72%, transparent 96%);
  filter: saturate(1.16) contrast(1.08) brightness(0.92) hue-rotate(244deg) drop-shadow(0 0 14px rgba(238, 79, 255, 0.72));
}

.dust-back {
  background:
    linear-gradient(135deg, rgba(8, 2, 14, 0.98), rgba(0, 0, 0, 0.96)),
    radial-gradient(circle at 50% 50%, rgba(174, 83, 255, 0.25), transparent 62%);
  box-shadow: inset 0 0 24px rgba(166, 101, 255, 0.2), 0 0 18px rgba(0, 0, 0, 0.9);
  transform: rotateY(180deg);
}

.dust-panel:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(var(--dust-radius)) translateY(-34px) rotateZ(-5deg);
}

.dust-panel:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(72deg) translateZ(var(--dust-radius)) translateY(18px) rotateZ(5deg);
  animation-delay: -0.8s;
}

.dust-panel:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(144deg) translateZ(var(--dust-radius)) translateY(-4px) rotateZ(-8deg);
  animation-delay: -1.6s;
}

.dust-panel:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(216deg) translateZ(var(--dust-radius)) translateY(36px) rotateZ(7deg);
  animation-delay: -2.4s;
}

.dust-panel:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(288deg) translateZ(var(--dust-radius)) translateY(-20px) rotateZ(-3deg);
  animation-delay: -3.2s;
}

.roots-holo {
  position: relative;
  height: min(32vw, 430px);
  width: min(32vw, 430px);
  display: grid;
  place-items: center;
  perspective: 900px;
  transform-style: preserve-3d;
}

.map-stage.map-live .roots-holo {
  animation: rootsBubbleIdle 9200ms ease-in-out infinite;
}

.roots-holo::before,
.roots-holo::after,
.roots-holo-shell {
  content: "";
  position: absolute;
  inset: 7%;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.roots-holo::before {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 50% 50%, rgba(240, 72, 255, 0.14), rgba(94, 220, 255, 0.06) 48%, transparent 72%);
  filter: blur(2px);
  opacity: 0.68;
  animation: rootsOrbPulse 5200ms ease-in-out infinite;
}

.roots-holo::after {
  border: 1px solid rgba(252, 151, 255, 0.52);
  box-shadow:
    inset 0 0 24px rgba(118, 221, 255, 0.13),
    0 0 28px rgba(238, 79, 255, 0.44),
    0 0 58px rgba(94, 220, 255, 0.18);
  transform-style: preserve-3d;
  animation: rootsOrbRingSpin 7600ms linear infinite;
}

.roots-holo-shell {
  inset: 12%;
  border: 2px solid rgba(199, 168, 255, 0.44);
  border-left-color: rgba(94, 220, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 22px rgba(240, 72, 255, 0.38),
    inset 0 0 26px rgba(7, 0, 14, 0.72);
  transform-style: preserve-3d;
  animation: rootsShellSpin 6800ms linear infinite;
}

.roots-holo video {
  position: relative;
  z-index: 3;
  display: block;
  width: 72%;
  height: 72%;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.72;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 66%, rgba(0, 0, 0, 0.72) 78%, transparent 94%);
  filter: saturate(1.25) contrast(1.2) brightness(0.84) hue-rotate(252deg) drop-shadow(0 0 34px rgba(240, 72, 255, 0.5));
}

.holo-label {
  position: relative;
  z-index: 2;
  display: block;
  margin: -0.45rem 0 0;
  color: var(--violet-hot);
  text-shadow: 0 0 18px rgba(171, 107, 255, 0.96);
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.22em;
  opacity: 0.78;
}

.road-hologram {
  right: 9%;
  top: 14%;
}

.roots-hologram {
  left: 9%;
  top: 16%;
}

.map-stage[data-active-path="road"] .road-hologram,
.map-stage[data-active-path="roots"] .roots-hologram {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.map-stage[data-active-path="road"] .road-hologram {
  animation: holoFlicker 1400ms ease-in-out infinite alternate;
}

.map-stage[data-active-path="roots"] .roots-hologram {
  animation: holoFlicker 1700ms ease-in-out infinite alternate;
}

.map-stage[data-active-path="roots"] .roots-holo,
.map-stage.map-roots-dive .roots-holo {
  animation: rootsBubbleActive 5200ms ease-in-out infinite;
}

.map-stage[data-active-path="roots"] .roots-holo::after,
.map-stage.map-roots-dive .roots-holo::after {
  animation-duration: 3200ms;
  box-shadow:
    inset 0 0 28px rgba(118, 221, 255, 0.2),
    0 0 40px rgba(238, 79, 255, 0.72),
    0 0 86px rgba(94, 220, 255, 0.28);
}

.map-stage[data-active-path="roots"] .roots-holo-shell,
.map-stage.map-roots-dive .roots-holo-shell {
  animation-duration: 2600ms;
  border-color: rgba(252, 151, 255, 0.72);
  border-left-color: rgba(94, 220, 255, 0.34);
}

.map-stage[data-active-path="road"] .dust-devil,
.map-stage.map-road-dive .dust-devil {
  filter: drop-shadow(0 0 52px rgba(244, 92, 255, 0.76));
}

.map-stage[data-active-path="road"] .dust-orbit,
.map-stage.map-road-dive .dust-orbit {
  animation-duration: 4.2s;
}

.map-stage[data-active-path="road"] .dust-panel,
.map-stage.map-road-dive .dust-panel {
  opacity: 0.92;
  animation-duration: 2.6s;
}

.map-stage[data-active-path="road"] .dust-panel img,
.map-stage.map-road-dive .dust-panel img {
  filter: saturate(1.3) contrast(1.16) brightness(1.05) hue-rotate(244deg) drop-shadow(0 0 20px rgba(238, 79, 255, 0.94));
}

.map-stage[data-active-path="roots"] .roots-holo video,
.map-stage.map-roots-dive .roots-holo video {
  opacity: 0.96;
  filter: saturate(1.45) contrast(1.3) brightness(1.05) hue-rotate(252deg) drop-shadow(0 0 56px rgba(240, 72, 255, 0.78));
}

.map-stage[data-active-path="road"] .roots-hologram,
.map-stage[data-active-path="roots"] .road-hologram {
  opacity: 0.2;
  transform: translateY(32px) scale(0.74) rotateX(18deg);
  filter: blur(2px) drop-shadow(0 0 10px rgba(166, 101, 255, 0.22));
  animation: none;
}

.map-stage.map-transitioning .hologram {
  transition-duration: 160ms;
}

.map-stage.map-road-dive .road-hologram,
.map-stage.map-roots-dive .roots-hologram {
  opacity: 1;
  transform: translateY(-8px) scale(1.06) rotateX(0deg);
  filter: blur(0.1px) drop-shadow(0 0 34px rgba(102, 219, 255, 0.58));
}

.map-stage.map-road-dive .roots-hologram,
.map-stage.map-roots-dive .road-hologram {
  opacity: 0.08;
  filter: blur(4px);
}

@keyframes holoFlicker {
  0% {
    filter: blur(0.2px) drop-shadow(0 0 18px rgba(166, 101, 255, 0.58));
  }

  100% {
    filter: blur(0.5px) drop-shadow(0 0 30px rgba(94, 220, 255, 0.5));
  }
}

@keyframes dustDevilSpin {
  0% {
    transform: rotateX(4deg) rotateY(0deg) rotateZ(-2deg) scale(0.94);
  }

  50% {
    transform: rotateX(-3deg) rotateY(180deg) rotateZ(2deg) scale(1);
  }

  100% {
    transform: rotateX(4deg) rotateY(360deg) rotateZ(-2deg) scale(0.94);
  }
}

@keyframes rootsBubbleIdle {
  0% {
    transform: translateY(0) scale(1) rotateZ(-1deg) rotateY(-4deg);
  }

  50% {
    transform: translateY(-6px) scale(1.02) rotateZ(1deg) rotateY(5deg);
  }

  100% {
    transform: translateY(0) scale(1) rotateZ(-1deg) rotateY(-4deg);
  }
}

@keyframes rootsBubbleActive {
  0% {
    transform: translateY(0) scale(1) rotateZ(-1deg) rotateY(-5deg);
  }

  50% {
    transform: translateY(-8px) scale(1.025) rotateZ(2deg) rotateY(6deg);
  }

  100% {
    transform: translateY(0) scale(1) rotateZ(-1deg) rotateY(-5deg);
  }
}

@keyframes rootsShellSpin {
  0% {
    transform: rotateX(10deg) rotateY(0deg) rotateZ(0deg);
  }

  50% {
    transform: rotateX(-7deg) rotateY(180deg) rotateZ(10deg);
  }

  100% {
    transform: rotateX(10deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes rootsOrbRingSpin {
  0% {
    transform: rotateX(72deg) rotateZ(0deg) scale(0.98);
  }

  100% {
    transform: rotateX(72deg) rotateZ(360deg) scale(0.98);
  }
}

@keyframes rootsOrbPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.04);
  }
}

@keyframes shardFlicker {
  0% {
    opacity: 0.52;
  }

  48% {
    opacity: 0.84;
  }

  100% {
    opacity: 0.68;
  }
}

.path-scene {
  position: relative;
  min-height: 140svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  background: #020203;
  isolation: isolate;
}

.path-media-strip {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  width: max-content;
  min-width: 100%;
  opacity: 0.72;
  transform: rotate(-4deg) translateX(-8%);
  filter: saturate(1.08) contrast(1.04);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.path-media-strip img {
  width: min(70vw, 900px);
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
}

.road-scene {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 208, 63, 0.12), transparent 24rem),
    radial-gradient(circle at 35% 55%, rgba(151, 87, 255, 0.18), transparent 32rem),
    #020203;
}

.roots-scene {
  min-height: 125svh;
  background:
    radial-gradient(circle at 28% 42%, rgba(232, 93, 165, 0.16), transparent 24rem),
    radial-gradient(circle at 72% 70%, rgba(151, 87, 255, 0.18), transparent 34rem),
    #020203;
}

.mission-figure {
  position: absolute;
  right: -8vw;
  bottom: -6vh;
  z-index: 0;
  width: min(82vw, 980px);
  opacity: 0.58;
  filter: drop-shadow(0 0 44px rgba(216, 116, 198, 0.32));
}

.mission-figure img {
  width: 100%;
}

.path-copy {
  position: relative;
  z-index: 2;
  width: min(86vw, 780px);
  text-shadow: 0 0 28px #000;
}

.path-copy span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--violet-hot);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.path-copy h2 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 8.8rem);
}

.path-copy p {
  color: rgba(242, 240, 248, 0.82);
  font-size: clamp(1.25rem, 3vw, 2.3rem);
}

.path-copy a,
.path-links a {
  display: inline-block;
  margin-right: 1.5rem;
  color: var(--violet-hot);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(151, 87, 255, 0.5);
}

.final-jackpot-scene {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3rem;
  padding: 4rem 1rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(151, 87, 255, 0.28), transparent 24rem),
    #000;
  text-align: center;
}

.final-reels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.3rem);
}

.final-reels span {
  min-width: min(28vw, 300px);
  padding: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(circle at 50% 20%, rgba(151, 87, 255, 0.35), rgba(8, 8, 12, 0.72));
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.74), 0 0 40px rgba(151, 87, 255, 0.22);
  color: var(--text);
  font-size: clamp(1.4rem, 4vw, 4rem);
  font-weight: 950;
}

.final-jackpot-scene h2 {
  font-size: clamp(2.8rem, 8vw, 8rem);
}

.portal-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

body.portal-playing {
  overflow: hidden;
}

.portal-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.portal-transition-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: 1;
  transition: opacity 80ms ease;
}

.portal-transition.is-finishing .portal-transition-video {
  opacity: 0;
}

.portal-transition.is-finishing .portal-skip {
  opacity: 0;
  pointer-events: none;
}

.portal-skip {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  border: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.44);
  color: rgba(242, 240, 248, 0.78);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.72;
}

.portal-skip:hover,
.portal-skip:focus-visible {
  color: #fff;
  opacity: 1;
  outline: 1px solid rgba(199, 168, 255, 0.44);
}

body.road-world-page {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 203, 50, 0.12), transparent 26rem),
    radial-gradient(circle at 78% 24%, rgba(201, 26, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #010103 0%, #07030b 44%, #020203 100%);
}

.road-world {
  overflow: hidden;
}

.road-hero,
.road-featured,
.road-route,
.road-previews,
.road-secret,
.road-next {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.road-hero {
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), #030005 90%),
    radial-gradient(circle at 50% 72%, rgba(255, 218, 62, 0.18), transparent 22rem);
}

.road-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42%;
  background: linear-gradient(180deg, transparent, #020203 82%);
  pointer-events: none;
}

.road-hero-loop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.12) contrast(1.08);
  transition: opacity 480ms ease;
}

.road-hero-loop.is-ready {
  opacity: 0.46;
}

.road-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  width: max-content;
  min-width: 100%;
  opacity: 0.54;
  filter: saturate(1.14) contrast(1.1);
  transform: skewY(-5deg) translateX(-9%);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: roadMediaDrift 28s linear infinite;
}

.road-hero-media img {
  width: min(78vw, 980px);
  height: 100%;
  object-fit: cover;
}

.road-headlights {
  position: absolute;
  left: 50%;
  bottom: -10vh;
  z-index: 1;
  width: 110vw;
  height: 54vh;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 42% 70%, rgba(255, 228, 110, 0.34), transparent 18%),
    radial-gradient(ellipse at 58% 70%, rgba(255, 228, 110, 0.32), transparent 18%),
    linear-gradient(90deg, transparent 0 38%, rgba(255, 230, 128, 0.2) 48%, rgba(255, 230, 128, 0.2) 52%, transparent 62%);
  filter: blur(8px);
  opacity: 0.76;
}

.road-hero-copy {
  position: relative;
  z-index: 3;
  width: min(920px, 92vw);
  text-shadow: 0 0 24px #000;
}

.road-hero-copy span,
.road-section-copy span,
.road-secret span,
.road-next span,
.preview-stop span {
  display: block;
  color: var(--violet-hot);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.road-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: 0.78;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.54),
    0 0 54px rgba(201, 26, 255, 0.4),
    0 18px 0 rgba(255, 214, 45, 0.18);
}

.road-hero p,
.featured-intro p,
.road-section-copy p,
.road-next p,
.road-secret p {
  max-width: 760px;
  color: rgba(242, 240, 248, 0.82);
  font-size: clamp(1.15rem, 2.6vw, 2rem);
}

.road-jump-nav,
.trailer-paths,
.road-ending-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 2rem;
}

.road-jump-nav a,
.trailer-paths a,
.road-ending-links a,
.preview-stop button,
.preview-close {
  border: 0;
  background: transparent;
  color: #ffe447;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 0 18px rgba(255, 213, 55, 0.42);
}

.road-featured {
  min-height: auto;
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 225, 84, 0.07) 47% 48%, transparent 48% 100%),
    repeating-linear-gradient(90deg, transparent 0 13vw, rgba(201, 26, 255, 0.035) 13vw calc(13vw + 1px)),
    linear-gradient(180deg, #020203, #08020c 54%, #020203);
}

.road-featured::before,
.road-featured::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 92, 0.72), rgba(201, 26, 255, 0.82), transparent);
  box-shadow: 0 0 24px rgba(201, 26, 255, 0.54);
}

.road-featured::before {
  top: 0;
}

.road-featured::after {
  bottom: 0;
}

.featured-intro,
.trailer-grid,
.trailer-paths {
  position: relative;
  z-index: 1;
  width: min(1280px, 94vw);
  margin-right: auto;
  margin-left: auto;
}

.featured-intro {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.featured-intro span,
.trailer-details span {
  display: block;
  color: var(--violet-hot);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.featured-intro h2 {
  max-width: 1050px;
  margin: 0.35rem 0 0;
  font-size: clamp(3.4rem, 10vw, 9rem);
  line-height: 0.86;
  text-shadow: 0 0 42px rgba(201, 26, 255, 0.28);
}

.trailer-grid {
  display: grid;
  gap: 3rem;
}

.trailer-feature {
  position: relative;
}

.trailer-marquee {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  overflow: hidden;
  color: rgba(255, 232, 101, 0.86);
  font-size: clamp(0.66rem, 1.2vw, 0.82rem);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(255, 217, 69, 0.08), rgba(201, 26, 255, 0.14), rgba(255, 217, 69, 0.08));
  border-top: 1px solid rgba(255, 232, 101, 0.28);
}

.trailer-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: clamp(4px, 0.6vw, 8px);
  background: linear-gradient(125deg, rgba(255, 228, 96, 0.9), rgba(73, 18, 92, 0.72) 28%, rgba(201, 26, 255, 0.92) 72%, rgba(255, 228, 96, 0.78));
  box-shadow:
    0 0 70px rgba(201, 26, 255, 0.24),
    0 34px 80px rgba(0, 0, 0, 0.66);
}

.trailer-screen::before,
.trailer-screen::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: rgba(255, 231, 113, 0.82);
  box-shadow: 0 0 24px rgba(255, 218, 54, 0.88);
  pointer-events: none;
}

.trailer-screen::before {
  left: -10px;
}

.trailer-screen::after {
  right: -10px;
}

.featured-trailer-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.trailer-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(199, 168, 255, 0.22);
}

.trailer-details h3 {
  max-width: 800px;
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.trailer-details p {
  margin: 0;
  color: rgba(242, 240, 248, 0.76);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
}

.trailer-paths {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.trailer-paths a {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 228, 71, 0.28);
}

.trailer-paths a:hover,
.trailer-paths a:focus-visible {
  color: #fff;
  border-color: rgba(201, 26, 255, 0.78);
}

.road-route {
  min-height: 150svh;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 208, 63, 0.12), transparent 28rem),
    radial-gradient(circle at 76% 64%, rgba(201, 26, 255, 0.2), transparent 34rem),
    #020203;
}

.road-section-copy {
  position: sticky;
  top: 8vh;
  z-index: 3;
  width: min(780px, 92vw);
  margin-bottom: 12vh;
  text-shadow: 0 0 24px #000;
}

.road-section-copy h2,
.road-secret h2,
.road-next h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.92;
}

.road-lane {
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 8%;
  z-index: 0;
  width: min(42vw, 420px);
  transform: translateX(-50%) perspective(900px) rotateX(62deg);
  background:
    repeating-linear-gradient(180deg, rgba(255, 232, 101, 0.92) 0 5rem, transparent 5rem 9rem),
    linear-gradient(90deg, transparent, rgba(255, 232, 101, 0.08) 48%, rgba(255, 232, 101, 0.08) 52%, transparent);
  filter: blur(0.4px) drop-shadow(0 0 22px rgba(255, 217, 77, 0.36));
  opacity: 0.58;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
}

.road-stop-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3.5rem);
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.road-stop {
  min-height: 34vh;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 222, 75, 0.2), transparent 10rem),
    radial-gradient(circle at 82% 100%, rgba(201, 26, 255, 0.18), transparent 13rem);
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 10%, 92% 0, 100% 84%, 8% 100%);
}

.road-stop:nth-child(even) {
  transform: translateY(8vh);
}

.road-stop span {
  color: rgba(255, 232, 101, 0.78);
  font-size: clamp(2rem, 7vw, 5.4rem);
  font-weight: 950;
}

.road-stop h3,
.preview-stop h3 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.road-stop p,
.preview-stop p {
  color: rgba(242, 240, 248, 0.76);
  font-size: 1rem;
}

.road-previews {
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 214, 57, 0.14), transparent 24rem),
    radial-gradient(circle at 24% 78%, rgba(201, 26, 255, 0.18), transparent 30rem),
    #050208;
}

.preview-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  width: min(1200px, 94vw);
  margin: 0 auto;
}

.preview-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 42%) 1fr;
  gap: 1rem;
  align-items: end;
  min-height: 280px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.54), 0 0 40px rgba(201, 26, 255, 0.13);
  clip-path: polygon(4% 0, 100% 8%, 94% 100%, 0 90%);
}

.preview-stop::before {
  display: none;
}

.preview-stop.is-missing-thumb::before {
  content: "Preview art coming soon";
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 1rem;
  color: rgba(255, 232, 101, 0.82);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 232, 101, 0.18), transparent 8rem),
    radial-gradient(circle at 72% 78%, rgba(201, 26, 255, 0.22), transparent 9rem),
    rgba(255, 255, 255, 0.04);
  clip-path: polygon(0 7%, 94% 0, 100% 92%, 8% 100%);
}

.preview-stop img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08);
  clip-path: polygon(0 7%, 94% 0, 100% 92%, 8% 100%);
}

.road-secret {
  display: grid;
  grid-template-columns: minmax(220px, 36vw) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background:
    radial-gradient(circle at 26% 50%, rgba(255, 214, 57, 0.16), transparent 20rem),
    radial-gradient(circle at 68% 45%, rgba(201, 26, 255, 0.16), transparent 30rem),
    #020203;
}

.jackpot-symphony {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 235, 93, 0.24), transparent 38%),
    repeating-conic-gradient(from 0deg, rgba(255, 232, 101, 0.85) 0 4deg, rgba(201, 26, 255, 0.16) 4deg 12deg);
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 0 40px rgba(255, 232, 101, 0.4));
  animation: jackpotPulse 3400ms ease-in-out infinite;
}

.jackpot-symphony span {
  color: #fff;
  text-shadow: 0 0 18px #000;
}

.road-next {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(151, 87, 255, 0.22), transparent 24rem),
    #000;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.preview-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.preview-shell {
  width: min(1100px, 96vw);
  background:
    radial-gradient(circle at 50% 0, rgba(201, 26, 255, 0.18), transparent 28rem),
    #050208;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.88);
}

.preview-player {
  display: block;
  width: 100%;
  max-height: 72svh;
  background: #000;
}

.preview-modal.has-preview-error .preview-player {
  display: none;
}

.preview-copy {
  padding: 1rem;
}

.preview-status {
  min-height: 1.4em;
  margin: 0.4rem 0 0;
  color: rgba(242, 240, 248, 0.78);
}

.preview-close {
  float: right;
  padding: 0.8rem 1rem;
}

@keyframes roadMediaDrift {
  0% {
    transform: skewY(-5deg) translateX(-9%);
  }

  100% {
    transform: skewY(-5deg) translateX(-36%);
  }
}

@keyframes jackpotPulse {
  0%,
  100% {
    transform: scale(0.96) rotate(-2deg);
    opacity: 0.76;
  }

  50% {
    transform: scale(1.04) rotate(2deg);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .map-scene {
    min-height: 480svh;
  }

  .old-map {
    width: 138vw;
    max-width: none;
  }

  .hologram {
    width: min(72vw, 340px);
  }

  .dust-devil,
  .roots-holo {
    width: min(68vw, 330px);
    height: min(68vw, 330px);
  }

  .dust-devil {
    --dust-radius: min(26vw, 132px);
  }

  .roots-holo video {
    width: 72%;
    height: 72%;
  }

  .road-hologram,
  .roots-hologram {
    left: 50%;
    right: auto;
    top: 15%;
    transform: translate(-50%, 38px) scale(0.72) rotateX(18deg);
  }

  .map-stage[data-active-path="road"] .road-hologram,
  .map-stage[data-active-path="roots"] .roots-hologram {
    transform: translate(-50%, 0) scale(1) rotateX(0deg);
  }

  .map-stage.map-live .hologram {
    transform: translate(-50%, 18px) scale(0.82) rotateX(12deg);
  }

  .map-stage[data-active-path="road"] .road-hologram,
  .map-stage[data-active-path="roots"] .roots-hologram {
    transform: translate(-50%, 0) scale(1) rotateX(0deg);
  }

  .map-stage[data-active-path="road"] .roots-hologram,
  .map-stage[data-active-path="roots"] .road-hologram {
    transform: translate(-50%, 32px) scale(0.74) rotateX(18deg);
  }

  .map-stage.map-road-dive .road-hologram,
  .map-stage.map-roots-dive .roots-hologram {
    transform: translate(-50%, -8px) scale(1.06) rotateX(0deg);
  }

  .path-media-strip {
    transform: rotate(-6deg) translateX(-28%);
  }

  .path-media-strip img {
    width: 92vw;
  }

  .final-reels {
    display: grid;
  }

  .road-stop-grid,
  .preview-grid,
  .road-secret {
    grid-template-columns: 1fr;
  }

  .featured-intro,
  .trailer-grid,
  .trailer-paths {
    width: min(100%, 94vw);
  }

  .trailer-marquee span:nth-child(2) {
    display: none;
  }

  .trailer-details {
    grid-template-columns: 1fr;
  }

  .trailer-paths {
    display: grid;
    gap: 0.4rem;
  }

  .road-stop:nth-child(even) {
    transform: none;
  }

  .preview-stop {
    grid-template-columns: 1fr;
  }

  .road-section-copy {
    position: relative;
    top: auto;
  }
}

body.road-test-page {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.road-test-stage {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 1.5rem;
  background: #000;
  text-align: center;
}

.road-test-stage h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4rem, 17vw, 13rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(151, 87, 255, 0.32);
}
