@font-face {
  font-family: "ZCOOL KuaiLe";
  src: url("../fonts/zcool-kuaile-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "ZCOOL KuaiLe";
  src: url("../fonts/zcool-kuaile-chinese-simplified-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3000-303F, U+4E00-9FFF, U+FF00-FFEF;
}

@font-face {
  font-family: Syne;
  src: url("../fonts/syne-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: Syne;
  src: url("../fonts/syne-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --bg: #07080b;
  --bg-raise: #101218;
  --sun: #f0c01f;
  --gold: #f3ba2f;
  --gold-hot: #ffe56a;
  --gold-deep: #a87408;
  --ink: #16120a;
  --text: #f7f3ea;
  --muted: #c4bbaa;
  --line: rgba(243, 186, 47, 0.28);
  --header: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  font-family: Syne, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-title {
  margin: 0;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
}
.en {
  margin: 8px 0 0;
  color: #9d9688;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 42%, rgba(240, 192, 31, 0.22), transparent 42%),
    var(--bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.loader img {
  width: 148px;
  animation: bob 2.4s ease-in-out infinite;
  filter: drop-shadow(0 16px 12px rgba(0, 0, 0, 0.45));
}
.loader p {
  margin: 0;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  letter-spacing: 0.12em;
}
.loader-bar {
  width: 148px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold-hot), var(--gold));
  animation: load 1s ease-in-out infinite;
}
body.ready .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.header.scrolled {
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 186, 47, 0.16);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: white;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffe98a, var(--sun) 55%, #e2ab0d);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 2px #111, 0 0 22px rgba(243, 186, 47, 0.45);
  flex: none;
}
.brand-mark img {
  width: 74px;
  max-width: none;
  transform: translateY(2px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #efe8d6;
  font-size: 15px;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: relative;
  transition: 0.25s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(7, 8, 11, 0.96);
  backdrop-filter: blur(18px);
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: 0.35s var(--ease);
}
.nav-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-panel a {
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(36px, 8vw, 52px);
  letter-spacing: 0.06em;
  color: white;
}
.nav-panel a:hover { color: var(--gold); }
.nav-panel .panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #fff1a8 0%, #f3ba2f 42%, #e0a40d 100%);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(243, 186, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.7) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: shine 3.8s ease-in-out infinite;
  pointer-events: none;
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.38) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: shine 5.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: white;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(243, 186, 47, 0.08); }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: white;
  transition: 0.25s ease;
}
.icon-btn:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.icon-btn svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 28px) 0 88px;
  overflow: hidden;
}
.dust, .streaks, .grid-floor { pointer-events: none; }
.dust {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-grid, .marquee, main, .footer { position: relative; z-index: 1; }
body { overflow-x: hidden; }
.streaks span {
  position: absolute;
  height: 2px;
  width: min(46vw, 560px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), var(--gold), transparent);
  opacity: 0.45;
  filter: blur(0.4px);
}
.streaks span:nth-child(1) { top: 22%; animation: streak 7s linear infinite; }
.streaks span:nth-child(2) { top: 46%; width: min(32vw, 380px); animation: streak 9s linear infinite 1.4s; opacity: 0.28; }
.streaks span:nth-child(3) { top: 68%; animation: streak 8s linear infinite 0.6s; opacity: 0.35; }
.grid-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -34%;
  height: 62%;
  background-image:
    linear-gradient(rgba(243, 186, 47, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 186, 47, 0.32) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(520px) rotateX(68deg);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 8%, transparent 76%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 8%, transparent 76%);
  animation: gridMove 2.8s linear infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 186, 47, 0.08);
  color: var(--gold-hot);
  font-family: Syne, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(243, 186, 47, 0.7);
  animation: ping 1.8s ease-out infinite;
}
.hero-title {
  margin: 0;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(64px, 8.4vw, 118px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: white;
  paint-order: stroke fill;
  -webkit-text-stroke: 4px #1a1408;
  text-shadow:
    0 3px 0 #f3ba2f,
    0 8px 0 #6a4e09,
    0 16px 28px rgba(0, 0, 0, 0.45);
}
.hero-title span {
  display: inline-block;
  animation: pop 0.75s cubic-bezier(0.2, 1.35, 0.36, 1) both;
}
.hero-title span:nth-child(1) { animation-delay: 0.08s; }
.hero-title span:nth-child(2) { animation-delay: 0.16s; }
.hero-title span:nth-child(3) { animation-delay: 0.24s; }
.hero-title span:nth-child(4) { animation-delay: 0.32s; }
.ticker {
  margin: 18px 0 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--gold);
  letter-spacing: 0.04em;
}
.hero-copy .desc {
  margin: 12px 0 0;
  max-width: 38ch;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.hero-copy .en { max-width: 46ch; font-size: 15px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.ca-box {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 620px);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.ca-box small {
  display: block;
  color: var(--gold);
  font-family: Syne, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.ca-box code {
  display: block;
  margin-top: 2px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  color: white;
  word-break: break-all;
}
.ca-box .ca-text { min-width: 0; flex: 1; }
.copy {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
.copy:hover { background: var(--gold-hot); }
.copy.done { background: #fff6d2; }

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  order: -1;
}
.sun {
  position: absolute;
  width: min(520px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 40%, #fff6c2 0%, #ffe56a 16%, #f0c01f 48%, #e6ae10 74%, #d79a0a 100%);
  box-shadow:
    0 0 80px rgba(240, 192, 31, 0.48),
    0 0 160px rgba(240, 192, 31, 0.22),
    inset 0 -28px 40px rgba(150, 90, 0, 0.22);
  animation: pulse 6.5s ease-in-out infinite;
}
.sun::before {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: inherit;
  background: repeating-conic-gradient(from 0deg, transparent 0 13deg, rgba(255, 255, 255, 0.28) 13deg 14.1deg);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 68%, transparent 78%);
  mask: radial-gradient(circle, transparent 56%, #000 68%, transparent 78%);
  animation: spin 28s linear infinite;
}
.orbit {
  position: absolute;
  width: min(590px, 104%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 248, 220, 0.45);
  animation: spin 22s linear infinite;
}
.orbit i {
  position: absolute;
  width: 13px;
  height: 13px;
  margin: -6px;
  background: #fff8dc;
  box-shadow: 0 0 14px var(--gold), 0 0 2px #fff;
  transform: rotate(45deg);
}
.orbit i:nth-child(1) { top: 0; left: 50%; background: var(--gold); }
.orbit i:nth-child(2) { top: 76%; left: 4%; }
.orbit i:nth-child(3) { top: 70%; left: 97%; width: 9px; height: 9px; }
.fish-stage {
  position: relative;
  z-index: 2;
  width: min(460px, 84%);
  transition: transform 0.45s var(--ease);
}
.fish-bob { animation: bob 4.8s ease-in-out infinite; transform-origin: 50% 60%; }
.fish {
  width: 100%;
  filter: drop-shadow(0 22px 14px rgba(90, 55, 0, 0.38));
}
.cube {
  position: absolute;
  z-index: 3;
  background: linear-gradient(145deg, #fff4bc 0%, #f3ba2f 46%, #b8860b 100%);
  border-radius: 5px;
  box-shadow: 7px 9px 0 rgba(0, 0, 0, 0.28), 0 0 18px rgba(243, 186, 47, 0.55);
  animation: drift 6.5s ease-in-out infinite;
}
.cube-a { width: 22px; height: 22px; top: 14%; left: 8%; animation-delay: -0.4s; }
.cube-b { width: 36px; height: 36px; top: 16%; right: 6%; animation-delay: -1.8s; }
.cube-c { width: 16px; height: 16px; bottom: 16%; left: 18%; animation-delay: -2.6s; }

/* Marquee */
.marquee {
  background: linear-gradient(90deg, #e6ae10, #ffe56a 20%, #f3ba2f 50%, #ffe56a 80%, #e6ae10);
  color: var(--ink);
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 40px rgba(243, 186, 47, 0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 11px;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.marquee-group b {
  font-family: Syne, sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
  flex: none;
}

/* Sections */
section { padding: 96px 0; scroll-margin-top: 90px; }
.story { padding-top: 88px; }
.story-grid, .token-grid, .community-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}
.story p { color: var(--muted); font-size: 17px; }
.story .sec-title + p { margin-top: 18px; }
.art {
  position: relative;
  padding: 3px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(120deg, #f3ba2f, #fff6cc, #c9940a, #fff1a8, #f3ba2f);
  background-size: 240% 240%;
  animation: goldShift 7s ease infinite;
  box-shadow: 0 30px 80px rgba(243, 186, 47, 0.16);
}
.art img {
  border-radius: 25px;
  width: 100%;
}
.traits {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trait {
  padding: 20px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(243, 186, 47, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(243, 186, 47, 0.18);
  min-height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.trait:hover, .step:hover, .route-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 186, 47, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.trait svg, .step svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.trait h3, .step h3, .route-card h3 {
  margin: 12px 0 6px;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: white;
}
.trait p, .step p, .route-card p { margin: 0; color: var(--muted); font-size: 15px; }
.trait .en, .step .en, .route-card .en { margin-top: 8px; }

.token {
  background:
    radial-gradient(circle at 80% 20%, rgba(243, 186, 47, 0.09), transparent 28%),
    #0b0c10;
}
.token-card {
  position: relative;
  border-radius: 28px;
  padding: 1px;
  overflow: hidden;
  background: #1a1a1a;
}
.token-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 68%, #fff6c4 82%, #f3ba2f 90%, transparent 100%);
  animation: spin 5.5s linear infinite;
}
.token-card-inner {
  position: relative;
  border-radius: 27px;
  background:
    radial-gradient(circle at 90% 0%, rgba(243, 186, 47, 0.16), transparent 36%),
    #101218;
  padding: 26px 24px 22px;
}
.token-name {
  margin: 0;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.token-card dl { margin: 18px 0 0; }
.token-card .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.token-card dt { color: #9d9688; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.token-card dd { margin: 0; text-align: right; font-weight: 700; }
.token-card dd.mono {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-weight: 500;
  font-size: 13px;
  word-break: break-all;
  max-width: 28ch;
}
.token-card .row-ca {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.token-card .row-ca dd.mono {
  text-align: left;
  max-width: none;
  line-height: 1.5;
}
.token-card .copy { width: 100%; margin-top: 8px; min-height: 48px; }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 14px;
}
.links a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.steps, .route {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.step, .route-card { list-style: none; }
.step, .route-card {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(243, 186, 47, 0.18);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.step-no, .route-no {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.fine {
  margin: 22px 0 0;
  color: #9d9688;
  font-size: 13px;
}
.fine code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--gold-hot);
  font-size: 12px;
}

.route-board { position: relative; margin-top: 8px; }
.route-line {
  display: none;
}
.swimmer {
  display: none;
}

.community-card {
  display: block;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(240, 192, 31, 0.2), transparent 26%),
    linear-gradient(180deg, #16140f, #0d0e12);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.community-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.x-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.x-top img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--sun);
}
.x-top strong {
  display: block;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 26px;
  font-weight: 400;
}
.x-top span { color: var(--muted); font-size: 14px; }
.x-mark { margin-left: auto; color: white; }
.x-mark svg { width: 22px; height: 22px; }
.community-card p { font-size: 18px; max-width: 36ch; }
.community-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
}
.community-visual .fish-bob { width: min(360px, 80%); }

.footer {
  padding: 28px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9d9688;
  font-size: 13px;
}
.footer .wrap {
  display: grid;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 22px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.footer-links a:hover { color: var(--gold); }
.footer p { margin: 0; max-width: 78ch; }

.ca-dock {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 18px;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transform: translateY(150%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s;
}
.ca-dock.show {
  transform: none;
  visibility: visible;
}
.ca-dock code {
  min-width: 0;
  flex: 1;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}
.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body:has(.ca-dock.show) .toast { bottom: 108px; }

:focus-visible {
  outline: 2px solid var(--gold-hot);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .hero-title { -webkit-text-stroke: 7px #1a1408; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ca-dock code { font-size: 13px; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); gap: 20px; }
  .hero-visual { order: 0; min-height: 560px; }
  .story-grid, .token-grid, .community-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .community-grid { grid-template-columns: 0.9fr 1.1fr; }
  .steps, .route { grid-template-columns: repeat(4, 1fr); }
  .route { margin-top: 0; padding-top: 58px; }
  .route-board { margin-top: 28px; }
  .route-line {
    display: block;
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: rgba(243, 186, 47, 0.2);
    overflow: hidden;
  }
  .route-line i {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), #fff6c4, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.3s var(--ease);
  }
  .js .route-board.in .route-line i,
  .route-board.in .route-line i { transform: scaleX(1); }
  .swimmer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    z-index: 2;
    filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.4));
    animation: swimAcross 9s ease-in-out infinite;
  }
  .footer .wrap {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand links"
      "note note";
    align-items: center;
  }
  .footer-brand { grid-area: brand; }
  .footer-links { grid-area: links; justify-content: flex-end; }
  .footer p { grid-area: note; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: grid; }
  .wrap { width: min(1140px, calc(100% - 28px)); }
  section { padding: 72px 0; }
  .traits { grid-template-columns: 1fr 1fr; }
  .hero {
    min-height: auto;
    padding: calc(var(--header) + 6px) 0 28px;
  }
  .hero-visual { min-height: 210px; }
  .sun { width: min(230px, 58vw); }
  .orbit { width: min(268px, 70vw); }
  .fish-stage { width: min(200px, 52vw); }
  .hero-title { font-size: 58px; -webkit-text-stroke: 4px #1a1408; }
  .ticker { margin-top: 10px; font-size: 22px; }
  .hero-copy .desc { margin-top: 6px; font-size: 16px; }
  .hero-actions { margin-top: 16px; }
  .ca-box { margin-top: 14px; padding: 12px; }
  .ca-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 14px;
  }
  .ca-box .copy { width: 100%; }
}
@media (max-width: 560px) {
  .traits { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 0.02em; }
  .toast { bottom: 96px; }
  body:has(.ca-dock.show) .toast { bottom: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal, .hero-title span { opacity: 1; transform: none; }
  .route-line i { transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  42% { transform: translateY(-16px) rotate(4deg); }
  50% { transform: translateY(-14px) rotate(2deg) scale(1.035, 0.97); }
  58% { transform: translateY(-16px) rotate(4deg); }
  78% { transform: translateY(-4px) rotate(-2deg); }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(42px) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(16deg); }
  50% { transform: translateY(-18px) rotate(36deg); }
}
@keyframes streak {
  from { transform: translateX(-80%) rotate(-16deg); }
  to { transform: translateX(260%) rotate(-16deg); }
}
@keyframes gridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 80px, 0 80px; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes shine {
  0%, 42% { transform: translateX(-130%); }
  68%, 100% { transform: translateX(140%); }
}
@keyframes goldShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(243, 186, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 186, 47, 0); }
}
@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes swimAcross {
  0% { left: 0; transform: scaleX(-1); }
  49% { left: calc(100% - 52px); transform: scaleX(-1); }
  50% { left: calc(100% - 52px); transform: scaleX(1); }
  100% { left: 0; transform: scaleX(1); }
}
