:root {
  --bg: #0a0c0b;
  --bg2: #101412;
  --card: #121715;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #f4f7f5;
  --mute: #8d9a94;
  --acc: #52f5a5;
  --acc-d: rgba(82, 245, 165, .12);
  --bad: #ff6b7a;
  --warn: #ffc857;
  --r: 16px;
  --disp: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --px: "Silkscreen", var(--mono);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.mono { font-family: var(--mono); }
.px { font-family: var(--px); font-size: 12px; letter-spacing: .06em; color: var(--acc); text-transform: uppercase; }
.muted { color: var(--mute); }
.pad { padding: 22px 16px; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 75% 10%, rgba(82, 245, 165, .10), transparent 60%),
    radial-gradient(700px 600px at 0% 80%, rgba(82, 245, 165, .05), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px;
}
.bg-grid::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); opacity: .5; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--acc); color: #04140c; box-shadow: 0 0 0 0 rgba(82, 245, 165, .4); }
.btn-main:hover { box-shadow: 0 0 28px rgba(82, 245, 165, .35); transform: translateY(-1px); }
.btn-main:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--acc); background: var(--acc-d); }
.btn-ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.danger:hover { border-color: var(--bad); background: rgba(255, 107, 122, .1); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(10, 12, 11, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.brand-word { font: 900 17px/1 var(--disp); letter-spacing: .02em; }
.brand-word.sm { font-size: 13px; }
.cursor { color: var(--acc); animation: blink 1s steps(1) infinite; font-size: 15px; }
@keyframes blink { 50% { opacity: 0; } }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--mute); font-size: 14px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--text); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) 36px; max-width: 1280px; margin: 0 auto; }
.hero-copy { min-width: 0; container-type: inline-size; }
.eyebrow { margin: 0 0 18px; color: var(--mute); font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.eyebrow .px { padding: 4px 8px; border: 1px solid var(--acc); border-radius: 6px; }
h1 { margin: 0; font: 900 clamp(26px, 7.6cqi, 76px)/1.02 var(--disp); letter-spacing: -.035em; }
h1 span { display: block; }
h1 .acc { color: var(--acc); text-shadow: 0 0 40px rgba(82, 245, 165, .25); }
.lede { color: #c6d0cb; font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin: 22px 0 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--mute); font-size: 13.5px; }
.hero-facts li::before { content: "▮ "; color: var(--acc); font-size: 10px; }
.hero-facts b { color: var(--text); font-weight: 600; }

.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-mascot { width: min(400px, 82%); }
.hud { position: absolute; background: rgba(14, 19, 17, .86); backdrop-filter: blur(10px); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.hud::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(82, 245, 165, .6), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hud-replay { right: 0; bottom: 6px; width: min(300px, 78%); padding: 14px 16px; }
.hud-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.live-dot { font: 600 11px var(--mono); color: var(--acc); display: flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(82, 245, 165, .6); } 100% { box-shadow: 0 0 0 9px rgba(82, 245, 165, 0); } }
.hud-q { margin: 0 0 10px; font-size: 13px; color: #c6d0cb; line-height: 1.4; }
.hud-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); padding: 4px 0; border-top: 1px dashed var(--line); }
.hud-row b { color: var(--text); }
.hud-verdict { margin-top: 8px; font-weight: 600; font-size: 14px; }
.hud-chip { left: 0; top: 34px; padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 8px; max-width: 78%; }
.hud-chip img { width: 22px; height: 22px; border-radius: 6px; }
.up { color: var(--acc); }
.down { color: var(--bad); }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: rgba(16, 20, 18, .7); overflow: hidden; }
.ticker-track { display: flex; gap: 34px; padding: 12px 0; width: max-content; animation: tick 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; text-decoration: none; }
.tick img, .coin img, .pick img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #1c2320; }
.tick b { font-weight: 700; }
.tick .mono { color: var(--mute); }

/* sections */
.sec { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; }
.label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--mute); font-size: 14px; text-transform: lowercase; }
h2 { margin: 0 0 28px; font: 800 clamp(26px, 4.4vw, 46px)/1.08 var(--disp); letter-spacing: -.03em; max-width: 22ch; }
h3 { margin: 0; font: 700 18px/1.3 var(--disp); letter-spacing: -.01em; }
.sub { margin: 6px 0 0; color: var(--mute); font-size: 14px; }

/* flow */
.flow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: stretch; }
.node { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.node:hover { border-color: rgba(82, 245, 165, .45); transform: translateY(-3px); }
.node .n { font: 400 12px var(--px); color: #04140c; background: var(--acc); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; }
.node b { font: 700 17px var(--disp); }
.node small { color: var(--mute); font-size: 13.5px; line-height: 1.5; flex: 1; }
.pipe { display: grid; align-items: center; }
.pipe span { height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flowpipe 1s linear infinite; opacity: .7; }
@keyframes flowpipe { to { background-position: 24px 0; } }
.mini-bag { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.mini-bag i { width: var(--w); background: var(--acc); opacity: .9; }
.mini-bag i:nth-child(2) { opacity: .65; } .mini-bag i:nth-child(3) { opacity: .45; } .mini-bag i:nth-child(4) { opacity: .3; }
.mini-bag.load i { background: #fff; }
.mini-prog { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mini-prog i { display: block; height: 100%; width: 40%; background: repeating-linear-gradient(90deg, var(--acc) 0 8px, rgba(82, 245, 165, .5) 8px 10px); animation: prog 2.8s ease-in-out infinite; }
@keyframes prog { 0% { width: 5%; } 70%, 100% { width: 100%; } }
.mini-file { font: 12px var(--mono); color: var(--acc); background: var(--acc-d); border-radius: 6px; padding: 4px 8px; align-self: flex-start; }

/* app */
.app { background: linear-gradient(180deg, rgba(18, 23, 21, .96), rgba(13, 17, 15, .96)); border: 1px solid var(--line2); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.tabs { display: flex; gap: 4px; background: rgba(255, 255, 255, .04); padding: 4px; border-radius: 12px; }
.tab { border: 0; background: transparent; color: var(--mute); padding: 9px 16px; border-radius: 9px; font: 600 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--acc); color: #04140c; }
.app-wallet { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wallet-state { font: 13px var(--mono); color: var(--mute); }
.pane { display: none; padding: 18px; }
.pane.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.pane-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 14px; }
.pane-head > div { min-width: 0; flex: 1 1 300px; }
.peek, .check-form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 520px; }
input, select { background: rgba(0, 0, 0, .35); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 14px var(--mono); min-width: 0; }
input { flex: 1; }
input:focus, select:focus { outline: none; border-color: var(--acc); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 400 11px var(--px); color: var(--mute); letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255, 255, 255, .025); }
.r { text-align: right; }
.c-check { width: 34px; }
td.num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coin b { display: block; font-weight: 700; }
.coin small { display: block; color: var(--mute); font: 11px var(--mono); }
input[type=checkbox] { accent-color: var(--acc); width: 17px; height: 17px; flex: none; cursor: pointer; }
.press { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; font: inherit; text-align: left; }
.meter { width: 54px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; flex: none; }
.meter i { display: block; height: 100%; border-radius: 3px; }
.lv { font-size: 13px; font-weight: 600; white-space: nowrap; }
.lv-low { color: var(--acc); } .lv-mid { color: var(--warn); } .lv-high { color: var(--bad); }
.why td { background: rgba(0, 0, 0, .2); padding-top: 4px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.reasons li { display: flex; gap: 8px; align-items: baseline; }
.reasons li::before { content: "▮"; font-size: 9px; color: var(--acc); flex: none; }
.reasons li.bad::before { color: var(--bad); }
.reasons li.mid::before { color: var(--warn); }

.save-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(82, 245, 165, .04); }
.save-sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.save-sum b { font-size: 24px; }
.save-opts { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.save-opts label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mute); }

.console { margin-top: 14px; background: #050706; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 13px/1.7 var(--mono); max-height: 260px; overflow: auto; }
.console p { margin: 0; overflow-wrap: anywhere; }
.console .ok { color: var(--acc); } .console .er { color: var(--bad); } .console .wa { color: var(--warn); }
.console a { color: var(--acc); }

/* tracker */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.slot { text-align: left; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); border-radius: 12px; padding: 12px 14px; color: var(--text); cursor: pointer; font: inherit; transition: border-color .2s, background .2s; min-width: 0; }
.slot:hover { border-color: var(--line2); }
.slot.on { border-color: var(--acc); background: var(--acc-d); }
.slot small { display: block; color: var(--mute); font-size: 12px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: rgba(255, 255, 255, .02); min-width: 0; }
.tile span { display: block; font: 400 11px var(--px); color: var(--mute); letter-spacing: .05em; margin-bottom: 6px; }
.tile b { font: 600 clamp(18px, 2.2vw, 24px) var(--mono); display: block; overflow-wrap: anywhere; }
.tile.big { border-color: rgba(82, 245, 165, .4); }
.verdict { font: 700 clamp(18px, 2.4vw, 24px)/1.25 var(--disp); margin: 0 0 14px; letter-spacing: -.01em; }
.wins { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.wins button { border: 1px solid var(--line2); background: transparent; color: var(--mute); padding: 6px 12px; border-radius: 8px; font: 600 13px var(--mono); cursor: pointer; }
.wins button.on { border-color: var(--acc); color: var(--acc); background: var(--acc-d); }
.spark { width: 100%; height: 90px; display: block; margin: 4px 0 14px; }
.file-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.file-in { position: relative; overflow: hidden; }
.file-in input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.note { font-size: 13px; color: var(--mute); margin: 12px 0 0; }
.load-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0 0; }
.load-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mute); }
.load-row input { width: 160px; flex: none; }

/* check */
.check-head .lede { margin: -10px 0 22px; }
.check-picks { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.pick { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--text); border-radius: 999px; padding: 6px 12px 6px 6px; font: 600 13px var(--body); cursor: pointer; transition: border-color .2s; }
.pick:hover, .pick.on { border-color: var(--acc); }
.check-out { background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: clamp(16px, 2.5vw, 26px); }
.ck-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ck-top img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #1c2320; }
.ck-top h3 { font-size: 22px; }
.ck-top .gauge { margin-left: auto; text-align: right; }
.gauge b { font: 700 30px var(--mono); display: block; }
.ck-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.ck-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(0, 0, 0, .18); min-width: 0; }
.ck-card h4 { margin: 0 0 12px; font: 400 12px var(--px); color: var(--acc); letter-spacing: .05em; }
.groups { display: grid; gap: 8px; }
.grp { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.grp .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.grp .bar i { display: block; height: 100%; background: var(--bad); }
.grp code { font: 12px var(--mono); color: var(--mute); }
.grp a { color: var(--mute); text-decoration: none; }
.grp a:hover { color: var(--acc); }
.stats4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.kols { display: flex; flex-wrap: wrap; gap: 6px; }
.kols a { font: 12px var(--mono); padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); text-decoration: none; }
.kols a:hover { background: var(--acc-d); color: var(--acc); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 18px; transition: border-color .2s; }
details[open] { border-color: rgba(82, 245, 165, .35); }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--acc); font: 400 18px var(--mono); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: #c6d0cb; font-size: 15px; }

/* token */
.token { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 5vw, 64px); align-items: center; }
.token-art { display: grid; place-items: center; }
.token-mascot { width: min(340px, 80%); }
.token h2 { font-size: clamp(34px, 6vw, 64px); }
.token .lede { margin-top: -12px; }
.ca-box { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px 14px; border: 1px dashed rgba(82, 245, 165, .5); border-radius: 12px; background: rgba(0, 0, 0, .3); max-width: 620px; }
.ca-box code { flex: 1; font: 14px var(--mono); overflow-wrap: anywhere; min-width: 0; }
.fine { font-size: 13px; color: var(--mute); margin-top: 14px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 96px; padding: 24px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* reveal: always visible after 1.5s even if JS never runs */
.reveal { animation: reveal .8s cubic-bezier(.2, .7, .3, 1) both; }
.reveal.wait { animation: none; opacity: 0; transform: translateY(16px); }
.reveal.wait.in { animation: reveal .8s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal.wait { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pipe { display: none; }
  .ck-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .token { grid-template-columns: 1fr; }
  .score { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr; }
  .hide-s { display: none; }
  .hero-art { min-height: 400px; place-items: start center; }
  .hero-mascot { width: 62%; margin-top: 46px; }
  .hud-replay { width: 86%; right: 0; }
  .hud-chip { top: 0; }
  .peek, .check-form { flex-direction: column; }
  td, th { padding: 9px 8px; }
  .meter { display: none; }
  .save-opts { width: 100%; }
  .save-opts .btn { flex: 1 1 100%; }
  .ca-box { flex-wrap: wrap; }
  .ck-top .gauge { margin-left: 0; text-align: left; }
}
