/* ==========================================================================
   Nectral · GameCloud VPS – Theater hero, Nexi, interactive film, packages
   (builds on styles.css design tokens)
   ========================================================================== */

/* ---------------------------------------------------------------- Nexi (guide) */
.nexi { display: block; width: 100%; height: auto; overflow: visible; }
.nexi * { transform-box: view-box; }
.nexi__float { animation: nx-float 3.2s ease-in-out infinite; }
.nexi__jet { transform-origin: 100px 228px; animation: nx-jet .45s ease-in-out infinite alternate; }
.nexi__bulb { animation: nx-bulb 2.2s ease-in-out infinite; }
.nexi__head-g { transform-origin: 100px 134px; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.nexi__look { transition: transform .4s ease; }
.nexi__eyes { transform-origin: 100px 78px; animation: nx-blink 4.6s infinite; transition: opacity .2s; }
.nexi__happy { opacity: 0; transition: opacity .2s; }
.nexi__mouth { transform-origin: 100px 104px; transform: scale(calc(1 - var(--mouth, 0) * .2), calc(.45 + var(--mouth, 0) * 2)); }
.nexi__core { transform-origin: 100px 176px; animation: nx-core 2.4s ease-in-out infinite; }
.nexi__arm { transition: transform .55s cubic-bezier(.3,1.5,.5,1); }
.nexi__arm--l { transform-origin: 42px 160px; }
.nexi__arm--r { transform-origin: 158px 160px; }

[data-mood="happy"] .nexi__eyes { opacity: 0; }
[data-mood="happy"] .nexi__happy { opacity: 1; }
.is-talking .nexi__bulb { animation: nx-bulb-talk .3s ease-in-out infinite alternate; }
.is-talking .nexi__head-g { animation: nx-talk .7s ease-in-out infinite; }

[data-pose="peek"] .nexi__look { transform: translateX(-8px); }
[data-pose="peek"] .nexi__arm--l { transform: rotate(130deg); }
[data-pose="wave"] .nexi__arm--r { animation: nx-wave .9s ease-in-out infinite; }
[data-pose="point"] .nexi__arm--r { transform: rotate(-75deg); }
[data-pose="point"] .nexi__look { transform: translateX(6px); }
[data-pose="reach"] .nexi__arm--r { transform: rotate(-35deg); }
[data-pose="reach"] .nexi__arm--l { transform: rotate(35deg); }
[data-pose="think"] .nexi__arm--l,
[data-pose="whisper"] .nexi__arm--l { transform: rotate(-170deg); }
[data-pose="think"] .nexi__head-g { transform: rotate(-7deg); }
[data-pose="think"] .nexi__look { transform: translate(-4px, -5px); }
[data-pose="whisper"] .nexi__head-g { transform: rotate(9deg); }
[data-pose="jump"] .nexi__float { animation: nx-jump .62s cubic-bezier(.3,0,.5,1) infinite; }
[data-pose="jump"] .nexi__arm--l { transform: rotate(70deg); }
[data-pose="jump"] .nexi__arm--r { transform: rotate(-70deg); }
[data-pose="spin"] .nexi { animation: nx-spin .8s linear infinite; transform-origin: 50% 50%; }
[data-pose="fly"] .nexi { transform: rotate(9deg); transition: transform .6s; }
[data-pose="fly"] .nexi__float { animation-duration: 1.3s; }
[data-pose="fly"] .nexi__jet { animation: nx-jet-big .18s ease-in-out infinite alternate; }
[data-pose="fly"] .nexi__arm--l { transform: rotate(50deg); }
[data-pose="fly"] .nexi__arm--r { transform: rotate(-50deg); }
[data-pose="heart"] .nexi__arm--l { transform: rotate(-60deg); }
[data-pose="heart"] .nexi__arm--r { transform: rotate(60deg); }
[data-pose="heart"] .nexi__core { animation: nx-heart .7s ease-in-out infinite; }

@keyframes nx-float { 50% { transform: translateY(-8px); } }
@keyframes nx-jet { to { transform: scaleX(.78); opacity: .65; } }
@keyframes nx-jet-big { from { transform: scale(1.5, 1.9); } to { transform: scale(1.9, 2.5); opacity: .8; } }
@keyframes nx-bulb { 50% { fill: #22d3ee; } }
@keyframes nx-bulb-talk { from { fill: #4ade80; } to { fill: #bbf7d0; } }
@keyframes nx-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes nx-core { 50% { transform: scale(1.12); } }
@keyframes nx-heart { 50% { transform: scale(1.35); } }
@keyframes nx-wave { 0%, 100% { transform: rotate(-115deg); } 50% { transform: rotate(-152deg); } }
@keyframes nx-jump { 0%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(5px) scale(1.07, .93); } 50% { transform: translateY(-28px) scale(.97, 1.03); } }
@keyframes nx-spin { to { transform: rotate(360deg); } }
@keyframes nx-talk { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2.5deg) translateY(-1px); } 70% { transform: rotate(2deg); } }

/* ---------------------------------------------------------------- Curtain (hero + film) */
.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 24%, transparent 66%, rgba(0,0,0,.7) 100%),
    repeating-linear-gradient(90deg, #26062f 0, #561466 2.3%, #8f2a9b 3.7%, #5a1769 5.3%, #26062f 7.8%);
  transition: transform 2.8s cubic-bezier(.7,0,.2,1);
  will-change: transform;
}
.curtain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,220,255,.09) 48%, transparent 60%);
  background-size: 300% 100%;
  animation: curtain-sheen 9s ease-in-out infinite;
}
.curtain--l { left: 0; transform-origin: 0 50%; box-shadow: inset -36px 0 40px -10px rgba(0,0,0,.65); }
.curtain--r { right: 0; transform-origin: 100% 50%; box-shadow: inset 36px 0 40px -10px rgba(0,0,0,.65); }
.curtain-open .curtain--l,
.curtain-open .curtain--r { transform: scaleX(.13); }
.curtain-valance {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(70px, 12vh, 128px);
  background:
    radial-gradient(circle 56px at 50% 0, #6d1c80 0 54px, transparent 55px) 0 100% / 112px 46px repeat-x,
    linear-gradient(#f5c451, #b7791f) 0 calc(100% - 46px) / 100% 4px no-repeat,
    linear-gradient(180deg, #1c0425, #6d1c80) 0 0 / 100% calc(100% - 46px) no-repeat;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.65));
}
@keyframes curtain-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------------------------------------------------------------- Hero stage */
html.no-js .play-btn { display: none; }

.stage-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #05030b;
}
.stage-hero .curtain { bottom: 15%; }
.stage-hero .curtain--l { z-index: 1; }
.stage-hero .curtain--r { z-index: 3; }
.stage-hero .curtain-valance { z-index: 4; }
.stage-hero__floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 15.5%;
  z-index: 1;
  background:
    radial-gradient(ellipse 40% 60% at 50% 0, rgba(255,226,170,.16), transparent 70%),
    repeating-linear-gradient(90deg, #1b0f2c 0 80px, #160b25 80px 82px),
    #140a22;
  box-shadow: inset 0 14px 20px -10px rgba(0,0,0,.8);
}
.stage-hero__spot {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 4;
  width: min(80vw, 860px);
  height: 88%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 46% 64% at 50% 0, rgba(255,236,205,.2), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: spot-flicker 6s ease-in-out infinite;
}
.stage-hero__nexi {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) + 3vh);
  z-index: 2;
  width: clamp(110px, min(16vw, 26vh), 210px);
  transform-origin: 75% 85%;
  animation: hero-peek 7s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(139,92,246,.45));
}
.stage-hero__bubble {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-h) + 3vh);
  right: calc(50% + clamp(62px, 8.5vw, 118px));
  padding: 9px 15px;
  border-radius: 18px 18px 4px 18px;
  background: #fff;
  color: #1a1033;
  font-weight: 800;
  font-size: clamp(13px, 1.3vw, 15px);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transform-origin: 100% 100%;
  animation: hero-bubble 7s ease-in-out infinite;
}
.stage-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(7,4,15,.94) 32%, rgba(7,4,15,.55) 62%, transparent 100%);
}
.stage-hero__content {
  position: relative;
  z-index: 6;
  max-width: 900px;
  padding: 0 20px clamp(34px, 7vh, 84px);
  text-align: center;
}
.stage-hero__content h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  margin: 14px 0 16px;
}
.stage-hero__content > p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--fg-dim);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.stage-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.stage-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 0; padding: 0; list-style: none; }
.stage-hero__chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(20,13,38,.6);
  color: var(--fg-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 26px 9px 9px;
  border-radius: 999px;
  background: rgba(15,10,31,.72);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  animation: play-pulse 2.6s ease-out infinite;
}
.play-btn:hover { transform: translateY(-2px) scale(1.02); border-color: var(--primary-glow); }
.play-btn__icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  box-shadow: 0 0 34px rgba(139,92,246,.75);
}
.play-btn__icon svg { width: 22px; height: 22px; margin-left: 4px; fill: #fff; }
.play-btn__text { display: flex; flex-direction: column; line-height: 1.25; }
.play-btn__text b { font-size: 17px; }
.play-btn__text small { font-size: 12px; font-weight: 500; color: var(--fg-dim); }

@keyframes hero-peek {
  0%, 100% { transform: translateX(-22%) rotate(-5deg); }
  12%, 52% { transform: translateX(-50%) rotate(-15deg); }
  58% { transform: translateX(-45%) rotate(-9deg); }
  64%, 74% { transform: translateX(-50%) rotate(-15deg); }
  86% { transform: translateX(-22%) rotate(-5deg); }
}
@keyframes hero-bubble {
  0%, 10%, 80%, 100% { opacity: 0; transform: scale(.4); }
  16%, 72% { opacity: 1; transform: scale(1); }
}
@keyframes spot-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .85; } 50% { opacity: .95; } }
@keyframes play-pulse { 0% { box-shadow: 0 0 0 0 rgba(139,92,246,.55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(139,92,246,0); } }

/* ---------------------------------------------------------------- Page: apps + packages */
.apps-strip {
  margin-top: 48px;
  padding: 30px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  text-align: center;
}
.apps-strip h3 { margin-bottom: 6px; }
.apps-strip > p { color: var(--fg-dim); margin-bottom: 22px; }
.apps-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.app-chip {
  min-width: 150px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(139,92,246,.07);
  transition: transform .3s, border-color .3s;
}
.app-chip:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.app-chip b { display: block; font-size: 16px; }
.app-chip span { font-size: 12px; color: var(--fg-dim); }

/* operating systems + rescue */
.os-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 20px; }
.os-strip > div { padding: 30px 24px; border-radius: 24px; border: 1px solid var(--border); background: var(--bg-glass); }
.os-strip h3 { margin-bottom: 6px; }
.os-strip p { color: var(--fg-dim); }
.os-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.os-tile { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--border); background: rgba(139,92,246,.07); font-weight: 700; transition: transform .3s, border-color .3s; }
.os-tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.os-tile i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--os); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.os-tile img { width: 22px; height: 22px; }
.os-rescue { position: relative; overflow: hidden; }
.os-rescue::after { content: "grml"; position: absolute; right: -10px; bottom: -28px; font: 900 96px/1 var(--font-display); color: rgba(244,63,94,.08); pointer-events: none; }
.os-rescue__term { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #05030b; color: #86efac; font: 13px/1.6 ui-monospace, Consolas, monospace; }
.os-rescue__term span { color: #fca5a5; }
@media (max-width: 860px) { .os-strip { grid-template-columns: 1fr; } }

/* NVMe / SSD switch */
.disk-switch { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 5px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(15,10,31,.85); box-shadow: 0 10px 40px -16px rgba(139,92,246,.6); }
.disk-switch button { display: flex; flex-direction: column; align-items: center; padding: 9px 24px; border: 0; border-radius: 999px; background: none; color: var(--fg-dim); font: inherit; font-size: 15px; font-weight: 800; line-height: 1.15; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.disk-switch button small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.disk-switch button:hover { color: #fff; }
.disk-switch button[aria-checked="true"] { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 24px -8px rgba(217,70,239,.7); }
.disk-switch button[aria-checked="true"] small { color: rgba(255,255,255,.85); }
.disk-switch button:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
[data-disk="nvme"] .d-ssd, [data-disk="ssd"] .d-nvme { display: none; }
.d-nvme, .d-ssd { animation: disk-in .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes disk-in { from { opacity: 0; transform: translateY(6px); } }
.pkg-card__fullname { margin: 6px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .03em; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(31,20,58,.92), rgba(15,10,31,.92));
  color: var(--fg);
  text-align: left;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.pkg-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 24px 60px -20px rgba(139,92,246,.55); }
.pkg-card--featured { border-color: rgba(34,211,238,.55); box-shadow: 0 0 0 1px rgba(34,211,238,.25), 0 30px 80px -30px rgba(34,211,238,.55); }
.pkg-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pkg-card__name { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.pkg-card__tag { min-height: 2.9em; margin: 6px 0 14px; color: var(--fg-dim); font-size: 14px; line-height: 1.45; }
.pkg-card__price { display: flex; align-items: baseline; gap: 6px; }
.pkg-card__price b { font-family: var(--font-display); font-size: 38px; line-height: 1; }
.pkg-card__price span { color: var(--muted); font-size: 14px; }
.pkg-card__specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 16px; }
.pkg-card__specs li {
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(139,92,246,.08);
  color: var(--fg-dim);
  font-size: 12px;
}
.pkg-card__specs b { display: block; color: var(--fg); font-size: 16px; }
.pkg-card__incl { list-style: none; margin: 0 0 22px; color: var(--fg-dim); font-size: 14px; }
.pkg-card__incl li { margin-bottom: 6px; }
.pkg-card__incl li::before { content: '✓'; margin-right: 8px; color: var(--accent-green); font-weight: 800; }
.pkg-card__cta { margin-top: auto; width: 100%; justify-content: center; }
.pkg-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- Film shell */
html.film-open, html.film-open body { overflow: hidden; }
.film {
  --fit: 1;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #000;
  color: #fff;
  opacity: 0;
  transition: opacity .6s ease;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.film.is-on { opacity: 1; }
.film.is-closing { pointer-events: none; }
.film *, .film *::before, .film *::after { box-sizing: border-box; }
.film.is-paused *, .film.is-paused *::before, .film.is-paused *::after { animation-play-state: paused !important; }
.film.is-paused::after {
  content: 'II';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 55;
  transform: translate(-50%, -50%);
  font: 900 64px/1 var(--font-display);
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 30px rgba(139,92,246,.9);
  pointer-events: none;
}
.film__cam { position: absolute; inset: 0; }
.film.is-shaking .film__cam { animation: cam-shake .16s linear infinite; }
.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition-property: opacity, visibility;
  transition-duration: .8s;
}
.scene.is-on { opacity: 1; visibility: visible; }
.stage16 { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform: translate(-50%, -50%) scale(var(--fit)); }
.cam { position: absolute; inset: 0; }

.film__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.guide { position: absolute; left: 0; top: 0; z-index: 10; width: 200px; height: 240px; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.guide svg { width: 100%; height: 100%; transition: opacity .5s; filter: drop-shadow(0 16px 22px rgba(0,0,0,.5)) drop-shadow(0 0 18px rgba(139,92,246,.45)); }
.guide.is-hidden svg { opacity: 0; }
.film__front { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
.film__front.is-gone { display: none; }
.film .curtain { bottom: 16%; }
.film .curtain-valance { z-index: 2; }

.film__hand { position: absolute; z-index: 15; width: clamp(130px, 24vmin, 250px); opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.film__hand.is-on { pointer-events: auto; cursor: pointer; }
.film__hand svg { display: block; width: 100%; filter: drop-shadow(0 0 30px rgba(139,92,246,.85)); }
.film__hand.is-waiting svg { animation: hand-wiggle 1.4s ease-in-out infinite; }
.film__hand.is-grab svg { animation: hand-grab .38s ease; }

.film__hud { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.film__hud > button, .film__hud > .hud-pkgs, .film__hud > .hud-end { pointer-events: auto; }
.film__flash { position: absolute; inset: 0; z-index: 30; opacity: 0; pointer-events: none; background: #fff; }
.film__flash.is-on { opacity: 1; }

/* photosensitivity notice */
.film__warn { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(5,3,11,.92); opacity: 0; transition: opacity .45s; }
.film__warn[hidden] { display: none; }
.film__warn.is-in { opacity: 1; }
.film__warn-box { width: min(560px, 100%); padding: 32px 30px 28px; border: 1px solid rgba(251,146,60,.45); border-radius: 24px; background: linear-gradient(160deg, #1f143a, #0a0718); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 50px -20px rgba(251,146,60,.5); text-align: center; transform: translateY(14px) scale(.97); transition: transform .5s cubic-bezier(.2,1.3,.4,1); }
.film__warn.is-in .film__warn-box { transform: none; }
.film__warn-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--grad-orange); }
.film__warn-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.film__warn h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); letter-spacing: .02em; text-transform: uppercase; }
.film__warn p { margin: 0 0 24px; color: var(--fg-dim); font-size: 15px; line-height: 1.6; }
.film__warn-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.film__warn-btns .btn { min-width: 200px; justify-content: center; }
.film__warn-btns small { display: block; width: 100%; margin-top: 2px; color: var(--fg-dim); font-family: var(--font-body, inherit); font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.film__warn-btns [data-warn="calm"] { flex-wrap: wrap; }
@media (max-width: 520px) { .film__warn-box { padding: 26px 20px 22px; } .film__warn-btns .btn { width: 100%; min-width: 0; }
  .film__title.is-ep b { max-width: 92vw; font-size: 34px; line-height: 1.15; white-space: normal; } }

/* calm version: no flicker, no blinking, no shaking */
.film.is-calm .film__cam, .film.is-calm .li-shake, .film.is-calm .film__grain, .film.is-calm .lo-arrow, .film.is-calm .li-arrow, .film.is-calm .fc__term i,
.film.is-calm .st-beam, .film.is-calm .dc-windows i, .film.is-calm .r3 i, .film.is-calm .rk-unit i, .film.is-calm .rk-node, .film.is-calm .rk-node__leds,
.film.is-calm .dc-sign { animation: none !important; }
.film.is-calm .film__flash { transition-timing-function: ease-in-out !important; }
.film__title {
  position: absolute;
  inset: 0;
  z-index: 31;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease;
}
.film__title b {
  padding-left: .3em;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 30px rgba(139,92,246,.85);
  transition: letter-spacing 3.4s ease-out;
}
.film__title small { font-size: clamp(11px, 1.3vw, 15px); letter-spacing: .42em; text-transform: uppercase; color: var(--fg-dim); }
.film__title.is-on { opacity: 1; }
.film__title.is-on b { letter-spacing: .42em; }
.film__title.is-ep b { font-size: clamp(30px, 6.4vw, 84px); letter-spacing: .06em; background: var(--grad-adventure); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 24px rgba(139,92,246,.7)); }
.film__title.is-ep.is-on b { letter-spacing: .1em; }
.film__title.is-ep small { padding: 6px 18px; border: 1px solid rgba(34,211,238,.5); border-radius: 999px; background: rgba(34,211,238,.1); color: #cffafe; font-weight: 800; }
.film__bars i { position: absolute; left: 0; right: 0; z-index: 40; height: 0; background: #000; transition: height 1.2s cubic-bezier(.6,0,.2,1); }
.film__bars i:first-child { top: 0; }
.film__bars i:last-child { bottom: 0; }
.film.bars-on .film__bars i { height: clamp(26px, 8vh, 88px); }
.film__grain {
  position: absolute;
  inset: -50%;
  z-index: 41;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(5) infinite;
}
.film__vignette { position: absolute; inset: 0; z-index: 41; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(0,0,0,.6) 100%); }

.film__subs {
  position: absolute;
  left: 50%;
  bottom: clamp(38px, 11vh, 124px);
  z-index: 50;
  width: max-content;
  max-width: min(900px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.film__subs.is-on { opacity: 1; transform: translate(-50%, 0); }
.film.no-subs .film__subs { display: none; }
.film__subs-name { font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #a5f3fc; text-shadow: 0 0 10px rgba(34,211,238,.6); }
.film__subs-text {
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(5,3,11,.66);
  font-size: clamp(17px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.film__controls { position: absolute; top: clamp(10px, 2vh, 20px); right: clamp(10px, 2vw, 24px); z-index: 60; display: flex; gap: 8px; align-items: center; }
.film__controls button {
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,10,31,.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.film__controls button:hover { background: rgba(139,92,246,.5); }
.film__controls button:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.film__controls svg { width: 18px; height: 18px; fill: currentColor; }
.film__skip { padding: 0 16px !important; }
.i-play, .i-x { display: none; }
.film.is-paused .i-play { display: block; }
.film.is-paused .i-pause { display: none; }
.film.is-muted .i-x { display: block; }
.film.is-muted .i-wave { display: none; }
.film.no-subs [data-ctl="subs"] { opacity: .5; }
.film__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 61; height: 3px; background: rgba(255,255,255,.08); }
.film__progress i { display: block; height: 100%; background: var(--grad-adventure); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s ease; }

@keyframes cam-shake { 0% { transform: translate(0, 0); } 25% { transform: translate(2px, -1px); } 50% { transform: translate(-1px, 2px); } 75% { transform: translate(-2px, -1px); } 100% { transform: translate(1px, 1px); } }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-7%, -2%); } 80% { transform: translate(3%, 6%); } }
@keyframes hand-wiggle { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(5deg) scale(1.06); } }
@keyframes hand-grab { 50% { transform: scale(.78, .7); } }

/* ---------------------------------------------------------------- Scene: curtain / void */
.s-curtain, .s-void { background: #05030b; }
.s-void { background: radial-gradient(ellipse at 50% 50%, #120a2e, #000 70%); }
.st-back { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 40%, #1d1040, #05030b 72%); }
.st-beam {
  position: absolute;
  left: 50%;
  top: -10%;
  width: clamp(110px, 20vmin, 240px);
  height: 120%;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  background: linear-gradient(90deg, transparent, rgba(220,250,255,.9) 42%, #fff 50%, rgba(220,250,255,.9) 58%, transparent);
  box-shadow: 0 0 140px 50px rgba(165,243,252,.5);
  filter: blur(5px);
  transition: transform 1.4s cubic-bezier(.2,1,.3,1), opacity .6s;
}
.beam-on .st-beam { opacity: 1; transform: translateX(-50%) scaleX(1); animation: beam-pulse 1.1s ease-in-out infinite; }
.dive .st-beam { transform: translateX(-50%) scaleX(16); transition: transform 2.4s cubic-bezier(.7,0,.9,.6); }
.st-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16.5%; background: radial-gradient(ellipse 40% 70% at 50% 0, rgba(255,230,180,.18), transparent 70%), #140a22; }
@keyframes beam-pulse { 50% { filter: blur(8px) brightness(1.2); } }

/* ---------------------------------------------------------------- Scene: data center exterior */
.dc-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #0d0726 0%, #2a1560 34%, #8a3a8a 60%, #f0776a 78%, #fdba74 92%); }
.dc-sky::before {
  content: '';
  position: absolute;
  inset: 0 0 45% 0;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 18%, #fff, transparent), radial-gradient(1.2px 1.2px at 22% 34%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 37% 12%, #fff, transparent), radial-gradient(1.2px 1.2px at 52% 26%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 66% 9%, #fff, transparent), radial-gradient(1.2px 1.2px at 79% 30%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 91% 16%, #fff, transparent), radial-gradient(1.2px 1.2px at 15% 48%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 45% 44%, #fff, transparent), radial-gradient(1.4px 1.4px at 72% 50%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.dc-moon { position: absolute; right: 12%; top: 11%; width: 9vmin; height: 9vmin; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff7ed, #fde68a 60%, #f59e0b); box-shadow: 0 0 70px rgba(253,230,138,.6); }
.dc-hill { position: absolute; left: -15%; right: -15%; top: calc(50% + 235px * var(--fit)); height: 70%; border-radius: 50% 50% 0 0 / 22% 22% 0 0; background: #1d3b2a; }
.dc-hill--far { top: calc(50% + 175px * var(--fit)); left: -30%; right: 20%; background: #3a2166; }
.dc-ground { position: absolute; left: 0; right: 0; bottom: 0; top: calc(50% + 270px * var(--fit)); background: linear-gradient(#173222, #0a150e); }
.dc-cam { transform-origin: 640px 580px; }
.dc-building {
  position: absolute;
  left: 290px;
  top: 250px;
  width: 700px;
  height: 380px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #2d1f57, #181033);
  box-shadow: inset 0 0 0 3px #44307f, 0 30px 90px rgba(139,92,246,.4), 0 0 140px rgba(34,211,238,.16);
}
.dc-building::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 104px;
  height: 3px;
  background: var(--grad-adventure);
  box-shadow: 0 0 18px rgba(34,211,238,.8);
}
.dc-solar { position: absolute; left: 40px; right: 40px; top: -38px; height: 36px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; transform: perspective(300px) rotateX(38deg); transform-origin: bottom; }
.dc-solar i { border-radius: 2px; border: 1px solid #0f1e4a; background: linear-gradient(135deg, #1e3a8a, #3b82f6 60%, #bfdbfe); }
.dc-sign {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 8px #c4b5fd, 0 0 24px #8b5cf6, 0 0 50px #8b5cf6;
  animation: neon 5s infinite;
}
.dc-sign small { display: block; margin-top: 6px; font-size: 14px; letter-spacing: .55em; color: #a5f3fc; text-shadow: 0 0 10px #22d3ee; }
.dc-windows { position: absolute; left: 40px; right: 40px; top: 130px; height: 96px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 10px; }
.dc-windows i { border-radius: 4px; background: var(--c); opacity: .25; box-shadow: 0 0 14px var(--c); animation: win 6s var(--d) infinite; }
.dc-door { position: absolute; left: 290px; bottom: 0; width: 120px; height: 140px; padding: 26px 8px 0; display: flex; gap: 4px; border-radius: 10px 10px 0 0; background: #0b0820; box-shadow: 0 0 0 4px #4c3d80, 0 0 40px rgba(34,211,238,.5); }
.dc-door i { flex: 1; background: linear-gradient(180deg, #a5f3fc, #22d3ee 60%, #0891b2); opacity: .85; }
.dc-door b { position: absolute; left: 0; right: 0; top: 4px; text-align: center; font-size: 13px; letter-spacing: .2em; color: #fb923c; text-shadow: 0 0 8px #fb923c; }
.dc-door::after { content: ''; position: absolute; top: 100%; left: -70px; right: -70px; height: 100px; background: linear-gradient(rgba(34,211,238,.35), transparent); clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%); }
.dc-turbine { position: absolute; left: var(--x); top: 225px; width: 20px; height: 405px; transform: scale(var(--s)); transform-origin: 50% 100%; }
.dc-mast { position: absolute; left: 7px; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: linear-gradient(#f1f5f9, #94a3b8); }
.dc-rotor { position: absolute; left: 10px; top: 0; width: 0; height: 0; animation: spin 6s linear infinite; }
.dc-rotor::after { content: ''; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #e2e8f0; }
.dc-rotor b { position: absolute; left: -4px; top: -130px; width: 8px; height: 130px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#fff, #cbd5e1); transform-origin: 4px 130px; }
.dc-rotor b:nth-child(2) { transform: rotate(120deg); }
.dc-rotor b:nth-child(3) { transform: rotate(240deg); }
.dc-tree { position: absolute; left: var(--x); top: 520px; width: 70px; height: 110px; transform: scale(var(--s)); transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.dc-tree::before { content: ''; position: absolute; left: 0; top: 0; width: 70px; height: 80px; border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 35% 30%, #86efac, #22c55e 55%, #166534); box-shadow: 0 0 20px rgba(34,197,94,.35); }
.dc-tree::after { content: ''; position: absolute; left: 30px; bottom: 0; width: 10px; height: 36px; border-radius: 3px; background: #5b3a1e; }
@keyframes win { 0%, 40% { opacity: .2; } 45%, 80% { opacity: .95; } 85%, 100% { opacity: .35; } }
@keyframes neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .55; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { 50% { transform: scale(var(--s)) rotate(2deg); } }

/* ---------------------------------------------------------------- Scene: elevator outside */
.lo-wall { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(139,92,246,.28), transparent 70%), repeating-linear-gradient(90deg, #1b1234 0 118px, #251943 118px 121px), #1b1234; }
.lo-floor { position: absolute; left: 0; right: 0; bottom: 0; top: calc(50% + 280px * var(--fit)); background: linear-gradient(#2a1f4a, #0c0818); box-shadow: 0 -2px 0 #8b5cf6, 0 -10px 30px rgba(139,92,246,.4); }
.lo-cam { transform-origin: 640px 440px; }
.lo-frame { position: absolute; left: 470px; top: 136px; width: 340px; height: 504px; padding: 16px 16px 0; border-radius: 16px 16px 0 0; background: linear-gradient(#3b2f63, #261d4a); box-shadow: 0 0 0 4px #4c3d80, 0 0 70px rgba(139,92,246,.4); }
.lo-display { height: 58px; margin: 0 56px 14px; display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 10px; background: #07040f; color: #fb923c; font: 700 34px/1 ui-monospace, Consolas, monospace; text-shadow: 0 0 12px #fb923c; }
.lo-arrow { font-size: 22px; animation: blink 1s steps(2) infinite; }
.lo-arrow.is-off { visibility: hidden; }
.lo-doors { position: relative; height: 416px; overflow: hidden; border-radius: 6px 6px 0 0; background: #000; }
.lo-inside { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 25%, #fff, #cffafe 25%, #a78bfa 70%, #4c1d95); }
.lo-door { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, #8790a3, #e5e9f0 40%, #b8c0cf 62%, #7b8497); transition: transform 1.5s cubic-bezier(.6,0,.3,1); }
.lo-door--l { left: 0; box-shadow: inset -2px 0 0 #4b5263; }
.lo-door--r { right: 0; box-shadow: inset 2px 0 0 #4b5263; }
.s-liftout.is-open .lo-door--l { transform: translateX(-100%); }
.s-liftout.is-open .lo-door--r { transform: translateX(100%); }
.lo-panel { position: absolute; left: 836px; top: 356px; width: 58px; height: 112px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(#cbd5e1, #64748b); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lo-btn { width: 32px; height: 32px; border-radius: 50%; background: #1e293b; box-shadow: inset 0 0 0 3px #94a3b8; transition: background .2s, box-shadow .2s; }
.lo-btn.is-on { background: #22d3ee; box-shadow: inset 0 0 0 3px #cffafe, 0 0 24px #22d3ee, 0 0 60px #22d3ee; }
.lo-plant { position: absolute; left: 300px; top: 470px; width: 90px; height: 170px; }
.lo-plant::after { content: ''; position: absolute; left: 18px; bottom: 0; width: 54px; height: 60px; border-radius: 6px 6px 14px 14px; background: linear-gradient(#f97316, #c2410c); }
.lo-plant i { position: absolute; left: 38px; bottom: 50px; width: 16px; height: 110px; border-radius: 50%; background: linear-gradient(#4ade80, #15803d); transform-origin: 50% 100%; }
.lo-plant i:nth-child(1) { transform: rotate(-28deg); }
.lo-plant i:nth-child(3) { transform: rotate(26deg); height: 96px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- Scene: elevator inside */
.li-shake { position: absolute; inset: 0; }
.s-liftin.is-riding .li-shake { animation: ride-shake .3s linear infinite; }
.li-walls {
  position: absolute;
  inset: -2%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 16%, transparent 84%, rgba(0,0,0,.55)),
    linear-gradient(180deg, #e8ecf4 0 3%, #2a2f3a 3% 5%, transparent 5%),
    repeating-linear-gradient(90deg, #6b7280 0 2px, #7d8594 2px 5px, #737b8a 5px 8px),
    #6b7280;
}
.li-walls::after { content: ''; position: absolute; left: 0; right: 0; top: 4%; height: 6px; background: var(--grad-adventure); box-shadow: 0 0 22px rgba(139,92,246,.9); }
.li-cam { transform-origin: 640px 400px; }
.li-display { position: absolute; left: 520px; top: 64px; width: 240px; height: 100px; padding-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; background: #05030b; box-shadow: 0 0 0 3px #2a2f3a, 0 0 30px rgba(251,146,60,.3); color: #fb923c; font: 700 40px/1 ui-monospace, Consolas, monospace; text-shadow: 0 0 12px #fb923c; }
.li-display small { position: absolute; left: 0; right: 0; bottom: 12px; font: 800 11px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; text-align: center; color: rgba(251,146,60,.6); text-shadow: none; }
.li-arrow { font-size: 24px; opacity: 0; }
.s-liftin.is-riding .li-arrow { opacity: 1; animation: blink .8s steps(2) infinite; }
.li-doors { position: absolute; left: 390px; top: 196px; width: 500px; height: 560px; overflow: hidden; background: #000; box-shadow: 0 0 0 12px #2a2f3a, 0 0 0 16px #8b5cf6, 0 0 50px 16px rgba(139,92,246,.5); }
.li-light { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(139,92,246,.4), transparent), repeating-linear-gradient(90deg, #1b1234 0 118px, #251943 118px 121px); transition: filter 1s; }
.s-liftin.is-flood .li-light { background: radial-gradient(ellipse at 50% 40%, #fff, #e0f7ff 35%, #67e8f9 70%, #8b5cf6); filter: brightness(1.3); }
.li-door { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, #8790a3, #e5e9f0 40%, #b8c0cf 62%, #7b8497); transition: transform 1.5s cubic-bezier(.6,0,.3,1); }
.li-door--l { left: 0; transform: translateX(-100%); box-shadow: inset -2px 0 0 #4b5263; }
.li-door--r { right: 0; transform: translateX(100%); box-shadow: inset 2px 0 0 #4b5263; }
.s-liftin.is-closed .li-door { transform: translateX(0); }
.li-note { position: absolute; left: 960px; top: 300px; font-size: 54px; color: #c4b5fd; text-shadow: 0 0 18px #8b5cf6; opacity: 0; }
.li-note--2 { left: 250px; top: 380px; font-size: 44px; color: #a5f3fc; text-shadow: 0 0 18px #22d3ee; }
.s-liftin.is-riding .li-note { animation: note-float 2.4s ease-in-out infinite; }
.s-liftin.is-riding .li-note--2 { animation-delay: 1.2s; }
@keyframes ride-shake { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(1px, 1px); } 50% { transform: translate(-1px, 0); } 75% { transform: translate(0, -1px); } }
@keyframes note-float { 0% { opacity: 0; transform: translateY(30px) rotate(-10deg); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-80px) rotate(12deg); } }

/* ---------------------------------------------------------------- Scene: server hall (3D) */
.hall-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #2a1f66 0%, #0d0a26 55%, #05030b 100%); }
.hall-3d { position: absolute; inset: 0; overflow: hidden; perspective: calc(700px * var(--fit)); perspective-origin: 50% 46%; }
.hall-scale { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: scale3d(var(--fit), var(--fit), var(--fit)); }
.hall-world { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.hall-floor, .hall-ceil { position: absolute; left: -340px; top: -1700px; width: 680px; height: 3400px; }
.hall-floor {
  transform: translateY(220px) translateZ(-1500px) rotateX(90deg);
  background:
    linear-gradient(90deg, transparent 47%, rgba(34,211,238,.55) 49%, rgba(34,211,238,.55) 51%, transparent 53%),
    linear-gradient(90deg, rgba(34,211,238,.16) 2px, transparent 2px) 0 0 / 68px 68px,
    linear-gradient(rgba(139,92,246,.2) 2px, transparent 2px) 0 0 / 68px 68px,
    linear-gradient(#0e0a2a, #160f3a);
}
.hall-ceil {
  transform: translateY(-235px) translateZ(-1500px) rotateX(-90deg);
  background:
    repeating-linear-gradient(180deg, transparent 0 160px, rgba(240,250,255,.85) 160px 172px, transparent 172px 180px) 50% 0 / 34% 100% no-repeat,
    linear-gradient(90deg, #120d2e, #1d1645 50%, #120d2e);
}
.r3 {
  position: absolute;
  left: -120px;
  top: -210px;
  width: 240px;
  height: 430px;
  border-radius: 6px;
  transform: translateX(var(--x)) translateZ(var(--z)) rotateY(var(--ry));
  background:
    linear-gradient(90deg, #2c2556 0 10px, transparent 10px calc(100% - 10px), #2c2556 calc(100% - 10px)),
    repeating-linear-gradient(180deg, #19143a 0 25px, #0b0819 25px 28px);
  box-shadow: inset 0 0 0 2px #3d3178, 0 0 40px rgba(139,92,246,.2);
  backface-visibility: hidden;
}
.r3::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 6px 6px 0 0; background: var(--led); box-shadow: 0 0 20px var(--led); }
.r3 i { position: absolute; inset: 16px 22px; background-image: radial-gradient(circle, var(--led) 0 2.5px, transparent 3.5px); background-size: 22px 28px; animation: leds 1.6s var(--d) steps(2) infinite; }
.h-cube { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border: 2px solid var(--c); border-radius: 7px; background: linear-gradient(135deg, var(--c), transparent); box-shadow: 0 0 22px var(--c); opacity: .9; transform: translate3d(var(--x), var(--y), var(--z)) rotate(45deg); animation: cube-float 4s var(--d) ease-in-out infinite; }
.hall-end {
  position: absolute;
  left: -340px;
  top: -210px;
  width: 680px;
  height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateZ(-3100px);
  background: radial-gradient(ellipse, rgba(139,92,246,.45), transparent 70%);
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 0 20px #a78bfa, 0 0 60px #8b5cf6;
}
.hall-end b { font-size: 90px; color: #f472b6; text-shadow: 0 0 30px #f472b6; animation: heart 1.2s ease-in-out infinite; }
.hall-end small { font-size: 26px; letter-spacing: .4em; color: #a5f3fc; text-shadow: 0 0 14px #22d3ee; }
@keyframes leds { 50% { opacity: .35; } }
@keyframes cube-float { 50% { translate: 0 -18px; } }
@keyframes heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }

/* ---------------------------------------------------------------- Scene: rack close-up + arrival */
.rk-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #271c58, #0a0718 72%); }
.rk-bg::before { content: ''; position: absolute; inset: 8% -5% 22%; background: repeating-linear-gradient(90deg, transparent 0 3%, rgba(139,92,246,.16) 3% 12%, transparent 12% 15%); filter: blur(6px); }
.rk-bg::after { content: ''; position: absolute; inset: 14% -5% 30%; background-image: radial-gradient(circle, rgba(34,211,238,.7) 0 2px, transparent 3px); background-size: 46px 38px; filter: blur(1.5px); animation: leds 2.2s steps(2) infinite; opacity: .5; }
.rk-bg--arrive { background: radial-gradient(ellipse at 50% 40%, #173a35, #07120f 72%); }
.rk-floor { position: absolute; left: 0; right: 0; bottom: 0; top: calc(50% + 300px * var(--fit)); background: linear-gradient(#151036, #07040f); box-shadow: 0 -2px 0 rgba(34,211,238,.5); }
.rk-cam { transform-origin: 640px 370px; }
.ar-cam { transform-origin: 640px 380px; }
.rk-rack { position: absolute; left: 430px; top: 118px; width: 420px; height: 542px; border-radius: 16px; background: linear-gradient(#2d2456, #1a1438); box-shadow: 0 0 0 4px #4b3d8f, 0 40px 100px rgba(0,0,0,.6), 0 0 90px rgba(139,92,246,.3); perspective: 1400px; }
.rk-inner { position: absolute; inset: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.rk-unit { position: relative; height: 62px; flex: 0 0 auto; border-radius: 8px; background: repeating-linear-gradient(90deg, #120e26 0 6px, #1b1638 6px 8px); box-shadow: inset 0 0 0 2px #2e2660; }
.rk-unit i { position: absolute; right: 16px; top: 50%; width: 60px; height: 8px; margin-top: -4px; background: radial-gradient(circle, #22c55e 0 3px, transparent 4px) 0 0 / 12px 8px; animation: leds 1.2s steps(2) infinite; }
.rk-node {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6 40%, #22d3ee);
  box-shadow: 0 0 44px rgba(139,92,246,.85), inset 0 0 0 2px rgba(255,255,255,.4);
  filter: saturate(.55) brightness(.65);
  transition: filter 1.2s;
  animation: node-pulse 2.4s ease-in-out infinite;
}
.rk-rack.is-open .rk-node { filter: none; }
.rk-rack.is-pulling .rk-node { animation: node-pull .35s ease-in-out infinite; }
.rk-node b { font-family: var(--font-display); font-size: 46px; letter-spacing: .22em; padding-left: .22em; }
.rk-node small { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.rk-node__heart { font-size: 28px; animation: heart 1.2s ease-in-out infinite; }
.rk-node__leds { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 8px; background: radial-gradient(circle, #fff 0 2.5px, transparent 3.5px) 0 0 / 16px 8px; animation: leds .6s steps(2) infinite; }
.rk-door { position: absolute; inset: 0; border-radius: 16px; border: 7px solid #3d3275; background: linear-gradient(120deg, rgba(165,243,252,.2), rgba(139,92,246,.12) 40%, rgba(165,243,252,.24) 60%, rgba(139,92,246,.1)); box-shadow: inset 0 0 40px rgba(255,255,255,.08); transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.5,0,.2,1); }
.rk-door i { position: absolute; right: 18px; top: 45%; width: 10px; height: 74px; border-radius: 5px; background: linear-gradient(#e2e8f0, #64748b); }
.rk-rack.is-open .rk-door { transform: rotateY(-108deg); }
.rk-duck { position: absolute; left: 36px; top: -58px; width: 76px; height: 60px; padding: 0; border: 0; background: none; cursor: pointer; animation: duck-bob 2.6s ease-in-out infinite; }
.rk-duck i { position: absolute; display: block; }
.rk-duck__body { left: 4px; bottom: 0; width: 64px; height: 36px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; background: radial-gradient(circle at 40% 35%, #fef08a, #facc15 60%, #ca8a04); }
.rk-duck__head { left: 32px; bottom: 26px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fef08a, #facc15 70%); }
.rk-duck__beak { left: 58px; bottom: 36px; width: 17px; height: 9px; border-radius: 50% 60% 60% 50%; background: #fb923c; }
.rk-duck__eye { left: 48px; bottom: 44px; width: 6px; height: 6px; border-radius: 50%; background: #111; }
.rk-duck.is-squeak i { animation: squish .45s ease; }
.ar-server { position: relative; flex: 1; padding: 12px; border-radius: 12px; background: linear-gradient(#0f172a, #111827); box-shadow: inset 0 0 0 2px #334155; transition: box-shadow 1.2s; }
.s-arrive.is-lit .ar-server { box-shadow: inset 0 0 0 2px #4ade80, 0 0 70px rgba(74,222,128,.55); }
.ar-screen { height: calc(100% - 18px); padding: 12px 16px; overflow: hidden; border-radius: 8px; background: #020617; }
.ar-name { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 28px; letter-spacing: .06em; color: #fff; }
.ar-log { margin: 0; color: #86efac; font: 13px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.ar-tag { position: absolute; left: 440px; top: 66px; width: 400px; text-align: center; font-family: var(--font-display); font-size: 30px; letter-spacing: .26em; text-transform: uppercase; color: #4ade80; text-shadow: 0 0 18px #22c55e; opacity: 0; transform: translateY(12px); transition: opacity 1s, transform 1s; }
.ar-cam::before { content: ''; position: absolute; left: 340px; top: -180px; width: 600px; height: 900px; background: radial-gradient(ellipse 50% 60% at 50% 0, rgba(187,247,208,.3), transparent 70%); opacity: 0; transition: opacity 1.2s; }
.s-arrive.is-lit .ar-tag { opacity: 1; transform: none; }
.s-arrive.is-lit .ar-cam::before { opacity: 1; }
@keyframes node-pulse { 50% { box-shadow: 0 0 70px rgba(139,92,246,1), inset 0 0 0 2px rgba(255,255,255,.6); } }
@keyframes node-pull { 50% { transform: scale(1.04); box-shadow: 0 0 120px rgba(196,181,253,1), inset 0 0 0 3px #fff; } }
@keyframes duck-bob { 50% { transform: translateY(-3px) rotate(-4deg); } }
@keyframes squish { 40% { transform: scale(1.15, .8); } 70% { transform: scale(.95, 1.08); } }

/* ---------------------------------------------------------------- Scene: inside the node */
.cy-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, #3b1d7a 0%, #140a30 55%, #05030b 100%); }
.cy-bg::after { content: ''; position: absolute; inset: -20% 0; background-image: radial-gradient(circle, rgba(196,181,253,.55) 1px, transparent 1.6px); background-size: 46px 46px; animation: drift 14s linear infinite; }
.cy-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -12%;
  height: 62%;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: 50% 0;
  background: linear-gradient(90deg, rgba(34,211,238,.45) 2px, transparent 2px) 0 0 / 64px 64px, linear-gradient(rgba(139,92,246,.5) 2px, transparent 2px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 45%);
  mask-image: linear-gradient(transparent, #000 45%);
  animation: grid-move 1.1s linear infinite;
}
.cy-glow { position: absolute; left: 50%; top: 32%; width: 70vmin; height: 70vmin; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(167,139,250,.45), transparent 65%); animation: glow 4s ease-in-out infinite; }
@keyframes grid-move { to { background-position: 0 64px, 0 64px; } }
@keyframes drift { to { transform: translateY(-46px); } }
@keyframes glow { 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.1); } }

/* ---------------------------------------------------------------- HUD: hand / features */
.hud-hand {
  position: absolute;
  left: 50%;
  bottom: clamp(96px, 18vh, 190px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--grad-primary);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(139,92,246,.7);
  animation: play-pulse 1.8s ease-out infinite;
}
.hud-hand span { font-size: 22px; }
.hud-hand[hidden] { display: none; }

.hud-features { position: absolute; top: clamp(64px, 10vh, 110px); bottom: clamp(150px, 24vh, 230px); right: clamp(16px, 5vw, 80px); width: min(540px, 56vw); display: flex; flex-direction: column; justify-content: center; gap: 12px; transition: opacity .6s, transform .6s; }
.hud-features.is-out { opacity: 0; transform: translateX(50px); }
.fc {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(167,139,250,.38);
  background: linear-gradient(135deg, rgba(31,20,58,.9), rgba(15,10,31,.9));
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7), 0 0 30px -10px rgba(139,92,246,.6);
  opacity: 0;
  transform: translateX(70px) scale(.9);
  transition: opacity .5s, transform .65s cubic-bezier(.2,1.4,.4,1), filter .5s;
}
.fc.is-in { opacity: 1; transform: none; }
.fc { max-height: 340px; }
.fc.is-gone { max-height: 0; margin-block: -6px; padding-block: 0; border-width: 0; opacity: 0 !important; transform: translateX(60px) scale(.9) !important; transition: opacity .3s, transform .3s, max-height .45s .1s, padding .45s .1s, margin .45s .1s; overflow: hidden; }
.fc--resc .fc__ico { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.fc--os .fc__ico { background: linear-gradient(135deg, #0ea5e9, #22c55e); }
.fc__term--resc span { color: #fca5a5; }
.fc__iso { display: inline-block; margin-top: 8px; padding: 3px 10px; border: 1px dashed rgba(252,165,165,.6); border-radius: 6px; color: #fecaca; font: 700 12px ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.fc__chips--os span { display: inline-flex; align-items: center; gap: 7px; border-color: rgba(255,255,255,.28); background: var(--os); color: #fff; }
.fc__chips--os img { width: 16px; height: 16px; }
.fc.is-past { opacity: .62; transform: scale(.97); filter: saturate(.7); }
.fc__ico { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--grad-primary); }
.fc--apps .fc__ico { background: var(--grad-green); }
.fc--gc .fc__ico { background: linear-gradient(135deg, #22d3ee, #8b5cf6); }
.fc--de .fc__ico { background: var(--grad-orange); }
.fc__ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc__body { position: relative; flex: 1; min-width: 0; }
.fc h3 { margin: 0 0 2px; font-family: var(--font-display); font-size: 22px; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.fc p { margin: 0; color: #cfc6ee; font-size: 14px; line-height: 1.45; }
.fc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fc__chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(34,211,238,.45); background: rgba(34,211,238,.12); color: #cffafe; font-size: 13px; font-weight: 700; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s cubic-bezier(.2,1.8,.4,1); }
.fc--apps .fc__chips span { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.12); color: #dcfce7; }
.fc__chips span.is-in { opacity: 1; transform: none; }
.fc__stamp { position: absolute; right: -4px; top: -34px; padding: 6px 12px; border: 3px solid #4ade80; border-radius: 10px; background: rgba(5,3,11,.85); color: #4ade80; font-family: var(--font-display); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 22px rgba(74,222,128,.5); opacity: 0; transform: rotate(-10deg) scale(2.6); transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.fc__stamp.is-in { opacity: 1; transform: rotate(-10deg) scale(1); }
.fc__term { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #05030b; color: #86efac; font: 13px ui-monospace, Consolas, monospace; }
.fc__term i { display: inline-block; width: 8px; height: 14px; vertical-align: -2px; background: #86efac; animation: blink 1s steps(2) infinite; }
.fc__flag { display: flex; width: 120px; height: 8px; margin-top: 10px; overflow: hidden; border-radius: 4px; }
.fc__flag i { flex: 1; }
.fc__flag i:nth-child(1) { background: #111; }
.fc__flag i:nth-child(2) { background: #dd0000; }
.fc__flag i:nth-child(3) { background: #ffce00; }

/* ---------------------------------------------------------------- HUD: packages / speed / end */
.hud-pkgs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(70px, 10vh, 110px) clamp(16px, 4vw, 60px) clamp(90px, 12vh, 130px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .7s cubic-bezier(.2,1,.3,1);
}
.hud-pkgs[hidden] { display: none; }
.hud-pkgs.is-in { opacity: 1; transform: none; }
.hud-pkgs__title { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4.4vw, 54px); text-transform: uppercase; text-align: center; }
.hud-pkgs .disk-switch { margin: 0 auto 18px; }
.hud-pkgs .pkg-card { padding: 24px 20px 20px; }
.hud-pkgs .pkg-card__specs { margin: 12px 0; }
@media (max-height: 1000px) and (min-width: 761px) { .hud-pkgs .pkg-card__incl { display: none; } }
.hud-pkgs__sub { margin: 6px 0 18px; color: var(--fg-dim); text-align: center; }
.hud-pkgs__grid { width: min(1180px, 100%); display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.hud-pkgs .pkg-card { cursor: pointer; animation: pkg-in .7s calc(var(--i, 0) * .12s) backwards cubic-bezier(.2,1.3,.4,1); }
.hud-pkgs.is-chosen .pkg-card:not(.is-picked) { opacity: .25; transform: scale(.94); transition: .5s; }
.hud-pkgs .pkg-card.is-picked { border-color: #4ade80; box-shadow: 0 0 0 2px #4ade80, 0 0 60px rgba(74,222,128,.5); transform: scale(1.04); }
.hud-pkgs__browse { margin-top: 22px; padding: 6px; border: 0; background: none; color: var(--fg-dim); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hud-pkgs__browse:hover { color: #fff; }
/* while choosing: compact subtitles at the very bottom so cards stay clickable */
.film:has(.hud-pkgs.is-in) .film__subs { bottom: 10px; }
.film:has(.hud-pkgs.is-in) .film__subs-name { display: none; }
.film:has(.hud-pkgs.is-in) .film__subs-text { font-size: clamp(14px, 1.5vw, 17px); padding: 6px 14px; }
.film:has(.hud-pkgs.is-in) .film__bars i { height: 0; }
@keyframes pkg-in { from { opacity: 0; translate: 0 40px; scale: .9; } }

.hud-speed { position: absolute; left: 50%; top: clamp(70px, 13vh, 140px); text-align: center; opacity: 0; transform: translate(-50%, -20px); transition: opacity .6s, transform .6s; }
.hud-speed[hidden] { display: none; }
.hud-speed.is-in { opacity: 1; transform: translate(-50%, 0); }
.hud-speed small { display: block; color: #a5f3fc; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; }
.hud-speed b { font-family: var(--font-display); font-size: clamp(34px, 6vw, 72px); color: #fff; text-shadow: 0 0 24px #22d3ee; white-space: nowrap; }
.hud-speed__route { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.hud-speed__route li { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: .4s; }
.hud-speed__route li.is-on { border-color: #4ade80; background: #4ade80; color: #05030b; box-shadow: 0 0 16px #4ade80; }

.hud-end {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 92vw);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  border: 1px solid rgba(167,139,250,.42);
  background: linear-gradient(160deg, #1f143a, #0a0718);
  isolation: isolate;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px -20px rgba(139,92,246,.75);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -44%) scale(.96);
  transition: opacity .7s, transform .7s cubic-bezier(.2,1,.3,1);
}
.hud-end[hidden] { display: none; }
.hud-end.is-in { opacity: 1; transform: translate(-50%, -50%); }
.hud-end__heart { font-size: 46px; color: #f472b6; text-shadow: 0 0 30px #f472b6; animation: heart 1.2s ease-in-out infinite; }
.hud-end h2 { margin: 8px 0 6px; font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; }
.hud-end__pkg { margin: 0 0 22px; color: var(--fg-dim); }
.hud-end__pkg b { color: #4ade80; }
.hud-end__count { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hud-end__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 12px; }
.hud-end__alt button { padding: 4px; border: 0; background: none; color: var(--fg-dim); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hud-end__alt button:hover { color: #fff; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 760px) {
  .film__controls { gap: 6px; }
  .film__controls button { height: 36px; min-width: 36px; padding: 0 8px; }
  .film__controls [data-ctl="full"] { display: none; }
  .hud-features { left: 14px; right: 14px; width: auto; top: 62px; bottom: auto; gap: 8px; }
  .fc { gap: 12px; padding: 11px 13px; }
  .fc p { display: none; }
  .fc h3 { font-size: 17px; }
  .fc__ico { flex-basis: 36px; height: 36px; border-radius: 11px; }
  .fc__ico svg { width: 19px; height: 19px; }
  .fc__chips { margin-top: 6px; }
  .fc__chips span { padding: 3px 9px; font-size: 12px; }
  .fc__stamp { top: -14px; font-size: 13px; }
  .fc__term, .fc__flag, .fc__iso { display: none; }
  .fc__chips--os img { width: 13px; height: 13px; }
  .disk-switch button { padding: 8px 16px; font-size: 14px; }
  .hud-pkgs { padding-top: 64px; }
  .stage-hero__bubble { display: none; }
}
@media (max-width: 420px) {
  .play-btn { gap: 12px; padding-right: 18px; }
  .play-btn__icon { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-hero__nexi { animation: none; transform: translateX(-46%) rotate(-12deg); }
  .stage-hero__bubble { animation: none; opacity: 1; transform: none; }
  .curtain::after, .play-btn, .dc-rotor, .dc-tree, .cy-grid, .cy-bg::after, .film__grain, .nexi__float, .rk-duck, .dc-sky::before { animation: none !important; }
  .film.is-shaking .film__cam, .s-liftin.is-riding .li-shake { animation: none; }
}

/* ---------------------------------------------------------------- Page: GameCloud steps */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 20px 20px 20px 74px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-adventure);
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
}
.steps strong { display: block; margin-bottom: 2px; font-size: 17px; }
.steps span { color: var(--fg-dim); font-size: 15px; }
