:root {
  --ink: #03060b;
  --ink2: #08111d;
  --fg: #eef4fa;
  --muted: #a3b2c3;
  --faint: #6a7b8f;
  --gold: #eef4fa;
  --gold2: #c3cfdb;
  --aqua: #8ec5ff;
  --line: rgba(200, 222, 255, 0.12);
  --glass: rgba(14, 24, 40, 0.42);
  --glass2: rgba(22, 36, 58, 0.55);
  --r: 20px;
  --sans: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
.hero { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
.gold { color: var(--fg); }
.aqua { color: var(--aqua); }

/* sky */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(180% 75% at 50% 118%, rgba(120, 175, 235, 0.42) 0%, rgba(40, 80, 140, 0.28) 30%, rgba(8, 17, 29, 0) 58%), radial-gradient(120% 80% at 50% -10%, #0b1626 0%, var(--ink) 60%); }
.sky::after { content: ""; position: absolute; left: 50%; top: 74vh; width: 320vmax; height: 320vmax; transform: translateX(-50%); border-radius: 50%; box-shadow: 0 -2px 60px rgba(142, 197, 255, 0.35), inset 0 2px 0 rgba(200, 228, 255, 0.35); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: #6f9fd8; top: -200px; right: -160px; opacity: 0.16; }
.o2 { width: 600px; height: 600px; background: #2f5a8a; bottom: -260px; left: -200px; opacity: 0.18; animation-delay: -8s; }
.o3 { width: 420px; height: 420px; background: #3d6f5a; top: 40%; left: 55%; opacity: 0.08; animation-delay: -14s; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

/* glass */
.glass { background: linear-gradient(180deg, var(--glass2), var(--glass)); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 60px -30px rgba(0, 0, 0, 0.8); }

/* nav */
.nav { position: sticky; top: 14px; z-index: 20; margin: 14px auto 0; width: min(1160px, calc(100% - 32px)); height: 62px; padding: 0 12px 0 18px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); }
.links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.net { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.net i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.net.ok i { background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
.net.bad i { background: #ff7a6b; }
.net.bad { cursor: pointer; color: #ffb2a8; }

/* buttons */
.btn { --h: 50px; height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px var(--sans); color: var(--fg); cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, opacity .2s; }
.btn.sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn.primary { color: #05080d; background: var(--fg); box-shadow: 0 10px 30px -14px rgba(142, 197, 255, 0.6); }
.btn.primary:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 16px 40px -14px rgba(142, 197, 255, 0.8); }
.btn.ghost { background: var(--glass); border-color: var(--line); }
.btn.ghost:hover { background: var(--glass2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.wide { width: 100%; }
.btn.busy { pointer-events: none; opacity: .8; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 70px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(46px, 6.8vw, 92px); line-height: 1.02; letter-spacing: -0.035em; margin: 22px 0 22px; font-weight: 300; }
h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.03em; margin: 14px 0 0; font-weight: 300; }
h3 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 10px; font-weight: 500; }
.lede { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 540px; margin: 0; font-weight: 300; }
.lede b { color: var(--fg); }
.section-head { margin-bottom: 34px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; padding-top: 90px; min-height: calc(100vh - 90px); }
.cta { display: flex; gap: 12px; margin: 34px 0 26px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { font-size: 13px; color: var(--muted); padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: center; width: 100%; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); }
.r1 { inset: 4%; animation: rot 40s linear infinite; border-top-color: rgba(238, 244, 250, 0.55); }
.r2 { inset: 16%; animation: rot 28s linear infinite reverse; border-left-color: rgba(142, 197, 255, 0.6); }
.r3 { inset: 28%; background: radial-gradient(circle, rgba(142, 197, 255, 0.16), transparent 70%); border-color: rgba(200, 222, 255, 0.14); }
@keyframes rot { to { transform: rotate(360deg); } }
.halo { position: absolute; left: 50%; top: 19%; border-width: 2px !important; width: 34%; height: 7%; transform: translateX(-50%); border-radius: 50%; border: 3px solid var(--aqua); box-shadow: 0 0 30px rgba(142, 197, 255, 0.6), inset 0 0 14px rgba(142, 197, 255, 0.4); animation: bob 5s ease-in-out infinite; }
.mascot { position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -42%); animation: bob2 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -8px); } }
@keyframes bob2 { 50% { transform: translate(-50%, calc(-42% - 6px)); } }
.float { position: absolute; padding: 12px 16px; border-radius: 16px; display: grid; gap: 2px; animation: bob3 6s ease-in-out infinite; }
.float small { font: 500 11px var(--mono); color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.f1 { left: -2%; bottom: 20%; }
.f2 { right: -2%; top: 26%; animation-delay: -3s; }
@keyframes bob3 { 50% { transform: translateY(-10px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 10px; }
.stat { border-radius: var(--r); padding: 22px 22px 20px; display: grid; gap: 6px; }
.stat small { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.stat b { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; font-size: 13px; color: var(--muted); }

/* cards */
.card { border-radius: 28px; padding: 28px; }
.rewards-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top small, .kv small, .addr small { color: var(--muted); font-size: 14px; }
.tag { font: 500 12px var(--mono); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.live { color: var(--aqua); border-color: rgba(142, 197, 255, .4); }
.claim-amount { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 12px; }
.claim-amount span { font-size: clamp(54px, 7vw, 84px); font-weight: 700; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #c9f7ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim-amount i { font-style: normal; font: 600 18px var(--sans); color: var(--aqua); }
.sub { color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.sub.small { font-size: 13.5px; margin: 16px 0 0; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.kv b { font-variant-numeric: tabular-nums; font-size: 17px; }
.meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); margin-top: 22px; overflow: hidden; }
.meter div { height: 100%; width: 0; background: linear-gradient(90deg, #5e8fc8, var(--aqua), var(--fg)); border-radius: 99px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }

/* how */
.flow { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; }
.step { border-radius: 26px; padding: 26px; position: relative; }
.step .n { font: 500 12px var(--mono); color: var(--faint); letter-spacing: .1em; }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; margin: 18px 0 18px; background: rgba(238, 244, 250, .05); border: 1px solid var(--line); color: var(--fg); }
.step:nth-of-type(5) .ic { background: rgba(142, 197, 255, .1); border-color: rgba(142, 197, 255, .3); color: var(--aqua); }
.step p { color: var(--muted); line-height: 1.55; margin: 0; }
.step p b { color: var(--fg); }
.arrow { display: grid; place-items: center; }
.arrow span { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(142, 197, 255, .6), transparent); position: relative; overflow: hidden; }
.arrow span::after { content: ""; position: absolute; top: -2px; left: -30%; width: 30%; height: 6px; border-radius: 6px; background: var(--aqua); filter: blur(2px); animation: travel 2.2s ease-in-out infinite; }
@keyframes travel { to { left: 100%; } }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.rule { border-radius: 20px; padding: 20px 22px; display: grid; gap: 6px; }
.rule span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* keeper */
.keeper .card h3 { margin-bottom: 8px; }
.field { display: flex; justify-content: space-between; align-items: center; padding: 15px 0 22px; color: var(--muted); font-size: 14px; }
.field select { background: var(--ink2); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font: 500 14px var(--sans); }

/* feed */
.feed { padding: 8px 28px; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed li.empty { display: block; color: var(--muted); text-align: center; padding: 34px 0; }
.feed .fi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; background: rgba(142, 197, 255, .12); color: var(--aqua); }
.feed .fi.c { background: rgba(238, 244, 250, .08); color: var(--fg); }
.feed .fm b { display: block; font-size: 15px; }
.feed .fm small { color: var(--faint); font: 400 12.5px var(--mono); }
.feed a.tx { font: 500 12.5px var(--mono); color: var(--muted); }
.feed a.tx:hover { color: var(--fg); }

/* contracts */
.addr { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.addr a, .addr b { font: 500 14px var(--mono); word-break: break-all; text-align: right; }
.addr a[href] { color: var(--aqua); }
.contracts .btn { margin-top: 22px; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.6; max-width: 720px; margin: 22px 0 0; }

/* footer */
.foot { width: min(1160px, calc(100% - 32px)); margin: 40px auto 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--faint); font-size: 14px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; color: var(--fg); }
.social { display: flex; gap: 18px; }
.social a:not([href]) { display: none; }
.social a:hover { color: var(--fg); }

/* modal + toasts */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3, 4, 8, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.sheet { width: min(420px, 100%); border-radius: 26px; padding: 22px; background: rgba(16, 19, 30, .85); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 18px; }
.x { background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; }
.wallet { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--fg); font: 600 15px var(--sans); cursor: pointer; margin-bottom: 8px; }
.wallet:hover { background: var(--glass2); }
.wallet img { width: 28px; height: 28px; border-radius: 8px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.toast { min-width: 260px; max-width: 360px; padding: 14px 16px; border-radius: 16px; background: rgba(18, 22, 34, .92); border: 1px solid var(--line); backdrop-filter: blur(16px); font-size: 14px; line-height: 1.45; animation: tin .35s cubic-bezier(.2, .8, .2, 1); }
.toast.ok { border-color: rgba(143, 240, 222, .4); }
.toast.err { border-color: rgba(255, 122, 107, .45); }
.toast a { color: var(--aqua); }
@keyframes tin { from { opacity: 0; transform: translateY(12px); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

@media (max-width: 960px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; min-height: auto; }
  .hero-art { max-width: 360px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .arrow { height: 34px; }
  .arrow span { width: 2px; height: 100%; background: linear-gradient(180deg, transparent, rgba(142, 197, 255, .6), transparent); }
  .arrow span::after { display: none; }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .net { display: none; }
  .stat b { font-size: 24px; }
  .card { padding: 22px; }
  .lede { font-size: 17px; }
}

/* basket + multi-token claims */
.basket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bk { border-radius: 22px; padding: 20px 22px; display: grid; gap: 12px; }
.bk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bk-top b { font-size: 20px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.bk-top b i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--aqua)); box-shadow: 0 0 12px var(--c, var(--aqua)); }
.bk .w { font: 500 12.5px var(--mono); color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.bk .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bk .bar div { height: 100%; background: var(--c, var(--aqua)); border-radius: 99px; }
.bk .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.bk .row b { color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 600; }
.claims { list-style: none; margin: 22px 0 14px; padding: 0; display: grid; gap: 10px; }
.claims li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.claims li span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.claims li span i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--aqua)); }
.claims li b { font-size: clamp(22px, 3vw, 30px); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.claims li small { color: var(--faint); font-size: 12px; display: block; text-align: right; }

.sub, .step p, .rule span, .kv small, .card-top small, .addr small { font-weight: 300; }
.eyebrow { font-weight: 500; }
.nav.glass { background: rgba(8, 14, 24, 0.55); }
.claim-amount span { background: linear-gradient(180deg, #fff, #bcdcff); -webkit-background-clip: text; background-clip: text; }
.halo { display: none; }
code { font: 500 12.5px var(--mono); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--fg); white-space: nowrap; }
.epochs .fine { margin-top: 18px; }
