:root {
  --bg: #07060b;
  --glow: #4a1a78;
  --glow-2: #2a0f4a;
  --text: #f5f3f8;
  --muted: #a9a2b8;
  --dim: #6f687e;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.045);
  --pink: #e052c9;
  --violet: #8b3dff;
  --ok: #7cf29a;
  --warn: #ffb86b;
  --err: #ff7a8a;
  --radius: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 0%, var(--glow) 0%, transparent 70%),
    radial-gradient(40% 35% at 15% 40%, var(--glow-2) 0%, transparent 70%),
    radial-gradient(40% 35% at 85% 55%, var(--glow-2) 0%, transparent 70%),
    var(--bg);
}

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 14px; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .15s; }
.icon-link:hover { background: var(--glass); }
.icon-link svg { width: 20px; height: 20px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: #120d1a; border: 0; border-radius: 12px;
  padding: 10px 18px; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(224, 82, 201, .25); }
.pill:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.pill.ghost { background: var(--glass); color: var(--text); border: 1px solid var(--line); }

/* ---------- landing hero ---------- */
.hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 8px 20px 72px; text-align: center; overflow-x: clip; }
.stage { position: relative; height: 560px; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 48px;
  background: linear-gradient(180deg, #16131c 0%, #0c0a10 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 7px #0a090d, 0 40px 120px rgba(139, 61, 255, .18);
  overflow: hidden;
}
.phone::before { /* camera island */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #050407;
}
.phone .chart { position: absolute; left: 0; right: 0; top: 150px; width: 100%; height: 260px; opacity: .55; }
.notice {
  position: absolute; top: 58px; left: 16px; right: 16px;
  display: flex; gap: 10px; align-items: center; text-align: left;
  padding: 11px 12px; border-radius: 16px;
  background: rgba(40, 36, 48, .92); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  animation: drop 1s cubic-bezier(.2, .9, .3, 1.2) .3s both;
}
.notice .app { width: 32px; height: 32px; flex: none; }
.notice b { display: block; font-size: 13px; }
.notice small { color: var(--muted); font-size: 12px; }
.notice time { margin-left: auto; align-self: flex-start; color: var(--dim); font-size: 11px; }
.fade { position: absolute; left: -40%; right: -40%; bottom: -60px; height: 72%; background: linear-gradient(180deg, transparent 0%, var(--bg) 78%); pointer-events: none; }
.copy { position: relative; margin-top: -250px; z-index: 2; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
.lede { max-width: 520px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.cta { font-size: 20px; padding: 16px 30px; border-radius: 16px; }
.cta svg { width: 20px; height: 20px; }
.wallets { margin-top: 18px; color: var(--dim); font-size: 14px; }

.float { position: absolute; filter: drop-shadow(0 20px 40px rgba(224, 82, 201, .25)); animation: bob 6s ease-in-out infinite; }
.float.megaphone { width: 110px; left: calc(50% - 300px); top: 30px; transform: rotate(-18deg); }
.float.coin { width: 170px; left: calc(50% - 470px); top: 250px; animation-delay: -2s; }
.float.bolt { width: 120px; left: calc(50% + 300px); top: 170px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

.features { max-width: 1100px; margin: 30px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { text-align: left; padding: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.feature h3 { margin: 12px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(224, 82, 201, .25), rgba(139, 61, 255, .25)); }
.feature .dot svg { width: 20px; height: 20px; }


/* ---------- launch page ---------- */
.launch-wrap { max-width: 1040px; margin: 0 auto; padding: 16px 20px 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: start; }
.launch-head { grid-column: 1 / -1; margin: 8px 0 6px; }
.launch-head h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 6px; }
.launch-head p { margin: 0; color: var(--muted); }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; padding: 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.drop { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px dashed rgba(255, 255, 255, .18); border-radius: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover { border-color: rgba(224, 82, 201, .6); background: rgba(224, 82, 201, .05); }
.drop img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; background: #0f0d14; flex: none; }
.drop:not(.has-image) img { visibility: hidden; }
.drop .ph { position: absolute; }
.drop b { display: block; }
.drop small { color: var(--dim); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumb { position: relative; width: 76px; height: 76px; flex: none; border-radius: 16px; background: linear-gradient(135deg, rgba(224, 82, 201, .18), rgba(139, 61, 255, .18)); display: grid; place-items: center; }
.thumb svg { width: 28px; height: 28px; position: absolute; }
.thumb img { position: relative; }
label.f { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 7px; font-weight: 600; }
.in {
  width: 100%; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); color: var(--text);
  border-radius: 14px; padding: 12px 14px; font-family: inherit; font-size: 16px; font-weight: 500; outline: none; transition: border-color .15s;
}
.in:focus { border-color: rgba(224, 82, 201, .7); }
textarea.in { min-height: 84px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
details { margin-top: 16px; }
details summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.buy { position: relative; }
.buy .in { padding-right: 70px; font-size: 20px; font-weight: 700; }
.buy span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.quick { display: flex; gap: 8px; margin-top: 8px; }
.quick button { flex: 1; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 0; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.quick button:hover { border-color: rgba(224, 82, 201, .5); }
#launch { width: 100%; margin-top: 18px; padding: 16px; font-size: 18px; border-radius: 16px; }
.side { display: grid; gap: 16px; position: sticky; top: 16px; }
.preview { text-align: center; }
.preview .pimg { width: 96px; height: 96px; margin: 4px auto 12px; border-radius: 24px; background: linear-gradient(135deg, rgba(224, 82, 201, .3), rgba(139, 61, 255, .3)); overflow: hidden; }
.preview .pimg img { width: 100%; height: 100%; object-fit: cover; }
.preview .pname { font-weight: 800; font-size: 20px; word-break: break-word; }
.preview .psym { color: var(--pink); font-weight: 700; font-size: 14px; }
.preview .pdesc { color: var(--muted); font-size: 14px; margin-top: 8px; word-break: break-word; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); padding: 5px 0; }
.summary .row span:last-child { color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; }
.summary .total span { color: var(--text) !important; }
.summary .note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.summary .warn { color: var(--warn); }
#status { margin-top: 14px; font-size: 14px; color: var(--muted); white-space: pre-line; word-break: break-word; }
#status:empty { display: none; }
#status.err { color: var(--err); }
#status.done { color: var(--text); white-space: normal; padding: 16px; border-radius: 16px; background: rgba(124, 242, 154, .06); border: 1px solid rgba(124, 242, 154, .2); }
.done-title { font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.ca { display: flex; gap: 8px; align-items: center; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(0, 0, 0, .35); border-radius: 10px; padding: 8px 10px; }
.ca span { overflow: hidden; text-overflow: ellipsis; }
.ca button { margin-left: auto; background: #fff; color: #120d1a; border: 0; border-radius: 8px; padding: 5px 10px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .float.coin { left: -30px; top: 330px; width: 120px; }
  .float.megaphone { left: 8px; top: 20px; width: 80px; }
  .float.bolt { left: auto; right: -10px; top: 150px; width: 84px; }
  .features { grid-template-columns: 1fr; }
  .launch-wrap { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  .preview { display: none; }
}
@media (max-width: 480px) {
  .stage { height: 500px; }
  .phone { width: 250px; height: 520px; }
  .copy { margin-top: -220px; }
  .lede { font-size: 16px; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .float, .notice { animation: none; } }

#symbol { text-transform: uppercase; }
@media (max-width: 480px) { .copy h1 br { display: none; } }
