/* Kissan Pro — landing page (light). The member area keeps style.css + dapp.css. */

:root {
  --bg: #f6f2e7;
  --bg-2: #efe9da;
  --surface: #fffdf7;
  --surface-2: #faf5ea;
  --line: rgba(19, 38, 26, .1);
  --line-2: rgba(19, 38, 26, .18);
  --text: #13261a;
  --text-2: #3f5546;
  --muted: #5f7163;
  --gold: #e8c15a;      /* fills: buttons, chips, dots */
  --gold-hi: #f7dd8f;
  --gold-deep: #b8892a; /* marks and icons on cream */
  --gold-ink: #8a6212;  /* gold text, 4.5:1 on cream */
  --usdt: #1f9e74;
  --burn: #d9572a;
  --up: #177a4c;
  --down: #c2412d;
  /* categorical slots, validated on the card surface */
  --c1: #b8892a;
  --c2: #6c8ae0;
  --c3: #2e9a62;

  --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --r: 20px;
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
code { font-family: var(--f-mono); font-size: .88em; color: var(--gold-ink); background: rgba(200, 150, 42, .12); padding: .1em .4em; border-radius: 6px; white-space: nowrap; }
code.code-long { white-space: normal; overflow-wrap: anywhere; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(232, 193, 90, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ico { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-gold {
  color: #1b1405;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, #d4a540);
  box-shadow: 0 10px 26px -10px rgba(184, 137, 42, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(184, 137, 42, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-line { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 253, 247, .75); backdrop-filter: blur(8px); }
.btn-line:hover { border-color: rgba(184, 137, 42, .6); color: var(--gold-ink); transform: translateY(-2px); }

/* ---------- header ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--usdt), var(--gold));
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
}
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(246, 242, 231, .84); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(184, 137, 42, .4), 0 6px 16px -6px rgba(120, 90, 20, .45); }
.brand-txt { font: 600 20px/1 var(--f-display); letter-spacing: -.02em; }
.brand-txt b { font-weight: 800; color: var(--gold-deep); margin-left: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text-2); border-radius: 999px; transition: color .25s, background .25s; }
.nav a:hover { color: var(--text); background: rgba(19, 38, 26, .05); }
.nav a.on { color: var(--gold-ink); }
.nav a.on::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--hdr) + 24px) 24px 32px;
  background: rgba(246, 242, 231, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.menu nav { display: flex; flex-direction: column; }
.menu a { font: 600 30px/1.2 var(--f-display); padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); opacity: 0; transform: translateY(14px); animation: introUp .55s var(--ease) forwards; }
.menu a:nth-child(n) { animation-delay: calc(var(--n, 0) * 45ms); }

/* ---------- intro (first paint) ---------- */
@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes wordUp { to { transform: none; } }
.intro { opacity: 0; transform: translateY(18px); animation: introUp 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 85ms + 120ms); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr) + 24px) 0 32px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-aura {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 50% at 72% 40%, rgba(247, 214, 128, .55), transparent 70%),
    radial-gradient(50% 40% at 12% 15%, rgba(120, 190, 140, .18), transparent 70%),
    linear-gradient(180deg, #fbf8ef 0%, #f6f1e2 55%, #eee6cf 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * .9); }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 12px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 253, 247, .85); backdrop-filter: blur(10px);
  font: 500 13px/1 var(--f-mono); color: var(--text-2);
}
.live-pill:hover { border-color: rgba(184, 137, 42, .5); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(76, 201, 138, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76, 201, 138, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(76, 201, 138, 0); } }
.lp-sym { color: var(--text); font-weight: 500; }
.lp-price { color: var(--gold-ink); }
.up { color: var(--up); }
.down { color: var(--down); }
.hero-title { font-size: clamp(44px, 6.1vw, 90px); line-height: .95; font-weight: 700; letter-spacing: -.045em; margin-bottom: 24px; }
.hero-title .ln { display: block; overflow: hidden; padding: 0 .04em .08em 0; }
.hero-title .w { display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 180ms); }
.ln-gold .w { background: linear-gradient(100deg, #b07d1c 0%, #c8962a 40%, #2f8a57 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 560px; font-size: clamp(16px, 1.25vw, 18px); color: var(--text-2); margin-bottom: 28px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.ca { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 6px 6px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 253, 247, .85); backdrop-filter: blur(8px); }
.ca-k { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.ca-v { background: none; padding: 0; color: var(--text); font-size: 13px; margin-right: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-short { display: none; }
.ca-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; color: var(--text-2); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.ca-btn:hover { color: var(--gold-ink); border-color: rgba(184, 137, 42, .5); }
.ca-btn.ok { color: var(--up); border-color: rgba(23, 122, 76, .45); }

/* ---------- hero intro reel (motion graphics) ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinR { to { rotate: 360deg; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(2.5cqi); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: 0; } }
.reel {
  position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; container-type: inline-size;
  border-radius: 32px; border: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 38%, rgba(247, 214, 128, .5), transparent 72%), rgba(255, 253, 247, .66);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -50px rgba(70, 50, 10, .5), inset 0 1px 0 rgba(255, 255, 255, .85);
  opacity: 0; transform: scale(.94); animation: introUp 1.2s var(--ease) .3s forwards;
}
.reel-glow { position: absolute; inset: -30%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(232, 193, 90, .22), transparent 28%, rgba(63, 191, 143, .14), transparent 58%, rgba(232, 193, 90, .16), transparent 85%); animation: spin 22s linear infinite; }
.reel.paused *, .reel.paused::before, .reel.paused .reel-glow { animation-play-state: paused !important; }
.sc { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 8cqi 8cqi 15cqi; opacity: 0; visibility: hidden; transform: scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.sc.play { opacity: 1; visibility: visible; transform: none; }
.vis { position: relative; }
.cap { text-align: center; }
.cap-k { display: inline-block; margin-bottom: 1.8cqi; font: 600 2.4cqi/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.cap h3 { font-size: 6.4cqi; line-height: 1.1; letter-spacing: -.03em; }
.cap p { margin-top: 1.6cqi; font-size: 3.3cqi; line-height: 1.45; color: var(--text-2); }
.sc.play .cap > * { animation: fadeUp .7s var(--ease) both; }
.sc.play .cap > :nth-child(2) { animation-delay: .08s; }
.sc.play .cap > :nth-child(3) { animation-delay: .16s; }

/* 1 · brand */
.sc-brand { display: grid; place-items: center; padding: 6cqi 6cqi 12cqi; grid-template-rows: none; }
.rip { position: absolute; inset: 0; width: 100%; height: 100%; }
.rip circle { fill: none; stroke: var(--gold-deep); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.sc.play .rip circle { animation: ripple 2.8s var(--ease) both; animation-delay: calc(var(--k) * .2s); }
@keyframes ripple { 0% { transform: scale(.3); opacity: 0; } 35% { opacity: .55; } 100% { transform: scale(1); opacity: .2; } }
.brand-mid { position: relative; text-align: center; }
.sprout { width: 13cqi; height: 13cqi; margin: 0 auto 2.4cqi; fill: none; stroke: var(--gold-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sprout > * { stroke-dasharray: 30; stroke-dashoffset: 30; }
.sc.play .sprout > * { animation: dash 1.2s var(--ease) .15s forwards; }
.word { font: 800 19cqi/1 var(--f-display); letter-spacing: -.045em; white-space: nowrap; perspective: 60cqi; }
.word span { display: inline-block; color: var(--text); opacity: 0; transform: translateY(40%) rotateX(-70deg); transform-origin: 50% 100%; }
.word .wg { background: linear-gradient(160deg, #c8962a, #8a6212); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc.play .word span { animation: ltr .9s var(--ease) forwards; animation-delay: calc(.45s + var(--i) * .07s); }
@keyframes ltr { to { opacity: 1; transform: none; } }
.sweep { display: block; width: 46cqi; height: .9cqi; margin: 2.8cqi auto 0; border-radius: 1cqi; background: linear-gradient(90deg, var(--usdt), var(--gold), var(--gold-deep)); transform: scaleX(0); }
.sc.play .sweep { animation: sweep 1s var(--ease) 1.1s forwards; }
@keyframes sweep { to { transform: scaleX(1); } }
.tag { margin-top: 3cqi; font: 500 3.2cqi/1.3 var(--f-mono); color: var(--text-2); opacity: 0; }
.sc.play .tag { animation: fadeUp .8s var(--ease) 1.4s both; }

/* 2 · mint */
.halo { position: absolute; left: 50%; top: 40%; width: 38cqi; height: 38cqi; margin: -19cqi 0 0 -19cqi; border-radius: 50%; border: 1px dashed rgba(184, 137, 42, .5); animation: spinR 16s linear infinite; }
.sysbox {
  position: absolute; left: 50%; top: 40%; width: 20cqi; height: 20cqi; margin: -10cqi 0 0 -10cqi;
  display: grid; place-items: center; align-content: center; gap: .6cqi; border-radius: 5cqi; color: #1b1405;
  background: linear-gradient(145deg, var(--gold-hi), var(--gold) 50%, #c8962a);
  box-shadow: 0 0 0 1.6cqi rgba(232, 193, 90, .2), 0 3cqi 6cqi -2cqi rgba(120, 90, 20, .45);
}
.sysbox .ico { width: 9cqi; height: 9cqi; }
.sysbox small { font: 700 2.2cqi/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.sc.play .sysbox { animation: popIn .7s var(--ease) both, throb 1.7s ease-in-out .9s infinite; }
@keyframes popIn { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes throb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.mc {
  position: absolute; left: 50%; top: 40%; width: 6cqi; height: 6cqi; margin: -3cqi 0 0 -3cqi; border-radius: 50%; opacity: 0;
  display: grid; place-items: center; font: 800 3.6cqi/1 var(--f-display); color: #6b4a0a;
  background: radial-gradient(circle at 35% 30%, #fff6d0, #e8c15a 45%, #b8892a 100%);
  box-shadow: inset 0 0 0 .5cqi rgba(255, 255, 255, .35), 0 .8cqi 1.4cqi rgba(120, 90, 20, .35);
}
.mc::after { content: '+'; }
.sc.play .mc { animation: burst 1.7s var(--ease) infinite; animation-delay: calc(.55s + var(--t) * .11s); }
@keyframes burst { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 12% { opacity: 1; } 72% { opacity: 1; } 100% { transform: translate(calc(var(--x) * 1cqi), calc(var(--y) * 1cqi)) scale(1); opacity: 0; } }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; white-space: nowrap; }
.ticker small { display: block; margin-bottom: 1cqi; font: 600 2.3cqi/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker b { font: 700 7.6cqi/1 var(--f-display); letter-spacing: -.02em; color: var(--text); }
.sc.play .ticker { animation: fadeUp .7s var(--ease) .3s both; }

/* 3 · burn */
.wal { position: absolute; top: 6cqi; width: 16cqi; padding: 2.2cqi 0; display: grid; justify-items: center; gap: 1cqi; border-radius: 3.4cqi; color: var(--gold-deep); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 2cqi 4cqi -2cqi rgba(19, 38, 26, .3); }
.wal .ico { width: 6cqi; height: 6cqi; }
.wal small { font: 600 2.2cqi/1 var(--f-body); color: var(--muted); }
.wal-a { left: 2cqi; }
.wal-b { right: 2cqi; }
.sc.play .wal { animation: fadeUp .6s var(--ease) both; }
.sc.play .wal-b { animation-delay: .1s; }
.track { position: absolute; left: 19cqi; right: 19cqi; top: 13cqi; height: .5cqi; background: repeating-linear-gradient(90deg, rgba(19, 38, 26, .28) 0 1.4cqi, transparent 1.4cqi 2.8cqi); }
.tok {
  position: absolute; left: 50%; top: 13cqi; height: 8cqi; min-width: 15cqi; padding: 0 2.4cqi; display: grid; place-items: center;
  border-radius: 4cqi; font: 700 4cqi/1 var(--f-mono); color: #1b1405; opacity: 0;
  background: linear-gradient(145deg, var(--gold-hi), var(--gold)); box-shadow: 0 1.4cqi 3cqi -1cqi rgba(120, 90, 20, .5);
  transform: translate(-50%, -50%) translateX(-24cqi);
}
.tok span { grid-area: 1 / 1; }
.t99 { opacity: 0; }
.sc.play .tok { animation: tokMove 2.8s var(--ease) .35s both; }
.sc.play .t100 { animation: hideMid 2.8s .35s both; }
.sc.play .t99 { animation: showMid 2.8s .35s both; }
@keyframes tokMove {
  0% { opacity: 0; transform: translate(-50%, -50%) translateX(-24cqi) scale(.7); }
  10% { opacity: 1; transform: translate(-50%, -50%) translateX(-24cqi) scale(1); }
  38%, 58% { opacity: 1; transform: translate(-50%, -50%) translateX(0); }
  86% { opacity: 1; transform: translate(-50%, -50%) translateX(20cqi) scale(1); }
  96%, 100% { opacity: 0; transform: translate(-50%, -50%) translateX(26cqi) scale(.5); }
}
.recv { position: absolute; right: 5cqi; top: 0; padding: .8cqi 1.6cqi; border-radius: 2cqi; font: 700 2.8cqi/1 var(--f-mono); color: var(--up); background: rgba(23, 122, 76, .1); opacity: 0; }
.sc.play .recv { animation: recvPop 2.8s var(--ease) .35s both; }
@keyframes recvPop { 0%, 90% { opacity: 0; transform: translateY(2cqi); } 100% { opacity: 1; transform: none; } }
.sc.play .wal-b .ico { animation: recvBump 2.8s var(--ease) .35s both; }
@keyframes recvBump { 0%, 88% { scale: 1; } 94% { scale: 1.25; } 100% { scale: 1; } }
@keyframes hideMid { 0%, 47% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes showMid { 0%, 47% { opacity: 0; } 52%, 100% { opacity: 1; } }
.drop { position: absolute; left: 50%; top: 13cqi; width: 5.4cqi; height: 5.4cqi; display: grid; place-items: center; border-radius: 50%; font: 700 3cqi/1 var(--f-mono); color: #fff; background: var(--burn); opacity: 0; transform: translate(-50%, -50%); }
.sc.play .drop { animation: dropDown 2.8s var(--ease) .35s both; }
@keyframes dropDown {
  0%, 40% { opacity: 0; transform: translate(-50%, -50%); }
  46% { opacity: 1; transform: translate(-50%, -50%); }
  70% { opacity: 1; transform: translate(-50%, calc(-50% + 17cqi)) scale(.85); }
  78%, 100% { opacity: 0; transform: translate(-50%, calc(-50% + 20cqi)) scale(.3); }
}
.flame2 { position: absolute; left: calc(50% - 6cqi); top: 25cqi; width: 12cqi; height: 15cqi; transform-origin: 50% 100%; filter: drop-shadow(0 0 2cqi rgba(240, 116, 62, .55)); animation: flicker 1.2s ease-in-out infinite alternate; }
.sc.play .flame2 { animation: flicker 1.2s ease-in-out infinite alternate, flare 2.8s .35s both; }
@keyframes flare { 0%, 64% { scale: 1; } 72% { scale: 1.4; } 88%, 100% { scale: 1; } }
.sc-burn .ember { top: 31cqi; bottom: auto; }

/* 4 · ownership */
.code { position: absolute; left: 3cqi; right: 3cqi; top: 3cqi; padding: 3.6cqi 4.4cqi; border-radius: 4cqi; font: 500 3.7cqi/1.7 var(--f-mono); color: var(--text-2); background: #fbf7ea; border: 1px solid var(--line-2); box-shadow: 0 2.4cqi 5cqi -3cqi rgba(19, 38, 26, .3); }
.c-k { color: var(--text); }
.c-f { color: #4f6fcc; }
.c-a { color: var(--gold-ink); }
.ln2 b { font-weight: 600; color: var(--gold-ink); transition: color .3s; }
.ln2 b.set { color: var(--up); }
.sc.play .code { animation: fadeUp .6s var(--ease) both; }
.ln1 { clip-path: inset(0 100% 0 0); }
.sc.play .ln1 { animation: typeIn .7s steps(15) .25s forwards; }
@keyframes typeIn { to { clip-path: inset(0 0 0 0); } }
.ln2 { opacity: 0; }
.sc.play .ln2 { animation: fadeUp .4s var(--ease) .95s both; }
.shield { position: absolute; left: 50%; bottom: 0; width: 17cqi; height: 17cqi; margin-left: -8.5cqi; display: grid; place-items: center; border-radius: 50%; color: var(--up); background: rgba(23, 122, 76, .1); border: 1px solid rgba(23, 122, 76, .3); opacity: 0; }
.shield .ico { width: 9cqi; height: 9cqi; }
.sc.play .shield { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) 2.1s both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.burst { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--up); opacity: 0; }
.sc.play .burst { animation: ringOut 1s var(--ease) 2.25s both; }
@keyframes ringOut { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }

/* progress + pause */
.reel-bar { position: absolute; left: 8cqi; right: 8cqi; bottom: 4cqi; display: flex; align-items: center; gap: 1.6cqi; }
.seg-btn { flex: 1; height: max(24px, 5cqi); display: flex; align-items: center; }
.seg-btn i { position: relative; display: block; width: 100%; height: max(3px, .7cqi); border-radius: 2px; overflow: hidden; background: rgba(19, 38, 26, .12); }
.seg-btn i::after { content: ''; position: absolute; inset: 0; background: var(--gold-deep); transform-origin: 0 50%; transform: scaleX(0); }
.seg-btn.done i::after { transform: scaleX(1); }
.seg-btn.on i::after { animation: segFill var(--dur, 4s) linear forwards; }
@keyframes segFill { to { transform: scaleX(1); } }
.reel-pause { flex: none; width: max(28px, 5.6cqi); height: max(28px, 5.6cqi); margin-left: 1cqi; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .75); }
.reel-pause span { width: 8px; height: 10px; border-left: 2px solid var(--text); border-right: 2px solid var(--text); }
.reel.paused .reel-pause span { width: 0; height: 0; margin-left: 2px; border-right: 0; border-left: 8px solid var(--text); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.hero-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 253, 247, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hs { padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.hs + .hs { border-left: 1px solid var(--line); }
.hs-k, .tile-k { font: 600 11px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-v { font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--f-display); letter-spacing: -.02em; }
.hs-s, .tile-s { font-size: 13px; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(232, 193, 90, .16), rgba(63, 191, 143, .1)); overflow: hidden; }
.mq-row { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; align-items: center; gap: 34px; flex: none; padding-right: 34px; animation: marquee 38s linear infinite; }
.mq-track span { font: 700 clamp(26px, 3.4vw, 46px)/1 var(--f-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(160, 115, 25, .75); white-space: nowrap; }
.mq-track span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.mq-track i { font-style: normal; color: var(--gold-deep); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(68px, 8.5vw, 112px) 0; }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head-left { margin: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.kicker b { font: 500 12px/1 var(--f-mono); color: var(--muted); padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 999px; letter-spacing: 0; }
.sec-head h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h2 em, .cta h2 em { font-style: normal; background: linear-gradient(100deg, #a8761a, #c08c22 50%, #2f8a57); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { margin-top: 20px; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.sec-head p a { color: var(--gold-ink); border-bottom: 1px solid rgba(184, 137, 42, .45); }

/* cards: pointer-follow glow */
.card {
  position: relative; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffffb, var(--surface) 60%);
  box-shadow: 0 1px 2px rgba(19, 38, 26, .04), 0 18px 40px -30px rgba(19, 38, 26, .35);
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 193, 90, .16), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }

/* scroll reveal (only hidden once JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s; transition-delay: var(--rd, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- kissan gold teaser ---------- */
.gold { padding: clamp(56px, 7vw, 96px) 0 0; }
.gold-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
  border-radius: 32px; border: 1px solid rgba(184, 137, 42, .35);
  background:
    radial-gradient(60% 90% at 22% 50%, rgba(247, 214, 128, .75), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(232, 193, 90, .3), transparent 70%),
    linear-gradient(135deg, #fff9ea, #f7ecd0 60%, #f1e2b8);
  box-shadow: 0 40px 80px -50px rgba(120, 85, 10, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.gold-band::after { /* a slow light sweep across the whole band */
  content: ''; position: absolute; inset: -50% -20%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  animation: bandSweep 7s var(--ease) infinite;
}
@keyframes bandSweep { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
.gold-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gold-dust i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #fff3c4, #d9a63a 60%, transparent 70%); opacity: 0; animation: dustUp 7s linear infinite; }
.gold-dust i:nth-child(1) { left: 8%; animation-delay: 0s; }
.gold-dust i:nth-child(2) { left: 18%; animation-delay: 2.4s; width: 4px; height: 4px; }
.gold-dust i:nth-child(3) { left: 31%; animation-delay: 4.1s; }
.gold-dust i:nth-child(4) { left: 44%; animation-delay: 1.2s; width: 5px; height: 5px; }
.gold-dust i:nth-child(5) { left: 58%; animation-delay: 3.3s; width: 4px; height: 4px; }
.gold-dust i:nth-child(6) { left: 71%; animation-delay: .6s; }
.gold-dust i:nth-child(7) { left: 83%; animation-delay: 5.2s; width: 5px; height: 5px; }
.gold-dust i:nth-child(8) { left: 93%; animation-delay: 2s; width: 4px; height: 4px; }
@keyframes dustUp { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-420px) translateX(20px); } }

.medal { position: relative; width: min(100%, 360px); aspect-ratio: 1; justify-self: center; }
.medal-rays { position: absolute; inset: -14%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(232, 193, 90, .32) 0 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 35%, transparent 70%); animation: spin 40s linear infinite; }
.medal-ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(184, 137, 42, .55); animation: spin 60s linear infinite reverse; }
.medal-orbit { position: absolute; inset: -4%; border-radius: 50%; animation: spin 9s linear infinite; }
.medal-orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle, #fff6d0, #e8c15a 55%, #b8892a); box-shadow: 0 0 12px 3px rgba(232, 193, 90, .8); }
.medal-orbit-2 { inset: 8%; animation-duration: 14s; animation-direction: reverse; }
.medal-orbit-2 i { width: 7px; height: 7px; margin-left: -3.5px; background: var(--usdt); box-shadow: 0 0 10px 2px rgba(31, 158, 116, .5); }
.medal-face {
  position: absolute; inset: 12%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 28%, #fffef8, #fbf1d6 62%, #f2dfa8);
  box-shadow: 0 0 0 3px rgba(184, 137, 42, .55), 0 0 0 12px rgba(232, 193, 90, .2), 0 30px 60px -24px rgba(110, 75, 5, .6), 0 0 90px -10px rgba(232, 193, 90, .9);
  animation: float 6s ease-in-out infinite;
}
.medal-face picture { position: absolute; inset: 17%; }
.medal-face img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(120, 85, 10, .35)); }
.medal-shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); transform: translateX(-70%); animation: shine 4.5s var(--ease) 1s infinite; mix-blend-mode: soft-light; }
@keyframes shine { 0% { transform: translateX(-70%); } 40%, 100% { transform: translateX(70%); } }

.gold-copy { position: relative; }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); background: rgba(255, 253, 247, .75); border: 1px solid rgba(184, 137, 42, .4); }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); animation: goldPing 1.8s infinite; }
@keyframes goldPing { 0% { box-shadow: 0 0 0 0 rgba(184, 137, 42, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(184, 137, 42, 0); } }
.gold-copy h2 { margin-top: 20px; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.045em; }
.gold-copy h2 em { font-style: normal; background: linear-gradient(100deg, #8a6212, #c99a2e 30%, #e6c062 45%, #b8892a 60%, #8a6212); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShimmer 4s linear infinite; }
@keyframes goldShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.gold-lede { margin-top: 14px; font: 600 clamp(18px, 1.8vw, 22px)/1.35 var(--f-display); color: var(--text); }
.gold-launch { margin-top: 26px; font: 700 clamp(26px, 3vw, 38px)/1 var(--f-display); letter-spacing: -.02em; color: var(--gold-ink); }
.dots i { font-style: normal; animation: blink 1.4s infinite both; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .15; } 40% { opacity: 1; } }
.gold-note { margin-top: 14px; max-width: 460px; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.gold-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- market ---------- */
.mkt { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.chart-card { grid-column: span 8; padding: 26px 26px 18px; display: flex; flex-direction: column; }
.tiles { grid-column: span 4; display: grid; grid-template-rows: repeat(4, 1fr); gap: 18px; }
.tile { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.tile-v { font: 700 clamp(24px, 2.3vw, 32px)/1.1 var(--f-display); letter-spacing: -.02em; }
.cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-pair { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--f-mono); color: var(--text-2); }
.cc-pair img { border-radius: 50%; }
.cc-price { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; }
.cc-price b { font: 700 clamp(40px, 4.4vw, 58px)/1 var(--f-display); letter-spacing: -.03em; }
.delta { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font: 600 13px/1 var(--f-mono); background: rgba(19, 38, 26, .05); color: var(--text-2); }
.delta.up { background: rgba(23, 122, 76, .1); color: var(--up); }
.delta.down { background: rgba(194, 65, 45, .1); color: var(--down); }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(19, 38, 26, .04); }
.tabs button { padding: 7px 12px; border-radius: 8px; font: 600 12px/1 var(--f-mono); color: var(--muted); transition: color .2s, background .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: #1b1405; background: var(--gold); }
.chart { position: relative; flex: 1; min-height: 300px; margin: 0 -6px; touch-action: pan-y; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-msg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.chart-msg a { color: var(--gold-ink); }
.c-grid line { stroke: rgba(19, 38, 26, .08); stroke-width: 1; }
.c-axis text { fill: var(--muted); font: 500 11px var(--f-mono); font-variant-numeric: tabular-nums; }
.c-line { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-area { fill: url(#areaG); }
.c-end { fill: var(--gold-deep); stroke: var(--surface); stroke-width: 2; }
.c-end-label { fill: var(--text); font: 600 12px var(--f-mono); }
.c-cross line { stroke: rgba(19, 38, 26, .3); stroke-width: 1; }
.c-cross circle { fill: var(--gold-deep); stroke: var(--surface); stroke-width: 2; }
.c-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) forwards; }
.c-fade { opacity: 0; animation: introUp 1s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tip {
  position: absolute; top: 0; left: 0; pointer-events: none; z-index: 2; min-width: 132px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 253, 247, .97);
  font: 500 12px/1.5 var(--f-mono); color: var(--text-2); box-shadow: 0 12px 28px -12px rgba(19, 38, 26, .35);
  opacity: 0; transition: opacity .15s;
}
.tip b { display: block; font: 700 16px/1.3 var(--f-display); color: var(--text); }
.tip.show { opacity: 1; }
.cc-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.dtable summary { cursor: pointer; color: var(--text-2); list-style: none; }
.dtable summary::-webkit-details-marker { display: none; }
.dtable summary::after { content: ' ▾'; }
.dtable[open] summary::after { content: ' ▴'; }
.dtable-in { max-height: 240px; overflow: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; }
.dtable table { border-collapse: collapse; font: 12px var(--f-mono); font-variant-numeric: tabular-nums; }
.dtable th, .dtable td { padding: 6px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable th:first-child, .dtable td:first-child { text-align: left; }
.dtable th { position: sticky; top: 0; background: var(--surface-2); color: var(--text-2); font-weight: 500; }

.pool { grid-column: span 12; display: grid; grid-template-columns: auto 1fr 1.1fr; align-items: center; gap: 36px; padding: 26px 30px; }
.pool-id { display: flex; align-items: center; gap: 16px; }
.pool-id h3 { font-size: 20px; margin-bottom: 4px; }
.pair-ico { position: relative; width: 64px; height: 44px; }
.pair-ico img { border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.usdt-ico { position: absolute; left: 24px; top: 4px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #26a17b; color: #fff; font: 700 20px/1 var(--f-body); box-shadow: 0 0 0 3px var(--surface); }
.mono-link { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1.3 var(--f-mono); color: var(--text-2); transition: color .2s; }
.mono-link:hover { color: var(--gold-ink); }
.pool-res { display: grid; grid-template-columns: repeat(3, max-content); gap: 18px 36px; }
.pool-res .tile-k { white-space: nowrap; }
.pool-res b { display: block; margin-top: 6px; font: 700 22px/1.1 var(--f-display); letter-spacing: -.01em; }
.pool-lock p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.meter-head b { font: 700 22px/1 var(--f-display); color: var(--text); }
.meter { position: relative; display: flex; gap: 2px; height: 12px; border-radius: 4px; background: rgba(108, 138, 224, .14); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c2); transition: width 1.6s var(--ease); }
.meter-2 { background: transparent; }
.seg-pool { background: var(--c1); }
.seg-wallet { background: var(--c2); }

/* ---------- flow ---------- */
.flow-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.flow-vis { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hdr) + 28px); padding: 22px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 45%, rgba(232, 193, 90, .14), transparent 70%), var(--surface); box-shadow: 0 24px 50px -36px rgba(19, 38, 26, .4); }
.flow-steps { grid-column: 1; grid-row: 1; }
.fv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; min-height: 30px; }
.fv-n { font: 500 12px/1 var(--f-mono); color: #1b1405; background: var(--gold); padding: 6px 9px; border-radius: 999px; }
.fv-t { font: 600 16px/1.2 var(--f-display); color: var(--text); }
.fv-t.swap { animation: introUp .5s var(--ease); }
.fv { position: relative; aspect-ratio: 600 / 520; }
.fv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fp { fill: none; stroke: rgba(19, 38, 26, .1); stroke-width: 2; stroke-linecap: round; transition: stroke .5s, opacity .5s; }
.fp.on { stroke-width: 3; stroke-dasharray: 2 11; animation: flowDash 1.1s linear infinite; }
.fp.on[data-tok="usdt"] { stroke: var(--usdt); filter: drop-shadow(0 0 4px rgba(31, 158, 116, .4)); }
.fp.on[data-tok="ksn"] { stroke: var(--gold-deep); filter: drop-shadow(0 0 4px rgba(232, 193, 90, .6)); }
.fp.on[data-tok="lp"] { stroke: var(--c2); filter: drop-shadow(0 0 4px rgba(108, 138, 224, .45)); }
.fp.on[data-tok="burn"] { stroke: var(--burn); filter: drop-shadow(0 0 4px rgba(217, 87, 42, .4)); }
.fp.on[data-tok="mix"] { stroke: #c8962a; filter: drop-shadow(0 0 4px rgba(31, 158, 116, .45)); }
.fp.on[data-tok="info"] { stroke: rgba(19, 38, 26, .45); stroke-width: 1.5; stroke-dasharray: 5 7; }
@keyframes flowDash { to { stroke-dashoffset: -26; } }
.node {
  position: absolute; left: calc(var(--x) / 600 * 100%); top: calc(var(--y) / 520 * 100%); transform: translate(-50%, -50%);
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center;
  padding: 9px 13px 9px 9px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2);
  box-shadow: 0 12px 26px -16px rgba(19, 38, 26, .4); white-space: nowrap; transition: border-color .4s, box-shadow .4s;
}
.node-ico { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--gold-deep); background: rgba(232, 193, 90, .18); }
.node b { font: 600 14px/1.15 var(--f-display); }
.node small { font: 500 11px/1.2 var(--f-mono); color: var(--muted); }
.node-sys { padding: 12px 16px 12px 12px; border-color: rgba(184, 137, 42, .55); box-shadow: 0 0 0 6px rgba(232, 193, 90, .16), 0 0 34px -6px rgba(232, 193, 90, .7); }
.node-sys .node-ico { width: 40px; height: 40px; color: #1b1405; background: var(--gold); }
.node-burn .node-ico { color: var(--burn); background: rgba(217, 87, 42, .12); }
.fl {
  position: absolute; left: calc(var(--x) / 600 * 100%); top: calc(var(--y) / 520 * 100%);
  transform: translate(-50%, -50%) scale(.9); padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  font: 600 12px/1 var(--f-mono); color: var(--text); background: rgba(255, 253, 247, .96); border: 1px solid var(--line-2);
  opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none;
}
.fl.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fv-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12px; color: var(--text-2); }
.fv-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fv-legend i { width: 14px; height: 3px; border-radius: 2px; }
.tok-usdt { background: var(--usdt); }
.tok-ksn { background: var(--gold-deep); }
.tok-lp { background: var(--c2); }
.tok-burn { background: var(--burn); }
.fstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .28; transition: opacity .5s var(--ease); }
.fstep.on { opacity: 1; }
.fstep-n { font: 700 72px/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(160, 115, 25, .6); margin-bottom: 14px; }
.fstep.on .fstep-n { color: rgba(232, 193, 90, .3); }
.fstep h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-bottom: 16px; }
.fstep p { color: var(--text-2); font-size: 17px; max-width: 480px; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .65); font-size: 15px; color: var(--text-2); }
.facts b { min-width: 64px; font: 700 20px/1 var(--f-display); color: var(--gold-ink); }

/* ---------- supply ---------- */
.sup { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.sup-hero { grid-row: span 2; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.sup-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sup-num b { font: 700 clamp(48px, 6vw, 84px)/1 var(--f-display); letter-spacing: -.04em; background: linear-gradient(100deg, var(--text) 30%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sup-num span { font: 500 15px/1 var(--f-mono); color: var(--muted); }
.delta-flat { align-self: flex-start; background: rgba(232, 193, 90, .2); color: var(--gold-ink); }
.growth { display: grid; gap: 12px; margin: 10px 0 6px; }
.g-row { display: grid; grid-template-columns: 74px 1fr 82px; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.g-row b { font: 600 14px/1 var(--f-mono); color: var(--text); text-align: right; }
.g-track { position: relative; height: 14px; }
.g-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 0 4px 4px 0; transition: width 1.6s var(--ease); }
.g-launch { background: rgba(19, 38, 26, .16); }
.g-now { background: var(--c1); transition-delay: .2s; }
.sup-launch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.sup-launch b { display: block; margin-top: 6px; font: 700 20px/1.15 var(--f-display); }
.mech { padding: 26px; }
.mech h3 { font-size: 20px; margin: 18px 0 10px; }
.mech p { font-size: 15px; color: var(--text-2); }
.mech-art { position: relative; height: 120px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.mech-mint .mech-art { background: radial-gradient(circle at 50% 60%, rgba(232, 193, 90, .35), transparent 65%), rgba(19, 38, 26, .035); }
.mech-burn .mech-art { background: radial-gradient(circle at 50% 75%, rgba(240, 116, 62, .25), transparent 65%), rgba(19, 38, 26, .035); }
.mint-coin { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(184, 137, 42, .5), 0 0 30px rgba(232, 193, 90, .7); animation: mintDrop 2.4s var(--ease) infinite; }
@keyframes mintDrop { 0% { transform: translateY(-70px) scale(.6); opacity: 0; } 30% { transform: translateY(0) scale(1.08); opacity: 1; } 42% { transform: scale(1); } 85% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.spark { position: absolute; left: 50%; top: 50%; font: 700 18px/1 var(--f-display); color: var(--gold-deep); opacity: 0; animation: spark 2.4s var(--ease) infinite; }
.s1 { --tx: -52px; --ty: -26px; animation-delay: .7s; }
.s2 { --tx: 48px; --ty: -32px; animation-delay: .78s; }
.s3 { --tx: -40px; --ty: 30px; animation-delay: .86s; }
.s4 { --tx: 56px; --ty: 22px; animation-delay: .74s; }
@keyframes spark { 0% { opacity: 0; transform: translate(-50%, -50%); } 15% { opacity: 1; } 60%, 100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))); } }
.flame { width: 70px; height: 90px; transform-origin: 50% 100%; animation: flicker 1.3s ease-in-out infinite alternate; filter: drop-shadow(0 0 12px rgba(240, 116, 62, .55)); }
.fl-inner { transform-origin: 50% 100%; animation: flicker 0.9s ease-in-out infinite alternate-reverse; }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.96, 1.06) skewX(2deg); } 100% { transform: scale(1.03, .95) skewX(-2deg); } }
.ember { position: absolute; bottom: 22px; width: 4px; height: 4px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 8px #f0743e; opacity: 0; animation: ember 2.2s linear infinite; }
.e1 { left: 46%; animation-delay: .2s; }
.e2 { left: 54%; animation-delay: .9s; }
.e3 { left: 50%; animation-delay: 1.5s; }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(12px, -96px); } }
.dist { grid-column: 2 / span 2; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 30px; align-items: start; }
.dist .meter-head, .dist .meter { grid-column: 1 / -1; }
.dist .meter { margin-bottom: 4px; }
.legend { display: grid; gap: 8px; }
.legend > div { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.legend b { font: 600 14px/1 var(--f-mono); color: var(--text); }
.legend em { font: 500 12px/1 var(--f-mono); font-style: normal; color: var(--muted); min-width: 46px; text-align: right; }
.sw { width: 12px; height: 12px; border-radius: 3px; }
.sw-1 { background: var(--c1); }
.sw-2 { background: var(--c2); }
.sw-3 { background: var(--c3); }
.dist > * { min-width: 0; }
.api { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.nw { white-space: nowrap; }
.api-row { display: flex; align-items: center; gap: 8px; }
.api-row code { flex: 1; min-width: 0; font-size: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); background: rgba(19, 38, 26, .04); border: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- engine ---------- */
.eng { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eng .tile { min-height: 150px; }
.split, .paid { grid-column: span 2; padding: 28px; }
.split h3, .paid h3 { font-size: 20px; margin-bottom: 6px; }
.card-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.split h3 { margin-bottom: 24px; }
.stack { display: flex; gap: 2px; height: 56px; margin-bottom: 22px; }
.seg { position: relative; display: grid; place-items: center; height: 100%; width: 0; flex: none; transition: width 1.5s var(--ease); }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.split.in .seg { width: calc(var(--w) * 1% - 2px); }
.seg b { font: 700 18px/1 var(--f-display); color: var(--text); }
.seg-1 { background: var(--c1); transition-delay: .1s; }
.seg-2 { background: var(--c2); transition-delay: .25s; }
.seg-3 { background: var(--c3); transition-delay: .4s; }
.legend-row > div { grid-template-columns: auto 1fr auto; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 120px 1fr 92px; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); }
.bar-track { position: relative; height: 22px; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 0 4px 4px 0; background: var(--c1); transition: width 1.5s var(--ease); }
.bar-v { font: 600 14px/1 var(--f-mono); color: var(--text); text-align: right; }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rule { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.rule h3 { font-size: 19px; }
.rule p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.rule p b { color: var(--gold-ink); }
.rule-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--gold-deep); background: linear-gradient(135deg, rgba(232, 193, 90, .28), rgba(232, 193, 90, .08)); border: 1px solid rgba(184, 137, 42, .25); }
/* line icons draw themselves in when their card is revealed */
.js [data-reveal] .rule-ico .ico > * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
.js [data-reveal].in .rule-ico .ico > * { stroke-dashoffset: 0; }

/* ---------- passport ---------- */
.passport { display: grid; grid-template-columns: 340px 1fr; }
.pp-id { padding: 40px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid var(--line); background: radial-gradient(70% 50% at 50% 30%, rgba(232, 193, 90, .22), transparent 70%); }
.pp-coin { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin-bottom: 22px; box-shadow: 0 0 0 2px rgba(184, 137, 42, .45), 0 20px 40px -18px rgba(70, 50, 10, .45), 0 0 60px -10px rgba(232, 193, 90, .7); animation: float 7s ease-in-out infinite; }
.pp-id h3 { font-size: 26px; letter-spacing: .02em; }
.pp-sym { margin-top: 6px; font: 500 13px/1 var(--f-mono); color: var(--gold-ink); }
.pp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pp-actions .btn-gold { flex-basis: 100%; }
.pp-msg { min-height: 20px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pp-list { margin: 0; padding: 14px 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.pp-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pp-list dt { font-size: 13px; color: var(--muted); }
.pp-list dd { margin: 0; font: 500 14px/1.3 var(--f-body); color: var(--text); text-align: right; }
.pp-addr { grid-column: 1 / -1; }
.pp-addr dd { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; min-width: 0; }
.pp-addr dd a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); transition: color .2s; }
.pp-addr dd a:hover { color: var(--gold-ink); }
.pp-addr .ca-btn { width: 30px; height: 30px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.step-n { position: absolute; top: 14px; right: 20px; font: 700 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(160, 115, 25, .35); }
.step h3 { font-size: 20px; }
.step p { font-size: 14.5px; color: var(--text-2); }
.steps-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- roadmap ---------- */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 40px; }
.road-line { position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-2); border-radius: 2px; }
.road-line span { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(calc(var(--rp, 0) * .62)); background: linear-gradient(90deg, var(--usdt), var(--gold-deep)); box-shadow: 0 0 10px rgba(232, 193, 90, .6); }
.phase { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px -30px rgba(19, 38, 26, .35); }
.ph-dot { position: absolute; top: -40px; left: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.phase.done .ph-dot { border-color: var(--gold-deep); background: var(--gold); box-shadow: 0 0 0 5px rgba(232, 193, 90, .25); }
.phase.now .ph-dot { border-color: var(--gold-deep); background: var(--bg); box-shadow: 0 0 0 5px rgba(232, 193, 90, .2); animation: ping 2s infinite; }
.ph-n { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.ph-st { float: right; padding: 4px 9px; border-radius: 999px; font: 600 11px/1 var(--f-body); letter-spacing: .04em; background: rgba(19, 38, 26, .06); color: var(--text-2); }
.done .ph-st { background: rgba(232, 193, 90, .22); color: var(--gold-ink); }
.now .ph-st { background: rgba(23, 122, 76, .1); color: var(--up); }
.phase h3 { font-size: 22px; margin: 18px 0 10px; }
.phase p { font-size: 14.5px; color: var(--text-2); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--hdr) + 40px); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 30px -26px rgba(19, 38, 26, .35); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(184, 137, 42, .45); background: #fffef9; }
.faq summary { position: relative; padding: 22px 64px 22px 24px; font: 600 17px/1.35 var(--f-display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--gold-deep), var(--gold-deep)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }

/* ---------- cta ---------- */
.cta { padding: 20px 0 120px; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 32px; border: 1px solid rgba(184, 137, 42, .3); background: radial-gradient(70% 90% at 50% 0%, rgba(240, 200, 100, .45), transparent 70%), linear-gradient(180deg, #fffaf0, #f1ead6); box-shadow: 0 30px 60px -40px rgba(70, 50, 10, .45); }
.cta-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-coin { width: 120px; height: 120px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(184, 137, 42, .45), 0 20px 40px -18px rgba(70, 50, 10, .45), 0 0 70px -10px rgba(232, 193, 90, .85); animation: float 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.035em; max-width: 820px; margin: 0 auto; text-wrap: balance; }
.cta p { max-width: 560px; margin: 20px auto 0; color: var(--text-2); font-size: 17px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr-brand p { margin-top: 18px; max-width: 340px; font-size: 14px; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); }
.socials a:hover { color: var(--gold-ink); border-color: var(--gold-deep); }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col h4 { font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.ftr-col a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.ftr-col a:hover { color: var(--text); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-risk { max-width: 560px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; max-width: calc(100vw - 32px); padding: 12px 18px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font-size: 14px; text-align: center; box-shadow: 0 20px 40px -16px rgba(19, 38, 26, .45);
  opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr-actions { margin-left: auto; }
  .chart-card { grid-column: span 12; }
  .tiles { grid-column: span 12; grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .pool { grid-template-columns: 1fr 1fr; }
  .pool-lock { grid-column: 1 / -1; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sup { grid-template-columns: 1fr 1fr; }
  .sup-hero { grid-column: 1 / -1; grid-row: auto; }
  .dist { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .reel { width: min(100%, 440px); order: -1; margin-bottom: 18px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hs:nth-child(3) { border-left: 0; }
  .hs:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow-grid { display: block; }
  .flow-vis { position: sticky; top: calc(var(--hdr) + 8px); z-index: 2; max-width: 560px; margin: 0 auto; padding: 12px 12px 10px; border-radius: 20px; background: var(--surface); box-shadow: 0 24px 40px -10px var(--bg), 0 0 0 1px var(--line); }
  .flow-steps { max-width: 560px; margin: 0 auto; }
  .fstep { min-height: 62vh; padding-top: 40px; }
  .fstep-n { font-size: 48px; }
  .eng { grid-template-columns: repeat(2, 1fr); }
  .passport { grid-template-columns: 1fr; }
  .pp-id { border-right: 0; border-bottom: 1px solid var(--line); }
  .road { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .road-line { display: none; }
  .ph-dot { display: none; }
  .gold-band { grid-template-columns: 1fr; text-align: center; }
  .medal { width: min(70vw, 320px); }
  .gold-note { margin-left: auto; margin-right: auto; }
  .gold-actions { justify-content: center; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .sec-head { position: static; margin-bottom: 36px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .brand-txt { font-size: 18px; }
  .hero { padding-top: calc(var(--hdr) + 16px); }
  .reel { border-radius: 24px; }
  .btn { height: 48px; padding: 0 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .ca { display: flex; }
  .ca-full { display: none; }
  .ca-short { display: inline; }
  .hs { padding: 16px; }
  .chart-card { padding: 20px 16px 14px; }
  .chart { min-height: 240px; }
  .tiles { gap: 12px; }
  .tile { padding: 18px; }
  .pool { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; }
  .pool-res { grid-template-columns: 1fr 1fr; }
  .mkt, .sup, .eng, .sec-grid { gap: 12px; }
  .sup { grid-template-columns: 1fr; }
  .dist { grid-template-columns: minmax(0, 1fr); }
  .api-row code { font-size: 11px; padding: 8px; white-space: normal; overflow-wrap: anywhere; }
  .eng { grid-template-columns: 1fr 1fr; }
  .eng .tile { min-height: 0; }
  .split, .paid { grid-column: 1 / -1; padding: 22px 18px; }
  .bar { grid-template-columns: 96px 1fr 78px; gap: 10px; font-size: 13px; }
  .sec-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .pp-list { grid-template-columns: 1fr; padding: 8px 18px; }
  .pp-id { padding: 32px 18px; }
  .node { padding: 5px 8px 5px 5px; column-gap: 6px; border-radius: 10px; }
  .node-ico { width: 24px; height: 24px; border-radius: 7px; }
  .node-ico .ico { width: 14px; height: 14px; }
  .node b { font-size: 11px; }
  .node small { display: none; }
  .node-sys { padding: 7px 10px 7px 7px; }
  .node-sys .node-ico { width: 28px; height: 28px; }
  .fl { font-size: 9.5px; padding: 3px 6px; }
  .fv-head { margin-bottom: 4px; }
  .fv-t { font-size: 14px; }
  .fv-legend { gap: 6px 12px; margin-top: 8px; font-size: 11px; }
  .fstep { min-height: 70vh; }
  .fstep p { font-size: 16px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

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