/* Public pages (claim + status). Dark, brand-led: pump green + Solana purple. */
:root {
  --bg: #06080a;
  --ink: #f2f6f4;
  --muted: #9aa7a1;
  --faint: #5d6a64;
  --pump: #53d692;
  --pump-deep: #1c8a62;
  --pump-ink: #04140c;
  --sol: #9945ff;
  --sol-teal: #14f195;
  --glass: rgba(18, 24, 22, 0.62);
  --glass-line: rgba(255, 255, 255, 0.09);
  --bad: #ff7a6b;
  --bad-soft: rgba(255, 122, 107, 0.12);
  --warn: #ffc36b;
  --warn-soft: rgba(255, 195, 107, 0.12);
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--pump); }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ── ambient background ─────────────────────────── */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60vmax 45vmax at 15% -5%, rgba(83, 214, 146, 0.22), transparent 60%),
    radial-gradient(55vmax 45vmax at 105% 20%, rgba(153, 69, 255, 0.20), transparent 60%),
    radial-gradient(50vmax 40vmax at 50% 110%, rgba(20, 241, 149, 0.10), transparent 60%),
    var(--bg);
}
.bg::before { /* faint grid that fades out */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: drift 18s ease-in-out infinite; }
.orb.o1 { width: 6px; height: 6px; background: var(--pump); top: 18%; left: 12%; }
.orb.o2 { width: 4px; height: 4px; background: var(--sol); top: 32%; right: 14%; animation-delay: -6s; }
.orb.o3 { width: 5px; height: 5px; background: #fff; top: 62%; left: 8%; opacity: .3; animation-delay: -3s; }
.orb.o4 { width: 7px; height: 7px; background: var(--sol-teal); top: 74%; right: 10%; opacity: .4; animation-delay: -11s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -26px); } }

/* ── layout ─────────────────────────────────────── */
.wrap { max-width: 520px; margin: 0 auto; padding: 18px 16px 40px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px/1 "Space Grotesk", Inter, sans-serif; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.chip-sol {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); font-size: 13px; color: var(--muted);
}
.chip-sol img { width: 22px; height: 22px; }

/* ── hero ───────────────────────────────────────── */
.hero { text-align: center; padding: 22px 0 8px; }
.pill-stage { position: relative; width: 180px; height: 180px; margin: 4px auto 2px; }
.pill-stage::before { /* glow */
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(83,214,146,0.55), rgba(153,69,255,0.25) 55%, transparent 72%);
  filter: blur(26px); animation: pulse 4.5s ease-in-out infinite;
}
.pill-stage::after { /* orbit ring */
  content: ""; position: absolute; inset: 2%; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12); animation: spin 40s linear infinite;
}
.pill-stage img { position: relative; z-index: 1; width: 100%; height: 100%; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }

.amount-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(83,214,146,0.16), rgba(153,69,255,0.16));
  border: 1px solid rgba(83,214,146,0.35); color: #c9f5dc; font-weight: 600; font-size: 14px;
}
.amount-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pump); box-shadow: 0 0 0 0 rgba(83,214,146,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(83,214,146,0); } 100% { box-shadow: 0 0 0 0 rgba(83,214,146,0); } }

h1 {
  font: 700 clamp(38px, 11vw, 56px)/1.02 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.035em; margin: 16px 0 10px;
}
.grad { background: linear-gradient(92deg, #7ff0b4 0%, var(--pump) 35%, #b98bff 80%, var(--sol) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); margin: 0 auto 22px; max-width: 400px; font-size: 16.5px; }

/* ── glass card ─────────────────────────────────── */
.card {
  position: relative; border-radius: var(--radius); padding: 22px 20px;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
}
.card.glow::before { /* gradient hairline border */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(83,214,146,0.7), rgba(255,255,255,0.06) 40%, rgba(153,69,255,0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
label.field { display: block; font-weight: 600; font-size: 14px; color: #dfe8e3; margin-bottom: 8px; }
.input-row { display: flex; gap: 8px; }
input[type=text] {
  width: 100%; min-width: 0; font: 500 16px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* 16px stops iOS zoom */
  padding: 16px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input[type=text]::placeholder { color: var(--faint); font-family: Inter, system-ui, sans-serif; }
input[type=text]:focus { outline: none; border-color: var(--pump); box-shadow: 0 0 0 4px rgba(83,214,146,0.18); }
button { font: inherit; cursor: pointer; border: none; }
.btn-paste {
  flex: none; padding: 0 16px; border-radius: 14px; font-weight: 600; font-size: 14px;
  background: rgba(255,255,255,0.07); color: var(--ink); border: 1px solid rgba(255,255,255,0.12);
}
.btn-paste:active { transform: scale(.97); }
.btn-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 14px; padding: 17px; border-radius: 16px;
  font: 700 17px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.01em; text-decoration: none;
  color: var(--pump-ink); background: linear-gradient(135deg, #7cf0b2, var(--pump) 45%, #2fbf7b);
  box-shadow: 0 12px 30px -10px rgba(83,214,146,0.65), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform .12s, box-shadow .2s, opacity .2s;
}
.btn-cta::after { /* moving shine */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-cta:active { transform: scale(.985); }
.btn-cta:disabled { opacity: .55; cursor: default; }
.btn-cta:disabled::after { display: none; }
.btn-cta .arrow { transition: transform .2s; }
.btn-cta:hover .arrow { transform: translateX(3px); }
.btn-ghost { text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 14px;
  border-radius: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(4,20,12,0.25); border-top-color: var(--pump-ink); animation: spin .7s linear infinite; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
.note svg { flex: none; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; }
.msg.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(255,122,107,0.25); }
.msg.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(255,195,107,0.25); }

/* ── steps / trust ──────────────────────────────── */
.section-title { font: 700 13px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-align: center; margin: 34px 0 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step { text-align: center; padding: 16px 8px 14px; border-radius: 18px; background: rgba(255,255,255,0.035); border: 1px solid var(--glass-line); }
.step .ico { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(83,214,146,0.2), rgba(153,69,255,0.2)); color: #d9fbe8; }
.step b { display: block; font: 700 15px/1.2 "Space Grotesk", Inter, sans-serif; }
.step span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.trust { display: grid; gap: 8px; margin-top: 12px; }
.trust li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-line); font-size: 14px; color: #d4ddd8; }
.trust li svg { flex: none; color: var(--pump); }
.trust { padding: 0; margin: 12px 0 0; }

.foot { margin-top: 30px; text-align: center; color: var(--faint); font-size: 12.5px; }
.powered { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.powered img { width: 20px; height: 20px; }

/* ── success ────────────────────────────────────── */
.done { text-align: center; }
.check {
  width: 76px; height: 76px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #86f3bb, var(--pump) 60%, var(--pump-deep));
  box-shadow: 0 0 0 8px rgba(83,214,146,0.12), 0 16px 40px -8px rgba(83,214,146,0.6);
  animation: pop .5s cubic-bezier(.2,1.6,.4,1) both;
}
.check.info { background: radial-gradient(circle at 30% 30%, #c9a6ff, var(--sol) 65%, #5d22b3); box-shadow: 0 0 0 8px rgba(153,69,255,0.14), 0 16px 40px -8px rgba(153,69,255,0.6); }
.check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .25s ease-out forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font: 700 28px/1.1 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; margin: 6px 0 8px; }
.done p { color: var(--muted); margin: 0 0 14px; }
.addr { word-break: break-all; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-line); margin: 0 0 6px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* ── status tracker ─────────────────────────────── */
.track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; margin: 18px 0 20px; }
.track .node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.track .node i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--faint); }
.track .node.done i { background: var(--pump); color: var(--pump-ink); border-color: transparent; }
.track .node.done { color: #cfe9dc; }
.track .node.now i { background: transparent; border: 2px solid var(--pump); color: var(--pump); box-shadow: 0 0 0 5px rgba(83,214,146,0.15); animation: breathe 1.8s ease-in-out infinite; }
.track .node.now { color: var(--ink); }
.track .node.stop i { background: var(--bad); color: #fff; border-color: transparent; }
.track .bar { height: 2px; min-width: 18px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 20px; }
.track .bar.done { background: linear-gradient(90deg, var(--pump), var(--pump)); }
@keyframes breathe { 50% { box-shadow: 0 0 0 9px rgba(83,214,146,0.05); } }

@media (min-width: 720px) {
  .wrap { padding-top: 28px; }
  .pill-stage { width: 250px; height: 250px; }
}
@media (max-width: 360px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── quick nav + wallet guide ───────────────────── */
html { scroll-behavior: smooth; }
#how, #wallet, #form-card { scroll-margin-top: 16px; }
.quick { display: flex; justify-content: center; gap: 8px; margin: 14px 0 0; flex-wrap: wrap; }
.quick a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  transition: background .15s, border-color .15s;
}
.quick a svg { color: var(--pump); }
.quick a:hover, .quick a:active { background: rgba(83,214,146,0.12); border-color: rgba(83,214,146,0.4); }

.wallet { margin-top: 34px; }
.wallet-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.wallet-head .ico { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(153,69,255,0.35), rgba(83,214,146,0.25)); color: #efe6ff; }
.wallet-head h2 { font: 700 22px/1.15 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; margin: 2px 0 4px; }
.wallet-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.wallet-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 6px; display: grid; gap: 4px; }
.wallet-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-top: 1px solid var(--glass-line); }
.wallet-steps li:first-child { border-top: none; }
.wallet-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px/1 "Space Grotesk", Inter, sans-serif;
  background: rgba(83,214,146,0.14); color: var(--pump); border: 1px solid rgba(83,214,146,0.35);
}
.wallet-steps b { display: block; font-size: 15px; }
.wallet-steps span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 1px; }
.wallet-steps em { font-style: normal; color: #dfe8e3; font-weight: 600; }

/* ── what is $PUMP ──────────────────────────────── */
.what { margin-top: 34px; }
#what { scroll-margin-top: 16px; }
.quick a img { width: 16px; height: 16px; }
.pill-ico { background: linear-gradient(135deg, rgba(83,214,146,0.3), rgba(83,214,146,0.08)) !important; }
.wallet-head p b { color: var(--ink); }
.rate { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 16px; }
.rate > div { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.28); border: 1px solid var(--glass-line); }
.rate .k { display: block; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.rate b { display: block; font: 700 16px/1.3 "Space Grotesk", Inter, sans-serif; margin-top: 3px; color: #c9f5dc; }
.what-sub { font: 700 15px/1.2 "Space Grotesk", Inter, sans-serif; margin: 0 0 10px; color: #dfe8e3; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.035); border: 1px solid var(--glass-line); }
.choice .c-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 8px; background: linear-gradient(135deg, rgba(83,214,146,0.2), rgba(153,69,255,0.2)); color: #d9fbe8; }
.choice b { display: block; font: 700 15px/1.2 "Space Grotesk", Inter, sans-serif; }
.choice span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.choice em { font-style: normal; color: #dfe8e3; font-weight: 600; }
@media (max-width: 360px) { .choices, .rate { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick a { flex-direction: column; justify-content: center; gap: 5px; padding: 10px 4px; border-radius: 16px; font-size: 12.5px; line-height: 1.2; text-align: center; }
  .quick a svg, .quick a img { width: 18px; height: 18px; }
}
