/* ---------- TOKENS ---------- */
:root{
  --bg:        #0b0b1a;          /* deep night */
  --bg-2:      #11122a;          /* panel */
  --bg-3:      #1a1b3a;          /* raised panel */
  --ink:       #ece8d8;          /* parchment */
  --ink-dim:   #9a96b0;
  --line:      #2a2c55;
  --line-soft: #1c1e3d;
  --gold:      #f5c945;          /* primary accent — XP gold */
  --gold-deep: #c8951a;
  --magenta:   #ff5ea8;          /* secondary accent — boss pink */
  --cyan:      #5ee0ff;           /* tertiary — mana */
  --green:     #7be38c;
  --red:       #ff6b6b;

  --shadow-pixel: 4px 4px 0 #000;
  --shadow-card:  6px 6px 0 #000;
}

*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
html, body{background:var(--bg); color:var(--ink);}
body{
  font-family:'VT323', monospace;
  font-size:22px;
  line-height:1.45;
  image-rendering:pixelated;
  overflow-x:hidden;
  background:
    /* faint starfield */
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 8%,  rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 72%, rgba(255,255,255,.30) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 60%, rgba(255,255,255,.40) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 38%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 92%,  rgba(255,255,255,.30) 50%, transparent 51%),
    /* pixel grid */
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0/32px 32px,
    var(--bg);
}

/* CRT scanline overlay */
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:100;
  background:repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.18) 2px 3px);
  mix-blend-mode:multiply;
}
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:101;
  background:radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.5) 100%);
}

h1,h2,h3,h4{font-family:'Press Start 2P', monospace; font-weight:400; line-height:1.4; color:var(--ink); letter-spacing:.5px;}

/* ---------- LAYOUT HELPERS ---------- */
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}
.section{padding:120px 0; position:relative;}
.section + .section{border-top:2px dashed var(--line);}

.eyebrow{
  font-family:'Press Start 2P', monospace;
  font-size:10px; letter-spacing:2px;
  color:var(--gold);
  display:inline-block;
  padding:8px 12px;
  border:2px solid var(--gold);
  background:rgba(245,201,69,.06);
  margin-bottom:24px;
  text-transform:uppercase;
}

/* ---------- PIXEL BUTTONS ---------- */
.btn{
  font-family:'Press Start 2P', monospace;
  font-size:14px;
  display:inline-block;
  padding:18px 28px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:1.5px;
  position:relative;
  transition:transform .08s steps(2), box-shadow .08s steps(2);
}
.btn-primary{
  background:var(--gold);
  color:#1a1500;
  box-shadow:
    0 -4px 0 0 var(--gold-deep) inset,
    0 0 0 4px #000,
    6px 6px 0 4px #000;
}
.btn-primary:hover{ transform:translate(2px,2px); box-shadow:0 -4px 0 0 var(--gold-deep) inset, 0 0 0 4px #000, 4px 4px 0 4px #000;}
.btn-primary:active{ transform:translate(4px,4px); box-shadow:0 -2px 0 0 var(--gold-deep) inset, 0 0 0 4px #000, 2px 2px 0 4px #000;}

.btn-ghost{
  background:transparent;
  color:var(--ink);
  border:3px solid var(--ink);
  box-shadow:6px 6px 0 0 #000;
}
.btn-ghost:hover{ transform:translate(2px,2px); box-shadow:4px 4px 0 0 #000;}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:rgba(11,11,26,.85);
  border-bottom:2px solid var(--line);
  backdrop-filter:blur(4px);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; max-width:1200px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family:'Press Start 2P', monospace; font-size:14px; color:var(--ink);
  text-decoration:none;
}
.brand-mark{
  width:28px; height:28px; background:var(--gold);
  box-shadow:
    inset -4px -4px 0 var(--gold-deep),
    inset 4px 4px 0 #ffe89a;
}
.nav-links{display:flex; gap:24px; align-items:center;}
.nav-links a{
  color:var(--ink-dim); text-decoration:none;
  font-family:'Press Start 2P', monospace; font-size:10px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  transition:color .1s;
}
.nav-links a:hover{color:var(--gold);}
.nav-cta{
  font-family:'Press Start 2P', monospace; font-size:10px;
  background:var(--gold); color:#000;
  padding:10px 14px; text-decoration:none;
  box-shadow:3px 3px 0 #000;
  text-transform:uppercase; letter-spacing:1px;
}
@media (max-width:720px){.nav-links a:not(.nav-cta){display:none;}}

/* mobile nav refinements */
@media (max-width:720px){
  .nav-inner{padding:10px 14px; gap:10px;}
  .brand{font-size:13px; gap:8px; min-width:0;}
  .brand-mark{width:18px; height:18px; flex-shrink:0;}
  .nav-cta{font-size:9px; padding:8px 12px; letter-spacing:.5px; white-space:nowrap; flex-shrink:0;}
  .nav-cta .full{display:none !important;}
  .nav-cta .short{display:inline !important;}
}
@media (min-width:721px){
  .nav-cta .short{display:none !important;}
  .nav-cta .full{display:inline !important;}
}
@media (max-width:380px){
  .brand-mark{display:none;}
  .brand{font-size:12px;}
}

/* ---------- PLACEHOLDER ---------- */
.ph{
  display:flex; align-items:center; justify-content:center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 8px, transparent 8px 16px),
    var(--bg-2);
  border:3px dashed var(--line);
  color:var(--ink-dim);
  font-family:'JetBrains Mono', monospace;
  font-size:12px;
  text-align:center;
  padding:16px;
  position:relative;
  letter-spacing:.5px;
  line-height:1.5;
}
.ph::before, .ph::after{
  content:""; position:absolute; width:8px; height:8px;
  background:var(--gold);
}
.ph::before{top:-2px; left:-2px; box-shadow: calc(100% + 4px) 0 0 var(--gold);}
.ph::after{bottom:-2px; left:-2px; box-shadow: calc(100% + 4px) 0 0 var(--gold);}
.ph .label{
  display:block; color:var(--gold); font-weight:700; margin-bottom:4px;
  text-transform:uppercase; font-size:11px; letter-spacing:1px;
}
.ph .dim{color:var(--ink-dim); font-size:11px;}

/* ---------- SECTION 1: HERO ---------- */
.hero{
  min-height:100vh;
  padding:140px 0 80px;
  display:flex; align-items:center;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center;
}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr; gap:40px;}}

.hero h1{
  font-size:36px;
  margin-bottom:24px;
  line-height:1.5;
}
.hero h1 .accent{color:var(--gold); text-shadow:3px 3px 0 #000;}
.hero h1 .pink{color:var(--magenta); text-shadow:3px 3px 0 #000;}
@media (max-width:720px){.hero h1{font-size:22px;}}

.hero-sub{
  font-size:24px; color:var(--ink-dim); max-width:540px;
  margin-bottom:36px;
}
.hero-meta{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  margin-top:32px;
  font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--ink-dim);
}
.dot-live{
  display:inline-block; width:10px; height:10px; background:var(--green);
  box-shadow:0 0 0 2px #000, 0 0 12px var(--green);
  animation:blink 1.4s steps(2) infinite;
}
@keyframes blink{50%{opacity:.25;}}

/* hero character */
.hero-char{
  position:relative;
  aspect-ratio:1/1;
  width:100%;
  max-width:480px; margin-left:auto;
}
.hero-char .ph{
  position:absolute; inset:0;
  font-size:14px;
  background:
    repeating-linear-gradient(45deg, rgba(245,201,69,.05) 0 12px, transparent 12px 24px),
    var(--bg-2);
  animation:bob 2.4s steps(4) infinite;
}
.hero-img{
  position:relative;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  animation:bob 2.4s steps(4) infinite;
  pointer-events:none;
}
.hero-img img{
  width:100%; height:100%;
  object-fit:contain;
  image-rendering:pixelated;
  filter: drop-shadow(0 12px 0 rgba(0,0,0,.5));
}
@keyframes bob{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}

/* floating coins around hero */
.coin{
  position:absolute; width:24px; height:24px;
  background:var(--gold);
  box-shadow:
    inset -3px -3px 0 var(--gold-deep),
    inset 3px 3px 0 #fff7c8,
    0 0 0 2px #000;
  animation:spin 1.6s steps(4) infinite, float 3s steps(6) infinite;
}
.coin.c1{top:8%; left:5%; animation-delay:0s;}
.coin.c2{top:20%; right:4%; width:18px; height:18px; animation-delay:.4s;}
.coin.c3{bottom:18%; left:8%; width:14px; height:14px; animation-delay:.8s;}
.coin.c4{bottom:6%; right:14%; animation-delay:1.2s;}
@keyframes spin{
  0%{transform:scaleX(1);}
  25%{transform:scaleX(.4);}
  50%{transform:scaleX(.1);}
  75%{transform:scaleX(.6);}
  100%{transform:scaleX(1);}
}
@keyframes float{
  0%,100%{margin-top:0;}
  50%{margin-top:-12px;}
}

/* mini ticker */
.ticker{
  margin-top:32px;
  display:inline-flex; gap:12px; align-items:center;
  background:var(--bg-2); border:2px solid var(--line);
  padding:10px 14px;
  font-family:'JetBrains Mono', monospace; font-size:13px;
  box-shadow:4px 4px 0 #000;
}
.ticker .pair{color:var(--ink); font-weight:700;}
.ticker .price{color:var(--gold);}
.ticker .delta{color:var(--green);}

/* scroll cue */
.scroll-cue{
  position:absolute; bottom:24px; left:0; right:0;
  font-family:'Press Start 2P', monospace; font-size:9px;
  color:var(--ink-dim); letter-spacing:2px;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  animation:bob 1.8s steps(4) infinite;
  text-align:center;
  pointer-events:auto;
}
@media (max-width:900px){.scroll-cue{display:none;}}
.scroll-cue::after{
  content:""; width:0; height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:8px solid var(--ink-dim);
}

/* ---------- STAT STRIP ---------- */
.stats-strip{
  background:#000;
  border-top:2px solid var(--gold);
  border-bottom:2px solid var(--gold);
  padding:36px 0;
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  text-align:center;
}
@media (max-width:720px){.stats-grid{grid-template-columns:repeat(2,1fr);}}
.stat-cell{position:relative;}
.stat-cell + .stat-cell{border-left:2px dashed var(--line);}
@media (max-width:720px){.stat-cell + .stat-cell{border-left:none;}}
.stat-num{
  font-family:'Press Start 2P', monospace; font-size:28px;
  color:var(--gold); margin-bottom:10px;
  text-shadow:3px 3px 0 #000;
}
.stat-lbl{
  font-family:'JetBrains Mono', monospace; font-size:12px;
  color:var(--ink-dim); letter-spacing:.5px;
}
@media (max-width:720px){.stat-num{font-size:22px;}}

/* ---------- SECTION 2: STORY ---------- */
.story-grid{
  display:grid; grid-template-columns:1fr 380px; gap:64px; align-items:start;
}
@media (max-width:900px){.story-grid{grid-template-columns:1fr; gap:40px;}}

.story h2{font-size:28px; margin-bottom:32px; line-height:1.5;}
.story h2 .accent{color:var(--gold);}
.story p{font-size:22px; color:var(--ink); margin-bottom:20px; max-width:62ch;}
.story p .hl{color:var(--gold); background:rgba(245,201,69,.08); padding:0 4px;}
.story-aside .ph{aspect-ratio:1/1.1;}
.story-img{
  position:relative;
  aspect-ratio:1/1.1;
  background:#000;
  border:3px solid var(--line);
  box-shadow:6px 6px 0 #000;
  overflow:hidden;
  transition:border-color .15s;
}
.story-img:hover{border-color:var(--gold);}
.story-img img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  image-rendering:pixelated;
  display:block;
}
.story-img .corner{
  position:absolute; width:8px; height:8px;
  background:var(--gold); z-index:2;
}
.story-img .corner.tl{top:0; left:0;}
.story-img .corner.tr{top:0; right:0;}
.story-img .corner.bl{bottom:0; left:0;}
.story-img .corner.br{bottom:0; right:0;}
.story-quote{
  margin-top:32px; padding:20px 24px;
  border-left:6px solid var(--gold);
  background:var(--bg-2);
  font-size:20px; color:var(--ink-dim); font-style:italic;
}
.story-quote::before{content:"// "; color:var(--gold); font-style:normal;}

/* ---------- SECTION 3: TRADING OFFICE ---------- */
.office{
  background:linear-gradient(180deg, var(--bg) 0%, #0d0d24 100%);
}
.office-head{ text-align:center; margin-bottom:64px; }
.office-head h2{font-size:32px; margin-bottom:18px;}
.office-head .sub{font-size:22px; color:var(--ink-dim); max-width:560px; margin:0 auto;}

.party{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:24px;
}
@media (max-width:1000px){.party{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.party{grid-template-columns:1fr;}}

.agent{
  background:var(--bg-2);
  border:3px solid var(--line);
  padding:18px;
  position:relative;
  box-shadow:6px 6px 0 #000;
  transition:transform .12s steps(2);
}
.agent::before{
  content:""; position:absolute; top:6px; left:6px; right:6px; height:3px;
  background:var(--gold); opacity:.5;
}
.agent:hover{transform:translate(-2px,-2px); border-color:var(--gold);}
.agent:hover::before{opacity:1;}
.agent:hover .agent-avatar{box-shadow:inset 0 0 0 2px var(--gold);}

.agent-avatar{
  aspect-ratio:1/1; margin-bottom:14px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 8px, transparent 8px 16px),
    #07071a;
  border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-dim); font-family:'JetBrains Mono', monospace; font-size:11px;
  text-align:center; padding:10px;
  position:relative;
  transition:box-shadow .15s;
}
.agent-avatar .corner{position:absolute; width:6px; height:6px; background:var(--gold);}
.agent-avatar .corner.tl{top:0; left:0;}
.agent-avatar .corner.tr{top:0; right:0;}
.agent-avatar .corner.bl{bottom:0; left:0;}
.agent-avatar .corner.br{bottom:0; right:0;}

.agent-avatar.has-img{
  padding:0; background:#000; border-color:var(--gold);
}
.agent-avatar.has-img img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; image-rendering:pixelated;
  display:block;
}

.agent-name{
  font-family:'Press Start 2P', monospace; font-size:14px; color:var(--ink);
  margin-bottom:6px;
}
.agent-role{
  font-family:'Press Start 2P', monospace; font-size:9px;
  color:var(--gold); letter-spacing:1.5px;
  margin-bottom:12px; text-transform:uppercase;
}
.agent-desc{
  font-size:18px; color:var(--ink-dim); line-height:1.4;
  margin-bottom:14px;
}
.agent-stats{
  display:flex; gap:6px; flex-wrap:wrap;
  font-family:'JetBrains Mono', monospace; font-size:10px;
  border-top:2px dashed var(--line); padding-top:10px;
}
.stat{
  background:#000; color:var(--gold);
  padding:3px 6px; border:1px solid var(--gold-deep);
  letter-spacing:.5px;
}
.stat.cyan{color:var(--cyan); border-color:var(--cyan);}
.stat.pink{color:var(--magenta); border-color:var(--magenta);}

.agent.captain::after{
  content:"CAPTAIN";
  position:absolute; top:-12px; right:12px;
  background:var(--magenta); color:#000;
  font-family:'Press Start 2P', monospace; font-size:8px;
  padding:5px 8px; letter-spacing:1px;
  box-shadow:2px 2px 0 #000;
}

/* ---------- SECTION 4: HOW IT WORKS ---------- */
.flow{
  text-align:center;
}
.flow-head{margin-bottom:64px;}
.flow-head h2{font-size:32px; margin-bottom:18px;}
.flow-head .sub{font-size:22px; color:var(--ink-dim); max-width:560px; margin:0 auto;}

.steps{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:0;
  position:relative;
}
@media (max-width:900px){.steps{grid-template-columns:1fr; gap:32px;}}

.step{
  padding:24px 18px; text-align:center; position:relative;
}
.step-num{
  font-family:'Press Start 2P', monospace; font-size:12px;
  color:var(--gold); background:#000; border:2px solid var(--gold);
  width:48px; height:48px; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:3px 3px 0 #000;
}
.step-icon{
  width:80px; height:80px; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
  background:#0a0a0a;
  border:2px solid var(--gold);
  box-shadow:3px 3px 0 #000, inset 0 0 0 2px #000;
  image-rendering:pixelated;
}
.step-icon svg{width:60px; height:60px; image-rendering:pixelated;}
.step-title{
  font-family:'Press Start 2P', monospace; font-size:14px;
  margin-bottom:10px; color:var(--ink);
}
.step-desc{font-size:18px; color:var(--ink-dim); line-height:1.4;}

/* dotted connectors */
.step:not(:last-child)::after{
  content:""; position:absolute;
  top:48px; right:-8px; width:16px; height:6px;
  background-image:linear-gradient(90deg, var(--gold) 50%, transparent 50%);
  background-size:6px 6px; background-repeat:repeat-x;
}
@media (max-width:900px){.step:not(:last-child)::after{display:none;}}

/* full-width dotted line behind step icons */
.steps-line{
  position:absolute; left:6%; right:6%; top:120px;
  height:0; border-top:4px dotted var(--line);
  z-index:-1;
}
@media (max-width:900px){.steps-line{display:none;}}

/* ---------- TRADE ROOM PEEK ---------- */
.peek{padding:120px 0; border-top:2px dashed var(--line);}
.peek-head{text-align:center; margin-bottom:48px;}
.peek-head h2{font-size:28px; margin-bottom:18px; line-height:1.5;}
.peek-head .sub{font-size:22px; color:var(--ink-dim); max-width:580px; margin:0 auto;}

.peek-frame{
  background:#07071a;
  border:3px solid var(--gold);
  box-shadow:8px 8px 0 #000;
  max-width:1080px; margin:0 auto;
}
.peek-titlebar{
  display:flex; align-items:center; gap:10px;
  background:var(--bg-3);
  border-bottom:2px solid var(--line);
  padding:10px 14px;
  font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--ink-dim);
}
.win-dot{width:12px; height:12px; display:inline-block; border:1px solid #000;}
.win-dot.r{background:#ff6b6b;}.win-dot.y{background:#f5c945;}.win-dot.g{background:#7be38c;}
.peek-title{flex:1; text-align:center; letter-spacing:1px;}
.peek-live{display:inline-flex; align-items:center; gap:6px; color:var(--green); font-weight:700;}

.peek-screen{
  position:relative;
  background:#000;
  display:block;
  line-height:0;
}
.peek-screen img{
  display:block;
  width:100%; height:auto;
  image-rendering:pixelated;
}

.peek-stats-row{
  max-width:1080px; margin:24px auto 0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border:2px solid var(--line);
  background:#000;
  font-family:'JetBrains Mono', monospace;
}
@media (max-width:720px){.peek-stats-row{grid-template-columns:repeat(2,1fr);}}
.peek-stat-cell{
  padding:14px 16px;
  display:flex; flex-direction:column; gap:6px;
  border-right:1px dashed var(--line);
}
.peek-stat-cell:last-child{border-right:none;}
@media (max-width:720px){
  .peek-stat-cell:nth-child(2){border-right:none;}
  .peek-stat-cell:nth-child(-n+2){border-bottom:1px dashed var(--line);}
}
.peek-stat-cell .lbl{font-size:11px; color:var(--ink-dim); text-transform:uppercase; letter-spacing:.5px;}
.peek-stat-cell b{font-family:'Press Start 2P', monospace; font-size:14px; color:var(--ink);}

/* legacy (kept, unused) */
.peek-body{display:grid; grid-template-columns:1.5fr 1fr; gap:0;}

.peek-chat{
  padding:20px; border-right:2px solid var(--line);
  font-family:'JetBrains Mono', monospace; font-size:14px;
  display:flex; flex-direction:column; gap:10px;
  min-height:380px;
}
@media (max-width:760px){.peek-chat{border-right:none; border-bottom:2px solid var(--line);}}
.chat-line{color:var(--ink); line-height:1.5;}
.chat-line.dim{color:var(--ink-dim);}
.chat-line .who{font-weight:700; margin-right:6px;}
.chat-line .who.gold{color:var(--gold);}
.chat-line .who.cyan{color:var(--cyan);}
.chat-line .who.pink{color:var(--magenta);}
.chat-line.typing{color:var(--ink-dim);}
.caret{display:inline-block; animation:blink 1s steps(2) infinite; color:var(--gold);}

.peek-side{padding:20px; display:flex; flex-direction:column;}
.peek-stat{
  background:#000; border:2px solid var(--line);
  padding:14px;
  font-family:'JetBrains Mono', monospace; font-size:13px;
}
.peek-stat-row{display:flex; justify-content:space-between; padding:6px 0; color:var(--ink-dim);}
.peek-stat-row + .peek-stat-row{border-top:1px dashed var(--line);}
.peek-stat-row b{color:var(--ink);}

/* ---------- SECTION 5: JOURNEY (RPG MAP) ---------- */
.journey{
  background:linear-gradient(180deg, #0d0d24 0%, var(--bg) 100%);
  position:relative;
}
.journey-head{ text-align:center; margin-bottom:80px; }
.journey-head h2{font-size:32px; margin-bottom:18px;}
.journey-head .sub{font-size:22px; color:var(--ink-dim); max-width:560px; margin:0 auto;}

.map{
  position:relative;
  padding:40px 0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
@media (max-width:900px){.map{grid-template-columns:1fr;}}

/* the path that connects checkpoints */
.map::before{
  content:""; position:absolute;
  left:8%; right:8%; top:96px; height:4px;
  background-image:linear-gradient(90deg, var(--gold) 50%, transparent 50%);
  background-size:14px 4px; background-repeat:repeat-x;
  z-index:0;
}
@media (max-width:900px){.map::before{display:none;}}

.checkpoint{
  position:relative; z-index:1; text-align:center;
  display:flex; flex-direction:column; align-items:center;
  height:100%;
}
.cp-marker{
  width:48px; height:48px; margin:0 auto 16px;
  background:var(--bg-3); border:3px solid var(--gold);
  box-shadow:0 0 0 3px #000, 4px 4px 0 3px #000;
  display:flex; align-items:center; justify-content:center;
  font-family:'Press Start 2P', monospace; font-size:11px; color:var(--gold);
  position:relative;
}
.cp-marker.done{background:var(--gold); color:#000; box-shadow:0 0 0 3px #000, 4px 4px 0 3px #000, 0 0 16px var(--gold);}
.cp-marker.active{background:var(--magenta); color:#000; border-color:var(--magenta); animation:pulse 1.4s steps(4) infinite;}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 3px #000, 4px 4px 0 3px #000, 0 0 8px var(--magenta);}
  50%{box-shadow:0 0 0 3px #000, 4px 4px 0 3px #000, 0 0 24px var(--magenta);}
}

.cp-icon{
  width:64px; height:64px; margin:0 auto 14px;
  display:flex; align-items:center; justify-content:center;
  background:#0a0a0a;
  border:2px solid var(--gold);
  box-shadow:2px 2px 0 #000, inset 0 0 0 2px #000;
  image-rendering:pixelated;
}
.cp-icon svg{width:48px; height:48px; image-rendering:pixelated;}
.cp-month{
  font-family:'Press Start 2P', monospace; font-size:9px; color:var(--gold);
  letter-spacing:2px; margin-bottom:8px;
}
.cp-title{
  font-family:'Press Start 2P', monospace; font-size:13px; margin-bottom:10px;
}
.cp-desc{font-size:18px; color:var(--ink-dim); line-height:1.4; padding:0 8px; flex:1;}
.cp-status{
  display:inline-block; margin-top:10px;
  font-family:'JetBrains Mono', monospace; font-size:10px;
  padding:3px 8px; border:1px solid currentColor;
  letter-spacing:1px;
}
.cp-status.cleared{color:var(--green);}
.cp-status.now{color:var(--magenta);}
.cp-status.locked{color:var(--ink-dim);}

/* ---------- SECTION 6: FOOTER / CTA ---------- */
.cta{
  background:var(--bg-2);
  border-top:3px solid var(--gold);
  padding:100px 0 40px;
}
.cta-head{ text-align:center; max-width:680px; margin:0 auto 48px;}
.cta-head h2{font-size:28px; margin-bottom:18px; line-height:1.5;}
.cta-head h2 .accent{color:var(--gold);}
.cta-head p{font-size:22px; color:var(--ink-dim);}

.signup{
  max-width:560px; margin:0 auto;
  display:flex; gap:0; align-items:stretch;
  background:#000; border:3px solid var(--gold);
  box-shadow:6px 6px 0 #000;
}
.signup input{
  flex:1; padding:18px 20px;
  background:transparent; border:none; outline:none;
  color:var(--ink); font-family:'JetBrains Mono', monospace; font-size:16px;
}
.signup input::placeholder{color:var(--ink-dim);}
.signup button{
  font-family:'Press Start 2P', monospace; font-size:12px;
  background:var(--gold); color:#000; border:none;
  padding:0 24px; cursor:pointer;
  text-transform:uppercase; letter-spacing:1.5px;
  border-left:3px solid var(--gold);
}
.signup button:hover{background:#fff; }
@media (max-width:560px){
  .signup{flex-direction:column;}
  .signup button{padding:14px 24px; border-left:none; border-top:3px solid var(--gold);}
}

.cta-meta{
  text-align:center; margin-top:18px;
  font-family:'JetBrains Mono', monospace; font-size:12px;
  color:var(--ink-dim);
}
.cta-meta .dot{color:var(--gold);}

/* footer */
.footer{
  margin-top:80px;
  border-top:2px dashed var(--line);
  padding-top:40px;
  display:grid; grid-template-columns:1fr auto 1fr; gap:24px; align-items:center;
}
@media (max-width:720px){.footer{grid-template-columns:1fr; text-align:center;}}

.socials{display:flex; gap:12px; align-items:center; justify-content:center;}
.social{
  width:44px; height:44px;
  background:var(--bg-3); border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono', monospace; font-size:11px; color:var(--ink-dim);
  text-decoration:none;
  box-shadow:3px 3px 0 #000;
  transition:transform .1s steps(2);
}
.social:hover{transform:translate(-1px,-1px); color:var(--gold); border-color:var(--gold);}
.social svg{width:24px; height:24px; image-rendering:pixelated;}

.foot-fav{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; margin-top:8px;
  border:2px solid var(--gold);
  background:#0a0a0a;
  box-shadow:2px 2px 0 #000;
}
.foot-fav svg{width:24px; height:24px; image-rendering:pixelated;}

.foot-brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Press Start 2P', monospace; font-size:11px;
  color:var(--ink-dim); letter-spacing:1px;
}
.disclaimer{
  font-family:'JetBrains Mono', monospace; font-size:11px; color:var(--ink-dim);
  text-align:right;
}
@media (max-width:720px){.disclaimer{text-align:center;}}

/* ---------- PERKS ---------- */
.perks{padding:120px 0; border-top:2px dashed var(--line); background:linear-gradient(180deg, var(--bg) 0%, #0d0d24 100%);}
.perks-head{text-align:center; margin-bottom:56px;}
.perks-head h2{font-size:28px; margin-bottom:18px; line-height:1.5;}
.perks-head .sub{font-size:22px; color:var(--ink-dim); max-width:580px; margin:0 auto;}
.perks-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
@media (max-width:1000px){.perks-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.perks-grid{grid-template-columns:1fr;}}
.perk{
  background:var(--bg-2); border:3px solid var(--line);
  padding:24px 20px; box-shadow:6px 6px 0 #000;
  transition:transform .12s steps(2), border-color .12s;
}
.perk:hover{transform:translate(-2px,-2px); border-color:var(--gold);}
.perk-rune{
  width:54px; height:54px; margin-bottom:18px;
  background:#000; border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size:24px; box-shadow:3px 3px 0 #000;
}
.perk-title{font-family:'Press Start 2P', monospace; font-size:13px; color:var(--gold); margin-bottom:12px;}
.perk-desc{font-size:18px; color:var(--ink-dim); line-height:1.4;}

/* ---------- JOIN STACK (Discord / Telegram / Email) ---------- */
.join-stack{
  max-width:560px; margin:0 auto;
  display:flex; flex-direction:column; align-items:stretch; gap:16px;
}

.join-primary, .join-secondary{
  display:flex; align-items:center; gap:18px;
  padding:20px 22px;
  text-decoration:none;
  font-family:'Press Start 2P', monospace;
  position:relative;
  transition:transform .08s steps(2), box-shadow .08s steps(2);
}
.join-primary{
  background:var(--gold); color:#1a1500;
  box-shadow: 0 -4px 0 0 var(--gold-deep) inset, 0 0 0 4px #000, 6px 6px 0 4px #000;
}
.join-primary:hover{ transform:translate(2px,2px); box-shadow: 0 -4px 0 0 var(--gold-deep) inset, 0 0 0 4px #000, 4px 4px 0 4px #000;}
.join-secondary{
  background:transparent; color:var(--ink);
  border:3px solid var(--ink);
  box-shadow:6px 6px 0 0 #000;
}
.join-secondary:hover{ transform:translate(2px,2px); box-shadow:4px 4px 0 0 #000; border-color:var(--gold); color:var(--gold);}

.join-ico{
  flex:0 0 auto;
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#000; color:var(--gold);
  border:2px solid #000;
}
.join-primary .join-ico{background:#000; color:var(--gold);}
.join-secondary .join-ico{background:transparent; color:currentColor; border-color:currentColor;}
.join-text{display:flex; flex-direction:column; gap:6px; text-align:left; flex:1;}
.join-label{font-size:14px; letter-spacing:1.5px; text-transform:uppercase;}
.join-sub{
  font-family:'JetBrains Mono', monospace; font-size:11px;
  letter-spacing:.5px; text-transform:none;
  opacity:.85;
}
.join-primary .join-sub{color:#3a2c00;}
.join-secondary .join-sub{color:var(--ink-dim);}

.email-toggle{
  background:none; border:none; cursor:pointer;
  font-family:'JetBrains Mono', monospace; font-size:13px;
  color:var(--ink-dim);
  padding:6px 0;
  text-decoration:underline; text-decoration-style:dotted;
  text-underline-offset:4px;
  transition:color .1s;
  align-self:center;
  margin-top:6px;
}
.email-toggle:hover{color:var(--gold);}
.email-form{margin-top:4px;}
@media (max-width:520px){
  .join-primary, .join-secondary{padding:16px 16px; gap:14px;}
  .join-label{font-size:12px;}
  .join-ico{width:40px; height:40px;}
}

.legal{
  margin-top:40px; padding-top:24px;
  border-top:1px solid var(--line-soft);
  font-family:'JetBrains Mono', monospace; font-size:11px;
  color:var(--ink-dim); text-align:center;
  line-height:1.7;
}
.legal .gold{color:var(--gold);}

/* tiny twinkles in journey */
.twinkle{
  position:absolute; width:4px; height:4px; background:var(--gold);
  animation:twink 2s steps(2) infinite;
}
@keyframes twink{50%{opacity:0;}}

/* utility section heads */
.section-head-row{
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom:48px; gap:24px; flex-wrap:wrap;
}
.section-num{
  font-family:'Press Start 2P', monospace; font-size:11px;
  color:var(--gold); letter-spacing:2px;
  border:2px solid var(--gold); padding:8px 12px;
  background:rgba(245,201,69,.06);
}

/* page boundary marquee */
.marquee{
  font-family:'Press Start 2P', monospace; font-size:10px;
  color:var(--gold); letter-spacing:3px;
  border-top:2px solid var(--line); border-bottom:2px solid var(--line);
  padding:14px 0; overflow:hidden; white-space:nowrap;
  background:#000;
}
.marquee-track{display:inline-block; animation:scroll-left 28s linear infinite;}
@keyframes scroll-left{from{transform:translateX(0);} to{transform:translateX(-50%);}}