/* ============================================================
   MERC DROP — landing page
   Design system lifted from the game itself:
   src/menu_theme.lua + src/ui.lua + game.lua RUST constants.
   Navy ground, amber = the ONE interactive color, signal red
   for danger accents, chamfered cut-corner panels, hard
   unblurred shadows, scanlines, pixel sprites.
   ============================================================ */

@font-face {
  font-family: 'Kenney Pixel Square';
  src: url('/site-assets/fonts/kenney-pixel-square.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* palette — exact values from menu_theme.lua / ui.lua / game.lua */
  --navy:        #0b101a;
  --navy-deep:   #05080d;
  --gunmetal:    #212630;
  --steel-hi:    #424754;
  --steel-dark:  #21242b;
  --amber:       #f5a31a;
  --amber-hi:    #ffcc57;
  --amber-deep:  #b8700d;
  --red:         #db2621;
  --red-dim:     #7a1717;
  --ink:         #140f08;
  --offwhite:    #e6ebf2;
  --steel:       #8c99a8;
  --rust:        #c75c1f;
  --rust-light:  #f29e47;
  --yellow:      #ffd11f;
  --blue-rim:    #6bb8ff;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-pixel: 'Kenney Pixel Square', 'Courier New', monospace;

  --cut: 18px;          /* default chamfer size */
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* faint global scanlines — the game draws these inside every panel */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  z-index: 9998;
  mix-blend-mode: overlay;
}

img, video { max-width: 100%; height: auto; }
.px { image-rendering: pixelated; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10001;
  background: var(--amber); color: var(--ink); padding: 8px 16px;
  font-family: var(--font-pixel); font-size: 12px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

a { color: var(--amber-hi); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

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

/* ---------- red slash motif (from the MERC/DROP logo) ---------- */
.slash {
  display: inline-block;
  width: 0.14em; height: 0.9em;
  margin: 0 0.08em;
  background: var(--red);
  transform: skewX(-18deg) translateY(0.12em);
}
.slash.big { height: 0.82em; width: 0.13em; }

/* ---------- HP-bar scroll progress ---------- */
.hpbar-progress {
  position: fixed; top: 70px; right: 10px; z-index: 999;
  pointer-events: none;
}
.hpbar-progress img {
  width: 147px; height: 18px;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,.6));
}
@media (max-width: 700px) { .hpbar-progress { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5,8,13,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(140,153,168,.18);
  transition: background .3s;
}
.nav.is-scrolled { background: rgba(5,8,13,.92); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--offwhite);
}
.nav-brand img { image-rendering: auto; }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 2px; line-height: 1;
  color: var(--offwhite);
  text-shadow: 2px 2px 0 var(--navy-deep);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 17px; letter-spacing: 1.6px;
  color: var(--steel); text-decoration: none;
  padding: 8px 11px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--amber-hi); }
.nav-links .nav-cta-demo {
  color: var(--ink);
  background: var(--amber);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  margin-left: 8px;
}
.nav-links .nav-cta-demo:hover { background: var(--amber-hi); color: var(--ink); }
.nav-links .nav-cta-discord {
  color: var(--offwhite);
  border: 1px solid var(--steel);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.nav-links .nav-cta-discord:hover { border-color: var(--amber); color: var(--amber-hi); }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-burger span { width: 24px; height: 2px; background: var(--offwhite); transition: transform .2s, opacity .2s; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,8,13,.97);
    border-bottom: 2px solid var(--red);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.is-open { display: flex; max-height: calc(100vh - 62px); max-height: calc(100dvh - 62px); overflow-y: auto; }
  .nav-links a { padding: 12px 8px; font-size: 20px; }
  .nav-links .nav-cta-demo, .nav-links .nav-cta-discord { margin: 6px 0 0; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 1080px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center 30%;
  z-index: 0;
}
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 45%, transparent 25%, rgba(5,8,13,.55) 100%),
    linear-gradient(to right, rgba(5,8,13,.78) 0%, rgba(5,8,13,.45) 45%, rgba(5,8,13,.15) 100%),
    linear-gradient(to top, var(--navy-deep) 0%, transparent 22%);
}
.snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--wrap); margin: 0 auto; padding: 88px 24px 56px;
  width: 100%;
  display: flex; align-items: flex-end; gap: 20px;
}
.hero-copy { flex: 1 1 60%; max-width: 660px; }
.hero-kicker {
  font-family: var(--font-pixel);
  font-size: 11px; letter-spacing: 1px;
  color: var(--rust-light);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.tick { width: 26px; height: 3px; background: var(--red); flex: none; }
.kick-items { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.kick-items > span { white-space: nowrap; }
.hero-copy { min-width: 0; }
.hero-copy p, .card-body p, .cta-card p { overflow-wrap: break-word; }
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 118px);
  line-height: .92;
  letter-spacing: 3px;
  color: transparent;
  background: linear-gradient(to bottom, #ffffff 0%, #dfe5ee 38%, #9aa6b6 52%, #e8edf5 60%, #7a8595 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 0 rgba(5,8,13,.9)) drop-shadow(0 0 26px rgba(107,184,255,.25));
}
.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 1.5px; line-height: 1.15;
  color: var(--amber);
  margin: 16px 0 12px;
  text-shadow: 2px 2px 0 var(--navy-deep);
}
.hero-sub { color: var(--steel); max-width: 520px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

/* in-hero gameplay loops (the two demo clips) */
.hero-clips {
  display: flex; gap: 14px;
  max-width: 620px;
  margin-top: 10px;
  filter: drop-shadow(5px 5px 0 rgba(5,8,13,.55));
}
.hero-clip {
  flex: 1 1 0; min-width: 0;
  position: relative;
  background: #000;
  border: 1px solid rgba(140,153,168,.35);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.hero-clip::before {
  content: '';
  position: absolute; top: 0; left: 10px;
  width: 30px; height: 2px;
  background: var(--amber);
  z-index: 2;
}
.hero-clip video { display: block; width: 100%; height: auto; }
.hero-note { font-family: var(--font-pixel); font-size: 10px; color: var(--steel); max-width: 460px; line-height: 1.8; }
.hero-char {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-bottom: -56px;
  margin-left: auto;
}
/* bob lives on the img so the JS parallax transform on .hero-char still applies.
   The art is capped by VIEWPORT height, never inflating the hero past the fold —
   the copy column (text + buttons) decides the hero's height. */
.hero-char img {
  display: block;
  height: min(74svh, 820px); width: auto; max-width: 34vw;
  object-fit: contain; object-position: bottom;
  margin: 0 auto;
  filter: drop-shadow(-4px -2px 0 rgba(107,184,255,.55)) drop-shadow(6px 10px 0 rgba(5,8,13,.65));
  animation: bob 3.6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; }
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--navy-deep) 14px 28px);
  opacity: .85;
  border-top: 2px solid var(--navy-deep);
}
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  color: var(--amber); text-decoration: none; font-size: 18px;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translate(-50%,0); opacity: .9; } 50% { transform: translate(-50%,8px); opacity: .4; } }
.hero-version {
  position: absolute; right: 14px; bottom: 20px; z-index: 5;
  font-family: var(--font-pixel); font-size: 10px; color: var(--steel); opacity: .8;
}
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding-top: 84px; align-items: stretch; text-align: left; }
  .hero-char { display: none; }
  .hero-copy { max-width: 100%; }
  .hero-clips { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero-clips { flex-direction: column; gap: 12px; }
}

/* ============================================================
   BUTTONS — the amber selection slab, straight from menu.lua
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 2px;
  text-decoration: none;
  padding: 13px 26px 11px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform .09s ease-out, filter .15s;
  overflow: hidden;
}
.btn:active { transform: translateY(3px); }
.btn .btn-label { position: relative; z-index: 2; }

.btn-amber {
  background: linear-gradient(to bottom, var(--amber-hi) 0%, var(--amber) 34%, var(--amber) 88%, var(--amber-deep) 100%);
  color: var(--ink);
}
.btn-amber::before { /* shine sweep — the menu slab does this every 2.8s */
  content: '';
  position: absolute; top: 0; bottom: 0; width: 42px;
  left: -70px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 2.8s linear infinite;
  z-index: 1;
}
@keyframes shine { 0%, 74% { left: -70px; } 94%, 100% { left: calc(100% + 30px); } }
.btn-amber:hover { filter: brightness(1.09); }
.btn-coming-soon {
  cursor: default;
  pointer-events: none;
}
.btn-tab { /* floating red tab off the right edge */
  position: absolute; right: -1px; top: 50%;
  width: 6px; height: 60%;
  transform: translateY(-50%);
  background: var(--red);
  z-index: 3;
}

.btn-steel {
  background: rgba(11,16,26,.72);
  color: var(--offwhite);
  border: 1px solid var(--steel);
}
.btn-steel:hover { border-color: var(--amber); color: var(--amber-hi); }

.btn-ghost {
  background: transparent;
  color: var(--steel);
  border: 1px dashed rgba(140,153,168,.5);
}
.btn-ghost:hover { color: var(--offwhite); border-color: var(--steel); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; position: relative; scroll-margin-top: 76px; }
.section-alt { background: var(--navy); }
.section-alt::before, .section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(140,153,168,.16);
}
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }

.sec-head { margin-bottom: 44px; }
.sec-kicker {
  font-family: var(--font-pixel);
  font-size: 11px; color: var(--red);
  letter-spacing: 1px; margin: 0 0 10px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: 2px; line-height: 1;
  margin: 0;
  color: var(--offwhite);
  text-shadow: 3px 3px 0 var(--navy-deep);
}
.sec-lede { color: var(--steel); max-width: 640px; margin: 14px 0 0; }
.sec-caption {
  font-family: var(--font-pixel); font-size: 10px; color: var(--steel);
  margin: 16px 0 0; text-align: center;
}

/* ---------- panels: chamfered navy slabs with hard shadows ---------- */
.panel {
  position: relative;
  background: rgba(11,16,26,.85);
  border: 1px solid rgba(140,153,168,.22);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
/* Hard offset shadows live on the CONTAINERS: clip-path on an element clips
   its own filter output, but a parent's drop-shadow follows each child's
   clipped silhouette — exactly the game's un-blurred offset shadow. */
.feature-grid, .enemy-grid, .cta-grid, .hero-actions, .stack {
  filter: drop-shadow(5px 5px 0 rgba(5,8,13,.55));
}
.panel::before { /* amber corner tick, top-left */
  content: '';
  position: absolute; top: 0; left: var(--cut);
  width: 40px; height: 2px;
  background: var(--amber);
  z-index: 2;
}
.panel::after { /* red corner tick, bottom-right */
  content: '';
  position: absolute; bottom: 0; right: var(--cut);
  width: 22px; height: 2px;
  background: var(--red);
  z-index: 2;
}

/* ---------- feature cards ---------- */
.feature-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .feature-grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; transition: transform .18s ease-out; }
.card:hover { transform: translateY(-5px); }
.card-media { position: relative; overflow: hidden; background: #000; }
.card-media video, .card-media img { display: block; width: 100%; height: auto; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1.5px; line-height: 1;
  margin: 0 0 10px; color: var(--amber);
}
.card-body p { margin: 0; color: var(--steel); font-size: 15.5px; }

/* ============================================================
   ARSENAL
   ============================================================ */
.tier-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.tab {
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: 2px;
  color: var(--steel);
  background: rgba(11,16,26,.72);
  border: 1px solid rgba(140,153,168,.3);
  padding: 10px 22px 8px;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  transition: color .12s, background .12s;
}
.tab:hover { color: var(--amber-hi); }
.tab.is-active {
  background: linear-gradient(to bottom, var(--amber-hi) 0%, var(--amber) 34%, var(--amber) 100%);
  color: var(--ink);
  border-color: var(--amber-deep);
}
.tier-panels {
  background: rgba(11,16,26,.85);
  border: 1px solid rgba(140,153,168,.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  padding: 10px 26px 26px;
  margin-bottom: 40px;
}
.weapon-list { list-style: none; margin: 0; padding: 0; }
.weapon-list li {
  display: flex; align-items: center; gap: 20px;
  padding: 15px 6px;
  border-bottom: 1px solid rgba(140,153,168,.14);
}
.weapon-list li:last-child { border-bottom: 0; }
.weapon-list img {
  width: 108px; flex: none;
  image-rendering: pixelated;
  filter: drop-shadow(3px 3px 0 rgba(5,8,13,.7));
}
.weapon-list div { flex: 1; }
.weapon-list b {
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: 1.5px;
  color: var(--offwhite); display: block;
}
.weapon-list span { color: var(--steel); font-size: 14.5px; display: block; }
.weapon-list em {
  font-family: var(--font-pixel);
  font-style: normal; font-size: 11px;
  color: var(--rust-light);
  flex: none;
  padding: 6px 10px;
  border: 1px solid rgba(242,158,71,.35);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .weapon-list li { flex-wrap: wrap; gap: 10px; }
  .weapon-list img { width: 84px; }
  .weapon-list em { order: 2; }
  .weapon-list div { flex-basis: 100%; order: 3; }
}
.classified-head {
  font-family: var(--font-pixel); font-size: 10px;
  color: var(--red); letter-spacing: 1px;
  margin: 26px 0 12px;
}
.classified-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px;
}
@media (max-width: 700px) { .classified-list { grid-template-columns: 1fr; } }
.classified-list li { color: var(--steel); font-size: 14.5px; padding-left: 16px; position: relative; }
.classified-list li::before { content: '▚'; position: absolute; left: 0; color: var(--red-dim); }
.classified-list b { font-family: var(--font-display); font-size: 17px; letter-spacing: 1.5px; color: var(--offwhite); font-weight: 400; }

.combat-strip {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1020px) { .combat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .combat-strip { grid-template-columns: 1fr; } }
.clipfig { margin: 0; --cut: 12px; }
.clipfig video { display: block; width: 100%; height: auto; background: #000; }
.clipfig figcaption {
  font-family: var(--font-pixel); font-size: 9.5px;
  color: var(--rust-light);
  padding: 10px 12px;
}

/* ============================================================
   ENEMIES
   ============================================================ */
.enemy-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1020px) { .enemy-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .enemy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .enemy-grid { grid-template-columns: 1fr; } }
.enemy {
  --cut: 12px;
  padding: 22px 16px 18px;
  text-align: center;
  transition: transform .16s ease-out;
}
.enemy:hover { transform: translateY(-4px); }
.enemy img {
  height: 72px; width: auto; max-width: 90%;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 12px;
  filter: drop-shadow(3px 3px 0 rgba(5,8,13,.7));
}
.enemy:hover img { animation: shake .35s linear; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}
.enemy b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: 1.5px;
  color: var(--offwhite);
  margin-bottom: 6px;
}
.enemy span { color: var(--steel); font-size: 13.5px; line-height: 1.45; display: block; }

/* ============================================================
   ZONES
   ============================================================ */
.zone-list { display: flex; flex-direction: column; gap: 20px; }
.zone {
  position: relative;
  display: flex; align-items: stretch;
  min-height: 250px;
  border: 1px solid rgba(140,153,168,.22);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  filter: drop-shadow(5px 5px 0 rgba(5,8,13,.55));
  background: linear-gradient(to bottom, var(--sky1), var(--sky2));
  overflow: hidden;
}
/* three real parallax layers, straight from the game's Backgrounds folder */
.zone-art { position: absolute; inset: 0; }
.zl {
  position: absolute; inset: -2% -3%;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 100%;
  image-rendering: pixelated;
  transition: transform .6s ease-out;
}
.zone:hover .zl  { transform: translateX(-10px); }
.zone:hover .zl2 { transform: translateX(-24px); }
.zone:hover .zl3 { transform: translateX(-44px); }
.zone-info {
  position: relative; z-index: 2;
  align-self: flex-end;
  width: 100%;
  padding: 64px 26px 20px;
  background: linear-gradient(to top, rgba(5,8,13,.94) 0%, rgba(5,8,13,.72) 45%, transparent 100%);
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.zone-num {
  font-family: var(--font-pixel);
  font-size: 22px; color: var(--rust-light);
  flex: none;
}
.zone-info h3 {
  font-family: var(--font-display);
  font-size: 34px; letter-spacing: 2px; line-height: 1;
  margin: 0; color: var(--offwhite);
  flex: none;
}
.zone-info p { margin: 0; color: var(--steel); font-size: 14.5px; flex: 1 1 380px; }

/* ============================================================
   COMMUNITY CTA
   ============================================================ */
.cta { overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(199,92,31,.20), transparent 60%),
    radial-gradient(ellipse at 85% -10%, rgba(219,38,33,.12), transparent 50%);
  pointer-events: none;
}
.cta-grid {
  position: relative;
  display: grid; gap: 26px;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 980px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card { padding: 26px 28px 28px; }
.cta-card h3 {
  font-family: var(--font-display);
  font-size: 30px; letter-spacing: 2px; line-height: 1;
  margin: 0 0 12px; color: var(--offwhite);
}
.cta-card > p { color: var(--steel); font-size: 15px; margin: 0 0 20px; }
.cta-discord { border-color: rgba(245,163,26,.45); }
.stack { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.stack .btn { justify-content: center; text-align: center; font-size: 18px; }
@media (max-width: 480px) {
  /* keep long unbreakable labels (DISCORD.GG/...) inside the button */
  .stack .btn { font-size: 14px; letter-spacing: 1px; padding-left: 14px; padding-right: 14px; }
}
.fine {
  font-family: var(--font-pixel); font-size: 9px;
  color: var(--steel); line-height: 1.9;
  margin: 16px 0 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); border-top: 2px solid rgba(219,38,33,.5); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px;
  padding-top: 54px; padding-bottom: 44px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { flex: none; }
.footer-title {
  font-family: var(--font-display);
  font-size: 30px; letter-spacing: 2px; line-height: 1;
  margin: 4px 0 8px; color: var(--offwhite);
}
.footer-sub { color: var(--steel); font-size: 14px; margin: 0; max-width: 300px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.fl-head {
  font-family: var(--font-pixel); font-size: 10px;
  color: var(--rust-light); margin: 6px 0 12px;
}
.footer-links a {
  display: block;
  color: var(--steel); text-decoration: none;
  font-size: 14.5px; padding: 4px 0;
}
.footer-links a:hover { color: var(--amber-hi); }
.footer-bar { border-top: 1px solid rgba(140,153,168,.15); }
.footer-bar-inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 18px;
  font-family: var(--font-pixel); font-size: 9px; color: var(--steel);
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* no-JS safety net + ?nofx debug mode: everything visible, no motion */
html.no-js .reveal, html.nofx .reveal { opacity: 1; transform: none; transition: none; }
html.nofx { scroll-behavior: auto; }
html.nofx .snow, html.nofx .btn-amber::before { display: none; animation: none; }
