:root {
  --bg: #0a1428;
  --panel: #101e35;
  --panel2: #142440;
  --line: #1e3a5f;
  --sky: #4db8ff;
  --sky-dim: #2e86ff;
  --gold: #ffd93d;
  --red: #ff4757;
  --orange: #ff8c42;
  --sol: #9945ff;
  --text: #d8e8f8;
  --muted: #6f8fa8;
  --mono: 'IBM Plex Mono', monospace;
  --timer: 'Azeret Mono', monospace;
  --display: 'Bungee', cursive;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 998;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-5%); }
  20% { transform: translate(5%,5%); }
  30% { transform: translate(-3%,5%); }
  40% { transform: translate(5%,-3%); }
  50% { transform: translate(-5%,3%); }
  60% { transform: translate(3%,-5%); }
  70% { transform: translate(-3%,-3%); }
  80% { transform: translate(5%,3%); }
  90% { transform: translate(-5%,5%); }
}

a { color: inherit; }
::selection { background: var(--sky); color: #031428; }

/* marquee */
.marquee {
  background: var(--sky);
  color: #031428;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  border-bottom: 1px solid #000;
  text-transform: uppercase;
}

.marquee__inner { display: inline-block; animation: scroll 30s linear infinite; }
.marquee span { margin: 0 1.6em; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(10,20,40,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--sky);
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
}

.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--sky); }

.nav-holders {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.nav-holders b {
  color: var(--sky);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(77,184,255,.5);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: blink 1.1s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 11px 22px;
  border-radius: 4px;
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,71,87,.55);
  transition: transform .12s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-20deg);
  animation: shine 5s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes shine {
  0%, 62% { left: -80%; }
  82%, 100% { left: 160%; }
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px 2px rgba(255,71,87,.45);
}

.btn--ghost {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky);
}

.btn--ghost::after { display: none; }
.btn--ghost:hover { box-shadow: 0 0 18px 0 rgba(77,184,255,.35); }
.btn--lg { font-size: 16px; padding: 15px 34px; }

/* race / cloud climb */
.race {
  max-width: 1000px;
  margin: 34px auto 0;
  padding: 0 28px;
  text-align: center;
  animation: fadeUp .6s .05s both;
}

.race-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.race-head .tag {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.race-count {
  font-family: var(--timer);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  color: var(--sky);
  text-shadow: 0 0 14px rgba(77,184,255,.5);
  font-variant-numeric: tabular-nums;
}

.race-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }

.race-count small {
  font-size: .5em;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .1em;
}

.race-track-wrap { position: relative; padding: 64px 0 0; }

.race-track {
  position: relative;
  height: 14px;
  border-radius: 99px;
  background: var(--panel2);
  border: 1px solid var(--line);
  overflow: visible;
}

.race-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sky-dim), var(--sky));
  box-shadow: 0 0 16px rgba(77,184,255,.6);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
  min-width: 6px;
  overflow: hidden;
}

.race-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, rgba(255,255,255,.12) 0 9px, transparent 9px 18px);
  background-size: 22px 22px;
  animation: stripes 1.4s linear infinite;
}

@keyframes stripes { to { background-position: 22px 0; } }

.race-goal {
  position: absolute;
  top: -8px;
  bottom: -8px;
  width: 3px;
  background: var(--gold);
  animation: goalGlow 2.4s ease-in-out infinite;
}

@keyframes goalGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,217,61,.45); }
  50% { box-shadow: 0 0 18px rgba(255,217,61,.9); }
}

.race-goal .lbl {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.race-me {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--panel);
  border: 1px solid var(--sky);
  border-radius: 999px;
  padding: 5px 13px 5px 5px;
  box-shadow: 0 0 20px rgba(77,184,255,.35);
  transition: left 1.2s cubic-bezier(.2,.8,.2,1);
}

.race-me::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--sky);
}

.race-me img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}

.race-me .t { font-size: 11px; font-weight: 700; color: var(--sky); letter-spacing: .06em; }
.race-me .c { font-size: 13px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.race-fan { display: block; width: 100%; height: 56px; }

.race-fan path {
  stroke: url(#fanGrad);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: draw 1.6s cubic-bezier(.25,.1,.25,1) forwards;
  transition: stroke .3s, stroke-width .3s;
}

.race-fan path.hot { stroke: var(--sky); stroke-width: 2; opacity: 1; }

.race-fan path:nth-child(3) { animation-delay: .07s; }
.race-fan path:nth-child(4) { animation-delay: .14s; }
.race-fan path:nth-child(5) { animation-delay: .21s; }
.race-fan path:nth-child(6) { animation-delay: .28s; }
.race-fan path:nth-child(7) { animation-delay: .35s; }
.race-fan path:nth-child(8) { animation-delay: .42s; }
.race-fan path:nth-child(9) { animation-delay: .49s; }
.race-fan path:nth-child(10) { animation-delay: .56s; }
.race-fan path:nth-child(11) { animation-delay: .63s; }

@keyframes draw {
  0% { opacity: 0; stroke-dashoffset: 1; }
  30% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}

.race-rivals { display: flex; }
.race-rivals .rv {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.rv-pic {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel2);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-color .25s, box-shadow .25s;
}

.rv-emoji { font-size: 16px; line-height: 1; }

.rv:hover .rv-pic {
  transform: scale(1.15) translateY(-3px);
  border-color: var(--sky-dim);
}

.rv.flipped .rv-pic { border-color: var(--sky); box-shadow: 0 0 16px rgba(77,184,255,.4); }
.rv.flipped.justflipped .rv-pic { animation: flipPop .6s ease; }

@keyframes flipPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3) rotate(8deg); }
  100% { transform: scale(1); }
}

.rv .chk {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  color: #031428;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

.rv.flipped .chk { display: flex; }

.rv .nm { font-size: 9px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.rv.flipped .nm { color: var(--sky); }
.rv .hc { font-size: 8px; color: #3c5570; }
.rv .flag {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sky);
  opacity: 0;
  transition: opacity .3s;
}

.rv.flipped .flag { opacity: 1; }

.race-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.race-foot b { color: var(--gold); }

/* hero */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  color: #fff;
  animation: fadeUp .6s .1s both;
}

.hero h1 .accent { color: var(--sky); text-shadow: 0 0 30px rgba(77,184,255,.4); }

.hero-sub {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 52ch;
  animation: fadeUp .6s .18s both;
}

.hero-sub b { color: var(--text); }
.hero-sub .sol { color: var(--sol); font-weight: 700; }

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .6s .28s both;
}

.hero-stats {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .6s .36s both;
}

.hs {
  flex: 1;
  min-width: 120px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px 13px;
  transition: border-color .2s, transform .2s;
}

.hs:hover { border-color: var(--sky-dim); transform: translateY(-3px); }

.hs-v {
  display: block;
  font-family: var(--timer);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--sky);
  text-shadow: 0 0 12px rgba(77,184,255,.35);
  font-variant-numeric: tabular-nums;
}

.hs-l {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* timerbox */
.timerbox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 40px -18px rgba(77,184,255,.35);
  animation: fadeUp .7s .25s both;
}

.timerbox__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel2);
}

.timerbox__head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  animation: bob 3.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.timerbox__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.timerbox__cat { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.holders-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--sky);
  text-shadow: 0 0 10px rgba(77,184,255,.4);
}

.hdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
  flex: none;
  box-shadow: 0 0 8px rgba(77,184,255,.9);
  animation: hdot 1.6s ease-in-out infinite;
}

@keyframes hdot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.78); }
}

.holders-delta {
  height: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sky);
  opacity: 0;
}

.holders-delta.pop { animation: deltaPop 2.6s ease forwards; }

@keyframes deltaPop {
  0% { opacity: 0; transform: translateY(8px); }
  15%, 70% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

.timer {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  text-align: center;
  padding: 10px 10px 4px;
  color: var(--sky);
  text-shadow: 0 0 22px rgba(77,184,255,.5);
  font-variant-numeric: tabular-nums;
  animation: crt 7s linear infinite;
}

.timer.bump { animation: bump .4s ease, crt 7s linear infinite; }

@keyframes crt {
  0%, 96%, 99%, 100% { opacity: 1; }
  97.5% { opacity: .93; }
}

.timer-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 20px;
}

.spark-wrap { padding: 12px 18px 14px; border-top: 1px solid var(--line); }

.spark-cap {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 6px;
}

.spark-cap b { color: var(--sky); font-weight: 700; letter-spacing: .06em; }
.spark { display: block; width: 100%; height: 46px; }

#sparkLine {
  stroke: var(--sky);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(77,184,255,.5));
}

.splits { border-top: 1px solid var(--line); font-size: 13px; }

.split {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  gap: 10px;
  border-bottom: 1px solid rgba(30,58,95,.6);
}

.split:last-child { border-bottom: none; }
.split .name { color: var(--text); }
.split .delta { margin-left: auto; font-weight: 700; }
.split .time { width: 40px; text-align: right; color: var(--muted); }
.split.done .name { color: var(--muted); }
.split.done .delta { color: var(--sky); }
.split.current { background: rgba(77,184,255,.08); border-left: 3px solid var(--sky); padding-left: 15px; }
.split.current .name { color: #fff; font-weight: 700; }
.split.current .delta { color: var(--gold); }
.split.upcoming .delta, .split.upcoming .time { color: #3c5570; }
.split .gold-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* CA bar */
.ca-bar { max-width: 1180px; margin: 8px auto 0; padding: 0 28px; }

.ca-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px dashed var(--sky-dim);
  border-radius: 8px;
  padding: 14px 18px;
}

.ca-label { font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; font-weight: 700; }
.ca-addr { font-size: 13px; word-break: break-all; color: var(--text); flex: 1; min-width: 220px; }

.copy-btn {
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  background: transparent;
  color: var(--sky);
  border: 1px solid var(--sky);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all .15s;
}

.copy-btn:hover { background: var(--sky); color: #031428; }

/* sections */
section, .lore {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 28px;
}

.sec-tag { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }

h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.05;
}

h2 .accent { color: var(--sky); }

.sec-sub { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 62ch; }

.hero-showcase {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  overflow: hidden;
}

.hero-showcase img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transform: rotate(-1deg);
  transition: transform .3s;
}

.hero-showcase img:hover { transform: rotate(1deg) scale(1.02); }

.showcase-copy h3 {
  font-family: var(--display);
  font-size: 22px;
  color: var(--sky);
  margin-bottom: 14px;
}

.showcase-copy p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.showcase-copy b { color: var(--text); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--sky-dim);
  box-shadow: 0 18px 40px -22px rgba(77,184,255,.35);
}

.card .num {
  font-family: var(--timer);
  font-size: 42px;
  color: var(--sky);
  line-height: 1;
  text-shadow: 0 0 14px rgba(77,184,255,.4);
}

.card h3 { font-size: 15px; color: #fff; margin: 14px 0 10px; letter-spacing: .04em; }
.card p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.card .accent-text { color: var(--gold); font-weight: 700; }

.chart-strip {
  margin-top: 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.chart-strip img {
  width: 200px;
  border-radius: 12px;
  border: 2px solid var(--line);
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 rgba(77,184,255,.2);
  transition: transform .25s;
}

.chart-strip img:hover { transform: rotate(2deg) scale(1.04); }

.chart-copy h3 { font-family: var(--display); font-size: 24px; color: #fff; margin-bottom: 12px; }
.chart-copy p { font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.chart-copy p b { color: var(--sky); }

.chart-embed {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  height: 500px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}

.chart-embed iframe { width: 100%; height: 100%; display: block; border: 0; }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  counter-increment: step;
  transition: border-color .2s, transform .2s;
}

.step:hover { border-color: var(--sky-dim); transform: translateY(-4px); }

.step::before {
  content: "SPLIT " counter(step);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--gold);
  font-weight: 700;
}

.step h3 { font-size: 14px; color: #fff; margin: 12px 0 8px; }
.step p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.step p a { color: var(--sky); text-decoration: none; }
.step p a:hover { text-decoration: underline; }

/* final CTA */
.final {
  text-align: center;
  padding: 110px 28px 120px;
  position: relative;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px 300px at 50% 60%, rgba(77,184,255,.12), transparent 70%);
}

.final-count {
  margin: 20px 0 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  color: var(--sky);
  letter-spacing: -.01em;
  text-shadow: 0 0 22px rgba(77,184,255,.45);
  font-variant-numeric: tabular-nums;
}

.final-count .of {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: none;
  margin-top: 10px;
}

.final-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

footer .links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}

footer .links a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

footer .links a:hover { text-decoration: underline; }

/* toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--sky);
  color: #031428;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  padding: 12px 28px;
  border-radius: 6px;
  z-index: 1000;
  opacity: 0;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* scroll reveal */
.rev {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.rev.vis { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-showcase { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .chart-strip { grid-template-columns: 1fr; text-align: center; }
  .chart-strip img { margin: 0 auto; width: 180px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10,20,40,.97);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    margin-left: 0;
  }

  .nav-links.open { display: flex; }

  .race-rivals .rv .nm,
  .race-rivals .rv .hc,
  .race-rivals .rv .flag { font-size: 7px; }

  .rv-pic { width: 28px; height: 28px; }
  .rv-emoji { font-size: 13px; }

  .steps { grid-template-columns: 1fr; }
  .chart-embed { height: 420px; }
}

@media (max-width: 480px) {
  nav { padding: 12px 16px; }
  .race, .hero, section, .lore, .ca-bar { padding-left: 16px; padding-right: 16px; }
  .ca-inner { flex-direction: column; align-items: stretch; }
  .copy-btn { text-align: center; }
}
