/* BLIP landing v2 — "arcade night" mockup. Standalone: does not load style.css. */

:root {
  --bg: #0a0614;
  --bg-2: #120a24;
  --bg-3: #1a1033;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #fff;
  --muted: rgba(232, 224, 255, 0.64);
  --dim: rgba(232, 224, 255, 0.42);

  --violet: #8b5cf6;
  --violet-d: #7c3aed;
  --pink: #ff4d9a;
  --orange: #ff6b3d;
  --sky: #38bdf8;
  --gold: #ffc93d;
  --red: #ff5a5f;
  --lime: #3ed98a;

  --fd: "Unbounded", system-ui, sans-serif;
  --fb: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
::selection { background: var(--pink); color: #fff; }

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

.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--fd); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.2rem;
}
.kicker b {
  display: inline-grid; place-items: center; min-width: 2.3em; height: 2.3em; padding: 0 0.5em;
  border-radius: 0.8em; background: var(--pink); color: #fff; letter-spacing: 0;
  box-shadow: 0 3px 0 #a3195a;
}
.kicker--center { justify-content: center; }
.h2 {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(2.1rem, 4.3vw, 3.9rem); line-height: 1.04; letter-spacing: -0.025em;
  max-width: 15em;
}
.h2--wide { max-width: 22em; }
.lede { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--muted); max-width: 36em; margin-top: 1.4rem; }
.lede--dim { color: var(--dim); }
.lede a, .faq a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.grad {
  background: linear-gradient(92deg, var(--pink) 0%, var(--orange) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--warm { background-image: linear-gradient(92deg, var(--orange), var(--gold)); }
.grad--fire { background-image: linear-gradient(92deg, var(--gold) 0%, var(--orange) 40%, var(--pink) 100%); }

/* ---------- Buttons ---------- */
.btn3d {
  position: relative; display: inline-flex; align-items: center; gap: 0.65em;
  padding: 1.05em 1.6em; border-radius: 18px;
  font-family: var(--fd); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  color: #fff;
  background: var(--pink);
  transition: background 0.2s var(--ease);
}
.btn3d svg { width: 1.25em; height: 1.25em; margin-top: -0.15em; }
.btn3d:hover { background: #ff66aa; }
.btn3d:active { background: #e8317f; }
.btn3d--sm { padding: 0.72em 1.15em; font-size: 0.78rem; border-radius: 14px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 1.02em 1.4em; border-radius: 18px;
  font-family: var(--fd); font-weight: 700; font-size: 0.88rem;
  border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn-ghost i { font-style: normal; transition: transform 0.25s var(--spring); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover i { transform: translateY(3px); }

/* ---------- Nav ---------- */
.nv {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: var(--wrap);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 18px; border-radius: 22px;
  background: rgba(16, 9, 32, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.3s, box-shadow 0.3s;
}
.nv.is-scrolled { background: rgba(14, 8, 28, 0.86); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.nv__logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--fd); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.02em; }
.nv__logo img { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)); }
.nv__links { display: flex; gap: 0.2rem; }
.nv__links a {
  padding: 0.55em 0.85em; border-radius: 12px; font-size: 0.9rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nv__links a:hover, .nv__links a.is-current { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nv__right { display: flex; align-items: center; gap: 0.6rem; }
.lang { display: flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.lang button {
  min-width: 36px; height: 30px; padding: 0 0.55em; border-radius: 9px;
  font-family: var(--fd); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; color: var(--dim);
  transition: color 0.2s, background 0.2s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: #170a1e; background: #fff; }
.nv__cab {
  display: inline-flex; align-items: center; gap: 0.5em; height: 40px; padding: 0 0.95em 0 0.75em; border-radius: 14px;
  font-family: var(--fd); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06); border: 1.5px solid var(--line-2);
  transition: background 0.2s, border-color 0.2s;
}
.nv__cab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nv__cab:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }
.nv__burger { display: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); position: relative; }
.nv__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease); }
.nv__burger span:nth-child(1) { top: 18px; }
.nv__burger span:nth-child(2) { top: 25px; }
.nv__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nv__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nv__menu { display: none; }

/* ---------- Hero ---------- */
.hx { position: relative; min-height: 100svh; padding: 132px 0 90px; overflow: hidden; isolation: isolate; }
.hx__bg { position: absolute; inset: 0; z-index: -1; }
.hx__grid {
  position: absolute; left: -20%; right: -20%; bottom: -8%; height: 62%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.35) 1.5px, transparent 1.5px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: grid-run 3.2s linear infinite;
}
@keyframes grid-run { to { background-position: 0 64px, 0 0; } }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.blob--violet { width: 620px; height: 620px; background: var(--violet-d); top: -180px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.blob--pink { width: 460px; height: 460px; background: var(--pink); top: 30%; right: 22%; opacity: 0.32; animation: drift 11s ease-in-out infinite alternate-reverse; }
.blob--sky { width: 380px; height: 380px; background: var(--sky); bottom: -120px; left: -80px; opacity: 0.22; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

.hx__inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 24px;
}
.live-chip {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.55em 1em 0.55em 0.8em; border-radius: 999px;
  font-family: var(--fd); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(62, 217, 138, 0.1); border: 1px solid rgba(62, 217, 138, 0.3); color: #b6f5d3;
  margin-bottom: 1.6rem;
}
.live-chip b { color: #fff; font-weight: 800; }
.live-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(62, 217, 138, 0.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62, 217, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 217, 138, 0); } }

.hx__title {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em;
}
.hx__line { display: block; }
.sticker {
  display: inline-block; margin: 0.08em 0 0.1em -0.06em; padding: 0.02em 0.22em 0.1em;
  border-radius: 0.22em;
  background: linear-gradient(100deg, var(--pink) 0%, var(--orange) 100%);
  transform: rotate(-3deg);
  box-shadow: 0 0.09em 0 #a3195a, 0 0.35em 0.8em rgba(255, 77, 154, 0.45);
  animation: wobble 5s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(-1deg) scale(1.02); } }
.hx__lede { margin-top: 1.6rem; max-width: 30em; font-size: clamp(1.02rem, 1.25vw, 1.16rem); color: var(--muted); }
.hx__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hx__actions--center { justify-content: center; }
.hx__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hx__meta li {
  padding: 0.5em 0.9em; border-radius: 12px; font-size: 0.84rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.hx__meta b { font-family: var(--fd); font-weight: 700; color: #fff; margin-right: 0.35em; }

[data-in] { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
[data-in]:nth-child(1) { animation-delay: 0.05s; }
[data-in]:nth-child(2) { animation-delay: 0.15s; }
[data-in]:nth-child(3) { animation-delay: 0.28s; }
[data-in]:nth-child(4) { animation-delay: 0.4s; }
[data-in]:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero stage */
.hx__stage { --mx: 0; --my: 0; position: relative; height: 640px; }
.hx__stage > * { position: absolute; }
.radar { left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); border-radius: 50%; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(139, 92, 246, 0.28); }
.radar span:nth-child(2) { inset: 18%; border-color: rgba(255, 77, 154, 0.22); }
.radar span:nth-child(3) { inset: 36%; border-color: rgba(56, 189, 248, 0.25); }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 77, 154, 0.32), transparent 22%);
  animation: spin 6s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 66%, transparent 71%); mask-image: radial-gradient(circle, #000 66%, transparent 71%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.phone, .fl {
  transform: translate3d(calc(var(--mx) * var(--d) * -34px), calc(var(--my) * var(--d) * -26px), 0);
  transition: transform 0.6s var(--ease);
}
.phone {
  left: 50%; top: 50%; width: 252px; height: 524px; margin: -262px 0 0 -126px;
  border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, #2b2147, #120b24);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 120px rgba(139, 92, 246, 0.35);
  rotate: -7deg;
}
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0d0a18; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

.fl img { width: 100%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); animation: bob 5s ease-in-out infinite; }
.fl:nth-of-type(2n) img { animation-duration: 6.2s; animation-delay: -1.5s; }
.fl:nth-of-type(3n) img { animation-duration: 4.4s; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: 2deg; } }

.fl--frog { width: 280px; left: -9%; bottom: -2%; z-index: 3; }
.fl--house { width: 176px; right: -2%; top: 3%; z-index: 2; text-align: center; }
.fl--house .emo { display: block; font-size: 128px; line-height: 1.1; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); animation: bob 6.2s ease-in-out infinite; }
.emo, .role__emo, .drone__emo, .farm-viz__row span, .boss-viz__mon, .boss-viz__boss, .boss-viz__track b { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.fl--turret { width: 150px; right: 0; bottom: 6%; z-index: 3; }
.fl--drone { width: 150px; left: 4%; top: 2%; z-index: 4; }
.fl--alien { width: 96px; left: 2%; top: 40%; z-index: 1; }
.fl--mira { right: -9%; top: 42%; z-index: 5; display: flex; align-items: center; gap: 0.5rem; }
.fl--rex { left: 56%; bottom: -1%; z-index: 4; }

.tag {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(-3deg);
  white-space: nowrap; padding: 0.42em 0.8em; border-radius: 10px;
  font-family: var(--fd); font-size: 0.68rem; font-weight: 700; color: #170a1e;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.tag--gold { background: var(--gold); }
.tag--violet { background: #c4b0ff; }
.tag--sky { background: var(--sky); }
.tag--red { background: var(--red); color: #fff; }
.fl--drone .tag { bottom: 4px; }

.gc {
  display: inline-block; width: 0.95em; height: 0.95em; margin: 0 0.15em; vertical-align: -0.12em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c8, var(--gold) 45%, #d88a0b 100%);
  box-shadow: inset 0 -0.08em 0 rgba(0, 0, 0, 0.2), inset 0 0 0 0.09em rgba(255, 255, 255, 0.25);
}
.farm-viz__counter .gc { width: 0.7em; height: 0.7em; margin: 0 0.12em 0 0.18em; vertical-align: 0.02em; box-shadow: 0 0.06em 0 rgba(150, 90, 0, 0.6), inset 0 -0.06em 0 rgba(0, 0, 0, 0.2); }

.ava {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 24px;
  background: linear-gradient(160deg, #3a2a66, #1c1236); border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: bob 5.5s ease-in-out infinite;
}
.ava img { width: 86%; animation: none; filter: none; }
.ava--sm { width: 58px; height: 58px; border-radius: 19px; border-color: rgba(255, 201, 61, 0.5); }
.bubble {
  padding: 0.65em 0.9em; border-radius: 16px 16px 16px 4px; max-width: 170px;
  background: #fff; color: #170a1e; font-size: 0.82rem; font-weight: 600; line-height: 1.25;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.bubble small { display: block; font-family: var(--fd); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; color: var(--pink); margin-bottom: 0.2em; }

.coin {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c8, var(--gold) 45%, #d88a0b 100%);
  box-shadow: 0 4px 10px rgba(255, 180, 30, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  animation: coin-up 3.6s ease-in infinite;
  opacity: 0;
}
.coin--1 { right: 14%; top: 26%; }
.coin--2 { right: 22%; top: 30%; animation-delay: 0.9s; width: 16px; height: 16px; }
.coin--3 { right: 8%; top: 30%; animation-delay: 1.8s; width: 18px; height: 18px; }
.coin--4 { left: 26%; bottom: 30%; animation-delay: 2.4s; }
@keyframes coin-up {
  0% { opacity: 0; transform: translateY(20px) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-90px) scale(1) rotateY(540deg); }
}

.hx__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 28px; height: 44px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.25);
}
.hx__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.mq { position: relative; z-index: 2; height: 190px; margin: -40px 0 0; overflow: hidden; }
.mq__band { position: absolute; left: -5%; right: -5%; overflow: hidden; padding: 1.05rem 0; }
.mq__band--a {
  top: 40px; rotate: -3deg; z-index: 2;
  background: linear-gradient(90deg, var(--pink), var(--orange) 50%, var(--gold));
  color: #170a1e; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.mq__band--b { top: 100px; rotate: 2.2deg; background: var(--violet-d); color: rgba(255, 255, 255, 0.9); padding: 0.75rem 0; }
.mq__track { display: flex; width: max-content; gap: 1.6rem; align-items: center; animation: mq 28s linear infinite; }
.mq__track--rev { animation-direction: reverse; animation-duration: 36s; }
.mq__track span { font-family: var(--fd); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.3rem); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.mq__band--b .mq__track span { font-size: clamp(0.95rem, 1.5vw, 1.25rem); font-weight: 700; }
.mq__track i { font-style: normal; font-size: 1.3rem; opacity: 0.7; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Sections & reveal ---------- */
.sec { position: relative; padding: 130px 0; }
[data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rv-d, 0s); }
[data-rv].is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.25rem 1.35rem; border-radius: 22px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s, translate 0.3s var(--ease);
}
.step:hover { border-color: rgba(255, 77, 154, 0.4); background: rgba(255, 77, 154, 0.06); translate: 6px 0; }
.step__n {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  font-family: var(--fd); font-weight: 900; font-size: 1.35rem; color: #170a1e;
  background: linear-gradient(160deg, #fff3b0, var(--gold)); box-shadow: 0 4px 0 #b37a00;
}
.step:nth-child(2) .step__n { background: linear-gradient(160deg, #ffc1dc, var(--pink)); box-shadow: 0 4px 0 #a3195a; color: #fff; }
.step:nth-child(3) .step__n { background: linear-gradient(160deg, #b9ecff, var(--sky)); box-shadow: 0 4px 0 #1479a8; }
.step h3 { font-family: var(--fd); font-size: 1.08rem; font-weight: 700; margin-bottom: 0.25rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

.passport {
  position: relative;
  padding: 26px; border-radius: 30px; overflow: hidden;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(140deg, var(--pink), var(--violet) 40%, var(--sky) 75%, var(--gold)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(139, 92, 246, 0.2);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease), opacity 0.9s var(--ease);
}
.passport__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--px, 30%) var(--py, 0%), rgba(255, 255, 255, 0.1), transparent 45%);
}
.passport__head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--line-2); }
.passport__head img { width: auto; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); }
.passport__label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.passport__head strong { font-family: var(--fd); font-weight: 900; font-size: 1.9rem; line-height: 1; }
.passport__badge {
  margin-left: auto; padding: 0.4em 0.75em; border-radius: 10px;
  font-family: var(--fd); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  background: var(--orange); color: #fff; box-shadow: 0 3px 0 #a33a16; rotate: 4deg;
}
.passport__rows { padding: 0.6rem 0 1.2rem; }
.passport__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.72rem 0; border-bottom: 1px solid var(--line); }
.passport__rows dt { color: var(--dim); font-size: 0.9rem; }
.passport__rows dd { font-weight: 600; text-align: right; font-size: 0.95rem; }
.bar { display: grid; gap: 0.35rem; }
.bar span { font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.bar i {
  position: relative; display: block; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden;
}
.bar i::after {
  content: ""; position: absolute; inset: 0; width: calc(var(--v, 0) * 1%); border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c));
  box-shadow: 0 0 16px var(--c);
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) 0.25s, width 0.6s var(--ease);
}
.is-in .bar i::after, .bar.is-in i::after { transform: scaleX(1); }
.passport__tg {
  display: flex; justify-content: center; padding: 0.95em; border-radius: 16px;
  font-family: var(--fd); font-weight: 700; font-size: 0.82rem;
  background: rgba(56, 189, 248, 0.12); color: #bfeaff; border: 1px solid rgba(56, 189, 248, 0.3);
  transition: background 0.2s;
}
.passport__tg:hover { background: rgba(56, 189, 248, 0.22); }

/* ---------- Passport (bottom) ---------- */
.pass-sec { padding: 40px 0 120px; }
.pass-sec__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 72px; align-items: center; }

/* ---------- Map ---------- */
.world-map { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.08) 30%, transparent); }
.map-head { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.map-head .lede { margin: 0; }
.hud {
  position: relative; padding: 18px; border-radius: 32px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}
.hud__corner { position: absolute; width: 34px; height: 34px; border: 3px solid var(--pink); z-index: 3; pointer-events: none; }
.hud__corner--tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.hud__corner--tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.hud__corner--bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; }
.hud__corner--br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }

.world-map__chrome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 6px 8px 18px; }
.world-map__stat { display: grid; }
.world-map__stat-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--dim); }
.world-map__stat-value {
  font-family: var(--fd); font-weight: 900; font-size: 2.6rem; line-height: 1.05;
  background: linear-gradient(92deg, var(--lime), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.world-map__controls { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.world-map__search input {
  width: 240px; height: 46px; padding: 0 1.1rem 0 2.6rem; border-radius: 14px;
  font: inherit; font-size: 0.92rem; color: #fff;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23b8a8e8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 0.9rem 50%;
  border: 1px solid var(--line-2); outline: none; transition: border-color 0.2s, background-color 0.2s;
}
.world-map__search input::placeholder { color: var(--dim); }
.world-map__search input:focus { border-color: var(--pink); background-color: rgba(255, 77, 154, 0.06); }
.world-map__filters { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.world-map__filters button { height: 38px; padding: 0 0.95rem; border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: color 0.2s, background 0.2s; }
.world-map__filters button:hover { color: #fff; }
.world-map__filters button[aria-pressed="true"] { color: #fff; background: var(--pink); box-shadow: 0 3px 0 #a3195a; }

.world-map__frame {
  position: relative; height: min(74vh, 740px); min-height: 440px; border-radius: 22px; overflow: hidden;
  background: #0b0816; box-shadow: inset 0 0 0 1px var(--line);
}
.world-map__canvas { width: 100%; height: 100%; }
.world-map__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 120px rgba(10, 6, 20, 0.85);
  border-radius: inherit;
}
.world-map__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 77, 154, 0.07) 70%, rgba(255, 77, 154, 0.35) 100%);
  border-bottom: 1px solid rgba(255, 77, 154, 0.5);
  animation: scan 6s linear infinite;
  mix-blend-mode: screen;
}
@keyframes scan { 0% { transform: translateY(-140px); } 100% { transform: translateY(760px); } }
.world-map__fallback, .world-map__empty { display: grid; place-items: center; height: 100%; padding: 2rem; text-align: center; color: var(--muted); }
.world-map__empty { position: absolute; inset: 0; pointer-events: none; }

.world-map .maplibregl-ctrl-group { background: rgba(18, 10, 36, 0.9); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: none; overflow: hidden; }
.world-map .maplibregl-ctrl-group button { width: 38px; height: 38px; background-color: transparent; }
.world-map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--line); }
.world-map .maplibregl-ctrl-icon { filter: invert(1) brightness(0.9); }
.world-map .maplibregl-ctrl-attrib { background: rgba(10, 6, 20, 0.6); color: var(--dim); font-size: 10px; border-radius: 8px 0 0 0; }
.world-map .maplibregl-ctrl-attrib a { color: var(--dim); }
.world-map .maplibregl-ctrl-bottom-right, .world-map .maplibregl-ctrl-bottom-left { z-index: 2; }
.world-map .maplibregl-canvas:focus { outline: none; }
.world-map .maplibregl-cooperative-gesture-screen { background: rgba(10, 6, 20, 0.6); color: #fff; font-family: var(--fd); font-size: 0.9rem; }

.blip-marker { width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.blip-marker.is-hidden { display: none !important; }
.blip-marker__glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(62, 217, 138, 0.6) 0%, transparent 70%); pointer-events: none; }
.blip-marker--active .blip-marker__glow { animation: mk-pulse 2.8s var(--ease) infinite; }
.blip-marker--burning .blip-marker__glow { background: radial-gradient(circle, rgba(255, 107, 61, 0.75) 0%, transparent 70%); animation: mk-pulse 1.1s ease-in-out infinite; }
.blip-marker--respawning .blip-marker__glow { background: radial-gradient(circle, rgba(170, 160, 200, 0.4) 0%, transparent 70%); }
@keyframes mk-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.9); } 50% { opacity: 0.95; transform: scale(1.3); } }
.blip-marker__core {
  position: absolute; inset: 8px; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(160deg, #2a1d4d, #150d2a); border: 2px solid var(--lime);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5), 0 8px 18px rgba(0, 0, 0, 0.5);
  rotate: 45deg; transition: transform 0.3s var(--spring), border-color 0.2s;
}
.blip-marker__icon { rotate: -45deg; font-size: 1.05rem; line-height: 1; }
.blip-marker--burning .blip-marker__core { border-color: var(--orange); }
.blip-marker--respawning .blip-marker__core { border-color: rgba(190, 180, 220, 0.5); filter: grayscale(0.7); }
.blip-marker:hover .blip-marker__core, .blip-marker.is-active .blip-marker__core { transform: scale(1.22); border-color: var(--pink); }
.blip-marker__img { width: 22px; height: 22px; object-fit: contain; display: block; }
.blip-marker__tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
  min-width: 140px; padding: 0.55em 0.8em; border-radius: 12px; white-space: nowrap; text-align: center;
  background: #fff; color: #170a1e; pointer-events: none; opacity: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); transition: opacity 0.2s, transform 0.2s var(--ease);
}
.blip-marker__tip-name { display: block; font-family: var(--fd); font-size: 0.72rem; font-weight: 800; }
.blip-marker__tip-meta { display: block; margin-top: 0.15em; font-size: 0.66rem; font-weight: 600; color: var(--pink); letter-spacing: 0.06em; }
@media (hover: hover) and (pointer: fine) {
  .blip-marker:hover .blip-marker__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.monument-panel {
  position: absolute; z-index: 5; top: 1rem; right: 1rem; width: min(310px, calc(100% - 2rem));
  padding: 1.2rem 1.25rem 1.3rem; border-radius: 22px;
  background: rgba(20, 12, 40, 0.94); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--spring);
}
.monument-panel[data-open="true"] { opacity: 1; pointer-events: auto; transform: none; }
.monument-panel__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 1.1rem; }
.monument-panel__close:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.monument-panel__head { display: flex; align-items: center; gap: 0.8rem; padding-right: 1.6rem; margin-bottom: 1rem; }
.monument-panel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; background: linear-gradient(160deg, rgba(255, 77, 154, 0.25), rgba(124, 58, 237, 0.25)); border: 1px solid rgba(255, 77, 154, 0.35); }
.monument-panel__icon img { width: 30px; height: 30px; object-fit: contain; }
.monument-panel__name { font-family: var(--fd); font-size: 1.02rem; font-weight: 800; line-height: 1.2; }
.monument-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.9rem; }
.monument-panel__stats div { padding: 0.65rem 0.75rem; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.monument-panel__stats dt { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.2rem; }
.monument-panel__stats dd { font-family: var(--fd); font-weight: 800; font-size: 1rem; }
.monument-panel__desc { margin-bottom: 0.9rem; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.monument-panel__coords { font-size: 0.72rem; color: var(--dim); font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.monument-panel__cta { display: inline-flex; font-family: var(--fd); font-size: 0.76rem; font-weight: 700; color: var(--pink); }
.status-pill { display: inline-block; padding: 0.2em 0.6em; border-radius: 99px; font-size: 0.66rem; letter-spacing: 0.06em; }
.status-pill--active { color: var(--lime); background: rgba(62, 217, 138, 0.15); }
.status-pill--burning { color: #ffa47f; background: rgba(255, 107, 61, 0.16); }
.status-pill--respawning { color: #c6bfe0; background: rgba(200, 190, 230, 0.12); }

.map-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.leg { display: flex; gap: 0.85rem; align-items: center; padding: 1rem 1.1rem; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.leg i { flex: none; width: 18px; height: 18px; rotate: 45deg; border-radius: 5px; border: 2.5px solid var(--lime); box-shadow: 0 0 14px var(--lime); }
.leg--burning i { border-color: var(--orange); box-shadow: 0 0 14px var(--orange); }
.leg--resp i { border-color: #a99fc8; box-shadow: none; }
.leg b { display: block; font-family: var(--fd); font-size: 0.84rem; font-weight: 700; }
.leg span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.35; }
.leg--cta { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15rem; background: linear-gradient(140deg, rgba(255, 77, 154, 0.2), rgba(255, 107, 61, 0.14)); border-color: rgba(255, 77, 154, 0.35); transition: transform 0.25s var(--spring); }
.leg--cta span { color: var(--pink); font-weight: 600; }
.leg--cta:hover { transform: translateY(-3px); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.card {
  --tint: var(--violet);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 30px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%),
    var(--bg-2);
  transition: transform 0.45s var(--spring), border-color 0.3s, box-shadow 0.3s, opacity 0.9s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tint) 55%, transparent); box-shadow: 0 30px 70px color-mix(in srgb, var(--tint) 22%, transparent); }
.card__viz { position: relative; height: 210px; }
.card__body { padding: 0 28px 28px; margin-top: auto; }
.card h3 { font-family: var(--fd); font-weight: 800; font-size: 1.3rem; line-height: 1.15; margin: 0.8rem 0 0.5rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.96rem; }
.pill {
  display: inline-block; padding: 0.38em 0.8em; border-radius: 10px;
  font-family: var(--fd); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #170a1e;
}
.pill--gold { background: var(--gold); } .pill--pink { background: var(--pink); color: #fff; }
.pill--violet { background: #c4b0ff; } .pill--orange { background: var(--orange); color: #fff; }
.pill--lime { background: var(--lime); } .pill--red { background: var(--red); color: #fff; } .pill--sky { background: var(--sky); }

.card--farm { --tint: var(--gold); grid-column: span 4; grid-row: span 2; }
.card--people { --tint: var(--pink); grid-column: span 2; }
.card--roles { --tint: var(--violet); grid-column: span 2; }
.card--boss { --tint: var(--orange); grid-column: span 3; }
.card--aliens { --tint: var(--red); grid-column: span 3; }
.card--farm .card__viz { height: auto; flex: 1; min-height: 360px; }
.card--farm h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.card--farm p { font-size: 1.05rem; max-width: 34em; }

.farm-viz__cells {
  position: absolute; left: 50%; bottom: 30px; width: 130%; height: 260px; translate: -50% 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 201, 61, 0.25) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 201, 61, 0.25) 1.5px, transparent 1.5px);
  background-size: 70px 70px;
  transform: perspective(500px) rotateX(58deg);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 70%);
}
.farm-viz__counter {
  position: absolute; top: 34px; left: 28px; z-index: 2;
  font-family: var(--fd); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--gold); text-shadow: 0 6px 0 rgba(150, 90, 0, 0.55), 0 0 40px rgba(255, 201, 61, 0.4);
}
.farm-viz__counter small { font-size: 0.35em; color: var(--muted); text-shadow: none; letter-spacing: 0; }
.farm-viz__row { position: absolute; left: 0; right: 0; bottom: 50px; z-index: 1; display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 0 28px; }
.farm-viz__row span { font-size: 4.8rem; line-height: 1; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5)); animation: bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
.farm-viz__row span:nth-child(1) { font-size: 3.4rem; }
.farm-viz__row span:nth-child(5) { font-size: 6.2rem; }
.farm-viz__collect {
  position: absolute; top: 40px; right: 28px; z-index: 2;
  padding: 0.8em 1.2em; border-radius: 16px;
  font-family: var(--fd); font-weight: 800; font-size: 0.86rem; color: #170a1e;
  background: linear-gradient(180deg, #ffe58a, var(--gold)); box-shadow: 0 5px 0 #b37a00, 0 14px 30px rgba(255, 201, 61, 0.35);
  animation: press 2.8s ease-in-out infinite;
}
@keyframes press { 0%, 80%, 100% { transform: none; box-shadow: 0 5px 0 #b37a00, 0 14px 30px rgba(255, 201, 61, 0.35); } 86% { transform: translateY(4px); box-shadow: 0 1px 0 #b37a00, 0 6px 14px rgba(255, 201, 61, 0.3); } }

.people-viz__ring {
  position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; translate: -50% -50%; border-radius: 50%;
  border: 1.5px dashed rgba(255, 77, 154, 0.45);
  background: radial-gradient(circle, rgba(255, 77, 154, 0.16), transparent 70%);
  animation: spin 30s linear infinite;
}
.people-viz__you { position: absolute; left: 50%; top: 50%; width: 76px; translate: -50% -50%; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5)); }
.people-viz__p {
  position: absolute; left: var(--x); top: var(--y); width: 54px; height: 54px; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 18px; background: #2a1d4d; border: 2px solid rgba(255, 255, 255, 0.18);
  animation: bob 4.6s ease-in-out infinite;
}
.people-viz__p:nth-of-type(3) { animation-delay: -1.4s; } .people-viz__p:nth-of-type(4) { animation-delay: -2.6s; }
.people-viz__p img { width: 82%; }
.people-viz__near { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; padding: 0.35em 0.75em; border-radius: 10px; background: rgba(255, 255, 255, 0.92); color: #170a1e; font-family: var(--fd); font-size: 0.64rem; font-weight: 800; white-space: nowrap; }

.roles-viz { display: flex; justify-content: center; align-items: flex-end; gap: 12px; padding: 20px 18px 18px; }
.role { display: grid; justify-items: center; gap: 0.4rem; width: 26%; transition: transform 0.35s var(--spring); }
.role img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.role__emo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; font-size: clamp(2.6rem, 4.6vw, 4rem); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.role b { font-family: var(--fd); font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.role--mid { width: 31%; }
.card--roles:hover .role { transform: translateY(-6px); }
.card--roles:hover .role--mid { transform: translateY(-14px) scale(1.06); }

.boss-viz { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 26px 22px; }
.boss-viz__scene { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4%; }
.boss-viz__mon { position: relative; font-size: 4.2rem; line-height: 1; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.boss-viz__dome { position: absolute; left: 50%; bottom: -8%; width: 150%; aspect-ratio: 1; translate: -50% 0; border-radius: 50% 50% 46% 46%; border: 2px solid rgba(56, 189, 248, 0.7); background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0.04) 70%); box-shadow: 0 0 26px rgba(56, 189, 248, 0.45), inset 0 0 18px rgba(56, 189, 248, 0.35); animation: dome 3.2s ease-in-out infinite; }
@keyframes dome { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.55; scale: 0.96; } }
.boss-viz__guard { width: 15%; max-width: 64px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)); animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.boss-viz__boss { font-size: 4.6rem; line-height: 1; filter: drop-shadow(0 0 22px rgba(255, 90, 95, 0.6)); animation: bob 3s ease-in-out infinite; }
.boss-viz__track { position: relative; height: 12px; margin: 0 6px; }
.boss-viz__hp { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.boss-viz__hp i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--orange)); animation: hp 4s ease-in-out infinite; }
.boss-viz__track b { position: absolute; left: var(--at); top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 1.05rem; background: #1a0f2a; border: 2px solid rgba(255, 255, 255, 0.28); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
@keyframes hp { 0%, 100% { width: 78%; } 50% { width: 34%; } }
@keyframes shake { 0%, 70%, 100% { transform: none; } 75% { transform: translateX(-4px) rotate(-3deg); } 85% { transform: translateX(4px) rotate(3deg); } }

.aliens-viz { display: flex; align-items: center; justify-content: center; }
.aliens-viz__saucer { position: absolute; top: 12px; left: 50%; width: 110px !important; margin: 0 !important; translate: -50% 0; z-index: 0 !important; animation: saucer 5s ease-in-out infinite !important; }
@keyframes saucer { 0%, 100% { translate: -70% 0; } 50% { translate: -30% -6px; } }
.aliens-viz img { width: 100px; margin-top: 84px; margin: 0 -14px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5)); animation: bob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.aliens-viz img:nth-of-type(3) { width: 120px; z-index: 1; }
.aliens-viz__stars { position: absolute; top: 18px; left: 22px; font-size: 1.5rem; letter-spacing: 0.2em; color: var(--red); text-shadow: 0 0 18px var(--red); animation: siren 1s steps(2) infinite; }
@keyframes siren { 50% { color: #ffd0d1; text-shadow: 0 0 30px var(--red); } }

/* ---------- Clans ---------- */
.clans { overflow: hidden; }
.clans__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 107, 61, 0.18), transparent 70%),
    radial-gradient(50% 50% at 85% 70%, rgba(255, 77, 154, 0.16), transparent 70%);
}
.clans__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.clans__lede { max-width: 44em; }
.versus { display: flex; align-items: center; gap: 0.8rem; }
.versus__clan {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.7em 1em; border-radius: 16px;
  font-family: var(--fd); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em;
  background: rgba(255, 77, 154, 0.14); border: 1.5px solid rgba(255, 77, 154, 0.45); rotate: -3deg;
}
.versus__clan span { font-size: 1.3rem; }
.versus__clan--foe { background: rgba(255, 107, 61, 0.14); border-color: rgba(255, 107, 61, 0.5); rotate: 3deg; }
.versus__vs { font-family: var(--fd); font-weight: 900; font-size: 1.6rem; font-style: italic; color: var(--gold); text-shadow: 0 3px 0 #b37a00; }

.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.win {
  --wc: var(--gold); --wd: #b37a00;
  position: relative; display: grid; gap: 0.6rem; justify-items: start; text-align: left;
  padding: 30px 28px 32px; border-radius: 30px; min-height: 280px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--wc) 16%, var(--bg-2)), var(--bg-2));
  border: 2px solid color-mix(in srgb, var(--wc) 25%, transparent);
  transition: transform 0.4s var(--spring), box-shadow 0.3s, border-color 0.3s, opacity 0.9s var(--ease);
}
.win--fight { --wc: var(--orange); --wd: #a33a16; }
.win--shell { --wc: var(--sky); --wd: #1479a8; }
.win:hover { transform: translateY(-6px); }
.win.is-on {
  border-color: var(--wc);
  background: linear-gradient(170deg, color-mix(in srgb, var(--wc) 42%, var(--bg-2)), color-mix(in srgb, var(--wc) 10%, var(--bg-2)));
  box-shadow: 0 8px 0 var(--wd), 0 30px 70px color-mix(in srgb, var(--wc) 35%, transparent);
  transform: translateY(-8px);
}
.win__ico { font-size: 3.4rem; line-height: 1; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); transition: transform 0.4s var(--spring); }
.win.is-on .win__ico { transform: scale(1.15) rotate(-8deg); }
.win__name { font-family: var(--fd); font-weight: 900; font-size: 1.9rem; letter-spacing: -0.02em; margin-top: auto; }
.win__desc { color: var(--muted); font-size: 0.98rem; }
.win.is-on .win__desc { color: rgba(255, 255, 255, 0.86); }
.win__tag { position: absolute; top: 22px; right: 22px; padding: 0.35em 0.7em; border-radius: 10px; background: rgba(255, 255, 255, 0.1); font-family: var(--fd); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.win.is-on .win__tag { background: var(--wc); color: #170a1e; }

.timer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem;
  margin-top: 26px; padding: 18px 26px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.timer__label { font-family: var(--fd); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.timer__clock { order: 3; font-family: var(--fd); font-weight: 900; font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--gold); }
.timer__bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.timer__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--orange), var(--pink)); transition: width 1s linear; box-shadow: 0 0 18px rgba(255, 107, 61, 0.6); }


/* City capture */
.capture {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
  margin-top: 64px; padding: 44px; border-radius: 34px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255, 201, 61, 0.12), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 201, 61, 0.22);
}
.capture__title { font-family: var(--fd); font-weight: 900; font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.02; letter-spacing: -0.025em; margin: 1rem 0 0.9rem; }
.capture__lede { color: var(--muted); font-size: 1.04rem; max-width: 34em; }
.capture__score { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.capture__score li {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.55em 0.95em 0.55em 0.6em; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 0.9rem; color: rgba(255, 255, 255, 0.86);
}
.capture__score b { display: inline-grid; place-items: center; min-width: 2.6em; height: 2em; padding: 0 0.4em; border-radius: 10px; background: var(--gold); color: #170a1e; font-family: var(--fd); font-weight: 900; font-size: 0.82rem; }
.capture__steps { display: grid; gap: 14px; margin-top: 1.8rem; counter-reset: cap; }
.capture__steps li { position: relative; display: grid; gap: 0.15rem; padding-left: 3rem; counter-increment: cap; }
.capture__steps li::before {
  content: counter(cap); position: absolute; left: 0; top: 0.1rem; display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 12px; background: rgba(255, 201, 61, 0.14); border: 1.5px solid rgba(255, 201, 61, 0.45);
  font-family: var(--fd); font-weight: 900; font-size: 0.82rem; color: var(--gold);
}
.capture__steps b { font-family: var(--fd); font-weight: 800; font-size: 0.98rem; }
.capture__steps span { color: var(--muted); font-size: 0.94rem; }

.city {
  --cc: var(--gold); --cc-soft: rgba(255, 201, 61, 0.16);
  position: relative; display: grid; gap: 22px; padding: 22px 24px 26px; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 60% at 50% 0%, var(--cc-soft), transparent 70%), #110a20;
  border: 2px solid color-mix(in srgb, var(--cc) 55%, transparent);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--cc) 18%, transparent);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.city.is-burning { --cc: var(--orange); --cc-soft: rgba(255, 107, 61, 0.26); }
.city.is-free { --cc: #fff; --cc-soft: rgba(255, 255, 255, 0.07); border-style: dashed; border-color: rgba(255, 255, 255, 0.34); box-shadow: none; }
.city.is-burning::after {
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 100%, rgba(255, 107, 61, 0.5), transparent 70%), radial-gradient(40% 50% at 75% 100%, rgba(255, 77, 154, 0.35), transparent 70%);
  animation: embers 2.4s ease-in-out infinite alternate;
}
@keyframes embers { from { opacity: 0.55; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.city__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); justify-self: center; }
.city__tabs button { height: 32px; padding: 0 0.9em; border-radius: 10px; font-family: var(--fd); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); transition: background 0.2s, color 0.2s; }
.city__tabs button:hover { color: #fff; }
.city__tabs button[aria-pressed="true"] { background: var(--cc); color: #170a1e; }
.city__title { display: grid; justify-items: center; text-align: center; gap: 6px; }
.city__kick { font-family: var(--fd); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cc); }
.city__name {
  font-family: var(--fd); font-weight: 900; font-size: clamp(2.4rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--cc) 50%, #fff 60%, #fff 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }
.city__country { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.city__country i { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cc) 70%, transparent)); }
.city__country i:last-child { transform: scaleX(-1); }
.city__owner { display: flex; align-items: center; justify-content: center; gap: 16px; }
.nexus { position: relative; display: grid; place-items: center; width: 78px; height: 78px; flex: none; }
.nexus__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--cc), transparent 30%, var(--cc) 50%, transparent 80%, var(--cc)); -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 82%); mask: radial-gradient(closest-side, transparent 80%, #000 82%); animation: spin 6s linear infinite; }
.nexus__tag { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--cc) 18%, #170e2a); box-shadow: 0 0 30px color-mix(in srgb, var(--cc) 45%, transparent); font-size: 2rem; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.city.is-free .nexus__ring { background: none; border: 2px dashed rgba(255, 255, 255, 0.4); -webkit-mask: none; mask: none; }
.city.is-free .nexus__tag { background: rgba(255, 255, 255, 0.05); box-shadow: none; color: var(--dim); font-family: var(--fd); font-weight: 900; }
@keyframes spin { to { transform: rotate(360deg); } }
.city__clan { display: grid; gap: 2px; }
.city__clan b { font-family: var(--fd); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.04em; }
.city__clan small { font-size: 0.86rem; color: var(--muted); }
.city__clan small b { font-size: inherit; letter-spacing: 0; color: var(--cc); font-variant-numeric: tabular-nums; }
.city__week { padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.city__week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-family: var(--fd); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.city__clock b { color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.city__board { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.city__board li { display: grid; grid-template-columns: 1.6rem 1fr auto; align-items: center; column-gap: 10px; row-gap: 6px; font-size: 0.86rem; }
.city__board li > span { font-size: 1.15rem; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.city__board b { font-family: var(--fd); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; }
.city__board em { font-style: normal; font-family: var(--fd); font-weight: 900; font-variant-numeric: tabular-nums; }
.city__board i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.city__board i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--orange)); }
.city__board .is-foe i::after { background: linear-gradient(90deg, var(--orange), var(--red)); }
.city__board .is-solo i::after { background: linear-gradient(90deg, #c4b0ff, var(--sky)); }

/* ---------- Arsenal ---------- */
.arsenal__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; margin-top: 52px; align-items: stretch; }
.turret-lab {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 28px; border-radius: 32px;
  background: radial-gradient(80% 90% at 25% 50%, rgba(139, 92, 246, 0.3), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.turret-lab__stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.turret-lab__glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(196, 176, 255, 0.45), transparent 65%); filter: blur(10px); }
.turret-lab__stage img { position: relative; width: 88%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.55)); animation: bob 4s ease-in-out infinite; transition: opacity 0.2s, scale 0.35s var(--spring); }
.turret-lab__stage img.is-swap { opacity: 0; scale: 0.85; }
.turret-lab__tier {
  position: absolute; left: 8px; top: 8px; padding: 0.45em 0.8em; border-radius: 12px;
  font-family: var(--fd); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; background: var(--gold); color: #170a1e; box-shadow: 0 4px 0 #b37a00; rotate: -4deg;
}
.turret-lab__tier b { font-size: 1.3em; }
.turret-lab__panel { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.turret-lab__panel h3 { font-family: var(--fd); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.turret-lab__panel p { color: var(--muted); }
.turret-lab__bars { display: grid; gap: 0.8rem; margin-top: 0.3rem; }
.tier-switch { display: flex; gap: 10px; margin-top: 0.4rem; }
.tier-switch button { flex: 1; display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-family: var(--fd); font-weight: 700; font-size: 0.82rem; color: var(--muted); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.tier-switch img { width: 40px; height: 40px; object-fit: contain; }
.tier-switch button:hover { color: #fff; border-color: var(--line-2); }
.tier-switch button[aria-pressed="true"] { color: #fff; background: rgba(255, 77, 154, 0.14); border-color: rgba(255, 77, 154, 0.55); }
.tier-range input { width: 100%; -webkit-appearance: none; appearance: none; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--pink), var(--gold)); outline: none; cursor: pointer; }
.tier-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 5px solid var(--pink); box-shadow: 0 4px 0 #a3195a, 0 6px 16px rgba(0, 0, 0, 0.4); }
.tier-range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--pink); box-shadow: 0 4px 0 #a3195a; }
.tier-ticks { display: flex; justify-content: space-between; padding: 0 6px; margin-top: -0.4rem; font-family: var(--fd); font-size: 0.66rem; font-weight: 700; color: var(--dim); }

.drones { display: flex; flex-direction: column; gap: 12px; }
.drones__title { font-family: var(--fd); font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; }
.drones__list { display: grid; gap: 12px; }
.drone {
  display: flex; align-items: center; gap: 1rem; padding: 12px 18px 12px 12px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: transform 0.35s var(--spring), background 0.3s, border-color 0.3s, opacity 0.9s var(--ease);
}
.drone img { width: 76px; height: 76px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)); transition: transform 0.4s var(--spring); }
.drone .drone__emo { display: grid; place-items: center; flex: none; width: 76px; height: 76px; font-size: 3.4rem; line-height: 1; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)); transition: transform 0.4s var(--spring); }
.drone:hover .drone__emo { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.drone b { display: block; font-family: var(--fd); font-weight: 700; font-size: 0.98rem; }
.drone span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.drone:hover { transform: translateX(8px); background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.35); }
.drone:hover img { transform: translateY(-6px) rotate(-8deg) scale(1.08); }

/* ---------- Crew ---------- */
.crew { overflow: hidden; padding-bottom: 110px; }
.crew__rows { display: grid; gap: 18px; margin-top: 52px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.crew__row { display: flex; gap: 18px; width: max-content; animation: mq 60s linear infinite; }
.crew__row--rev { animation-direction: reverse; animation-duration: 70s; }
.crew__rows:hover .crew__row { animation-play-state: paused; }
.crew-tile {
  flex: none; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 36px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 40%, #241640), #170e2e);
  border: 2px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--spring);
}
.crew-tile img { width: 84%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35)); }
.crew-tile:hover { transform: translateY(-10px) rotate(-6deg) scale(1.08); }

/* ---------- Ranks ---------- */
.ranks__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.ranks__grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; margin-top: 48px; }
.board { padding: 24px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.board h3 { display: flex; align-items: center; gap: 0.55rem; font-family: var(--fd); font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }
.board h3 span { font-size: 1.3rem; }
.board__empty { color: var(--dim); font-size: 0.92rem; }
.rank-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.6rem; border-radius: 16px; transition: background 0.2s; }
.rank-row + .rank-row { margin-top: 4px; }
.rank-row:hover { background: rgba(255, 255, 255, 0.05); }
.rank-row__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; flex: none; font-family: var(--fd); font-weight: 900; font-size: 0.86rem; background: rgba(255, 255, 255, 0.07); }
.rank-row:nth-child(1) .rank-row__n { background: var(--gold); color: #170a1e; box-shadow: 0 3px 0 #b37a00; }
.rank-row:nth-child(2) .rank-row__n { background: #dcdcf0; color: #170a1e; box-shadow: 0 3px 0 #8d8da8; }
.rank-row:nth-child(3) .rank-row__n { background: #f0a36b; color: #170a1e; box-shadow: 0 3px 0 #a8642f; }
.rank-row__av { font-size: 1.4rem; }
.rank-row__nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__lv { padding: 0.25em 0.6em; border-radius: 9px; background: rgba(255, 77, 154, 0.14); color: #ffb3d4; font-family: var(--fd); font-weight: 700; font-size: 0.72rem; }
.news-item { padding: 0.9rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.news-item + .news-item { margin-top: 10px; }
.news-item__when { font-family: var(--fd); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.news-item h4 { margin: 0.3rem 0 0.25rem; font-family: var(--fd); font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.news-item p { color: var(--muted); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board__more { margin-top: auto; padding-top: 1rem; font-family: var(--fd); font-weight: 700; font-size: 0.78rem; color: var(--pink); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.faq details[open] { background: rgba(255, 77, 154, 0.06); border-color: rgba(255, 77, 154, 0.3); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 1.25rem 3.6rem 1.25rem 1.4rem; font-family: var(--fd); font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 1.2rem;
  transition: transform 0.35s var(--spring), background 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pink); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.get { position: relative; padding: 170px 0 150px; text-align: center; overflow: hidden; isolation: isolate; }
.get__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 60% at 50% 60%, rgba(255, 77, 154, 0.35), transparent 70%),
    radial-gradient(40% 40% at 30% 30%, rgba(124, 58, 237, 0.4), transparent 70%),
    radial-gradient(40% 40% at 75% 35%, rgba(255, 107, 61, 0.28), transparent 70%);
}
.get__frog { position: absolute; z-index: -1; left: 0; right: 0; margin: 0 auto; top: 40px; width: 300px; opacity: 0.95; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); animation: bob 5s ease-in-out infinite; }
.get__inner { position: relative; padding-top: 220px; }
.get__title { font-family: var(--fd); font-weight: 900; font-size: clamp(3.4rem, 10vw, 9rem); line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; }
.get .lede { margin: 1.4rem auto 0; }
.gf { position: absolute; z-index: -1; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.5)); animation: bob 6s ease-in-out infinite; }
.gf--1 { width: 150px; left: 8%; top: 20%; }
.gf--2 { width: 170px; right: 7%; top: 16%; animation-delay: -2s; }
.gf--3 { width: 150px; left: 14%; bottom: 10%; animation-delay: -3.5s; }
.gf--4 { width: 120px; right: 14%; bottom: 14%; animation-delay: -1s; }

/* ---------- Footer ---------- */
.ft { padding: 40px 0 50px; border-top: 1px solid var(--line); }
.ft__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.ft__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.ft__links a { color: var(--muted); font-size: 0.9rem; }
.ft__links a:hover { color: #fff; }
.ft__meta { color: var(--dim); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nv__links { display: none; }
  .nv__burger { display: block; }
  .nv__menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: grid; gap: 4px; padding: 12px; border-radius: 22px;
    background: rgba(14, 8, 28, 0.96); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nv__menu a { padding: 0.85em 1em; border-radius: 14px; font-family: var(--fd); font-weight: 700; font-size: 0.95rem; }
  .nv__menu a:hover { background: rgba(255, 255, 255, 0.06); }
  .nv.is-open .nv__menu { opacity: 1; pointer-events: auto; transform: none; }
  .hx__inner { grid-template-columns: 1fr; }
  .hx__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hx__actions, .hx__meta { justify-content: center; }
  .hx__stage { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
  .about__grid, .faq__grid, .pass-sec__grid { grid-template-columns: 1fr; gap: 48px; }
  .passport { max-width: 520px; }
  .map-head { grid-template-columns: 1fr; gap: 0; }
  .map-head .lede { margin-top: 1.2rem; }
  .map-legend { grid-template-columns: 1fr 1fr; }
  .arsenal__grid { grid-template-columns: 1fr; }
  .capture { grid-template-columns: 1fr; gap: 36px; }
  .city { max-width: 560px; width: 100%; justify-self: center; }
  .ranks__grid { grid-template-columns: 1fr 1fr; }
  .board--news { grid-column: span 2; }
  .card--farm { grid-column: span 6; }
  .card--people, .card--roles { grid-column: span 3; }
}

@media (max-width: 720px) {
  .nv__cab { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .nv__cab span { display: none; }
  .capture { padding: 26px 20px; margin-top: 44px; border-radius: 28px; }
  .city { padding: 18px 16px 20px; }
  .wrap { padding: 0 18px; }
  .sec { padding: 60px 0; }
  .h2 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .lede { font-size: 1rem; margin-top: 1.1rem; }

  /* Hero: one phone, the frog and a turret — no tags, coins or chat bubbles */
  .hx { min-height: 0; padding: 104px 0 8px; }
  .hx__title { font-size: clamp(2.5rem, 11.5vw, 3.3rem); }
  .hx__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; gap: 10px; margin-top: 1.8rem; }
  .hx__actions > a { justify-content: center; }
  .hx__meta { flex-wrap: nowrap; justify-content: center; gap: 6px; margin-top: 1.4rem; }
  .hx__meta li { padding: 0.4em 0.7em; font-size: 0.72rem; white-space: nowrap; }
  .hx__stage { height: 360px; margin-top: 18px; }
  .hx__stage > .radar { width: 330px; height: 330px; opacity: 0.55; }
  .phone { width: 168px; height: 350px; margin: -175px 0 0 -84px; padding: 7px; border-radius: 32px; rotate: -4deg; }
  .phone__screen { border-radius: 26px; }
  .fl--frog { width: 128px; left: 6%; bottom: 2%; }
  .fl--turret, .fl--house, .fl--drone, .fl--alien, .fl--mira, .fl--rex, .hx__stage .coin, .hx__scroll { display: none; }
  .farm-viz__counter { top: 24px; left: 20px; font-size: 2.2rem; }
  .farm-viz__collect { top: 74px; left: 20px; right: auto; font-size: 0.74rem; padding: 0.6em 1em; }
  .farm-viz__row span { font-size: 3rem; }
  .farm-viz__row span:nth-child(1) { font-size: 2.2rem; }
  .farm-viz__row span:nth-child(5) { font-size: 3.9rem; }
  .boss-viz__mon, .boss-viz__boss { font-size: 3.2rem; }
  /* Marquee: a single flat band */
  .mq { height: auto; margin: 0; }
  .mq__band { position: relative; left: 0; right: 0; top: 0; rotate: 0deg; }
  .mq__band--a { padding: 0.75rem 0; box-shadow: none; }
  .mq__band--b { display: none; }
  .mq__track { gap: 1.1rem; }
  .mq__track span { font-size: 1rem; }
  .mq__track i { font-size: 0.85rem; }

  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .card__viz { height: 170px; }
  .versus { flex-wrap: wrap; gap: 0.5rem; }
  .versus__clan { rotate: 0deg; padding: 0.55em 0.8em; font-size: 0.72rem; }
  .versus__clan span { font-size: 1.05rem; }
  .versus__vs { font-size: 1.15rem; }
  .aliens-viz img { width: 76px; margin: 0 -10px; }
  .aliens-viz img:nth-of-type(3) { width: 92px; }
  .aliens-viz__saucer { width: 82px !important; }
  .card, .card--farm, .card--people, .card--roles, .card--boss, .card--aliens { grid-column: auto; grid-row: auto; }
  .card--farm .card__viz { min-height: 280px; }
  .windows { grid-template-columns: 1fr; }
  .win { min-height: 0; }
  .timer { grid-template-columns: 1fr auto; }
  .timer__bar { grid-column: span 2; order: 4; }
  .turret-lab { grid-template-columns: 1fr; }
  .turret-lab__stage { min-height: 220px; }
  .turret-lab__stage img { width: 56%; }
  .map-legend, .ranks__grid { grid-template-columns: minmax(0, 1fr); }
  .board--news { grid-column: auto; }
  .hud { padding: 10px; border-radius: 24px; }
  .world-map__controls, .world-map__search, .world-map__search input { width: 100%; }
  .world-map__search input { font-size: 16px; }
  .world-map__filters { width: 100%; overflow-x: auto; }
  .world-map__frame { height: min(66dvh, 540px); min-height: 340px; }
  .monument-panel { top: auto; bottom: 0; right: 0; left: 0; width: 100%; border-radius: 22px 22px 0 0; }
  .crew-tile { width: 96px; height: 96px; border-radius: 28px; }
  /* Final call: just the frog over the headline */
  .get { padding: 96px 0 84px; }
  .get__floaters { display: none; }
  .get__frog { width: 150px; top: 30px; }
  .get__inner { padding-top: 130px; }
  .get .hx__actions { margin-inline: auto; }
}

@media (max-width: 480px) {
  html, body { overflow-x: clip; }
  .nv { gap: 0.5rem; padding-left: 12px; }
  .nv__logo span { display: none; }
  .nv__right { gap: 0.4rem; }
  .nv__right > .btn3d { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-rv], [data-in] { opacity: 1; transform: none; }
}
