/* ============================================================
   PWMP — light "fun" theme
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f4fbf7;
  --ink: #0f1a15;
  --ink-2: #35473e;
  --muted: #7c8a82;
  --muted-2: #a7b2ab;
  --line: #e9f0ec;
  --line-2: #dbe7e0;
  --card: #ffffff;

  --green: #12c775;
  --green-deep: #0a3f28;
  --green-bright: #1ee68f;
  --green-ink: #063a24;
  --mint: #d8f7e7;
  --lemon: #ffe27a;
  --sky: #c4e8ff;
  --pink: #ffcbe0;
  --violet: #d7ccff;
  --glow: rgba(18, 199, 117, 0.35);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px -8px rgba(16, 40, 30, 0.18);
  --shadow: 0 16px 40px -16px rgba(16, 60, 40, 0.28);
  --shadow-pop: 0 22px 60px -18px rgba(18, 199, 117, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
h1, h2, h3, .logo-word, .stat-n, .show-num, .modal-amount, .marquee {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }

/* ---------- animated pastel background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.7; }
.orb-a { width: 560px; height: 560px; top: -180px; left: 48%; transform: translateX(-55%);
  background: radial-gradient(circle, var(--mint), transparent 70%); animation: drift 16s ease-in-out infinite; }
.orb-b { width: 460px; height: 460px; top: 240px; right: -140px;
  background: radial-gradient(circle, var(--sky), transparent 70%); animation: drift 20s ease-in-out infinite reverse; }
.orb-c { width: 420px; height: 420px; top: 620px; left: -140px;
  background: radial-gradient(circle, var(--lemon), transparent 72%); animation: drift 24s ease-in-out infinite; }
.orb-d { width: 380px; height: 380px; top: 1200px; right: 10%;
  background: radial-gradient(circle, var(--pink), transparent 72%); animation: drift 22s ease-in-out infinite; }
@keyframes drift { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(34px,44px) scale(1.1); } }
.grid-fade {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18,199,117,0.10) 1.4px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 70%);
}

/* ---------- buttons ---------- */
.btn {
  font-family: inherit; font-weight: 700; font-size: 15px; border: none;
  border-radius: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.18s var(--bounce), box-shadow 0.2s, filter 0.2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: var(--green-ink);
  padding: 13px 22px;
  box-shadow: 0 8px 0 -2px #0a9c5b, var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 11px 0 -2px #0a9c5b, var(--shadow); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 5px 0 -2px #0a9c5b, var(--shadow-sm); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; box-shadow: 0 6px 0 -2px #0a9c5b, var(--shadow-sm); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line-2); padding: 12px 22px; }
.btn-ghost:hover { border-color: var(--green); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  backdrop-filter: blur(12px);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.72); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-coin {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--green-ink);
  background: linear-gradient(150deg, var(--green-bright), var(--green)); box-shadow: var(--shadow-sm);
}
.logo-img { height: 44px; width: auto; display: block; }
.brand-img { height: 46px; width: auto; display: block; animation: bob 3.8s ease-in-out infinite; }
.logo-word { font-weight: 700; font-size: 20px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; position: relative; transition: color 0.15s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ---------- layout ---------- */
main { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { margin: 92px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: 32px; font-weight: 700; }
.section-sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.text-grad {
  background: linear-gradient(100deg, #0fbf72, #12b8c7 45%, #7c5cff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: huepan 6s linear infinite;
}
@keyframes huepan { to { background-position: 200% center; } }

/* ---------- setup banner ---------- */
.setup-banner { display: none; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px;
  background: linear-gradient(90deg, #fff6d6, #fffdf5); border: 2px solid #ffe08a; border-radius: 16px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5; box-shadow: var(--shadow-sm); }
.setup-banner b { color: var(--ink); }
.setup-banner code { background: #fff2c2; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; color: #8a6a00; }
.setup-ico { font-size: 20px; }
.setup-link { margin-left: auto; white-space: nowrap; font-weight: 700; color: #b8860b; }

.board-empty { text-align: center; color: var(--muted); font-size: 14.5px; padding: 34px 20px;
  background: var(--bg-soft); border: 2px dashed var(--line-2); border-radius: 16px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 60px 0 30px; }
.hero-left > * { animation: rise 0.7s var(--ease) both; }
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-h1 { font-size: 56px; line-height: 1.03; font-weight: 700; margin-bottom: 20px; }
.hero-p { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 520px; margin-bottom: 30px; }
.hero-p strong { color: var(--ink); font-weight: 700; }

/* checker */
.check-card { max-width: 560px; }
.check-field { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line-2);
  border-radius: 18px; padding: 8px 8px 8px 16px; box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.check-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 5px var(--mint), var(--shadow); transform: translateY(-2px); }
.wallet-ico { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
#walletInput { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink);
  font-family: inherit; font-size: 15px; padding: 12px 6px; }
#walletInput::placeholder { color: var(--muted-2); }
.check-btn { position: relative; min-width: 172px; padding: 14px 20px; }
.check-btn.loading .btn-label { opacity: 0; }
.check-btn.loading .btn-spinner { opacity: 1; }
.btn-spinner { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2.5px solid rgba(6,58,36,0.3); border-top-color: var(--green-ink); border-radius: 50%; opacity: 0; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* indeterminate progress bar shown while a check runs */
.check-progress { display: none; height: 5px; margin-top: 12px; border-radius: 99px; overflow: hidden;
  background: var(--mint); position: relative; }
.check-progress.on { display: block; }
.check-progress-bar { position: absolute; top: 0; bottom: 0; width: 34%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green-bright), var(--green));
  animation: slidebar 1.15s var(--ease) infinite; }
@keyframes slidebar { 0% { left: -34%; } 100% { left: 100%; } }

.check-hint { font-size: 13.5px; color: var(--muted); margin-top: 12px; padding-left: 4px; }
.check-hint.working { color: var(--ink-2); font-weight: 600; }
.check-hint.working::after { content: ""; display: inline-block; width: 1.2em; text-align: left;
  animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.check-hint.error { color: #e5484d; }
.check-hint.ok { color: var(--green); font-weight: 600; }
.check-hint code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 2px solid var(--line); padding: 8px 12px; border-radius: 12px; font-family: inherit; }
button.trust-chip { cursor: pointer; transition: transform 0.15s var(--bounce), border-color 0.15s; }
button.trust-chip:hover { border-color: var(--green); transform: translateY(-2px) rotate(-1deg); }
.trust-key { color: var(--muted); }
.trust-val { font-family: ui-monospace, monospace; color: var(--ink); }
.copy-ico { width: 14px; height: 14px; color: var(--muted); }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--mint); }

/* hero right — mascot + stickers */
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-mascot { width: 340px; max-width: 90%; filter: drop-shadow(0 24px 30px rgba(16,60,40,0.22));
  animation: bobbig 5s ease-in-out infinite; }
@keyframes bobbig { 0%,100%{ transform: translateY(0) rotate(-3deg); } 50%{ transform: translateY(-22px) rotate(3deg); } }
.sticker { position: absolute; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.sticker.s1 { top: 24px; left: 2%; background: var(--lemon); animation: bob 4s ease-in-out infinite; transform: rotate(-8deg); }
.sticker.s2 { top: 42%; right: -2%; background: var(--mint); animation: bob 5.2s ease-in-out infinite reverse; transform: rotate(7deg); }
.sticker.s3 { bottom: 30px; left: 8%; background: var(--sky); animation: bob 4.6s ease-in-out infinite; transform: rotate(4deg); }

/* ---------- marquee ---------- */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 12px 0;
  background: var(--ink); transform: rotate(-1.4deg);
  width: 106vw; margin-left: calc(50% - 53vw); margin-top: 24px; margin-bottom: 24px; }
.marquee { display: inline-flex; gap: 26px; white-space: nowrap; color: #fff; font-size: 20px; font-weight: 700;
  animation: marquee 22s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; }
.marquee .star { color: var(--lemon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats bar ---------- */
.stats-bar { display: flex; align-items: center; justify-content: space-between; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); margin-top: 26px; }
.stat-cell { flex: 1; text-align: center; }
.stat-n { font-size: 27px; font-weight: 700; }
.stat-l { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.stat-div { width: 2px; height: 42px; background: var(--line); border-radius: 2px; }

/* ---------- leaderboard ---------- */
.badge-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--green);
  background: var(--mint); border: 2px solid #b6ecd0; padding: 6px 12px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18,199,117,0.25); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px rgba(18,199,117,0.25); } 50%{ box-shadow: 0 0 0 7px rgba(18,199,117,0); } }

.board { display: flex; flex-direction: column; gap: 10px; }
.board-row { display: grid; grid-template-columns: 44px 42px 1fr auto; align-items: center; gap: 14px;
  background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 13px 18px;
  transition: transform 0.18s var(--bounce), box-shadow 0.2s, border-color 0.2s; }
.board-row:hover { transform: translateY(-3px) rotate(-0.4deg); box-shadow: var(--shadow); border-color: var(--line-2); }
.board-row.me { border-color: var(--green); background: linear-gradient(90deg, var(--mint), #fff 55%); box-shadow: var(--shadow-pop); animation: pop 0.5s var(--bounce); }
@keyframes pop { from { transform: scale(0.94); } to { transform: scale(1); } }
.rank { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; color: var(--muted); text-align: center; }
.avatar { width: 42px; height: 42px; border-radius: 12px; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.board-who .addr { font-family: ui-monospace, monospace; font-size: 14px; color: var(--ink); font-weight: 600; }
.board-who .vol { font-size: 12px; color: var(--muted); margin-top: 2px; }
.board-alloc { text-align: right; }
.ba-pump { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; color: var(--green); line-height: 1.15; }
.ba-pump small { font-family: 'Inter'; font-weight: 600; font-size: 11px; color: var(--muted); }
.ba-usd { font-family: 'Space Grotesk'; font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.ba-pwmp { font-size: 11px; font-weight: 600; color: var(--muted-2); margin-top: 1px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s var(--bounce), box-shadow 0.2s; }
.step:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.step:nth-child(2):hover { transform: translateY(-6px) rotate(1deg); }
.step-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--green-ink);
  margin-bottom: 18px; animation: bob 4s ease-in-out infinite; }
.step:nth-child(1) .step-ico { background: var(--mint); }
.step:nth-child(2) .step-ico { background: var(--lemon); animation-delay: 0.4s; }
.step:nth-child(3) .step-ico { background: var(--sky); animation-delay: 0.8s; }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--green); }
.faq summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.chev { color: var(--green); font-size: 22px; font-weight: 400; transition: transform 0.25s var(--bounce); }
.faq details[open] .chev { transform: rotate(135deg); }
.faq p { padding: 0 20px 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.faq code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; font-size: 13px; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; max-width: var(--maxw); margin: 40px auto 0; padding: 34px 24px 50px; border-top: 2px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-tag { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-2); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }
.footer-fine { font-size: 12px; color: var(--muted-2); line-height: 1.6; max-width: 720px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------- result modal + card ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 14, 24, 0.55); backdrop-filter: blur(7px); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.modal-wrap { position: relative; z-index: 3; width: 100%; max-width: 700px;
  transform: scale(0.9) translateY(14px); transition: transform 0.42s var(--bounce); }
.modal-overlay.open .modal-wrap { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: -14px; right: -8px; z-index: 5; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: none; color: #0f1a15; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.modal-close:hover { transform: rotate(90deg); transition: transform 0.2s; }

/* the shareable trading card */
.airdrop-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 28px 32px 26px;
  min-height: 384px; /* rectangular, but grows with content so nothing clips */
  display: flex; flex-direction: column;
  color: #eaf2ff;
  background:
    radial-gradient(120% 90% at 88% 15%, rgba(52, 120, 255, 0.35), transparent 55%),
    radial-gradient(90% 80% at 8% 95%, rgba(22, 227, 148, 0.22), transparent 55%),
    linear-gradient(160deg, #10203a 0%, #0a1120 55%, #070b14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(4, 10, 22, 0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ac-shine { position: absolute; top: -60%; left: -20%; width: 60%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
  transform: rotate(18deg); animation: shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%,70%,100% { left: -30%; } 35% { left: 120%; } }
.ac-mascot { position: absolute; right: -20px; bottom: -34px; width: 300px; opacity: 0.95;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5)); transform: rotate(-8deg); animation: bobbig 6s ease-in-out infinite; pointer-events: none; }
.ac-inner { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.ac-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ac-brand { display: flex; align-items: center; gap: 8px; font-family: 'Space Grotesk'; font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.ac-logo { width: 30px; height: 30px; object-fit: contain; }
.ac-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: rgba(255,255,255,0.55); }
.ac-ticker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.ac-hero { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 14px;
  background: linear-gradient(120deg, #16e394, #12c7c0); color: #052018;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 46px; line-height: 1;
  box-shadow: 0 12px 30px -8px rgba(22,227,148,0.5); max-width: 66%; align-self: flex-start; }
.ac-hero-ico { font-size: 38px; opacity: 0.85; }
.ac-hero-tick { font-size: 18px; font-weight: 700; align-self: flex-end; margin-bottom: 4px; }
.ac-usd { margin-top: 12px; font-size: 16px; font-weight: 600; color: #bcd0ea; }
.ac-usd span { color: #eaf2ff; }
.ac-rows { margin: 20px 0 18px; max-width: 60%; }
.ac-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; }
.ac-row:last-child { border-bottom: none; }
.ac-row span { color: rgba(255,255,255,0.6); }
.ac-row b { font-family: 'Space Grotesk'; font-weight: 700; }
.v-violet { color: #b6a4ff; } .v-green { color: #35f0a6; }
.ac-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto;
  font-size: 12.5px; color: rgba(255,255,255,0.6); }
.ac-user { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #eaf2ff; }
.ac-user-pfp { width: 22px; height: 22px; border-radius: 7px; }
.ac-site { text-align: right; }

.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.modal-actions-row { display: flex; gap: 10px; }
.modal-actions-row .btn { flex: 1; }
.modal-actions .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }
.modal-actions .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
.modal-fine { margin-top: 14px; font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.5; text-align: center; }

/* ---------- hidden dev launch panel ---------- */
#faqHeading { cursor: pointer; }
.dev-overlay { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto; background: rgba(6,14,24,0.6); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.dev-overlay.open { opacity: 1; pointer-events: auto; }
.dev-panel { position: relative; width: 100%; max-width: 560px; background: #fff; border: 2px solid var(--line-2);
  border-radius: 24px; padding: 30px; box-shadow: 0 40px 90px rgba(16,60,40,0.3); }
.dev-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.dev-logo { width: 46px; height: 46px; object-fit: contain; }
.dev-head h3 { font-size: 21px; font-weight: 700; }
.dev-sub { font-size: 13px; color: var(--muted); }
.dev-gate label, .dev-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.dev-gate input, .dev-field input, .dev-field textarea { width: 100%; font-family: inherit; font-size: 15px;
  color: var(--ink); background: var(--bg-soft); border: 2px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; }
.dev-gate input:focus, .dev-field input:focus, .dev-field textarea:focus { border-color: var(--green); background: #fff; }
.dev-gate input { margin-bottom: 12px; }
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.dev-field.dev-col2 { grid-column: 1 / -1; }
.dev-field textarea { resize: vertical; }
.dev-upload { display: flex; align-items: center; gap: 12px; justify-content: center; min-height: 92px; cursor: pointer;
  background: var(--bg-soft); border: 2px dashed var(--line-2); border-radius: 14px; padding: 12px; transition: border-color 0.2s; }
.dev-upload:hover { border-color: var(--green); }
.dev-preview { width: 68px; height: 68px; object-fit: cover; border-radius: 12px; }
.dev-upload-text { color: var(--muted); font-size: 14px; font-weight: 600; }
.dev-ca { background: var(--bg-soft); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.dev-ca-label { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.dev-ca-row { display: flex; align-items: center; gap: 10px; }
.dev-ca-row code { flex: 1; font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink); word-break: break-all; }
.dev-launch { font-size: 17px; padding: 16px; }
.dev-warn { font-size: 12px; color: #b8860b; text-align: center; margin-top: 12px; line-height: 1.5; }
.dev-msg { font-size: 13.5px; font-weight: 600; margin-top: 12px; text-align: center; line-height: 1.5; word-break: break-word; }
.dev-msg.err { color: #e5484d; } .dev-msg.ok { color: var(--green); } .dev-msg.working { color: var(--ink-2); }
.dev-msg a { color: var(--green); text-decoration: underline; }
@media (max-width: 560px) { .dev-grid { grid-template-columns: 1fr; } }

/* ---------- wallet scan overlay ---------- */
.scan-overlay { position: fixed; inset: 0; z-index: 98; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(255,255,255,0.75); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.scan-overlay.open { opacity: 1; pointer-events: auto; }
.scan-card { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: #fff; border: 2px solid var(--line-2); border-radius: 26px; padding: 38px 46px;
  box-shadow: var(--shadow-pop); transform: scale(0.92); transition: transform 0.3s var(--bounce); }
.scan-overlay.open .scan-card { transform: scale(1); }
.scan-ring { position: relative; width: 128px; height: 128px; display: grid; place-items: center; }
.scan-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px dashed var(--green); animation: ringspin 5s linear infinite; }
.scan-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%;
  border: 2px solid var(--mint); }
@keyframes ringspin { to { transform: rotate(360deg); } }
.scan-orbit { position: absolute; inset: 0; animation: ringspin 1.6s linear infinite; }
.scan-orbit::before { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green-bright);
  box-shadow: 0 0 12px var(--glow); }
.scan-mascot { width: 74px; height: 74px; object-fit: contain; animation: bobbig 2.2s ease-in-out infinite; }
.scan-phase { font-family: 'Space Grotesk'; font-weight: 700; font-size: 19px; color: var(--ink); }
.scan-phase::after { content: ""; display: inline-block; width: 1.1em; text-align: left; animation: dots 1.2s steps(4) infinite; }
.scan-sub { font-family: ui-monospace, monospace; font-size: 13px; color: var(--muted); margin-top: -8px; }
.scan-bar { width: 240px; height: 7px; border-radius: 99px; overflow: hidden; background: var(--mint); position: relative; }
.scan-bar-fill { position: absolute; top: 0; bottom: 0; width: 36%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green-bright), var(--green)); animation: slidebar 1.1s var(--ease) infinite; }
.scan-ticks { display: flex; gap: 10px; }
.scan-tick { font-size: 11px; color: var(--green); opacity: 0.25; animation: tickpulse 1.2s ease-in-out infinite; }
.scan-tick.t2 { animation-delay: 0.2s; } .scan-tick.t3 { animation-delay: 0.4s; }
@keyframes tickpulse { 0%,100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* ---------- top live notification ---------- */
.top-note { position: fixed; top: 14px; left: 50%; z-index: 130;
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 2px solid var(--green); border-radius: 999px;
  padding: 7px 16px 7px 9px; box-shadow: 0 12px 30px -8px rgba(18,199,117,0.45), var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
  transform: translate(-50%, -150%); opacity: 0; pointer-events: none;
  transition: transform 0.45s var(--bounce), opacity 0.3s; }
.top-note.show { transform: translate(-50%, 0); opacity: 1; }
.top-note img { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; }
.top-note .tn-bell { font-size: 14px; animation: bell 0.6s var(--ease); }
.top-note .tn-amt { color: var(--green); }
@keyframes bell { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } }

/* ---------- live check toasts ---------- */
.toasts { position: fixed; left: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 11px; background: #fff; border: 2px solid var(--line-2);
  border-radius: 16px; padding: 11px 16px 11px 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(-16px) scale(0.96); transition: opacity 0.35s var(--ease), transform 0.35s var(--bounce); }
.toast.in { opacity: 1; transform: none; }
.toast-pfp { width: 36px; height: 36px; border-radius: 11px; }
.toast-who { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.toast-amt { font-family: 'Space Grotesk'; font-weight: 700; font-size: 15px; color: var(--ink); }
.toast-amt span { font-family: 'Inter'; font-weight: 600; font-size: 12.5px; color: var(--green); }

/* leaderboard extras */
.you-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; color: var(--green-ink);
  background: linear-gradient(150deg, var(--green-bright), var(--green)); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.board-gap { text-align: center; color: var(--muted-2); font-size: 18px; line-height: 1; padding: 2px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; }
  .hero-right { min-height: 300px; order: -1; }
  .hero-mascot { width: 240px; }
  .hero-h1 { font-size: 44px; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  main { padding: 0 16px; }
  .hero-h1 { font-size: 34px; }
  .hero-p { font-size: 16px; }
  .check-field { flex-wrap: wrap; padding: 12px; }
  #walletInput { width: 100%; padding: 6px; }
  .check-btn { width: 100%; }
  .section { margin: 64px 0; }
  .section-title { font-size: 25px; }
  .stats-bar { flex-wrap: wrap; gap: 16px; }
  .stat-cell { flex-basis: 40%; }
  .stat-div { display: none; }
  .board-row { grid-template-columns: 30px 34px 1fr auto; gap: 10px; padding: 12px 14px; }
  .marquee { font-size: 16px; }
  .airdrop-card { aspect-ratio: auto; padding: 22px; }
  .ac-hero { font-size: 30px; max-width: 92%; }
  .ac-rows { max-width: 92%; margin: 18px 0 14px; }
  .ac-mascot { width: 170px; opacity: 0.55; }
  .toasts { left: 10px; bottom: 10px; right: 10px; }
}
/* ============================================================
   extra animations
   ============================================================ */

/* the long-lost keyframes (bob/wiggle were referenced but never defined) */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 60% { transform: rotate(6deg); } }

/* floating particles drifting up the page */
.float-part { position: absolute; bottom: -6vh; font-size: 18px; opacity: 0;
  animation: floatup linear infinite; pointer-events: none; }
@keyframes floatup {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.5; }
  85% { opacity: 0.35; }
  100% { transform: translateY(-112vh) rotate(50deg); opacity: 0; }
}

/* subtle drifting of the dotted grid */
.grid-fade { animation: gridpan 40s linear infinite alternate; }
@keyframes gridpan { from { background-position: 0 0; } to { background-position: 68px 34px; } }

/* section title underline draws in on reveal */
.section-title::after { content: ""; display: block; width: 0; height: 4px; margin-top: 10px;
  border-radius: 4px; background: linear-gradient(90deg, var(--green-bright), #12b8c7);
  transition: width 0.7s var(--ease) 0.25s; }
.section-head.center .section-title::after { margin-left: auto; margin-right: auto; }
.reveal.in .section-title::after, .section-head.in .section-title::after { width: 58px; }

/* periodic shine sweep across primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -70%; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); animation: btnshine 3.8s ease-in-out infinite; }
@keyframes btnshine { 0%, 62%, 100% { left: -70%; } 42% { left: 130%; } }

/* leaderboard rows pop in with a stagger (delay set inline per row) */
.board-row { animation: rowin 0.5s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.board-row.me { animation: rowin 0.5s var(--ease) both; }

/* stats bar: cells lift on hover, numbers glow green */
.stat-cell { transition: transform 0.2s var(--bounce); }
.stat-cell:hover { transform: translateY(-4px); }
.stat-cell .stat-n { transition: color 0.2s; }
.stat-cell:hover .stat-n { color: var(--green); }

/* step icons wiggle on card hover */
.step:hover .step-ico { animation: wiggle 0.5s var(--ease); }

/* mascot gets excited on hover */
.hero-mascot:hover { animation-duration: 1.1s; cursor: pointer; }

/* marquee pauses on hover */
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* faq answer fades open */
.faq details[open] p { animation: rise 0.35s var(--ease) both; }

/* Respect reduce-motion only for the big movement (scroll slide-ins),
   but keep the ambient background + gentle brand motion so the site
   never looks dead. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-left > * { animation: none !important; opacity: 1 !important; }
}
