/* Escaping the Jungle: world styles
   Brand source: ETJ one-page brand guide (Sep 2026) */

:root {
  --orange: #ff7a30;
  --green: #00e093;
  --ink: #eef0ff;
  --ink-2: #ebedff;
  --steel: #7485b2;
  --steel-50: rgba(116, 133, 178, 0.5);
  --steel-15: rgba(116, 133, 178, 0.15);
  --bg: #07090f;
  --bg-2: #0c1019;
  --panel: rgba(12, 16, 25, 0.78);

  --f-iconic: "Tektur", "Roboto", system-ui, sans-serif;
  --f-info: "Roboto", system-ui, sans-serif;
  --f-pixel: "Press Start 2P", ui-monospace, monospace;
  --f-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --radius: 14px;
  --hud-h: 64px;
  --sec-pad: clamp(72px, 10vw, 128px);
  --head-gap: clamp(40px, 5vw, 64px);

  color-scheme: dark;
}

@property --p { syntax: "<percentage>"; inherits: false; initial-value: 60%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 clamp(16px, 1.05vw + 12px, 19px)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px;
  background: var(--green); color: var(--bg); font-weight: 700; border-radius: 8px;
  transform: translateY(-200%); visibility: hidden;
}
.skip:focus { transform: none; visibility: visible; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Type system ---------- */
.pixel {
  font-family: var(--f-pixel);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.9;
}
.o { color: var(--orange); }
.g { color: var(--green); }

.iconic {
  font-family: var(--f-iconic);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: 0.005em;
  font-size: clamp(40px, 7vw, 96px);
  margin: 0;
  text-wrap: balance;
}
.info {
  font-family: var(--f-info);
  font-weight: 900;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); }

section { position: relative; }
.sec-head { text-align: center; display: grid; justify-items: center; gap: 0; }
.sec-kicker { font-size: clamp(10px, 1vw, 13px); margin: 0 0 18px; line-height: 1.6; }
.sec-kicker .o + .g::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin: 0 0.9em 0.12em 0.4em;
  background: var(--steel); vertical-align: middle;
}
.sec-rule {
  display: block; width: min(420px, 60%); height: 3px; margin: 28px auto 24px;
  background: var(--green); box-shadow: 0 0 18px rgba(0, 224, 147, 0.55);
}
.sec-rule-left { margin-left: 0; width: 160px; }
.sec-lead { font-size: clamp(17px, 1.3vw + 12px, 22px); color: var(--ink-2); max-width: 46ch; margin: 0 auto; text-wrap: pretty; }
.show-copy .sec-lead, .camp-copy .sec-lead { margin: 0; }

/* ---------- Icons (brand SVGs used as masks so they take brand colors) ---------- */
.ico {
  display: inline-block; flex: none;
  width: 1.2em; height: 1.2em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--green);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 26px;
  font: 700 16px/1.2 var(--f-body);
  text-decoration: none; text-align: left;
  border: 2px solid var(--b); border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn small {
  font: 400 9px/1 var(--f-pixel); text-transform: uppercase;
  padding: 5px 6px; border-radius: 4px; background: var(--bg); color: var(--green);
  white-space: nowrap;
}
.btn-fill {
  background: var(--green); color: var(--bg);
  box-shadow: 0 0 0 0 rgba(0, 224, 147, 0), 0 6px 0 #00925f;
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(0, 224, 147, 0.45), 0 8px 0 #00925f; }
.btn-fill:active { transform: translateY(4px); box-shadow: 0 2px 0 #00925f; }
.btn-ghost { --b: var(--orange); background: rgba(7, 9, 15, 0.55); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost .ico { color: var(--orange); }
.btn-ghost:hover { background: var(--orange); color: var(--bg); }
.btn-ghost:hover .ico { color: var(--bg); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: 0 4px 0 #00925f; }
.btn-lg { min-height: 64px; padding: 18px 32px; font-size: 18px; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hud-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.92), rgba(7, 9, 15, 0));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hud.is-solid { background: rgba(7, 9, 15, 0.9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--steel-15); }
.hud-brand img { width: 92px; height: auto; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s; }
.hud.is-solid .hud-brand img { opacity: 1; transform: none; }
.hud-nav { display: flex; gap: 28px; margin-left: auto; }
.hud-nav a {
  font: 900 15px/1 var(--f-info); font-stretch: 75%; font-variation-settings: "wdth" 75;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--ink);
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.hud-nav a:hover, .hud-nav a.is-on { color: var(--green); border-color: var(--green); }
.hud-level { display: flex; align-items: center; gap: 8px; font-size: 9px; color: var(--steel); }
.hud-level .pixel { line-height: 1; }
.hud-pips { display: flex; gap: 3px; }
.hud-pips i { width: 8px; height: 14px; background: var(--steel-50); }
.hud-pips i.on { background: var(--green); }
.hud-pips i.now { background: var(--orange); animation: blink 1.2s steps(2) infinite; }

/* ---------- HERO ---------- */
.hero {
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  display: grid; place-items: center;
  padding: calc(var(--hud-h) + 24px) var(--gutter) 96px;
  isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(255, 122, 48, 0.26), transparent 70%),
    radial-gradient(55% 50% at 12% 88%, rgba(0, 224, 147, 0.18), transparent 70%),
    radial-gradient(40% 40% at 50% 45%, rgba(7, 9, 15, 0.55), transparent 80%);
  mix-blend-mode: screen;
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 3px);
}
.hero-fade { position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); }

.hero-inner { width: min(980px, 100%); min-width: 0; text-align: center; display: grid; justify-items: center; }
.hero-kicker { font-size: clamp(10px, 1.1vw, 14px); margin: 0 0 clamp(16px, 3vh, 28px); }
.hero-logo { margin: 0; width: min(820px, 100%); }
.hero-logo img {
  width: 100%;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 60px rgba(0, 224, 147, 0.18));
  animation: logo-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-line {
  font-size: clamp(18px, 1.5vw + 12px, 26px); line-height: 1.45; color: var(--ink);
  max-width: 36ch; margin: clamp(16px, 3vh, 28px) auto clamp(24px, 4vh, 40px);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 10px; text-decoration: none; color: var(--steel);
  animation: blink 1.4s steps(2) infinite;
}

/* Fireflies */
.fireflies { position: absolute; inset: 0; pointer-events: none; }
.fireflies i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px 2px rgba(0, 224, 147, 0.8);
  opacity: 0; animation: drift var(--d, 9s) ease-in-out var(--delay, 0s) infinite;
}
.fireflies i.warm { background: var(--orange); box-shadow: 0 0 10px 2px rgba(255, 122, 48, 0.8); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--steel-15);
  background: var(--bg-2); padding: 14px 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-row { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker-row span { font: 400 11px/1 var(--f-pixel); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ticker-row span:nth-of-type(odd) { color: var(--green); }
.ticker-row i { width: 8px; height: 8px; background: var(--orange); }

/* ---------- MAP ---------- */
.map-screen { padding: var(--sec-pad) 0; }
.map-stage { margin-top: var(--head-gap); }
.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--steel-50);
  box-shadow: 0 0 0 6px rgba(7, 9, 15, 1), 0 0 0 7px var(--steel-15), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.map-frame::before, .map-frame::after {
  content: ""; position: absolute; z-index: 2; width: 36px; height: 36px; pointer-events: none;
  border: 3px solid var(--green);
}
.map-frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.map-frame::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.map-img { width: 100%; }
.map-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7, 9, 15, 0.55));
  transition: background 0.4s;
}

.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  transform: translate(-50%, -50%);
  width: clamp(30px, 3.4vw, 50px); aspect-ratio: 1; padding: 0;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  background: rgba(7, 9, 15, 0.85); cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.pin span { font: 400 clamp(10px, 1vw, 15px)/1 var(--f-pixel); color: var(--ink); }
.pin::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0; animation: ping 2.2s ease-out infinite;
}
.pin:hover, .pin.is-on { transform: translate(-50%, -50%) scale(1.15); background: var(--green); border-color: var(--green); }
.pin:hover span, .pin.is-on span { color: var(--bg); }
.pin-here { border-color: var(--orange); }
.pin-here::before { border-color: var(--orange); opacity: 1; }
.pin-here.is-on { background: var(--orange); border-color: var(--orange); }
.pin em {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: clamp(7px, 0.7vw, 10px); white-space: nowrap; line-height: 1;
  padding: 7px 8px; background: var(--orange); color: var(--bg); border-radius: 4px;
}
.pin em::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--orange);
}

.zones {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  margin: 24px 0 16px;
}
.zones button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 12px;
  font: 900 17px/1 var(--f-info); font-stretch: 75%; font-variation-settings: "wdth" 75;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--steel-15); border: 2px solid transparent; border-radius: 10px;
  color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.zones button b { font: 400 10px/1 var(--f-pixel); color: var(--steel); }
.zones button .ico { color: var(--steel); width: 1.4em; height: 1.4em; }
.zones button:hover { border-color: var(--steel-50); }
.zones button[aria-selected="true"] { background: rgba(0, 224, 147, 0.1); border-color: var(--green); color: var(--green); }
.zones button[aria-selected="true"] .ico, .zones button[aria-selected="true"] b { color: var(--green); }

.zone-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(135deg, rgba(116, 133, 178, 0.14), rgba(116, 133, 178, 0.04));
  border: 1px solid var(--steel-50); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.zone-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--green) var(--p, 60%), var(--steel-15) var(--p, 60%));
  transition: --p 0.5s;
}
.zone-card-ico {
  width: clamp(72px, 9vw, 120px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 18px; background: var(--bg); border: 2px solid var(--green);
  box-shadow: inset 0 0 30px rgba(0, 224, 147, 0.15), 0 0 30px rgba(0, 224, 147, 0.15);
}
.zone-card-ico .ico { width: 60%; height: 60%; color: var(--green); }
.zone-level { font-size: 11px; color: var(--orange); margin: 0 0 12px; line-height: 1; }
.zone-card .info { font-size: clamp(34px, 4.6vw, 60px); }
.zone-feel { font-size: clamp(18px, 1.4vw + 11px, 23px); color: var(--ink); margin: 14px 0 22px; max-width: 48ch; }
.zone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.zone-stats div { padding: 16px 18px; background: rgba(7, 9, 15, 0.6); border-radius: 10px; border-left: 3px solid var(--steel-50); }
.zone-stats div + div { border-left-color: var(--green); }
.zone-stats dt { font-size: 9px; color: var(--steel); line-height: 1; margin-bottom: 10px; }
.zone-stats dd { margin: 0; font-size: 16px; line-height: 1.5; }
.zone-flag {
  position: absolute; top: 18px; right: 18px; margin: 0;
  font-size: 9px; line-height: 1; padding: 8px 10px; border-radius: 4px;
  background: var(--orange); color: var(--bg);
}
.zone-flag[hidden] { display: none; }
.zone-card.swap .zone-card-body { animation: swap 0.35s ease both; }

/* ---------- SHOW ---------- */
.show-screen {
  padding: var(--sec-pad) 0;
  background:
    radial-gradient(50% 60% at 90% 50%, rgba(255, 122, 48, 0.12), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--steel-15);
}
.show-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.power-ups { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.power-ups li { display: flex; gap: 16px; align-items: flex-start; }
.power-ups .ico { width: 36px; height: 36px; color: var(--orange); margin-top: 2px; }
.power-ups li:nth-child(2) .ico { color: var(--green); }
.power-ups li div { display: grid; gap: 2px; }
.power-ups b.info { font-size: 24px; }
.power-ups span { color: var(--steel); font-size: 16px; }

.screen-bezel {
  position: relative; padding: 14px; border-radius: 20px;
  background: linear-gradient(160deg, #1a2031, #0a0d15);
  border: 1px solid var(--steel-50);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 122, 48, 0.08);
}
.screen-tag {
  position: absolute; top: -12px; left: 28px; z-index: 2;
  font-size: 9px; line-height: 1; padding: 8px 10px; border-radius: 4px;
  background: var(--orange); color: var(--bg);
}
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: 10px; overflow: hidden; background: #000; cursor: pointer;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s; }
.yt:hover img { transform: scale(1.03); filter: brightness(0.8); }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: var(--bg);
  box-shadow: 0 0 0 10px rgba(0, 224, 147, 0.2), 0 0 50px rgba(0, 224, 147, 0.6);
  transition: transform 0.2s;
}
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play svg { margin-left: 8%; }
.yt-title {
  position: absolute; inset: auto 0 0; padding: 40px 20px 16px; text-align: left;
  font: 700 clamp(14px, 1.2vw, 17px)/1.35 var(--f-body); color: var(--ink);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- TRUTH ---------- */
.truth-screen { padding: var(--sec-pad) 0; }
.dialog {
  position: relative; margin-top: var(--head-gap);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px) clamp(36px, 4vw, 52px);
  background: var(--panel);
  border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--steel-50), 12px 12px 0 rgba(0, 224, 147, 0.25);
}
.dialog-who {
  position: absolute; top: -16px; left: 24px; font-size: 10px; line-height: 1;
  padding: 9px 12px; background: var(--green); color: var(--bg); border-radius: 4px;
}
.dialog-text p { margin: 0 0 1.1em; color: var(--ink-2); }
.dialog-text p:last-child { margin-bottom: 0; }
.dialog-text .big { font-size: clamp(20px, 1.6vw + 12px, 28px); line-height: 1.4; color: var(--ink); font-weight: 500; }
.dialog-text .big.o { color: var(--orange); }
.dialog-next { position: absolute; right: 22px; bottom: 14px; font-size: 12px; color: var(--green); animation: blink 1s steps(2) infinite; }

.hazards {
  list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.hazards li {
  display: grid; gap: 10px; justify-items: start; align-content: start;
  padding: 20px 18px; border-radius: 12px; background: var(--steel-15);
  border: 1px solid transparent; transition: border-color 0.2s, transform 0.2s;
}
.hazards li:hover { border-color: var(--steel-50); transform: translateY(-3px); }
.hazards .ico { width: 34px; height: 34px; color: var(--green); }
.hazards li:nth-child(2) .ico, .hazards li:nth-child(3) .ico { color: var(--orange); }
.hazards b { font-size: 10px; font-weight: 400; color: var(--ink); line-height: 1.4; }
.hazards span { font-size: 15px; line-height: 1.45; color: var(--steel); }

/* ---------- CAMP ---------- */
.camp-screen {
  padding: var(--sec-pad) 0;
  background:
    radial-gradient(45% 60% at 20% 50%, rgba(0, 224, 147, 0.1), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--steel-15);
}
.camp-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.camp-art {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--steel-50); aspect-ratio: 9 / 13;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.camp-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.loot { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 10px; }
.loot li {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; background: rgba(7, 9, 15, 0.6); border-radius: 10px;
  border-left: 3px solid var(--green); color: var(--ink);
}
.loot .ico { width: 26px; height: 26px; color: var(--green); }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--steel); }

.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i {
  position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px 2px rgba(255, 122, 48, 0.8);
  animation: ember 6s linear infinite;
}
.embers i:nth-child(1) { left: 12%; animation-delay: 0s; }
.embers i:nth-child(2) { left: 28%; animation-delay: 1.4s; animation-duration: 7s; }
.embers i:nth-child(3) { left: 44%; animation-delay: 2.6s; }
.embers i:nth-child(4) { left: 58%; animation-delay: 0.8s; animation-duration: 8s; }
.embers i:nth-child(5) { left: 71%; animation-delay: 3.2s; }
.embers i:nth-child(6) { left: 84%; animation-delay: 2s; animation-duration: 7.5s; }
.embers i:nth-child(7) { left: 36%; animation-delay: 4.1s; }
.embers i:nth-child(8) { left: 66%; animation-delay: 5s; animation-duration: 6.5s; }

/* ---------- DROPS ---------- */
.drops-screen { padding: var(--sec-pad) 0; }
.drop-box {
  text-align: center; padding: clamp(32px, 5vw, 56px);
  border: 2px dashed var(--steel-50); border-radius: var(--radius);
  background: radial-gradient(80% 100% at 50% 0%, rgba(255, 122, 48, 0.1), transparent 70%);
}
.drop-ico { width: 56px; height: 56px; color: var(--orange); margin: 0 auto 18px; display: block; }
.drop-box .info { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; text-wrap: balance; }
.drop-box .sec-lead { text-wrap: balance; }
.drop-form { display: flex; gap: 10px; max-width: 560px; margin: 28px auto 0; }
.drop-form input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 18px;
  font: 400 17px var(--f-body); color: var(--ink);
  background: var(--bg); border: 2px solid var(--steel-50); border-radius: 10px;
}
.drop-form input::placeholder { color: var(--steel); }
.drop-form input:focus { outline: none; border-color: var(--green); }
.drop-status { margin: 14px 0 0; font-size: 15px; }
.drop-status:empty { margin: 0; }
.drop-status.ok { color: var(--green); }
.drop-status.err { color: var(--orange); }
.drop-box.done .drop-form { display: none; }

/* ---------- FOOTER ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--steel-15); }
.foot-grid { display: grid; justify-items: center; text-align: center; gap: 18px; }
.foot-logo { width: 180px; }
.foot-line { font-size: 10px; margin: 0; line-height: 2; }
.foot-line span { white-space: nowrap; }
@media (max-width: 480px) { .foot-line span { display: block; } }
.foot-nav { display: flex; gap: 24px; }
.foot-nav a { color: var(--steel); text-decoration: none; font-weight: 700; }
.foot-nav a:hover { color: var(--green); }
.foot-copy { margin: 0; font-size: 13px; color: var(--steel); }

/* ---------- Keyframes ---------- */
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes logo-in { from { opacity: 0; transform: translateY(18px) scale(0.97); filter: blur(6px); } }
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes swap { from { opacity: 0; transform: translateX(10px); } }
@keyframes drift {
  0%   { opacity: 0; transform: translate(0, 0); }
  20%  { opacity: 1; }
  50%  { transform: translate(var(--dx, 30px), var(--dy, -40px)); }
  80%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 30px) * -0.5), calc(var(--dy, -40px) * 1.6)); }
}
@keyframes ember {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hud-nav { display: none; }
  .hud-level { margin-left: auto; }
  .show-grid, .camp-grid { grid-template-columns: 1fr; }
  .show-copy, .camp-copy { max-width: 640px; }
  .camp-art { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
  .hazards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --hud-h: 58px; }
  .hud { gap: 12px; }
  .hud-brand img { width: 72px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-logo { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .map-frame { border-radius: 10px; }
  .map-frame::before, .map-frame::after { width: 20px; height: 20px; border-width: 2px; }
  .pin em { display: none; }
  .zones { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .zones button { flex-direction: column; gap: 6px; min-height: 64px; padding: 8px 4px; font-size: 12px; }
  .zones button .ico { display: none; }
  .zone-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .zone-card-body { display: flex; flex-direction: column; }
  .zone-flag { position: static; order: -1; align-self: flex-start; margin-bottom: 14px; }
  .zone-card-ico { width: 64px; border-radius: 12px; }
  .zone-stats { grid-template-columns: 1fr; }
  .drop-box { padding: 32px 20px; }
  .drop-form { flex-direction: column; margin-top: 24px; }
  .btn-lg { min-height: 56px; padding: 14px 20px; font-size: 16px; }
  .camp-copy .btn { width: 100%; }
  .fine { text-align: center; }
  .btn { gap: 10px; }
  .yt-title { padding: 32px 14px 12px; font-size: 13px; }
  .screen-bezel { padding: 10px; border-radius: 16px; }
  .dialog { padding: 32px 20px 36px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--steel-50), 8px 8px 0 rgba(0, 224, 147, 0.25); }
  .drop-form .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .btn { padding: 12px 14px; gap: 8px; font-size: 15px; }
  .btn small { font-size: 8px; padding: 4px 5px; }
  .zones button { font-size: 10px; letter-spacing: 0; }
  .hud-level .pixel { display: none; }
  .hazards li { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker-track { animation: none; }
  .fireflies, .embers { display: none; }
}

@media (max-width: 380px) {
  .btn > .ico { display: none; }
  .zones { gap: 4px; }
  .zones button { min-width: 0; padding: 8px 2px; font-size: 9px; }
  .zones button b { font-size: 8px; }
}
