:root {
  --bg: #09090a;
  --bg-2: #111113;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1eee7;
  --muted: #8d887e;
  --accent: #f1eee7;
  --accent-2: #ffffff;
  --live: #ff4b3e;
  --up: #58c48a;
  --down: #e0655f;
  --serif: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 500px at 70% -10%, rgba(255, 255, 255, 0.05), transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.muted { color: var(--muted); }
em { font-style: normal; color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(9, 9, 10, 0.75); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); object-fit: cover; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.x-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); transition: 0.2s; flex: none; }
.x-link:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.links + .x-link { margin-left: 4px; }
.foot-links { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-links .x-link { width: 32px; height: 32px; }
.foot-links a:not(.x-link):hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 14px var(--sans); border: 1px solid transparent; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.btn-gold { background: var(--accent); color: #0b0b0c; }
.btn-gold:hover { background: var(--accent-2); }
.btn-gold.disabled { background: transparent; color: var(--text); border-color: var(--line-2); cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding: 88px 0 56px; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
h1 { font: 800 clamp(44px, 6vw, 84px)/0.98 var(--serif); letter-spacing: -0.035em; }
h2 { font: 800 clamp(32px, 4vw, 52px)/1.04 var(--serif); letter-spacing: -0.03em; }
h3 { font: 500 17px var(--sans); margin: 14px 0 8px; }
h4 { font: 500 15px var(--sans); margin: 10px 0 4px; }
.lead { margin-top: 28px; max-width: 560px; font-size: 18px; color: #cfcac0; }
.lead b { color: var(--text); }
.cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); border: 1px solid var(--line); border-radius: 20px; }

/* now dropping: the current token's logo, blurred, same treatment as the heatmap tiles */
.now { position: relative; overflow: hidden; padding: 26px; background: #141416; }
.now-bg { position: absolute; inset: -40%; background-size: cover; background-position: center; filter: blur(34px) saturate(1.6); opacity: 0.6; transition: background-image 0.6s; }
.now::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.6)); }
.now > *:not(.now-bg) { position: relative; z-index: 1; }
.now-head { display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 75, 62, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 75, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0); } }
.round-no { margin-left: auto; }
.now-token { display: flex; align-items: center; gap: 16px; margin: 22px 0 26px; }
.now-token img { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-2); object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }
.now-sym { font: 800 38px/1 var(--serif); letter-spacing: -0.02em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.now-name { color: rgba(255, 255, 255, 0.72); font-size: 14px; margin-top: 4px; }
.count { display: flex; justify-content: space-between; align-items: baseline; }
.count-label { color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.count-time { font-size: 30px; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.bar { height: 3px; background: rgba(255, 255, 255, 0.2); border-radius: 3px; margin: 12px 0 22px; overflow: hidden; }
.count.small { margin: -10px 0 22px; }
.count.small .mono { font-size: 15px; color: #fff; }
.bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 1s linear; }
.next-label { color: rgba(255, 255, 255, 0.72); font-size: 12px; margin-bottom: 10px; }
.next-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill em { font-family: var(--mono); color: rgba(255, 255, 255, 0.72); font-size: 11px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.25); border-radius: 999px; font-size: 12px; }
.pill img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { padding: 20px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:last-child { border-right: 0; }
.stat .k { color: var(--muted); font-size: 12px; }
.stat .v { font-size: 20px; }

/* sections */
.section { padding: 110px 0 0; }
.section-head { margin-bottom: 40px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sub { color: var(--muted); max-width: 620px; margin-top: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pillar { background: var(--bg); padding: 32px 30px 34px; }
.pillar p { color: #b9b4aa; }
.num { font: 800 26px var(--serif); color: var(--muted); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.steps li span { color: var(--muted); font-size: 12px; }
.steps p { color: var(--muted); font-size: 14px; }

/* chips + map */
.map-meta { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 13px var(--sans); cursor: pointer; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.map { position: relative; height: 720px; border-radius: 14px; overflow: hidden; background: #050506; border: 1px solid var(--line); }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.sector { position: absolute; }
.sector-label { position: absolute; left: 0; top: 0; right: 0; height: 22px; padding: 3px 8px; font: 500 11px var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: #cfcac0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { position: absolute; overflow: hidden; border-radius: 3px; background: #141416; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: filter 0.15s; }
.tile .bg { position: absolute; inset: -30%; background-size: cover; background-position: center; filter: blur(22px) saturate(1.5); opacity: 0.55; }
.tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55)); }
.tile:hover { filter: brightness(1.25); z-index: 2; }
.tile > *:not(.bg) { position: relative; z-index: 1; }
.tile img.logo { border-radius: 50%; object-fit: cover; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); background: #0d0d0e; }
.tile .fallback { border-radius: 50%; display: grid; place-items: center; background: #26262a; color: var(--text); font-family: var(--serif); font-weight: 800; }
.tile .sym { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-top: 0.35em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); max-width: 94%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .cap { font-family: var(--mono); opacity: 0.85; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.tile .chg { font-family: var(--mono); line-height: 1.2; }
.up { color: var(--up); }
.down { color: var(--down); }
.tile.live { box-shadow: inset 0 0 0 2px #fff; }
.tile .badge { position: absolute; top: 6px; left: 6px; font: 600 9px var(--mono); letter-spacing: 0.08em; background: #fff; color: #0b0b0c; border-radius: 4px; padding: 2px 5px; }
.tip { position: fixed; z-index: 50; pointer-events: none; opacity: 0; transition: opacity 0.12s; background: rgba(16, 16, 18, 0.96); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; min-width: 220px; font-size: 13px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.tip.show { opacity: 1; }
.tip-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tip-h img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.tip-h b { display: block; font-size: 15px; }
.tip-h span { color: var(--muted); font-size: 12px; }
.tip dl { display: grid; grid-template-columns: auto auto; gap: 4px 18px; }
.tip dt { color: var(--muted); }
.tip dd { text-align: right; font-family: var(--mono); }

/* schedule */
.sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.slot { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.slot.now { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.slot-top { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font: 12px var(--mono); white-space: nowrap; }
.slot-top span:last-child { overflow: hidden; text-overflow: ellipsis; }
.slot.now .slot-top span:first-child { color: var(--live); }
.slot-tok { display: flex; align-items: center; gap: 10px; }
.slot-tok img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.slot-tok b { display: block; }
.slot-tok span { color: var(--muted); font-size: 12px; }

/* drops table */
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table.drops { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.drops th { text-align: left; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drops td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drops tr:last-child td { border-bottom: 0; }
.drops .r { text-align: right; }
.drops .tok { display: flex; align-items: center; gap: 10px; }
.drops .tok img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.drops a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.drops a:hover { text-decoration-color: var(--text); }
.empty { text-align: center; color: var(--muted); padding: 48px 18px !important; }
.empty b { display: block; color: var(--text); font: 800 24px var(--serif); letter-spacing: -0.02em; margin-bottom: 6px; }

/* payout rows + pager */
.drops tbody tr.row { cursor: pointer; }
.drops tbody tr.row:hover td { background: rgba(255, 255, 255, 0.025); }
.drops tr.detail td { background: rgba(255, 255, 255, 0.02); font-size: 13px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-grid h5 { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.txs { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--mono); }
.tops { font-family: var(--mono); display: grid; gap: 4px; }
.tops div { display: flex; justify-content: space-between; gap: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 13px var(--mono); cursor: pointer; }
.pager button:hover:not(:disabled) { color: var(--text); border-color: var(--text); }
.pager button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 4px; }
.pager .info { width: 100%; text-align: center; color: var(--muted); font: 12px var(--mono); margin-top: 4px; }

/* treasury */
.treasury { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px; }
.addr { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.addr code { font-size: 14px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; word-break: break-all; }
.tstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; align-self: center; }
.tstats > div { background: var(--bg); padding: 18px; }
.tstats .wide { grid-column: 1 / -1; }
.tstats dt { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.tstats dd { font-size: 18px; }
.tstats dd.small { font-size: 12px; color: #cfcac0; word-break: break-word; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--muted); font-family: var(--mono); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin-top: 10px; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 90px 0 40px; margin-top: 90px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 36px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .treasury { grid-template-columns: 1fr; }
  .map { height: 900px; }
}
@media (max-width: 700px) {
  .detail-grid { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .nav-in .x-link { margin-left: auto; margin-right: -12px; }
  .grid3, .faq { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .section { padding-top: 80px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .map-meta { text-align: left; }
  .map { height: 1300px; }
  .steps { grid-template-columns: 1fr; }
  .treasury { padding: 24px; }
}
