/* ============================================================
   PoBx · Landing Page
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

/* ===== shared primitives ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary {
  background: var(--accent);
  color: #0b0d10;
}
.btn-primary:hover { background: hsl(28, 92%, 58%); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.76 0.15 155);
  box-shadow: 0 0 0 0 oklch(0.76 0.15 155 / .8);
  animation: pulse 2s infinite;
  display: inline-block;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.76 0.15 155 / .6); }
  70% { box-shadow: 0 0 0 8px oklch(0.76 0.15 155 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.76 0.15 155 / 0); }
}

.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
.eyebrow-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
}
.brand-mark {
  font-family: "Russo One", sans-serif;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -.02em;
  padding: 4px 10px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.brand-x { color: var(--accent); }
.brand-name {
  font-size: 18px;
  letter-spacing: .05em;
}
.nav-links {
  display: flex; gap: 28px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--fg-mute);
  transition: color .15s;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: flex; align-items: center; gap: 16px;
}
.nav-live {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-mute);
}
.nav-live b { color: var(--fg); }

@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-live { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 40px 120px;
  overflow: hidden;
  display: flex; align-items: flex-start;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -100px, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%),
    linear-gradient(180deg, #0b0d10 0%, #0a0c0f 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  bottom: -20%; left: 50%;
  transform: translateX(-50%);
  width: 90%; height: 500px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-embers {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .6;
}
.hero-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, .015) 3px,
    rgba(255, 255, 255, .015) 4px
  );
  pointer-events: none;
}
.hero-skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  width: 100%;
  opacity: .95;
}

/* aviation light blinks */
.sky-blink { animation: skyBlink 2.4s ease-in-out infinite; }
.sky-blink.b2 { animation-delay: .8s; }
.sky-blink.b3 { animation-delay: 1.6s; }
@keyframes skyBlink {
  0%, 60%, 100% { opacity: 0; }
  70%, 80%      { opacity: 1; filter: drop-shadow(0 0 3px hsl(0, 90%, 60%)); }
}

/* window flickers */
.win-flicker { animation: winFlicker 4s steps(1) infinite; }
.win-flicker.f1 { animation-delay: .3s; }
.win-flicker.f2 { animation-delay: 1.1s; }
.win-flicker.f3 { animation-delay: 2.2s; }
.win-flicker.f4 { animation-delay: .7s; }
.win-flicker.f5 { animation-delay: 1.8s; }
.win-flicker.f6 { animation-delay: 2.7s; }
.win-flicker.f7 { animation-delay: 3.3s; }
@keyframes winFlicker {
  0%, 88%, 92%, 100% { opacity: .8; }
  90% { opacity: .15; }
}

/* zombies — slow shuffle across street */
.zombie {
  transform-box: fill-box;
  transform-origin: center center;
}
.zombie.z1 { animation: zShuffle1 38s linear infinite; }
.zombie.z2 { animation: zShuffle2 46s linear infinite; animation-delay: -8s; }
.zombie.z3 { animation: zShuffle3 52s linear infinite; animation-delay: -22s; }
.zombie.z4 { animation: zShuffle4 42s linear infinite; animation-delay: -14s; }

@keyframes zShuffle1 {
  0%   { transform: translate(0, 286px) scale(1); }
  100% { transform: translate(1920px, 286px) scale(1); }
}
@keyframes zShuffle2 {
  0%   { transform: translate(1920px, 287px) scale(-0.95, 0.95); }
  100% { transform: translate(0, 287px) scale(-0.95, 0.95); }
}
@keyframes zShuffle3 {
  0%   { transform: translate(0, 285px) scale(1.05); }
  100% { transform: translate(1920px, 285px) scale(1.05); }
}
@keyframes zShuffle4 {
  0%   { transform: translate(1920px, 286px) scale(-0.9, 0.9); }
  100% { transform: translate(0, 286px) scale(-0.9, 0.9); }
}

/* limb sway for zombies */
.zombie .z-arm { transform-box: fill-box; transform-origin: top center; animation: zArm 1.4s ease-in-out infinite; }
.zombie .z-arm:nth-of-type(2) { animation-delay: -.7s; }
.zombie .z-leg-l { transform-box: fill-box; transform-origin: top center; animation: zLeg 1.4s ease-in-out infinite; }
.zombie .z-leg-r { transform-box: fill-box; transform-origin: top center; animation: zLeg 1.4s ease-in-out infinite; animation-delay: -.7s; }
.zombie.z2 .z-arm,
.zombie.z2 .z-leg-l,
.zombie.z2 .z-leg-r { animation-duration: 1.6s; }
.zombie.z3 .z-arm,
.zombie.z3 .z-leg-l,
.zombie.z3 .z-leg-r { animation-duration: 1.2s; }
.zombie.z4 .z-arm,
.zombie.z4 .z-leg-l,
.zombie.z4 .z-leg-r { animation-duration: 1.5s; }
@keyframes zArm {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(8deg); }
}
@keyframes zLeg {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex; align-items: center;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 128px);
  line-height: .95;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-line {
  display: block;
}
.hero-line:nth-child(2) { animation-delay: .15s; }
@keyframes heroLine {
  from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 620px;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-width: 800px;
  overflow: hidden;
}
.stat {
  background: color-mix(in oklab, var(--surface-1) 80%, transparent);
  backdrop-filter: blur(8px);
  padding: 18px 20px;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--fg);
  display: flex; align-items: baseline; gap: 8px;
}
.stat-unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: .05em;
}
.stat-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px;
  color: oklch(0.76 0.15 155);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 500;
  font-family: var(--f-mono);
}
/* Hero explore CTA — placed in normal flow underneath hero-stats so
   it can never overlap content regardless of viewport height.
   Block-level flex with fit-content lets margin: auto centre it
   inside hero-content. */
.hero-explore {
  position: relative;
  display: flex;
  width: fit-content;
  margin: 36px auto 0;
  align-items: center;
  gap: 14px;
  padding: 16px 28px 16px 32px;
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 18%, transparent) 0%,
    color-mix(in oklab, var(--accent) 8%, transparent) 100%);
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
  border-radius: 999px;
  cursor: pointer;
  z-index: 4;
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow:
    0 0 0 6px color-mix(in oklab, var(--accent) 6%, transparent),
    0 8px 28px -6px color-mix(in oklab, var(--accent) 50%, transparent),
    inset 0 1px 0 color-mix(in oklab, #fff 12%, transparent);
}
.hero-explore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    color-mix(in oklab, #fff 25%, transparent) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
  pointer-events: none;
}
.hero-explore:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 32%, transparent) 0%,
    color-mix(in oklab, var(--accent) 14%, transparent) 100%);
  box-shadow:
    0 0 0 8px color-mix(in oklab, var(--accent) 10%, transparent),
    0 14px 40px -6px color-mix(in oklab, var(--accent) 70%, transparent),
    inset 0 1px 0 color-mix(in oklab, #fff 20%, transparent);
}
.hero-explore:hover::before { transform: translateX(100%); }
.hex-label {
  position: relative;
  z-index: 1;
  color: var(--fg);
}
.hex-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.hex-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  animation: hexBob 1.6s ease-in-out infinite;
}
.hero-explore:hover .hex-arrow svg { animation-duration: .9s; }
@keyframes hexBob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(4px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 22px; }
}

/* ============================================================
   PILLARS STRIP
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-1);
}
.pillar {
  padding: 60px 48px;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pillar:last-child { border-right: none; }
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .4s ease;
}
.pillar:hover::before { width: 100%; }
.pillar-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 16px;
}
.pillar-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.pillar-txt {
  color: var(--fg-mute);
  line-height: 1.5;
  font-size: 15px;
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 28px; }
  .pillar:last-child { border-bottom: none; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.sec-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sec-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.sec-sub {
  color: var(--fg-mute);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 620px;
}

/* ============================================================
   CLUSTER SECTION
   ============================================================ */
.cluster-sec {
  padding: 140px 40px 100px;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-1) 100%);
}
.cluster-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 1000 / 600;
}
.cluster-graph {
  width: 100%; height: 100%;
  display: block;
}
.center-player {
  animation: centerPulse 3s ease-in-out infinite;
  transform-origin: 500px 300px;
}
@keyframes centerPulse {
  0%, 100% { filter: drop-shadow(0 0 6px hsl(28, 87%, 55%)); }
  50% { filter: drop-shadow(0 0 16px hsl(28, 87%, 55%)); }
}
.cluster-node {
  animation: nodeFloat 4s ease-in-out infinite;
}
.cluster-node[data-cluster="pve"]:nth-of-type(2) { animation-delay: .5s; }
.cluster-node[data-cluster="pvp"]:first-of-type { animation-delay: 1s; }
.cluster-node[data-cluster="pvp"]:last-of-type { animation-delay: 1.5s; }
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.callout {
  position: absolute;
  background: color-mix(in oklab, var(--surface-2) 90%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  max-width: 220px;
  font-size: 12px;
}
.callout::before {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.callout.c1 { top: 40%; left: 44%; animation-delay: .2s; }
.callout.c1::before { top: 14px; left: -12px; }
.callout.c2 { top: 10%; left: 50%; animation-delay: .5s; }
.callout.c2::before { bottom: -3px; left: 20px; }
.callout.c3 { top: 72%; left: 55%; animation-delay: .8s; }
.callout.c3::before { top: -3px; left: 20px; }
.cal-k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cal-v {
  color: var(--fg);
  line-height: 1.4;
}

.cluster-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.metric {
  background: var(--surface-1);
  padding: 40px 24px;
  text-align: center;
}
.metric-big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.metric-unit {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .cluster-stage { aspect-ratio: auto; height: 420px; }
  .callout { display: none; }
  .cluster-metrics { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT INTRO
   ============================================================ */
.split-intro {
  padding: 80px 40px 40px;
  text-align: center;
  background: var(--surface-1);
}
.split-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.split-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   FEATURE SECTION (shared)
   ============================================================ */
.feature-sec {
  padding: 100px 40px 140px;
  background: var(--surface-1);
  position: relative;
}
.feature-sec.pve {
  border-top: 1px solid var(--line);
}
.feature-sec.pvp {
  background: linear-gradient(180deg, var(--surface-1) 0%, #100a0a 60%, #0c0607 100%);
  position: relative;
}
.feature-sec.pvp::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(0, 80%, 40%), transparent);
}

.feature-header {
  max-width: 1100px;
  margin: 0 auto 80px;
}
.feature-tag {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tag-chip {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  padding: 6px 12px;
  border-radius: 4px;
}
.pve-chip {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
}
.pvp-chip {
  background: color-mix(in oklab, hsl(0, 75%, 55%) 18%, transparent);
  color: hsl(0, 80%, 65%);
  border: 1px solid color-mix(in oklab, hsl(0, 75%, 55%) 40%, transparent);
}
.tag-sub {
  color: var(--fg-mute);
  font-size: 14px;
}
.feature-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
  max-width: 780px;
  text-wrap: balance;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 120px;
}
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }

.feature-copy {
  padding: 20px 0;
}
.feature-num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.feature-num.pvp { color: hsl(0, 80%, 65%); }
.feature-h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.feature-p {
  color: var(--fg-mute);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 460px;
}
.feature-list {
  list-style: none; padding: 0; margin: 0;
}
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fg);
  font-size: 14px;
}
.feature-list li:last-child { border-bottom: none; }
.li-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.li-dot.pvp { background: hsl(0, 80%, 62%); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 460px;
}
.fg-cell {
  background: var(--surface-2);
  padding: 16px;
  text-align: center;
}
.fg-k {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.fg-k.pvp { color: hsl(0, 80%, 65%); }
.fg-v {
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ============================================================
   PVE VISUALS
   ============================================================ */
.feature-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    var(--surface-2);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* city visual */
.city-visual { padding: 0; }
.plot-grid {
  width: 100%;
  height: 100%;
  display: grid; place-items: center;
  padding: 40px 20px;
}
.plot-grid svg { width: 100%; max-width: 500px; height: auto; }
.pulse-plot {
  animation: plotPulse 3s ease-in-out infinite;
}
@keyframes plotPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 hsl(28, 87%, 55%)); }
  50% { opacity: .85; filter: drop-shadow(0 0 8px hsl(28, 87%, 55%)); }
}
.claim-ping circle {
  transform-origin: 180px 115px;
  animation: pingRing 2s ease-out infinite;
}
@keyframes pingRing {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}
.plot-hud {
  position: absolute;
  top: 24px; right: 24px;
  background: color-mix(in oklab, #0b0d10 85%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  min-width: 180px;
}
.hud-row {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.hud-row:last-child { border-bottom: none; }
.hud-k { color: var(--fg-dim); letter-spacing: .15em; }
.hud-v { color: var(--fg); font-weight: 600; }
.hud-v.accent { color: var(--accent); }

/* boss visual — cinematic confrontation */
.boss-visual { padding: 0; overflow: hidden; }
.boss-cinema {
  width: 100%;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  font-family: var(--f-mono);
  background: linear-gradient(180deg, #1a0808 0%, #0a0303 60%, #050202 100%);
}

/* sky gradient with subtle red bloom */
.bc-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 90%, hsl(0, 70%, 18%) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, hsl(0, 60%, 22%) 0%, transparent 70%),
    linear-gradient(180deg, #160606 0%, #0a0303 100%);
}

/* blood moon — slow rise */
.bc-moon {
  position: absolute;
  right: 18%;
  top: 18%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, hsl(15, 80%, 65%) 0%, hsl(0, 75%, 45%) 45%, hsl(0, 80%, 30%) 80%, transparent 100%);
  box-shadow:
    0 0 60px hsl(0, 80%, 35%),
    0 0 140px hsl(0, 70%, 25%);
  animation: bcMoonRise 24s ease-in-out infinite alternate;
  filter: blur(0.4px);
}
@keyframes bcMoonRise {
  0%   { transform: translateY(8px); }
  100% { transform: translateY(-8px); }
}

/* fog band along horizon */
.bc-fog {
  position: absolute;
  left: 0; right: 0;
  bottom: 22%;
  height: 30%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(60, 20, 20, 0.4) 60%, rgba(40, 12, 12, 0.7) 100%);
  filter: blur(8px);
  pointer-events: none;
}

/* distant mountain ridge */
.bc-mountains {
  position: absolute;
  left: 0; right: 0;
  bottom: 20%;
  height: 18%;
  background:
    linear-gradient(180deg, #0a0303 0%, #050101 100%);
  clip-path: polygon(0 100%, 0 60%, 8% 70%, 14% 40%, 22% 55%, 30% 30%, 38% 50%, 46% 35%, 56% 55%, 64% 25%, 72% 50%, 82% 38%, 90% 55%, 100% 35%, 100% 100%);
}

/* ground plane */
.bc-ground {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 22%;
  background:
    linear-gradient(180deg, #1a0606 0%, #080202 100%);
  border-top: 1px solid hsl(0, 60%, 18%);
}
.bc-ground::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 60, 60, 0.04) 0 2px, transparent 2px 80px);
  pointer-events: none;
}

/* lightning bolt — extremely rare flash */
.bc-bolt {
  position: absolute;
  right: 28%;
  top: 6%;
  width: 90px; height: 220px;
  opacity: 0;
  filter: drop-shadow(0 0 12px hsl(28, 100%, 70%)) drop-shadow(0 0 24px hsl(0, 100%, 70%));
  animation: bcBolt 9s ease-out infinite;
  pointer-events: none;
}
.bc-bolt svg { width: 100%; height: 100%; }
@keyframes bcBolt {
  0%, 88%   { opacity: 0; }
  89%       { opacity: 1; }
  90%       { opacity: 0; }
  91%       { opacity: 0.85; }
  93%       { opacity: 0; }
  100%      { opacity: 0; }
}

/* boss silhouette — towering on right */
.bc-boss {
  position: absolute;
  right: 4%;
  bottom: 8%;
  height: 78%;
  width: auto;
  max-width: 50%;
  filter: drop-shadow(-6px 0 30px rgba(255, 40, 40, 0.15));
  animation: bcBreathe 7s ease-in-out infinite;
  transform-origin: bottom center;
  z-index: 2;
}
@keyframes bcBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.012); }
}
.bc-eye {
  animation: bcEye 4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px hsl(0, 100%, 60%));
}
.bc-eye.e2 { animation-delay: -2s; }
@keyframes bcEye {
  0%, 100% { opacity: 0.7; }
  45%      { opacity: 1; }
  50%      { opacity: 0.3; }
  55%      { opacity: 1; }
}

/* hero silhouettes — small, on left, ground-level */
.bc-heroes {
  position: absolute;
  left: 6%;
  bottom: 10%;
  height: 30%;
  width: auto;
  max-width: 38%;
  z-index: 3;
  /* subtle warm rim light from the moon side (right) */
  filter:
    drop-shadow(2px 0 0 hsl(15, 95%, 65%))
    drop-shadow(2px 0 6px hsl(15, 100%, 60%))
    drop-shadow(0 -1px 0 hsl(28, 100%, 70%))
    drop-shadow(0 0 12px hsla(15, 95%, 50%, 0.35));
}
.bc-h.h1 { transform-origin: 51px 158px; animation: bcHeroSway1 5s ease-in-out infinite; }
.bc-h.h2 { transform-origin: 120px 160px; animation: bcHeroSway2 6s ease-in-out infinite; }
.bc-h.h3 { transform-origin: 190px 160px; animation: bcHeroSway1 5.5s ease-in-out infinite -1.2s; }
@keyframes bcHeroSway1 {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(0.6deg); }
}
@keyframes bcHeroSway2 {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(-0.4deg) translateY(-1px); }
}

/* drifting embers — slow upward */
.ember {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: hsl(28, 95%, 65%);
  box-shadow: 0 0 6px hsl(28, 100%, 60%);
  bottom: 20%;
  opacity: 0;
  animation: emberRise 14s linear infinite;
  pointer-events: none;
  z-index: 4;
}
.em-1 { left: 18%; animation-delay: 0s; }
.em-2 { left: 30%; animation-delay: -2s; width: 2px; height: 2px; }
.em-3 { left: 45%; animation-delay: -5s; }
.em-4 { left: 58%; animation-delay: -7s; width: 2px; height: 2px; }
.em-5 { left: 64%; animation-delay: -9s; }
.em-6 { left: 75%; animation-delay: -3s; width: 2px; height: 2px; }
.em-7 { left: 82%; animation-delay: -11s; }
.em-8 { left: 22%; animation-delay: -6s; width: 2px; height: 2px; }
@keyframes emberRise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translate(-22px, -260px); opacity: 0; }
}

/* vignette */
.bc-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 110% 90% at 50% 55%, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 5;
}

/* slow god-ray sweep */
.bc-godray {
  position: absolute;
  top: -10%; left: -20%;
  width: 60%; height: 140%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 180, 140, 0.06) 48%, rgba(255, 200, 160, 0.10) 50%, rgba(255, 180, 140, 0.06) 52%, transparent 70%);
  transform: rotate(8deg) translateX(-30%);
  animation: bcGodray 18s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 5;
}
@keyframes bcGodray {
  0%, 100% { transform: rotate(8deg) translateX(-30%); opacity: 0.5; }
  50%      { transform: rotate(8deg) translateX(160%); opacity: 0.9; }
}

@media (max-width: 900px) {
  .bc-boss { height: 70%; }
  .bc-heroes { height: 26%; max-width: 50%; }
  .bc-moon { width: 100px; height: 100px; }
}

/* defense visual — tactical radar */
.defense-visual { padding: 0; overflow: hidden; }
.radar-stage {
  width: 100%;
  min-height: 460px;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, color-mix(in oklab, hsl(0, 80%, 35%) 14%, transparent), transparent 65%),
    radial-gradient(ellipse at 80% 100%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(180deg, #0c0807 0%, #060404 100%);
  overflow: hidden;
  font-family: var(--f-mono);
  /* faint scanlines */
}
.radar-stage::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(255, 80, 80, 0.025) 2px 3px
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

/* corner brackets */
.rb {
  position: absolute;
  width: 16px; height: 16px;
  border: 1.5px solid color-mix(in oklab, hsl(0, 80%, 55%) 70%, transparent);
}
.rb-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.rb-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.rb-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.rb-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* top strip */
.rd-top {
  position: absolute; top: 22px; left: 36px; right: 36px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: .25em;
  color: hsl(0, 50%, 70%);
  z-index: 3;
}
.rd-top-l { display: inline-flex; align-items: center; gap: 8px; }
.rd-rec {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(0, 80%, 55%);
  box-shadow: 0 0 8px hsl(0, 80%, 55%);
  animation: rdRec 1.4s ease-in-out infinite;
}
@keyframes rdRec { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.rd-mono { font-family: var(--f-mono); }
.rd-top-r { color: hsl(0, 30%, 55%); }

/* radar */
.radar {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px; height: 360px;
  max-width: 60%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in oklab, hsl(0, 80%, 30%) 15%, transparent) 0%, transparent 70%),
    #0a0606;
  border: 1px solid color-mix(in oklab, hsl(0, 80%, 50%) 35%, transparent);
  box-shadow:
    inset 0 0 60px rgba(180, 30, 30, 0.18),
    0 0 30px rgba(180, 30, 30, 0.12);
  overflow: hidden;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, hsl(0, 70%, 50%) 22%, transparent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.r1 { width: 22%; height: 22%; }
.r2 { width: 46%; height: 46%; }
.r3 { width: 70%; height: 70%; }
.r4 { width: 94%; height: 94%; border-style: dashed; opacity: .6; }
.cross {
  position: absolute;
  background: color-mix(in oklab, hsl(0, 70%, 50%) 18%, transparent);
}
.cross-h { left: 0; right: 0; top: 50%; height: 1px; }
.cross-v { top: 0; bottom: 0; left: 50%; width: 1px; }

/* sweeping radar arm — conic gradient */
.sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 270deg,
    color-mix(in oklab, hsl(0, 90%, 55%) 30%, transparent) 340deg,
    hsl(0, 90%, 60%) 360deg
  );
  mask: radial-gradient(circle, transparent 0%, #000 30%, #000 100%);
  -webkit-mask: radial-gradient(circle, transparent 0%, #000 30%, #000 100%);
  animation: sweep 4s linear infinite;
  mix-blend-mode: screen;
  opacity: .9;
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* faint hex grid overlay inside radar */
.grid {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(60deg, rgba(255, 60, 60, 0.05) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-60deg, rgba(255, 60, 60, 0.05) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

/* compass labels */
.cmp {
  position: absolute;
  font-size: 9px; letter-spacing: .2em;
  color: hsl(0, 40%, 65%);
}
.cmp-n { top: 6px; left: 50%; transform: translateX(-50%); }
.cmp-s { bottom: 6px; left: 50%; transform: translateX(-50%); }
.cmp-e { right: 8px; top: 50%; transform: translateY(-50%); }
.cmp-w { left: 8px; top: 50%; transform: translateY(-50%); }

/* base core in middle */
.base-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, hsl(28, 87%, 55%), hsl(28, 87%, 35%));
  box-shadow: 0 0 14px hsl(28, 87%, 55%), inset 0 0 4px rgba(0,0,0,.4);
  border-radius: 3px;
  z-index: 2;
}
.base-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid hsl(28, 87%, 60%);
  animation: basePulse 2.4s ease-out infinite;
  z-index: 1;
}
@keyframes basePulse {
  0% { transform: translate(-50%,-50%) scale(0.8); opacity: .9; }
  100% { transform: translate(-50%,-50%) scale(5); opacity: 0; }
}

/* turrets — small triangles around the base */
.trt {
  position: absolute;
  width: 10px; height: 10px;
  background: hsl(28, 87%, 55%);
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 0 6px hsl(28, 87%, 55%);
}
.trt i {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 1.5px;
  background: linear-gradient(90deg, hsl(28, 87%, 60%), transparent);
  transform-origin: left center;
}
.trt-1 { top: 30%; left: 50%; transform: translate(-50%,-50%); }
.trt-1 i { animation: trtSweep1 3s linear infinite; }
.trt-2 { top: 50%; left: 70%; transform: translate(-50%,-50%); }
.trt-2 i { animation: trtSweep2 2.6s linear infinite; }
.trt-3 { top: 70%; left: 50%; transform: translate(-50%,-50%); }
.trt-3 i { animation: trtSweep3 3.4s linear infinite; }
.trt-4 { top: 50%; left: 30%; transform: translate(-50%,-50%); }
.trt-4 i { animation: trtSweep4 2.8s linear infinite; }
@keyframes trtSweep1 { 0% { transform: translate(0,-50%) rotate(-130deg); } 50% { transform: translate(0,-50%) rotate(-50deg); } 100% { transform: translate(0,-50%) rotate(-130deg); } }
@keyframes trtSweep2 { 0% { transform: translate(0,-50%) rotate(-40deg); } 50% { transform: translate(0,-50%) rotate(40deg); } 100% { transform: translate(0,-50%) rotate(-40deg); } }
@keyframes trtSweep3 { 0% { transform: translate(0,-50%) rotate(50deg); } 50% { transform: translate(0,-50%) rotate(130deg); } 100% { transform: translate(0,-50%) rotate(50deg); } }
@keyframes trtSweep4 { 0% { transform: translate(0,-50%) rotate(140deg); } 50% { transform: translate(0,-50%) rotate(220deg); } 100% { transform: translate(0,-50%) rotate(140deg); } }

/* tracer beams from base outward — flashing */
.tracer {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 1.5px;
  background: linear-gradient(90deg, hsl(28, 100%, 70%) 0%, transparent 100%);
  transform-origin: left center;
  filter: drop-shadow(0 0 4px hsl(28, 100%, 60%));
  opacity: 0;
  z-index: 3;
}
.tr-1 { animation: tracerFire 2.4s ease-out infinite; }
.tr-2 { animation: tracerFire 2.4s ease-out infinite .6s; }
.tr-3 { animation: tracerFire 2.4s ease-out infinite 1.2s; }
.tr-4 { animation: tracerFire 2.4s ease-out infinite 1.8s; }
.tr-1 { transform: rotate(-65deg); }
.tr-2 { transform: rotate(20deg); }
.tr-3 { transform: rotate(110deg); }
.tr-4 { transform: rotate(-150deg); }
@keyframes tracerFire {
  0% { opacity: 0; }
  3% { opacity: 1; }
  10% { opacity: 0; }
  100% { opacity: 0; }
}

/* threat dots — converging on base */
.threat {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(0, 90%, 60%);
  box-shadow: 0 0 8px hsl(0, 90%, 60%);
  transform: translate(-50%, -50%);
  --dist: 130px;
  --angle: 0deg;
}
.threat::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid hsl(0, 90%, 60%);
  border-radius: 50%;
  opacity: .5;
  animation: thPing 1.6s ease-out infinite;
}
@keyframes thPing {
  0% { transform: scale(0.6); opacity: .8; }
  100% { transform: scale(2.6); opacity: 0; }
}
.threat.boss {
  width: 10px; height: 10px;
  background: hsl(0, 100%, 65%);
  box-shadow: 0 0 14px hsl(0, 100%, 60%), 0 0 24px hsl(0, 100%, 50%);
}
.threat.boss::after {
  border-color: hsl(0, 100%, 70%);
  border-width: 1.5px;
}

@keyframes threatMarch {
  0%   { transform: translate(-50%,-50%) rotate(var(--angle)) translateX(var(--dist)) rotate(calc(-1 * var(--angle))); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(-50%,-50%) rotate(var(--angle)) translateX(14px) rotate(calc(-1 * var(--angle))); opacity: .2; }
}
.th-1 { --angle: -110deg; --dist: 145px; animation: threatMarch 6s linear infinite; }
.th-2 { --angle: -55deg;  --dist: 150px; animation: threatMarch 7s linear infinite .8s; }
.th-3 { --angle: 10deg;   --dist: 140px; animation: threatMarch 6.5s linear infinite 1.4s; }
.th-4 { --angle: 70deg;   --dist: 155px; animation: threatMarch 7.5s linear infinite 2.0s; }
.th-5 { --angle: 130deg;  --dist: 138px; animation: threatMarch 6.8s linear infinite 0.4s; }
.th-6 { --angle: 175deg;  --dist: 148px; animation: threatMarch 7.2s linear infinite 2.6s; }
.th-7 { --angle: -25deg;  --dist: 165px; animation: threatMarch 11s linear infinite 1.2s; }

/* side telemetry stack */
.rd-side {
  position: absolute;
  right: 36px;
  top: 60px;
  bottom: 60px;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  z-index: 3;
}
.rd-stat {
  border: 1px solid color-mix(in oklab, hsl(0, 60%, 45%) 35%, transparent);
  background: rgba(15, 8, 8, 0.6);
  padding: 10px 12px;
  border-radius: 4px;
}
.rd-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: hsl(0, 40%, 60%);
  text-transform: uppercase;
}
.rd-v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: hsl(0, 80%, 65%);
  line-height: 1;
  margin-top: 4px;
}
.rd-v.small { font-size: 22px; }
.rd-v span { font-size: 14px; color: var(--fg-mute); }
.rd-num { font-variant-numeric: tabular-nums; }
.rd-bar {
  margin-top: 6px;
  height: 4px;
  background: rgba(255, 60, 60, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.rd-bar i {
  display: block;
  height: 100%;
  width: 86%;
  background: linear-gradient(90deg, hsl(0, 80%, 50%), hsl(0, 100%, 65%));
  box-shadow: 0 0 6px hsl(0, 80%, 55%);
  animation: barFlick 1.8s ease-in-out infinite;
}
.rd-bar.green i {
  width: 87%;
  background: linear-gradient(90deg, hsl(120, 60%, 40%), hsl(90, 70%, 55%));
  box-shadow: 0 0 6px hsl(110, 70%, 50%);
}
@keyframes barFlick {
  0%,100% { width: 86%; }
  50% { width: 92%; }
}
.rd-sub {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .25em;
  color: hsl(0, 70%, 60%);
}
.rd-bar.green ~ .rd-sub { color: hsl(110, 50%, 65%); }

/* alert ticker */
.rd-alert {
  position: absolute;
  left: 36px; right: 36px;
  bottom: 26px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: hsl(0, 80%, 65%);
  border-top: 1px solid color-mix(in oklab, hsl(0, 70%, 50%) 30%, transparent);
  padding-top: 10px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 3;
}
.rd-alert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(0, 90%, 55%);
  box-shadow: 0 0 8px hsl(0, 90%, 55%);
  flex-shrink: 0;
  animation: rdRec 1s ease-in-out infinite;
}
.rd-alert-txt {
  display: inline-block;
  animation: rdTicker 16s linear infinite;
  padding-left: 100%;
}
@keyframes rdTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 900px) {
  .radar { width: 280px; height: 280px; left: 50%; top: 44%; transform: translate(-50%, -50%); }
  .rd-side { display: none; }
}

/* ============================================================
   ECONOMY
   ============================================================ */
.econ-strip {
  max-width: 1200px;
  margin: 120px auto 120px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 60px 48px;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in oklab, var(--gold) 8%, transparent), transparent 60%),
    var(--surface-2);
  position: relative;
  overflow: hidden;
}
.econ-head { text-align: center; margin-bottom: 60px; }
.econ-h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.econ-p {
  color: var(--fg-mute);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}
.econ-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.econ-flow .econ-node {
  position: relative;
  z-index: 2;
}
.econ-flow {
  display: grid;
  grid-template-areas:
    "srcs srcs srcs srcs srcs"
    "hub hub hub hub hub"
    "sinks sinks sinks sinks sinks";
  gap: 50px;
}
.econ-node.src {
  text-align: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface-1) 70%, transparent);
}
.econ-flow > .econ-node.src:nth-child(1) { grid-area: auto; }
.econ-flow {
  grid-template-columns: repeat(5, 1fr);
  grid-template-areas:
    "s1 s2 s3 s4 s5"
    "hub hub hub hub hub"
    "k1 k2 k3 k4 k5";
}
.econ-flow > .econ-node.src:nth-of-type(1) { grid-area: s1; }
.econ-flow > .econ-node.src:nth-of-type(2) { grid-area: s2; }
.econ-flow > .econ-node.src:nth-of-type(3) { grid-area: s3; }
.econ-flow > .econ-node.src:nth-of-type(4) { grid-area: s4; }
.econ-flow > .econ-node.src:nth-of-type(5) { grid-area: s5; }
.econ-hub { grid-area: hub; justify-self: center; }
.econ-sinks {
  grid-area: k1 / k1 / k5 / k5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.econ-ic {
  width: 28px; height: 28px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  display: grid; place-items: center;
  position: relative;
}
.econ-ic::after {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.zombie-ic::after { background: hsl(110, 40%, 50%); box-shadow: 0 0 6px hsl(110, 40%, 50%); }
.boss-ic::after { background: hsl(0, 80%, 55%); box-shadow: 0 0 6px hsl(0, 80%, 55%); }
.quest-ic::after { background: hsl(210, 70%, 55%); box-shadow: 0 0 6px hsl(210, 70%, 55%); }
.defense-ic::after { background: hsl(28, 87%, 55%); }
.time-ic::after { background: hsl(270, 50%, 60%); box-shadow: 0 0 6px hsl(270, 50%, 60%); }
.econ-l {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: .04em;
}
.econ-lines {
  position: absolute;
  top: 56px;
  left: 0; right: 0;
  width: 100%;
  height: 140px;
  z-index: 1;
  pointer-events: none;
}
.econ-lines path {
  stroke-dasharray: 4 6;
  animation: flowDash 2s linear infinite;
}
@keyframes flowDash {
  to { stroke-dashoffset: -20; }
}
.econ-hub {
  width: 120px; height: 120px;
  position: relative;
}
.econ-hub-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 30%, hsl(52, 95%, 70%), hsl(42, 90%, 45%) 60%, hsl(32, 85%, 30%));
  display: grid; place-items: center;
  box-shadow:
    0 0 40px color-mix(in oklab, var(--gold) 60%, transparent),
    inset 0 0 20px rgba(255, 255, 255, .2);
  animation: coinSpin 6s linear infinite;
}
@keyframes coinSpin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(20deg); }
}
.econ-hub-coin {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  color: #3a2408;
  line-height: 1;
}
.econ-hub-l {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.sink {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: center;
  font-size: 12px;
  color: var(--fg-mute);
  background: color-mix(in oklab, var(--surface-1) 60%, transparent);
}

@media (max-width: 900px) {
  .econ-flow { grid-template-columns: repeat(2, 1fr); grid-template-areas: none; }
  .econ-flow > * { grid-area: auto !important; }
  .econ-lines { display: none; }
  .econ-sinks { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   QUICK FEATURE GRID
   ============================================================ */
.qgrid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.qcell {
  background: var(--surface-2);
  padding: 32px 28px;
  transition: background .2s;
  position: relative;
}
.qcell:hover { background: var(--surface-3); }
.qi {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  margin-bottom: 20px;
  position: relative;
}
.qi::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}
.home-ic::before { border-radius: 50% 50% 0 0; border-bottom: none; }
.warp-ic::before { border-radius: 50%; border-style: dashed; }
.tier-ic::before { transform: translate(-50%, -50%) rotate(45deg); }
.garage-ic::before { width: 16px; height: 10px; border-radius: 2px; }
.board-ic::before { border-bottom-width: 4px; }
.quest-ic::before { border-radius: 50%; }
.qh {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.qp {
  color: var(--fg-mute);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .qgrid { grid-template-columns: 1fr; }
}

/* ============================================================
   PVP VISUALS
   ============================================================ */
.pvp-warning {
  display: flex; align-items: center; gap: 24px;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 20px 0;
}
.warning-bar {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(0, 80%, 40%), transparent);
}
.warning-text {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.warning-mono {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3em;
  color: hsl(0, 80%, 65%);
  text-transform: uppercase;
}
.warning-sub {
  font-size: 13px;
  color: var(--fg-mute);
}

/* Kill Feed card */
.killfeed-visual {
  background: linear-gradient(180deg, #140808 0%, #0a0404 100%);
  border-color: hsl(0, 40%, 22%);
  padding: 0;
  overflow: hidden;
}
.kf-card {
  width: 100%;
  max-width: 720px;
  margin: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px color-mix(in oklab, hsl(0, 70%, 50%) 18%, transparent);
}
.kf-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
}
.kf-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2a2e36;
}
.kf-dot.r { background: #ff5f57; }
.kf-dot.y { background: #febc2e; }
.kf-dot.g { background: #28c840; }
.kf-title {
  margin-left: 10px;
  color: var(--fg-mute);
  letter-spacing: .05em;
  flex: 1;
}
.kf-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: hsl(0, 80%, 65%);
  border: 1px solid color-mix(in oklab, hsl(0, 80%, 50%) 40%, transparent);
  padding: 3px 8px;
  border-radius: 3px;
}
.kf-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(0, 90%, 55%);
  box-shadow: 0 0 6px hsl(0, 90%, 55%);
  animation: kfLive 1.4s ease-in-out infinite;
}
@keyframes kfLive { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.kf-body {
  background: #0d0f12;
  display: block;
}
.kf-body img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

/* Discord raid card */
.raid-visual { background: linear-gradient(180deg, #1a0d0d 0%, #0a0606 100%); border-color: hsl(0, 40%, 25%); }
.discord-card {
  width: 100%;
  max-width: 440px;
  background: #2b2d31;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  animation: raidShake 3s ease-in-out infinite;
}
@keyframes raidShake {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  95% { transform: translate(-1px, 2px); }
  96% { transform: translate(1px, 0); }
}
.discord-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #1e1f22;
  border-bottom: 1px solid #111;
}
.dc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3f4147;
}
.dc-dot:first-child { background: #f0494b; }
.dc-title {
  margin-left: 10px;
  font-size: 12px;
  color: #9aa3b2;
  font-family: var(--f-mono);
}
.discord-msg {
  display: flex; gap: 12px;
  padding: 16px;
}
.dc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: hsl(0, 80%, 55%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.dc-body { flex: 1; min-width: 0; }
.dc-who {
  font-size: 13px;
  font-weight: 600;
  color: #f0c75a;
  margin-bottom: 4px;
}
.dc-ts {
  font-size: 11px;
  color: #72767d;
  font-weight: 400;
  margin-left: 8px;
}
.dc-embed {
  border-left: 4px solid hsl(0, 80%, 55%);
  padding: 10px 14px;
  background: #1e1f22;
  border-radius: 0 4px 4px 0;
}
.dc-embed-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: hsl(0, 80%, 70%);
  margin-bottom: 10px;
}
.dc-embed-row {
  display: flex; justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
}
.dc-embed-row span { color: #9aa3b2; }
.dc-embed-row b { color: #f4f6f9; font-weight: 600; }
.dc-embed-cta {
  margin-top: 10px;
  padding: 8px 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  color: hsl(28, 87%, 62%);
  border-top: 1px solid #2b2d31;
}
.raid-pulse {
  position: absolute;
  top: 10px; right: 10px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: hsl(0, 80%, 55%);
  box-shadow: 0 0 0 0 hsl(0, 80%, 55%);
  animation: raidPulse 1.5s ease-out infinite;
}
@keyframes raidPulse {
  0% { box-shadow: 0 0 0 0 hsla(0, 80%, 55%, .8); }
  100% { box-shadow: 0 0 0 14px hsla(0, 80%, 55%, 0); }
}

/* balance visual */
.balance-visual { background: linear-gradient(180deg, #1a1008 0%, #0a0604 100%); border-color: hsl(0, 40%, 25%); }
.balance-scene {
  width: 100%;
  min-height: 380px;
  position: relative;
  display: grid; place-items: center;
}
.balance-wall {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  grid-template-rows: repeat(3, 60px);
  gap: 3px;
}
.brick {
  background: linear-gradient(180deg, #3a2a1a 0%, #1a1108 100%);
  border: 1px solid #2a1d12;
  border-radius: 2px;
  position: relative;
}
.brick.broken {
  background: linear-gradient(180deg, #1a0a0a 0%, #0a0404 100%);
  border-color: hsl(0, 60%, 30%);
  opacity: .4;
  position: relative;
}
.brick.broken::before {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(45deg, transparent 40%, hsl(0, 60%, 30%) 40%, hsl(0, 60%, 30%) 42%, transparent 42%),
    linear-gradient(-45deg, transparent 40%, hsl(0, 60%, 30%) 40%, hsl(0, 60%, 30%) 42%, transparent 42%);
}
.balance-overlay {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 14px;
  pointer-events: none;
}
.forbid {
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in oklab, #0b0d10 85%, transparent);
  border: 1px solid hsl(0, 60%, 35%);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .15em;
  color: hsl(0, 80%, 68%);
  backdrop-filter: blur(4px);
  animation: forbidFlash 3s ease-in-out infinite;
}
.forbid:nth-child(2) { animation-delay: .5s; }
@keyframes forbidFlash {
  0%, 100% { border-color: hsl(0, 60%, 35%); }
  50% { border-color: hsl(0, 80%, 55%); box-shadow: 0 0 20px hsla(0, 80%, 50%, .3); }
}
.balance-timer {
  position: absolute;
  top: 24px; right: 24px;
  background: color-mix(in oklab, #0b0d10 85%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--f-mono);
  text-align: right;
}
.bt-k {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.bt-v {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: hsl(0, 80%, 65%);
  margin-top: 2px;
}

/* EMP / Radar */
.emp-visual { padding: 0; background: linear-gradient(180deg, #0a1410 0%, #060808 100%); border-color: hsl(0, 40%, 25%); }
.emp-scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 380px;
}
.radar-half, .emp-half {
  position: relative;
  padding: 30px;
  display: grid; place-items: center;
}
.radar-half { border-right: 1px solid var(--line); }
.radar-dish {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid hsl(120, 40%, 35%);
  background:
    radial-gradient(circle at center, hsla(120, 40%, 20%, .3) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}
.radar-dish::before,
.radar-dish::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: hsl(120, 40%, 35%);
}
.radar-dish::before { width: 100%; height: 1px; transform: translate(-50%, -50%); }
.radar-dish::after { width: 1px; height: 100%; transform: translate(-50%, -50%); }
.radar-sweep {
  position: absolute;
  top: 0; left: 50%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, hsla(120, 60%, 50%, .25) 100%);
  transform-origin: left center;
  animation: radarSweep 3.5s linear infinite;
}
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(0, 80%, 60%);
  box-shadow: 0 0 8px hsl(0, 80%, 60%);
  animation: blipFade 3.5s linear infinite;
}
.b1 { top: 30%; left: 70%; animation-delay: .5s; }
.b2 { top: 65%; left: 40%; animation-delay: 1.5s; }
.b3 { top: 45%; left: 20%; animation-delay: 2.5s; }
@keyframes blipFade {
  0%, 40% { opacity: 0; }
  45% { opacity: 1; }
  80% { opacity: .3; }
  100% { opacity: 0; }
}
.turret-big {
  width: 120px; height: 120px;
  background: #1a1108;
  border: 2px solid color-mix(in oklab, var(--accent) 50%, transparent);
  border-radius: 50%;
  position: relative;
  filter: grayscale(.8) brightness(.5);
  animation: turretDisable 4s ease-in-out infinite;
}
.turret-big::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 6px;
  background: color-mix(in oklab, var(--accent) 60%, transparent);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.turret-off {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  background: hsl(0, 80%, 55%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px hsl(0, 80%, 55%);
  animation: offBlink 1s ease-in-out infinite;
}
@keyframes turretDisable {
  0%, 100% { filter: grayscale(.8) brightness(.5); }
  40% { filter: grayscale(.2) brightness(1); }
  50% { filter: grayscale(.9) brightness(.3); }
}
@keyframes offBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.emp-wave {
  position: absolute;
  top: 50%; left: 50%;
  width: 120px; height: 120px;
  border: 2px solid hsl(200, 80%, 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: empRing 2.5s ease-out infinite;
  opacity: 0;
}
@keyframes empRing {
  0% { width: 120px; height: 120px; opacity: 0; }
  20% { opacity: 1; }
  100% { width: 280px; height: 280px; opacity: 0; }
}
.emp-label {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.emp-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 20px;
  background: color-mix(in oklab, var(--surface-2) 80%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-width: 300px;
  font-family: var(--f-mono);
}
.spec {
  display: flex; justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec:last-child { border-bottom: none; }
.sk { color: var(--fg-dim); letter-spacing: .1em; }
.sv { color: hsl(0, 80%, 68%); font-weight: 600; }

/* Raid Window (personal) */
.window-visual { padding: 0; background: linear-gradient(180deg, #1a0d0d 0%, #060404 100%); border-color: hsl(0, 40%, 25%); }
.raid-window-card {
  width: 100%;
  min-height: 380px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.rw-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
}
.rw-eyebrow { color: var(--fg-dim); }
.rw-status {
  color: hsl(0, 80%, 70%);
  background: hsla(0, 70%, 30%, .25);
  border: 1px solid hsla(0, 70%, 50%, .4);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.rw-clock {
  width: 240px;
  height: 240px;
  position: relative;
}
.rw-legend {
  display: flex;
  gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--fg-dim);
}
.rw-leg { display: inline-flex; align-items: center; gap: 8px; }
.rw-swatch {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.rw-swatch.vuln { background: linear-gradient(135deg, hsl(0, 80%, 62%), hsl(355, 70%, 45%)); }
.rw-swatch.safe { background: #1f242c; border: 1px solid #2a2f37; }

/* ============================================================
   WEB APP SECTION
   ============================================================ */
.webapp-sec {
  padding: 140px 40px;
  background: var(--bg);
}
.app-showcase {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.app-browser {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  background: var(--surface-2);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.br-dot { width: 12px; height: 12px; border-radius: 50%; }
.br-dot.r { background: #ff5f57; }
.br-dot.y { background: #febc2e; }
.br-dot.g { background: #28c840; }
.br-url {
  margin-left: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-mute);
  background: var(--surface-2);
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
}
.browser-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  min-height: 460px;
}
.browser-body.screenshot-body {
  display: block;
  min-height: auto;
  background: #0b0d10;
}
.webapp-screenshot,
.browser-body img.webapp-screenshot {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
.map-layer {
  position: relative;
  overflow: hidden;
  background: #0b0d10;
}
.map-layer svg { width: 100%; height: 100%; display: block; }
.map-tooltip {
  position: absolute;
  top: 44%; left: 52%;
  background: color-mix(in oklab, var(--surface-2) 95%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: var(--r-md);
  padding: 12px 14px;
  min-width: 180px;
  font-family: var(--f-mono);
  font-size: 11px;
}
.mt-head {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .2em;
  margin-bottom: 6px;
}
.mt-row {
  color: var(--fg-mute);
  padding: 2px 0;
}
.mt-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--accent);
  color: #0b0d10;
  border: none;
  padding: 7px 10px;
  border-radius: 4px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.app-panel {
  background: var(--surface-1);
  border-left: 1px solid var(--line);
  padding: 16px;
}
.panel-tab {
  padding: 8px 12px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  border-radius: 4px;
  margin-bottom: 2px;
  cursor: pointer;
}
.panel-tab.active {
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent);
}
.panel-sep {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}
.panel-item {
  display: flex; justify-content: space-between;
  padding: 8px 4px;
  font-size: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.pi-k { color: var(--fg-dim); }
.pi-v { color: var(--fg); font-weight: 600; }
.pi-v.gold { color: var(--gold); font-family: var(--f-mono); }
.pi-v.accent { color: var(--accent); }

.app-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.app-features li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.app-features li:first-child { border-top: 1px solid var(--line); }
.af-k {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.af-v {
  color: var(--fg-mute);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .app-showcase { grid-template-columns: 1fr; }
  .browser-body { grid-template-columns: 1fr; }
  .app-panel { border-left: none; border-top: 1px solid var(--line); }
}

/* ============================================================
   VOICE / TESTIMONIALS
   ============================================================ */
.voice-sec {
  padding: 100px 40px;
  border-top: 1px solid var(--line);
  background: var(--surface-1);
}
.voice-mono {
  max-width: 1200px;
  margin: 0 auto 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  text-transform: uppercase;
}
.voice-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.voice p {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 18px;
  color: var(--fg);
  letter-spacing: -.005em;
}
.voice p em { color: var(--accent); font-style: normal; }
.voice cite {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-mute);
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .voice-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   JOIN / CTA
   ============================================================ */
.join-sec {
  position: relative;
  padding: 140px 40px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 60%),
    linear-gradient(180deg, #0b0d10 0%, #0a0706 100%);
}
.join-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .4;
}
.join-bg canvas { width: 100%; height: 100%; }
.join-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.join-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.join-eyebrow #joinPlayers { color: oklch(0.76 0.15 155); font-weight: 600; }
.join-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 60px;
  text-wrap: balance;
}
.join-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.join-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.join-card:hover { transform: translateY(-4px); }
.join-card.pve:hover { border-color: var(--accent); }
.join-card.pvp:hover { border-color: hsl(0, 80%, 55%); }
.join-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%);
  pointer-events: none;
}
.join-card.pvp::after {
  background: radial-gradient(circle, color-mix(in oklab, hsl(0, 80%, 55%) 15%, transparent), transparent 70%);
}
.jc-chip {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .25em;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.jc-h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.jc-p {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.jc-meta {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.jc-cta {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.join-card.pvp .jc-cta { color: hsl(0, 80%, 65%); }

.join-connect {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  margin-bottom: 40px;
}
.jconn-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.jconn-v {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.jconn-copy {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.jconn-copy:hover { background: color-mix(in oklab, var(--accent) 30%, transparent); }

.join-social {
  display: flex; justify-content: center;
}
.social-discord {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 36px 18px 28px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 22%, var(--surface-2)) 0%,
      color-mix(in oklab, var(--accent) 12%, var(--surface-1)) 100%);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
  box-shadow:
    0 6px 24px color-mix(in oklab, var(--accent) 28%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.social-discord:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 32%, var(--surface-2)) 0%,
      color-mix(in oklab, var(--accent) 18%, var(--surface-1)) 100%);
  box-shadow:
    0 10px 32px color-mix(in oklab, var(--accent) 40%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
.social-discord svg {
  flex-shrink: 0;
  color: var(--accent);
  filter: drop-shadow(0 0 8px color-mix(in oklab, var(--accent) 50%, transparent));
}
.sd-label { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.sd-k {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.sd-v {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 2px;
  color: var(--fg);
}
.sd-arrow {
  font-family: var(--f-display);
  font-size: 22px;
  margin-left: 4px;
  color: var(--accent);
  transition: transform .15s ease;
}
.social-discord:hover .sd-arrow { transform: translateX(4px); }

@media (max-width: 700px) {
  .join-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 40px;
  border-top: 1px solid var(--line);
  background: #0a0b0d;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
}
.foot-txt {
  color: var(--fg-dim);
  font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: .05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .foot-txt { font-size: 10px; letter-spacing: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
 * Cluster modal (opened from "Pick a cluster" cards).
 * Mirrors the look of the Angular /login server list so visitors get
 * the same experience whether they enter the SPA or stay on landing.
 * =================================================================== */
.cluster-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cluster-modal[hidden] { display: none; }
.cm-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 9, 0.78); backdrop-filter: blur(6px); animation: cm-fade .18s ease-out; }
@keyframes cm-fade { from { opacity: 0; } to { opacity: 1; } }
.cm-dialog { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 3rem); display: flex; flex-direction: column; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset; animation: cm-pop .22s cubic-bezier(.2,.7,.3,1); overflow: hidden; }
@keyframes cm-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cm-close { position: absolute; top: .5rem; right: .65rem; width: 32px; height: 32px; display: grid; place-items: center; background: transparent; border: none; color: var(--fg-mute); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 6px; transition: background .15s, color .15s; }
.cm-close:hover { background: var(--surface-2); color: var(--fg); }
.cm-head { padding: 1.25rem 1.5rem .75rem; border-bottom: 1px solid var(--line-soft); }
.cm-chip { display: inline-block; padding: .25rem .55rem; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: 1.5px; border-radius: 4px; background: var(--accent-soft); color: oklch(0.78 0.17 48); text-transform: uppercase; }
.cm-chip[data-kind="pvp"] { background: oklch(0.66 0.20 25 / 0.14); color: oklch(0.74 0.20 25); }
.cm-title { margin: .55rem 0 .15rem; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: var(--fg); }
.cm-sub { margin: 0; font-size: .9rem; color: var(--fg-mute); line-height: 1.45; }
.cm-list { padding: 1rem 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: .5rem; }
.cm-server { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: .8rem 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); font-family: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.cm-server:hover:not(:disabled) { background: var(--surface-3); border-color: oklch(0.72 0.17 48 / 0.4); transform: translateY(-1px); }
.cm-server:disabled { opacity: .55; cursor: not-allowed; }
.cm-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.cm-server.down .cm-pulse { background: var(--fg-dim); box-shadow: none; }
.cm-name { font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--fg); }
.cm-pop { font-family: var(--f-mono); font-size: .8rem; color: var(--fg-mute); }
.cm-pop b { color: var(--fg); font-weight: 600; }
.cm-server.down .cm-pop { color: var(--fg-dim); }
.cm-empty { padding: 1.5rem; text-align: center; color: var(--fg-mute); font-size: .9rem; }
.cm-foot { padding: .75rem 1.5rem 1rem; border-top: 1px solid var(--line-soft); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .5px; color: var(--fg-dim); text-align: center; }
