/* Mintfall: night sky, falling NFT cards, neon accents. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #07061a;
  --bg2: #0d0b26;
  --panel: rgba(255, 255, 255, 0.045);
  --panel2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.18);
  --text: #f1efff;
  --muted: #a39fc4;
  --dim: #6f6a96;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --green: #34d399;
  --red: #fb7185;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #f472b6 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, 0.22), rgba(244, 114, 182, 0.16), rgba(34, 211, 238, 0.2));
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(244, 114, 182, 0.12), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }

/* sky canvas behind everything */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
header, main, footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(7, 6, 26, 0.62); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; letter-spacing: 0.04em; font-size: 18px; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel2); }
.spacer { flex: 1; }
.net-badge { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--cyan); }
.menu-btn { display: none; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--body); color: #0b0820; background: var(--grad); border: 0; border-radius: 12px; padding: 13px 20px; cursor: pointer; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s; box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(244, 114, 182, 0.4); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn.ghost { background: var(--panel2); color: var(--text); box-shadow: none; border: 1px solid var(--line2); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn.sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn.big { padding: 17px 28px; font-size: 16px; border-radius: 14px; }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card.pad { padding: 24px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6.4vw, 74px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
section { padding: 72px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 .line2 { display: block; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pill b { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.drop-card { position: relative; padding: 28px; overflow: hidden; }
.drop-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.drop-card .label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.countdown { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7vw, 76px); letter-spacing: 0.02em; line-height: 1; margin: 10px 0 18px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mini-stats b { display: block; font-family: var(--display); font-size: 18px; }
.mini-stats span { font-size: 12px; color: var(--muted); }
.nft-stack { position: relative; height: 172px; margin: 4px 0 18px; }
.nft-stack .nft { position: absolute; width: 110px; height: 140px; border-radius: 14px; border: 1px solid var(--line2); background: var(--grad-soft); box-shadow: var(--shadow); overflow: hidden; display: flex; align-items: end; justify-content: center; }
.nft-stack .nft img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nft-stack .nft:nth-child(1) { left: 6%; top: 14px; transform: rotate(-10deg); }
.nft-stack .nft:nth-child(2) { left: 34%; top: 0; transform: rotate(3deg); z-index: 2; }
.nft-stack .nft:nth-child(3) { left: 62%; top: 18px; transform: rotate(12deg); }
.nft .tag { position: relative; z-index: 1; margin: 8px; padding: 3px 8px; border-radius: 8px; background: rgba(7, 6, 26, 0.72); font: 600 11px var(--mono); }

/* ---------- stats band ---------- */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- drop feed ---------- */
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.drop { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.drop:hover { transform: translateY(-3px); border-color: var(--line2); }
.drop .art { position: relative; aspect-ratio: 1; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.drop .art img { width: 100%; height: 100%; object-fit: cover; }
.drop .art .ph-art { font-family: var(--display); font-size: 44px; opacity: 0.6; }
.drop .art .val { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 10px; background: rgba(7, 6, 26, 0.78); font: 700 13px var(--body); border: 1px solid var(--line2); }
.drop .art .st { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 10px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; background: rgba(52, 211, 153, 0.18); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.drop .art .st.open { background: rgba(251, 191, 36, 0.16); color: var(--gold); border-color: rgba(251, 191, 36, 0.35); }
.drop .art .st.cancelled { background: rgba(251, 113, 133, 0.14); color: var(--red); border-color: rgba(251, 113, 133, 0.35); }
.drop .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.drop .nm { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.drop .meta a { text-decoration: none; color: var(--cyan); }
.empty { padding: 34px; text-align: center; color: var(--muted); }
/* empty states inside grids span the whole row instead of one narrow column */
.wall > .empty, [class*="grid"] > .empty { grid-column: 1 / -1; }

/* ---------- token table ---------- */
.tokens { width: 100%; border-collapse: collapse; }
.tokens th { text-align: left; font: 600 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tokens td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tokens tr:last-child td { border-bottom: 0; }
.tokens tbody tr { cursor: pointer; transition: background 0.15s; }
.tokens tbody tr:hover { background: var(--panel); }
.tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tok img, .tok .ph { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; }
.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #0b0820; font-family: var(--display); font-weight: 900; }
.tok .n { font-weight: 800; }
.tok .t { color: var(--muted); font-size: 13px; }
.meter { position: relative; height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; min-width: 120px; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); border-radius: inherit; transition: width 0.6s; }
.meter.full i { box-shadow: 0 0 16px rgba(244, 114, 182, 0.7); }
.vol-cell small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; font: 600 11px var(--mono); padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted); text-transform: uppercase; }
.badge.ok { color: var(--green); border-color: rgba(52, 211, 153, 0.4); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; position: relative; }
.step .n { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.split { margin-top: 26px; padding: 22px; }
.split-bar { display: flex; height: 42px; border-radius: 12px; overflow: hidden; margin: 14px 0 12px; font: 700 13px var(--body); }
.split-bar div { display: flex; align-items: center; justify-content: center; color: #0b0820; }
.split-bar .m { flex: 20; background: #a5a1c9; }
.split-bar .f { flex: 60; background: var(--grad); }
.split-bar .p { flex: 20; background: var(--cyan); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; padding: 30px; }
.calc input[type="range"] { width: 100%; accent-color: var(--pink); }
.calc .out { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.calc .sub { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-family: var(--display); }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.final { text-align: center; padding: 56px 24px; overflow: hidden; position: relative; }
.final .lead { margin: 0 auto 26px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.input { width: 100%; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line2); border-radius: 12px; color: var(--text); font: 500 15px var(--body); padding: 12px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); }
textarea.input { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { color: var(--dim); font-size: 13px; }
.err { color: var(--red); min-height: 20px; font-weight: 600; margin-bottom: 10px; }
.drop-zone { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 170px; border: 1.5px dashed var(--line2); border-radius: 16px; color: var(--muted); cursor: pointer; overflow: hidden; background: rgba(0, 0, 0, 0.2); transition: border-color 0.2s; }
.drop-zone.has, .drop-zone:hover { border-color: var(--pink); }
.drop-zone img { max-height: 220px; object-fit: contain; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.presets button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; font: 600 13px var(--mono); cursor: pointer; }
.presets button.on { border-color: var(--pink); background: rgba(244, 114, 182, 0.14); }
details.links { margin-bottom: 16px; }
details.links summary { cursor: pointer; font-weight: 700; margin-bottom: 12px; }

/* ---------- launch page ---------- */
.launch-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 86px; }
.pv-tok { display: flex; gap: 14px; align-items: center; margin: 6px 0 18px; }
.pv-tok img, .pv-tok .ph { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; font-size: 26px; }
.pv-tok .n { font-weight: 800; font-size: 18px; }
.steps-mini { display: grid; gap: 8px; margin: 18px 0; }
.steps-mini div { padding: 10px 12px 10px 36px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 14px; position: relative; }
.steps-mini div::before { content: ""; position: absolute; left: 13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--dim); }
.steps-mini div.active { color: var(--text); border-color: var(--violet); }
.steps-mini div.active::before { border-color: var(--pink); background: var(--pink); animation: pulse 1s infinite; }
.steps-mini div.ok { color: var(--text); }
.steps-mini div.ok::before { border-color: var(--green); background: var(--green); }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.ca-box { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line2); word-break: break-all; cursor: pointer; margin: 14px 0; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- token page ---------- */
.tok-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.tok-head img, .tok-head .ph { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; font-size: 34px; }
.tok-head h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpis .card { padding: 18px; }
.kpis b { display: block; font-family: var(--display); font-size: 22px; }
.kpis span { color: var(--muted); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.holders { width: 100%; border-collapse: collapse; font-size: 14px; }
.holders th { text-align: left; font: 600 11px var(--mono); color: var(--dim); text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.holders td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.holders tr.me td { background: rgba(244, 114, 182, 0.1); }
.chance { display: flex; align-items: center; gap: 8px; }
.chance .meter { min-width: 70px; flex: 1; height: 6px; }
.next-box { padding: 22px; margin-bottom: 18px; }
.next-box .big { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3, 2, 14, 0.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal .box { width: 100%; max-width: 380px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.wlist { display: grid; gap: 8px; margin-bottom: 12px; }
.wlist button { display: flex; align-items: center; gap: 12px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 700 15px var(--body); cursor: pointer; }
.wlist button:hover { border-color: var(--violet); }
.wlist img { width: 28px; height: 28px; border-radius: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--bg2); border: 1px solid var(--line2); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100% - 32px); transition: opacity 0.3s; }
.toast.bad { border-color: var(--red); color: #ffd2da; }
.toast.hidden { opacity: 0; pointer-events: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .launch-grid, .two, .calc { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band, .kpis { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: rgba(7, 6, 26, 0.96); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .steps, .row2 { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .tokens td, .tokens th { padding: 10px 8px; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; }
  .net-badge { display: none; }
  .feed { grid-template-columns: 1fr 1fr; gap: 10px; }
  .drop .body { padding: 10px 11px 12px; font-size: 14px; }
  .drop .meta { font-size: 12px; flex-wrap: wrap; }
  .top .btn.sm { padding: 8px 10px; font-size: 12px; }
  .brand { font-size: 15px; }
  .hero { padding-top: 40px; }
  .nft-stack .nft { width: 92px; height: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.h1-page { font-size: clamp(32px, 5vw, 56px); }
.m0 { margin: 0; }

/* ---------- motion (assets/motion.js) ---------- */
.grad-text { background-size: 220% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
h1 .grad-text { filter: drop-shadow(0 6px 30px rgba(244, 114, 182, 0.25)); }

.nft-stack .nft { animation: bob 5s ease-in-out infinite; transition: transform 0.4s, box-shadow 0.4s; }
.nft-stack .nft:nth-child(1) { animation-delay: -1.2s; }
.nft-stack .nft:nth-child(2) { animation-delay: -2.6s; }
.nft-stack .nft:nth-child(3) { animation-delay: -0.4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.nft-stack:hover .nft:nth-child(1) { transform: rotate(-16deg) translateX(-18px); }
.nft-stack:hover .nft:nth-child(3) { transform: rotate(18deg) translateX(18px); }
.nft-stack:hover .nft:nth-child(2) { transform: rotate(0deg) scale(1.06); box-shadow: 0 24px 60px rgba(244, 114, 182, 0.35); }

.drop { position: relative; transition: transform 0.25s ease-out, border-color 0.2s, box-shadow 0.3s; will-change: transform; }
.drop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 45%); }
.drop:hover::after { opacity: 1; }
.drop:hover { box-shadow: 0 18px 50px rgba(139, 92, 246, 0.25); }
.drop .art img { transition: transform 0.6s ease; }
.drop:hover .art img { transform: scale(1.06); }

.pop { animation: pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }

.bump { animation: bump 0.4s ease; }
@keyframes bump { 50% { transform: scale(1.12); color: var(--pink); } }

.glow { position: relative; overflow: hidden; }
.glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(139, 92, 246, 0.18), transparent 60%); }

.countdown { display: block; width: fit-content; transform-origin: left center; }
.countdown.tick { animation: tick 0.5s ease-out; }
@keyframes tick { 0% { opacity: 0.55; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }
.countdown.hot { background: linear-gradient(90deg, #f472b6, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(244, 114, 182, 0.55)); }

.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); }
.btn:hover::after { animation: sweep 0.8s ease; }
@keyframes sweep { to { left: 130%; } }
.btn.big:not(.ghost) { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 10px 44px rgba(244, 114, 182, 0.55); } }

.meter.full i { background-image: linear-gradient(120deg, #8b5cf6, #f472b6, #22d3ee, #8b5cf6); background-size: 300% 100%; animation: flow 2.4s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }

.shower { position: fixed; inset: 0; pointer-events: none; z-index: 70; }
.shower .bit { position: fixed; width: 34px; height: 44px; margin: -22px 0 0 -17px; border-radius: 7px; overflow: hidden; background: var(--grad);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.5); animation: fly 1.6s cubic-bezier(0.15, 0.6, 0.3, 1) forwards; }
.shower .bit img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes fly {
  0% { transform: translate(0, 0) rotate(0) scale(0.3); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 260px)) rotate(var(--rot)) scale(1); opacity: 0; }
}

.eyebrow { position: relative; }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
.step { transition: transform 0.3s, border-color 0.3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.5); }
.step .n { transition: letter-spacing 0.3s; }
.step:hover .n { letter-spacing: 0.08em; }
.split-bar div { transform-origin: left; animation: grow 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.split-bar .f { animation-delay: 0.15s; }
.split-bar .p { animation-delay: 0.3s; }
@keyframes grow { from { transform: scaleX(0); } }
.tokens tbody tr { transition: background 0.15s, transform 0.15s; }
.tokens tbody tr:hover { transform: translateX(4px); }
.brand img { transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .grad-text, .nft-stack .nft, .btn.big:not(.ghost), .meter.full i, .split-bar div, .eyebrow::before { animation: none !important; }
}

/* ---------- weather-service identity ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.lead.small { font-size: 15px; color: var(--dim); margin-top: -4px; }
.home h1 { font-size: clamp(38px, 6vw, 70px); }

.ticker { position: relative; z-index: 3; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(13, 11, 38, 0.85); font: 500 13px var(--mono); white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 42px; padding: 9px 0; animation: marquee 60s linear infinite; }
.ticker-track span { color: var(--muted); }
.ticker-track b { color: var(--text); font-weight: 500; }
.ticker-track .up { color: var(--green); }
.ticker-track .hot { color: var(--pink); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.stickers { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.sticker { font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 7px 12px; border-radius: 6px; color: #0b0820; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.sticker.s1 { background: #fbbf24; transform: rotate(-3deg); }
.sticker.s2 { background: #22d3ee; transform: rotate(2deg); }
.sticker.s3 { background: #f472b6; transform: rotate(-1.5deg); }

.weather { padding: 24px 24px 18px; }
.w-head { display: flex; justify-content: space-between; align-items: center; }
.w-time { color: var(--muted); font-size: 13px; }
.w-main { display: flex; align-items: center; gap: 18px; margin: 12px 0 18px; }
.w-icon { width: 92px; height: 92px; flex: none; }
.w-drop { animation: rain 1.6s ease-in infinite; }
.w-drop.d2 { animation-delay: 0.5s; }
.w-drop.d3 { animation-delay: 1s; }
@keyframes rain { 0% { transform: translateY(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.weather .countdown { margin: 4px 0 0; }
.w-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.w-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.w-stats dt { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
.w-stats dd { margin: 2px 0 0; font-family: var(--display); font-size: 20px; }
.w-stats .hint { font-size: 12px; }
.w-foot { margin-top: 12px; font-size: 12px; color: var(--dim); }
.w-foot .live { color: var(--green); }

.strip-sec { padding: 10px 0 30px; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.strip { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; align-items: end; height: 86px; margin-top: 10px; }
.strip .hr { position: relative; height: 100%; display: flex; align-items: end; }
.strip .bar { width: 100%; min-height: 4px; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, 0.08); transition: height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.strip .hr.wet .bar { background: var(--grad); box-shadow: 0 0 14px rgba(244, 114, 182, 0.35); }
.strip .hr.now .bar { outline: 1px dashed rgba(34, 211, 238, 0.7); outline-offset: 2px; }
.strip .hr .n { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 600 11px var(--mono); color: var(--pink); }
.strip-axis { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; margin-top: 6px; }

.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 28px 22px; padding-top: 8px; }
.polaroid { position: relative; background: #f5f2ea; color: #1a1630; border-radius: 4px; padding: 10px 10px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease, box-shadow 0.3s; text-decoration: none; display: block; }
.polaroid:nth-child(3n + 1) { transform: rotate(-2.2deg); }
.polaroid:nth-child(3n + 2) { transform: rotate(1.6deg); }
.polaroid:nth-child(3n) { transform: rotate(-0.8deg) translateY(6px); }
.polaroid:hover { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: 0 24px 60px rgba(139, 92, 246, 0.35); z-index: 2; }
.polaroid::before { content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 22px; margin-left: -37px; background: rgba(251, 191, 36, 0.55); transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.polaroid .ph-img { aspect-ratio: 1; background: #1a1630; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; }
.polaroid .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .ph-img .ph-art { color: #fff; font-family: var(--display); font-size: 44px; opacity: 0.7; }
.polaroid .cap { margin-top: 10px; font: 600 14px var(--body); display: flex; justify-content: space-between; gap: 6px; }
.polaroid .cap .v { font-family: var(--mono); color: #7c3aed; }
.polaroid .sub { font: 500 12px var(--mono); color: #6b6585; display: flex; justify-content: space-between; gap: 6px; margin-top: 3px; }
.polaroid .sub a { color: #0e7490; text-decoration: none; }
.polaroid .stamp { position: absolute; top: 18px; right: 16px; font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 7px; border: 2px solid currentColor; border-radius: 4px; transform: rotate(8deg); background: rgba(245, 242, 234, 0.9); }
.polaroid .stamp.ok { color: #059669; }
.polaroid .stamp.open { color: #d97706; }
.polaroid .stamp.no { color: #dc2626; }

.hour-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.dial-wrap { position: sticky; top: 100px; }
.dial { width: 100%; max-width: 340px; display: block; margin: 0 auto; }
.dial-t { fill: rgba(255, 255, 255, 0.55); font: 600 13px var(--mono); }
#hand { transition: transform 1s linear; }
.dial-cap { text-align: center; margin-top: 10px; color: var(--muted); }
.anatomy { list-style: none; padding: 0; margin: 10px 0 24px; display: grid; gap: 14px; counter-reset: none; }
.anatomy li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-top: 1px dashed var(--line2); }
.anatomy li > b { font: 700 15px var(--mono); color: var(--cyan); padding-top: 3px; }
.anatomy h3 { margin-bottom: 6px; }
.anatomy p { margin: 0; color: var(--muted); }

.station .wrap { align-items: flex-end; }
.log-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 4px; }
.log { font-size: 12px; color: var(--dim); word-break: break-all; }
.log a { color: var(--muted); }

@media (max-width: 980px) {
  .hour-grid { grid-template-columns: 1fr; }
  .dial-wrap { position: static; }
}
@media (max-width: 720px) {
  .strip { gap: 3px; height: 70px; }
  .anatomy li { grid-template-columns: 1fr; gap: 6px; }
  .wall { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .polaroid { padding: 7px 7px 10px; }
  .polaroid .cap { font-size: 12px; }
  .w-stats dd { font-size: 17px; }
  .w-icon { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .w-drop { animation: none !important; }
}

.brand-icon { border-radius: 8px; }

.polaroid[data-drop] { cursor: pointer; }
.polaroid .share-win { margin-top: 10px; width: 100%; background: #1a1630; color: #f1efff; border-color: transparent; }

.dmodal .box { max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; position: relative; animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.modal.out { opacity: 0; transition: opacity 0.18s; }
.dmodal .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.dm-top { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; margin-bottom: 18px; }
.dm-art { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; }
.dm-art img { width: 100%; height: 100%; object-fit: cover; }
.dm-art .ph-art { font-family: var(--display); font-size: 44px; opacity: 0.7; }
.dmodal h3 { margin: 4px 0 2px; font-size: 22px; }
.dmodal h4 { font: 700 14px var(--body); margin: 6px 0 10px; color: var(--muted); }
.dmodal .facts { margin-top: 12px; }
.dm-draw { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.dm-draw li { display: grid; grid-template-columns: 22px 110px 1fr 56px 18px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 8px; border-radius: 8px; }
.dm-draw li.win { background: rgba(251, 191, 36, 0.12); outline: 1px solid rgba(251, 191, 36, 0.45); }
.dm-draw .r { color: var(--dim); font-family: var(--mono); }
.dm-draw .bar { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.dm-draw .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dm-draw .p { text-align: right; }
.dm-draw .trophy { color: var(--gold); font-size: 16px; }

.fame { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.board { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.board li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.board li:last-child { border-bottom: 0; }
.board li.muted { display: block; padding: 18px 4px; border-bottom: 0; color: var(--muted); line-height: 1.5; }
.board li:nth-child(1) .r { color: var(--gold); }
.board li:nth-child(2) .r { color: #cbd5e1; }
.board li:nth-child(3) .r { color: #d97706; }
.board .r { font: 700 15px var(--mono); }
.board .who { font-weight: 700; text-decoration: none; }
.board .what { color: var(--muted); font-size: 13px; }

.join { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.join h3 { font-size: 22px; margin: 2px 0 6px; }
.join-calc label { font-weight: 700; font-size: 14px; }
.j-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.j-row .input { max-width: 160px; }
.j-out { font-size: 18px; margin: 4px 0 6px; min-height: 26px; }

@media (max-width: 720px) {
  .dm-top { grid-template-columns: 1fr; }
  .dm-art { max-width: 220px; }
  .dm-draw li { grid-template-columns: 20px 90px 1fr 50px 16px; gap: 6px; }
  .fame, .join { grid-template-columns: 1fr; }
}
.final { background: linear-gradient(180deg, rgba(7, 6, 26, 0.35), rgba(7, 6, 26, 0.88) 75%), url("/assets/banner.jpg") center top / cover; border-color: rgba(244, 114, 182, 0.35); }
.final .lead { color: #d6d1f5; }
