/* ============================================================
   HYTALE CENTER — "Orbis" cinematic design system
   Zone palette mirrors Hytale's world: Emerald Grove, Howling
   Sands, Devasted Lands, Borea.
   ============================================================ */

:root {
  /* Void / atmosphere */
  --void: #04070e;
  --void-2: #070c18;
  --panel: rgba(14, 22, 38, 0.72);
  --panel-solid: #0d1524;
  --panel-raised: #121c30;
  --border: rgba(120, 165, 220, 0.16);
  --border-bright: rgba(120, 200, 255, 0.4);

  /* Text */
  --text: #e8f1fb;
  --text-dim: #b2c4d8;
  --text-faint: #8296ad;

  /* Zones */
  --grove: #35d68a;
  --grove-glow: #7ef0b8;
  --sands: #f0b45c;
  --sands-glow: #ffd79a;
  --devasted: #ff5d6c;
  --devasted-glow: #ff9aa5;
  --borea: #5fd0ff;
  --borea-glow: #b3ecff;

  /* Primary accents */
  --gold: #f6c74b;
  --gold-deep: #c99321;
  --arcane: #8b6cff;
  --arcane-glow: #b8a5ff;

  --accent: var(--borea);
  --accent-glow: var(--borea-glow);
  --accent-rgb: 95, 208, 255;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shell-max: 1180px;
}

/* ------------------------------------------------------------
   Per-page zone themes. Each SEO topic adopts one of Orbis's
   zones so the 80 pages read as distinct places, not clones.
   ------------------------------------------------------------ */
body.theme-grove    { --accent: var(--grove);    --accent-glow: var(--grove-glow);    --accent-rgb: 53, 214, 138; }
body.theme-sands    { --accent: var(--sands);    --accent-glow: var(--sands-glow);    --accent-rgb: 240, 180, 92; }
body.theme-devasted { --accent: var(--devasted); --accent-glow: var(--devasted-glow); --accent-rgb: 255, 93, 108; }
body.theme-borea    { --accent: var(--borea);    --accent-glow: var(--borea-glow);    --accent-rgb: 95, 208, 255; }
body.theme-arcane   { --accent: var(--arcane);   --accent-glow: var(--arcane-glow);   --accent-rgb: 139, 108, 255; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   AMBIENT WORLD BACKGROUND
   ============================================================ */

.world {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Deep sky gradient */
.world::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(95, 208, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 90% 60% at 15% 20%, rgba(139, 108, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 80% 60% at 85% 35%, rgba(53, 214, 138, 0.1), transparent 60%),
    linear-gradient(180deg, #050912 0%, #04070e 45%, #060a14 100%);
}

/* Starfield — layered, drifting */
.stars {
  position: absolute;
  inset: -50%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 80% 55%, rgba(179,236,255,.8), transparent),
    radial-gradient(1px 1px at 35% 70%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 10% 85%, rgba(184,165,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 90% 80%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 50% 45%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 75% 90%, rgba(126,240,184,.6), transparent);
  background-size: 700px 700px;
  animation: drift 240s linear infinite;
  opacity: .55;
}
.stars.layer-2 {
  background-size: 420px 420px;
  animation-duration: 160s;
  animation-direction: reverse;
  opacity: .35;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to   { transform: translate3d(-300px,-200px,0) rotate(8deg); }
}

/* Aurora ribbons */
.aurora {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 90%;
  background:
    conic-gradient(from 180deg at 50% 50%,
      transparent 0deg,
      rgba(95,208,255,.14) 60deg,
      rgba(139,108,255,.16) 140deg,
      rgba(53,214,138,.12) 220deg,
      transparent 320deg);
  filter: blur(70px);
  animation: aurora-sway 34s ease-in-out infinite alternate;
  opacity: .8;
}
@keyframes aurora-sway {
  0%   { transform: translate3d(-4%, 0, 0) scale(1) rotate(0deg); }
  100% { transform: translate3d(6%, 3%, 0) scale(1.15) rotate(6deg); }
}

/* Horizon glow at the bottom of the world */
.horizon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45vh;
  background: linear-gradient(0deg, rgba(53,214,138,.1), transparent 70%);
}

/* Floating voxel motes */
.motes { position: absolute; inset: 0; }
.mote {
  position: absolute;
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--borea-glow), var(--arcane));
  opacity: .18;
  border-radius: 2px;
  animation: float-up linear infinite;
  transform: rotate(45deg);
}
@keyframes float-up {
  0%   { transform: translateY(110vh) rotate(0deg) scale(.6); opacity: 0; }
  10%  { opacity: .22; }
  90%  { opacity: .22; }
  100% { transform: translateY(-15vh) rotate(360deg) scale(1.1); opacity: 0; }
}

/* Vignette + subtle scanline for that "in-game screen" feel */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 75% at 50% 45%, transparent 55%, rgba(2,4,8,.72) 100%);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container { max-width: var(--shell-max); margin: 0 auto; padding: 0 1.5rem; }

main { position: relative; z-index: 2; }

section { padding: 5rem 0; position: relative; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p { color: var(--text-dim); }

a { color: var(--borea); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--borea-glow); }

.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }

/* Eyebrow label above section titles — like a quest marker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Gradient / glowing headline treatment — follows the page's zone */
.glow-text {
  background: linear-gradient(180deg, #ffffff 10%, var(--accent-glow) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(var(--accent-rgb), .38));
}
.gold-text {
  background: linear-gradient(180deg, #fff3cf 5%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(246, 199, 75, .3));
}

/* ============================================================
   HUD NAVIGATION
   ============================================================ */

.hud-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(4,7,14,.94), rgba(4,7,14,.72));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.hud-top::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--borea), var(--arcane), transparent);
  opacity: .5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .9rem 0;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand:hover { text-decoration: none; }
.emblem {
  width: 38px; height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(95,208,255,.5));
  animation: emblem-pulse 4s ease-in-out infinite;
}
@keyframes emblem-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(95,208,255,.4)); }
  50%      { filter: drop-shadow(0 0 18px rgba(139,108,255,.6)); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.brand-sub {
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links { display: flex; gap: .35rem; align-items: center; }
.nav-links a {
  position: relative;
  padding: .5rem .8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(95, 208, 255, .08);
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: .25rem; left: 50%;
  width: 0; height: 2px;
  background: var(--borea);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 42%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: .5rem .7rem;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Live server-status pill — reads like an in-game HUD readout */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grove-glow);
  border: 1px solid rgba(53, 214, 138, .3);
  background: rgba(53, 214, 138, .08);
  padding: .3rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grove);
  box-shadow: 0 0 0 0 rgba(53,214,138,.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(53,214,138,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(53,214,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,214,138,0); }
}

/* ============================================================
   BUTTONS — forged, with a shine sweep
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .95rem 1.8rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  color: #041018;
  background: linear-gradient(135deg, var(--accent-glow), var(--accent) 60%, var(--arcane));
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), .4),
    0 10px 30px -8px rgba(var(--accent-rgb), .55),
    inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, box-shadow .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #041018;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), .65),
    0 16px 40px -8px rgba(var(--accent-rgb), .7),
    inset 0 1px 0 rgba(255,255,255,.55);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg);
  transition: left .6s ease;
}
.btn:hover::after { left: 140%; }

.btn-gold {
  color: #241a02;
  background: linear-gradient(135deg, #ffe9a8, var(--gold) 45%, var(--gold-deep));
  box-shadow:
    0 0 0 1px rgba(255,233,168,.4),
    0 10px 30px -8px rgba(246,199,75,.5),
    inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover {
  color: #241a02;
  box-shadow:
    0 0 0 1px rgba(255,233,168,.65),
    0 16px 40px -8px rgba(246,199,75,.65),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(var(--accent-rgb), .1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45), 0 10px 30px -12px rgba(var(--accent-rgb), .4);
}

.btn-sm { padding: .6rem 1.1rem; font-size: .78rem; }

/* Not yet purchasable — reads as sealed rather than broken */
.btn-soon {
  color: var(--text-faint);
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px var(--border);
  cursor: not-allowed;
}
.btn-soon:hover {
  transform: none;
  color: var(--text-dim);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-soon::after { display: none; }

/* ============================================================
   HERO — cinematic, full-bleed
   ============================================================ */

.hero {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  overflow: hidden;
}
.hero-home { padding: 8.5rem 0 7rem; min-height: 88vh; display: flex; align-items: center; }

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero h1 { margin-bottom: 1.4rem; }
.hero-lede {
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Rune badge above the hero title */
.rune-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1.1rem;
  margin-bottom: 1.6rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-glow);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .32);
  box-shadow: 0 0 26px -6px rgba(var(--accent-rgb), .45), inset 0 0 20px rgba(var(--accent-rgb), .07);
}
.rune-badge .rune { font-size: .95rem; line-height: 1; }

/* Zone-tinted glow washing up behind each hero */
.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: min(900px, 120vw);
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb), .18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Floating monolith behind the hero */
.monolith {
  position: absolute;
  top: 50%; left: 50%;
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: .5;
  pointer-events: none;
  animation: hover-bob 9s ease-in-out infinite;
}
@keyframes hover-bob {
  0%, 100% { transform: translate(-50%, -52%); }
  50%      { transform: translate(-50%, -46%); }
}

/* Scroll cue */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-cue span.line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue-slide 2.4s ease-in-out infinite;
}
@keyframes cue-slide {
  0%, 100% { opacity: .25; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* ============================================================
   HUD PANELS / CARDS — angular game-UI chrome
   ============================================================ */

.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.panel {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s ease, box-shadow .3s ease;
}
/* Top edge light */
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .45;
  transition: opacity .3s ease;
}
.panel:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow: 0 22px 50px -22px rgba(var(--accent-rgb), .45);
}
.panel:hover::before { opacity: 1; }

/* Corner brackets — the signature HUD detail */
.panel-hud::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 4px 0 0;
  opacity: .4;
  transition: opacity .3s ease;
}
.panel-hud:hover::after { opacity: 1; }

.panel h3 { margin-bottom: .55rem; color: var(--text); }
.panel p { font-size: .95rem; }

.panel-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(95,208,255,.16), rgba(139,108,255,.16));
  border: 1px solid rgba(95,208,255,.22);
  font-size: 1.3rem;
}

/* Feature card accent variants by zone */
.zone-grove .panel-icon { background: linear-gradient(135deg, rgba(53,214,138,.18), rgba(126,240,184,.1)); border-color: rgba(53,214,138,.3); }
.zone-sands .panel-icon { background: linear-gradient(135deg, rgba(240,180,92,.18), rgba(255,215,154,.1)); border-color: rgba(240,180,92,.3); }
.zone-devasted .panel-icon { background: linear-gradient(135deg, rgba(255,93,108,.18), rgba(255,154,165,.1)); border-color: rgba(255,93,108,.3); }
.zone-borea .panel-icon { background: linear-gradient(135deg, rgba(95,208,255,.18), rgba(179,236,255,.1)); border-color: rgba(95,208,255,.3); }

.zone-grove:hover { box-shadow: 0 22px 50px -22px rgba(53,214,138,.5); border-color: rgba(53,214,138,.4); }
.zone-sands:hover { box-shadow: 0 22px 50px -22px rgba(240,180,92,.5); border-color: rgba(240,180,92,.4); }
.zone-devasted:hover { box-shadow: 0 22px 50px -22px rgba(255,93,108,.5); border-color: rgba(255,93,108,.4); }
.zone-borea:hover { box-shadow: 0 22px 50px -22px rgba(95,208,255,.5); border-color: rgba(95,208,255,.4); }

/* ============================================================
   STATS — HUD readouts
   ============================================================ */

.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: rgba(9, 15, 27, .85);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background .3s ease;
}
.stat:hover { background: rgba(18, 30, 52, .9); }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .35rem;
  background: linear-gradient(180deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   ZONE SELECTOR (pricing plans as biomes)
   ============================================================ */

.zone-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,26,44,.9), rgba(8,13,23,.9));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.zone-card::before {
  content: "";
  position: absolute;
  top: -60%; left: -20%;
  width: 140%; height: 120%;
  background: radial-gradient(ellipse at 50% 50%, var(--zone-tint, rgba(95,208,255,.18)), transparent 62%);
  opacity: .7;
  transition: opacity .35s ease, transform .5s ease;
  pointer-events: none;
}
.zone-card:hover { transform: translateY(-8px); }
.zone-card:hover::before { opacity: 1; transform: scale(1.1); }

.zone-card.tier-grove    { --zone-tint: rgba(53,214,138,.2);  --zone-c: var(--grove); }
.zone-card.tier-sands    { --zone-tint: rgba(240,180,92,.2);  --zone-c: var(--sands); }
.zone-card.tier-devasted { --zone-tint: rgba(255,93,108,.2);  --zone-c: var(--devasted); }
.zone-card:hover { border-color: var(--zone-c); box-shadow: 0 26px 60px -24px var(--zone-tint); }

.zone-name {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--zone-c, var(--borea));
  margin-bottom: .4rem;
}
.zone-tier {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
}
.price-period { font-size: .95rem; font-weight: 400; color: var(--text-faint); font-family: var(--font-body); }

.spec-list { list-style: none; margin: 1.4rem 0; }
.spec-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 0;
  font-size: .93rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.spec-list li::before {
  content: "";
  width: 6px; height: 6px;
  flex-shrink: 0;
  background: var(--zone-c, var(--borea));
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--zone-c, var(--borea));
}

.zone-flag {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(246,199,75,.14);
  border: 1px solid rgba(246,199,75,.4);
  color: var(--gold);
}

/* ============================================================
   QUEST STEPS (how it works)
   ============================================================ */

.quest-line { position: relative; display: grid; gap: 1.15rem; }
.quest-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: border-color .3s ease, transform .3s ease;
}
.quest-step:hover { border-color: var(--border-bright); transform: translateX(5px); }
.quest-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--gold);
  border: 1px solid rgba(246,199,75,.35);
  background: rgba(246,199,75,.08);
  border-radius: 12px;
  box-shadow: inset 0 0 18px rgba(246,199,75,.12);
}
.quest-step h3 { margin-bottom: .3rem; }
.quest-step p { font-size: .94rem; }

/* ============================================================
   FAQ — codex entries
   ============================================================ */

.codex { border-top: 1px solid var(--border); }
.codex-entry {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
  transition: padding-left .3s ease;
}
.codex-entry:hover { padding-left: .6rem; }
.codex-entry h3 {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .5rem;
  font-size: 1.06rem;
  color: var(--text);
}
.codex-entry h3::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: .55rem;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(246,199,75,.6);
}
.codex-entry p { font-size: .96rem; padding-left: 1.4rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  position: relative;
  text-align: center;
  padding: 4.5rem 2rem;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18,30,52,.92), rgba(9,14,26,.95));
  border: 1px solid rgba(var(--accent-rgb), .4);
  box-shadow: 0 30px 70px -30px rgba(var(--accent-rgb), .4);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg,
    transparent, rgba(var(--accent-rgb), .14), transparent 40%,
    rgba(139,108,255,.12), transparent 70%);
  animation: spin-slow 22s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.cta-banner > * { position: relative; z-index: 1; }

/* ============================================================
   RELATED / LINK CARDS
   ============================================================ */

.link-card {
  display: block;
  padding: 1.3rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow: 0 18px 40px -20px rgba(var(--accent-rgb), .45);
}
.link-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.link-card:hover h3 { color: var(--accent-glow); }
.link-card p { font-size: .875rem; color: var(--text-faint); }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(6,10,20,.7), rgba(3,6,12,.95));
  padding: 3.5rem 0 2rem;
}
footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grove), var(--borea), var(--arcane), transparent);
  opacity: .5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: var(--text-dim);
  padding: .25rem 0;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover { color: var(--borea); transform: translateX(3px); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-faint);
}

/* ============================================================
   SITEMAP / INDEX PAGE
   ============================================================ */

.sitemap-list { list-style: none; columns: 2; column-gap: 2.5rem; }
.sitemap-list li {
  break-inside: avoid;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .93rem;
}
.sitemap-list a { color: var(--text-dim); }
.sitemap-list a:hover { color: var(--borea); }

/* ============================================================
   SCROLL REVEAL (progressive enhancement — visible without JS)
   ============================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.2,.8,.3,1), transform .75s cubic-bezier(.2,.8,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1.5rem 1.25rem;
    background: rgba(5, 9, 18, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .4rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-toggle { display: block; }
  .nav .status-pill { display: none; }
  .hud-top .nav { position: relative; }
  section { padding: 3.5rem 0; }
  .hero-home { min-height: auto; padding: 5rem 0 4rem; }
  .sitemap-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
