/* ============================================================
   Mew Club MC — unified premium theme.
   Loaded LAST on every page (after style.css / pro.css / fit.css) and restyles both
   class systems (.btn/.panel … and .px-* / .pw-*) so the whole site reads as one product.
   Direction: near-black ink room, red primary, paper-framed membership cards, brass foil details.
   ============================================================ */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/public/fonts/Inter-Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/public/fonts/Inter-Medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/public/fonts/Inter-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/public/fonts/Inter-Bold.woff') format('woff'); }
@font-face { font-family: 'Inter Display'; font-weight: 800; font-style: normal; font-display: swap; src: url('/public/fonts/InterDisplay-ExtraBold.woff') format('woff'); }
@font-face { font-family: 'Inter Display'; font-weight: 900; font-style: normal; font-display: swap; src: url('/public/fonts/InterDisplay-Black.woff') format('woff'); }

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Helvetica, Arial, sans-serif;
  --display: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1000px;
  --h1-size: clamp(28px, 8.3vw, 62px);
  --btn-sm: 40px;
  --btn-md: 48px;
  --btn-lg: 54px;
}

/* ---------- page canvas: aurora + fine grid + grain (one definition for every page) ---------- */
body, body.px { font-family: var(--font); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }

body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(85% 55% at 50% 0%, #000 15%, transparent 78%);
  mask-image: radial-gradient(85% 55% at 50% 0%, #000 15%, transparent 78%);
}
.px-bg::after { opacity: .5; background-size: 56px 56px; }



/* ---------- widths ---------- */
.wrap, .px-wrap { max-width: var(--max-width); }
.px-narrow { max-width: 780px; }
section:not(.hero) > .wrap { max-width: var(--max-width); }
.site-header .wrap, .px-header-in { max-width: var(--max-width); }
.panel p, .faq-item p, .px-faq-item p { max-width: 68ch; }

/* ---------- type ---------- */
h1, h2, h3, .section-heading, .px-h1, .px-h2, .px-big, .px-alloc-amt, .num, .info-num, .px-cell b, .px-stat-num, .px-tl-day, .px-modal-title, .px-modal-amount, .ticket .number, .pw-modal-t {
  font-family: var(--display);
}
.section-heading, .px-h2 { font-weight: 800; letter-spacing: -.032em; line-height: 1.08; font-size: clamp(28px, 4.4vw, 40px); }
.px-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.px-sec-head.px-center .px-kicker::before, .px-sec-head.px-center .px-kicker::after { display: none; }
.panel p, .px-lead, .faq-item p, .px-faq-item p { color: var(--muted); }
.px-label, .cell .label, .info-label, .px-cell span, .px-stat-label {
  text-transform: none; letter-spacing: .01em; font-size: 13px; font-weight: 500; color: var(--muted);
}

/* ---------- surfaces (three tiers, not one card for everything) ---------- */
.panel, .px-card, .info-cell, .faq-item, .px-faq-item, .px-pool, .px-stat, .px-tl-card, .pw-card, .px-contract {
  background: linear-gradient(180deg, rgba(29, 30, 34, .55), rgba(31, 30, 29, .72));
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1);
}

.info-cell { transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s; }


/* ---------- header ---------- */

.brand, .px-brand { min-height: 40px; font-family: var(--display); letter-spacing: -.01em; font-size: 16px; }
.brand-logo, .px-brand-logo { border: 1.5px solid rgba(225, 181, 91, .7); }
.px-nav a:hover { background: var(--glass-2); }

/* ---------- buttons ---------- */
.btn, .px-btn, .pw-wbtn {
  position: relative; overflow: hidden; isolation: isolate; font-family: var(--font); font-weight: 700; letter-spacing: 0;
  color: #ffffff; background: linear-gradient(180deg, #ecca78 0%, #c19434 100%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(0,0,0,.14) inset, 0 14px 30px -12px rgba(212, 168, 75, .75);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .25s;
}
.btn::after, .px-btn::after, .pw-wbtn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.btn:hover:not(:disabled)::after, .px-btn:hover:not(:disabled)::after, .pw-wbtn:hover::after { transform: translateX(120%) skewX(-18deg); }

.btn:active:not(:disabled), .px-btn:active:not(:disabled) { transform: translateY(0) scale(.985); }
.btn-outline, .px-btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset;
}
.btn-outline:hover:not(:disabled), .px-btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .1); border-color: rgba(225, 181, 91, .6); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset; }
.btn:disabled, .btn[disabled], .px-btn:disabled { box-shadow: none; background: var(--glass-2); color: var(--faint); border-color: var(--line); }
.btn:disabled::after, .px-btn:disabled::after { display: none; }
.px a.px-btn { color: #ffffff; } .px a.px-btn-ghost { color: var(--text); }
.px a.px-btn:hover { color: #ffffff; } .px a.px-btn-ghost:hover { color: var(--text); }

/* ---------- forms ---------- */
input:not([type=checkbox]):not([type=file]), select { background: rgba(31, 30, 29, .6); border-color: var(--line-2); border-radius: 16px; }
input:focus, select:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(225, 181, 91, .16); }
.field label { font-size: 14px; }
.px-input { background: rgba(31, 30, 29, .6); }
.px-input:focus-within { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(225, 181, 91, .14); }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero { text-align: center; padding: 30px 0 0; }
.hero-grid { display: grid; gap: 22px; align-items: start; }
.hero-copy { min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text);
  background: rgba(212, 168, 75, .1); border: 1px solid rgba(232, 200, 119, .3);
}
.hero h1 {
  font-family: var(--display); font-weight: 900; font-size: var(--h1-size); line-height: 1; letter-spacing: -.04em;
  margin: 18px 0 16px; text-wrap: balance; color: var(--text);
}
.hero h1 .h1-l1, .hero h1 .h1-l2 { display: block; white-space: nowrap; }
.hero h1 [data-project-name] { display: inline; color: var(--primary-soft); }
.hero p.subtitle { margin: 0 auto 22px; max-width: 30em; font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); }
.hero > .wrap .form-note, .hero .form-note { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.hero .form-note strong { color: var(--text); }

/* countdown: split-flap plates */
.countdown { width: 100%; max-width: none; margin: 18px 0 10px; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { position: relative; padding: 14px 4px 11px; border-radius: 16px; text-align: center; overflow: hidden; min-width: 0; container-type: inline-size;
  background: linear-gradient(180deg, #30302e, #1f1e1d); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.cell::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.cell .num { font-weight: 900; font-size: clamp(30px, 8vw, 46px); letter-spacing: -.04em; line-height: 1.05; }
.cell .label { margin-top: 2px; }
/* Size the digits and label from the plate's own width, so a bigger system/browser text size can't overflow it. */
@supports (width: 1cqw) {
  .cell .num { font-size: min(46px, 42cqw); }
  .cell .label { font-size: max(11px, min(13px, 12cqw)); white-space: nowrap; letter-spacing: 0; }
}
.cell .num.tick { animation: tick .32s cubic-bezier(.2,.8,.2,1); }
@keyframes tick { from { transform: translateY(-38%); opacity: .15; } to { transform: none; opacity: 1; } }

.hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; width: auto; margin: 18px 0 0; }
.hero-actions .btn { width: auto; padding: 0 24px; font-size: 16px; min-height: var(--btn-lg); flex: 1 1 200px; }
.hero-actions .btn-outline { padding: 0 20px 0 12px; }
.mint-btn-icon { width: 30px; height: 30px; border: 1.5px solid rgba(225, 181, 91, .7); }

.progress-fill { width: 0; }
.counter-line { margin: 10px 0 2px; font-size: 14px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.counter-line strong { color: var(--text); font-size: 15px; }
.hero .form-note#fcfsNote { margin: 0 0 16px; font-size: 14px; }

.agent-log { display: flex; flex-wrap: wrap; max-width: none; margin: 0 0 20px; padding: 4px 14px; border-radius: 16px; font: 500 14px var(--font); }
.agent-log-row { flex: 1 1 45%; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 9px 4px; }
.agent-log-row + .agent-log-row { border-top: 0; }
.agent-log-row span { font-size: 13px; }
.agent-log-row b { font-size: 15px; font-weight: 700; }
#whitelistStatus { color: var(--primary-soft); text-transform: capitalize; }

/* step tabs: now 4 equal pills */
.step-tabs { grid-template-columns: repeat(4, 1fr); max-width: none; margin: 4px 0 0; }
.step-tabs a { flex-direction: row; gap: 8px; padding: 8px 10px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.step-tabs a.active { border-color: rgba(225, 181, 91, .6); background: rgba(225, 181, 91, .08); }

.step-icon { width: 22px; height: 22px; font-size: 12px; }

@media (max-width: 560px) {
  .step-tabs { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex-basis: 100%; }
}

/* mobile header: keep the brand readable */
.hide-sm { display: inline; }
@media (max-width: 460px) {
  .hide-sm { display: none; }
  .site-header .wrap { padding: 7px 8px 7px 10px; gap: 8px; }
  .brand span { font-size: 15px; }

}
@media (max-width: 370px) { .brand span { display: none; } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 52px 0; }
.section-heading-row .section-heading, .section-heading { margin: 6px 0 22px; }
.step-no { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin-right: .38em; border-radius: 50%; vertical-align: -.08em;
  background: var(--brass); color: #1f1e1d; font-size: .8em; font-weight: 900; letter-spacing: 0; }
.section-mascot img { border: 1.5px solid rgba(225, 181, 91, .7); }
.mascot-crown { color: var(--brass); }

.info-grid { gap: 10px; }
.info-cell { padding: 20px 18px; border-radius: 20px; }
.info-num { font-weight: 900; letter-spacing: -.035em; }
.info-h { font-family: var(--display); }

.steps li { border-radius: 20px; background: linear-gradient(180deg, rgba(29, 30, 34, .5), rgba(31, 30, 29, .7)); }
.steps .n { background: var(--brass); color: #1f1e1d; font-family: var(--display); font-weight: 900; }

/* distribution: one palette everywhere (matches the airdrop donut) */
.dist-bar { background: none; border-radius: 0; overflow: visible; }

 
 

/* tasks */
.task { padding: 12px 14px; }

.task-icon-x { border-color: rgba(255,255,255,.3); }

/* lock states: show what is behind the glass */
.locked-panel.is-locked > *:not(.lock-overlay) { filter: blur(1.5px); opacity: .5; }
#faceSection.is-locked > .face-grid { filter: blur(1px) saturate(.7); opacity: .6; }

.lock-overlay .lock-title { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; letter-spacing: .02em; }
.lock-overlay .lock-title::before { background: var(--brass); box-shadow: 0 -4px 0 -2px var(--brass); margin: 0; }
.lock-overlay .lock-sub { color: var(--muted); font-size: 14px; }

/* ============================================================
   TICKET — a paper pass with foil stamp
   ============================================================ */
.ticket { --stub: 104px; --notch: 22px; --pin: 8px; --edge: 2px; max-width: 640px; }
.ticket-rim { background: linear-gradient(135deg, var(--brass-2), var(--brass) 45%, #d6a84c); }
.ticket-body {
  min-height: 210px; background:
    radial-gradient(90% 120% at 0% 0%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(160deg, var(--paper), var(--paper-2));
}
.ticket-stub::before, .ticket-stub::after { border-left: 2px dashed rgba(31, 30, 29, .35); }
.ticket-stub:first-child { display: grid; place-items: center; }
.ticket-stub:first-child::before { display: none; }
.ticket-stub:first-child > span {
  writing-mode: vertical-rl; transform: rotate(180deg); font: 800 12px var(--display); letter-spacing: .28em; color: rgba(31, 30, 29, .55); white-space: nowrap;
}
.ticket-stub:last-child { display: grid; place-items: center; }
.ticket-face { width: 70px; height: 70px; object-fit: cover; border-radius: 16px; border: 3px solid var(--paper-ink); box-shadow: 0 8px 14px -8px rgba(0,0,0,.6); background: var(--surface); transform: rotate(4deg); }
.ticket-face:not([src]) { display: none; }
.ticket .stamp {
  display: inline-block; align-self: center; padding: 5px 14px; border: 2px solid #d93c46; border-radius: 6px; transform: rotate(-3deg);
  color: #d93c46; font: 900 14px var(--display); letter-spacing: .14em; text-transform: uppercase;
}
.ticket .number { color: var(--paper-ink); font-weight: 900; letter-spacing: -.05em; margin: 10px 0 4px; }
.ticket .handle { color: rgba(31, 30, 29, .72); font-weight: 600; }
@media (max-width: 480px) { .ticket { --stub: 60px; --notch: 18px; --pin: 6px; } .ticket-face { width: 46px; height: 46px; border-radius: 12px; } .ticket-stub:first-child > span { font-size: 11px; } }

/* faces: 4 across, holo ring on hover/selected */
.face-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.face-card { border: 0; }
.face-card img { border: 0; }


.face-card .check { top: 10px; right: 10px; width: 24px; height: 24px; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
@media (max-width: 520px) { .face-grid { grid-template-columns: repeat(2, 1fr); } }

#shareCanvas { max-width: 460px; border-radius: 20px; box-shadow: 0 34px 60px -26px rgba(0,0,0,.95), 0 0 0 1px rgba(225, 181, 91, .35); }

/* faq */
.faq-item summary, .px-faq-item summary { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.faq-item[open], .px-faq-item[open] { border-color: rgba(225, 181, 91, .45); }
.faq-item summary::after { color: var(--brass); }
.px-faq-item summary::after { color: var(--brass); background: rgba(225, 181, 91, .12); }

footer { padding: 40px 0 52px; margin-top: 24px; }
footer .socials a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer .socials a:hover { color: var(--text); }
.foot-note { max-width: 520px; margin: 10px auto 0; font-size: 13px; color: var(--faint); }

/* ============================================================
   AIRDROP + CLAIM
   ============================================================ */
.px-hero { padding: 36px 0 28px; }
.px-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); }
.px-h1 { font-weight: 900; letter-spacing: -.04em; line-height: 1; font-size: var(--h1-size); }

.px-sub { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.px-stat { border-radius: 20px; }
.px-stats-4 .px-stat-num, .px-stat-num { background: none; -webkit-text-fill-color: currentColor; color: var(--text); font-weight: 900; letter-spacing: -.045em; }
.px-stats-4 .px-stat-num small { -webkit-text-fill-color: var(--brass); color: var(--brass); }
.px-stats-4 .px-stat-label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }

/* pools: 3 across on desktop, big number can wrap its unit */
.px-pools { gap: 16px; }
@media (min-width: 1000px) { .px-pools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .px-pool { padding: 28px 22px 22px; } .px-pool-sub { min-height: 4.2em; } }
.px-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 900; letter-spacing: -.05em; font-size: clamp(32px, 4.2vw, 42px); }
.px-big small { margin-left: 0; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.px-pool-name { font-family: var(--display); letter-spacing: -.02em; }
.px-pill { text-transform: none; letter-spacing: .01em; font-size: 12px; }
.px-count .px-cell, .px-cell { background: rgba(31, 30, 29, .6); border-radius: 16px; }
.px-cell b { font-weight: 900; letter-spacing: -.04em; }
.px-pool[data-pool="referral"] { --accent: var(--brass); --accent-2: var(--brass-2); --accent-rgb: 225, 181, 91; }

.px-timeline { max-width: 640px; }
.px-tl-day { font-weight: 900; letter-spacing: -.04em; }

.px-tl::before { background: linear-gradient(90deg, rgba(225, 181, 91,.2), rgba(225, 181, 91,.55), rgba(225, 181, 91,.2)); }
.px-tl-stem { background: rgba(225, 181, 91, .5); }
.px-tl-ico { color: var(--brass); }

.px-donut { box-shadow: 0 0 80px -16px rgba(212, 168, 75, .3); }
.px-donut-mid { background: var(--surface-deep); }
.px-donut-mid b { font-family: var(--display); font-weight: 900; }
.px-leg-pct { font-family: var(--display); font-weight: 800; }
.px-leg-amt { color: var(--brass); }
.px-step-num { background: var(--brass); color: #1f1e1d; border-radius: 50%; font-family: var(--display); font-weight: 900; }

/* eligibility popup: brand-matched (was pastel purple/gold) */
.px-modal-card { max-width: 400px; border-radius: 28px; border: 1px solid rgba(225, 181, 91, .5);
  background: radial-gradient(90% 60% at 50% 0%, rgba(212, 168, 75, .22), transparent 70%), linear-gradient(180deg, #2f2e2b, #1f1e1d); box-shadow: 0 40px 90px -20px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.1) inset; }

.px-modal-title { font-weight: 900; letter-spacing: -.04em; font-size: 26px; }
.px-modal-amount { font-weight: 900; font-size: 40px; background-image: linear-gradient(100deg, var(--primary-soft), #fff 60%, var(--brass-2)); }

/* wallet dialog */
.pw-modal-card { border: 1px solid rgba(225, 181, 91, .4); background: linear-gradient(180deg, #2f2e2b, #1f1e1d); }
.pw-wbtn { min-height: var(--btn-sm); padding: 0 17px; }
.pw-wchip { min-height: var(--btn-sm); }


/* ---------- accessibility floor ---------- */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.px :focus-visible { outline-color: var(--brass); }
@media (prefers-reduced-motion: reduce) {
  .cell .num.tick { animation: none !important; }
}

/* ---------- claim pool cards: head wraps, big number never breaks mid-digit ---------- */
.px-pool-head { flex-wrap: wrap; align-items: center; row-gap: 12px; }
.px-pool-ico { order: 1; }
.px-pill { order: 2; margin-left: auto; }
.px-pool-title { order: 3; flex: 1 1 100%; }
.px-pool-sub { font-size: 14px; }
.px-big { overflow-wrap: normal; }
.px-big > span { white-space: nowrap; }
@media (min-width: 1000px) { .px-big { font-size: clamp(26px, 2.9vw, 32px); } }
.px-live { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.px-meter-top { font-size: 14px; }
.px-alloc-note, .px-status { font-size: 13px; }
.nav-actions .btn { gap: 0; }
@media (min-width: 1000px) { .px-pool-title { min-height: 82px; } }

/* ---- header buttons: original height, a bit wider (Airdrop / Join / Claim) ---- */
.nav-actions { gap: 8px; }
.nav-actions .btn-sm { padding: 0 22px; font-size: 14px; min-height: var(--btn-sm); }
.px-nav a { display: inline-flex; align-items: center; min-height: var(--btn-sm); font-size: 14px; padding: 0 16px; }
.px-nav .px-nav-cta { font-size: 14px; font-weight: 700; padding: 0 22px; }
@media (max-width: 460px) {
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { padding: 0 18px; font-size: 13px; }
}
@media (max-width: 380px) { .nav-actions .btn-sm { padding: 0 14px; } }

/* ---- X logo in footers ---- */
.x-logo-link { display: inline-flex !important; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--text) !important; transition: transform .2s, background .2s, border-color .2s; }
.x-logo-link:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); border-color: rgba(225, 181, 91, .6); }
.x-logo-link svg { width: 22px; height: 22px; display: block; }

footer .socials, .px-footer-links { align-items: center; }

/* ---- hero: NFT slider on top, paper frames (same as face cards + ticket) ---- */
.hero { padding-top: 14px; }
.hero > .hero-slider { margin: 4px 0 6px; padding: 8px 0 14px; }
.slide-card { width: 150px; height: 150px; padding: 5px; margin-right: 12px;
  background: linear-gradient(160deg, var(--paper), var(--paper-2));
  transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.slide-card:hover { transform: translateY(-8px) rotate(-1.5deg); }
.slide-card img { border-radius: 20px; border: 0; }
@media (min-width: 860px) { .slide-card { width: 190px; height: 190px; padding: 6px; border-radius: 28px; } .slide-card img { border-radius: 24px; } }
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 720px; margin-inline: auto; width: 100%; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.hero-chips span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; font-size: 13px; color: var(--muted); }
.hero-chips b { font-family: var(--display); font-weight: 900; font-size: 17px; color: var(--text); }

/* ============================================================
   PROGRESS BARS: slim tube, site colours, candy stripes, % bubble (no glow)
   ============================================================ */
.px-bar, .progress-track {
  --pct: 0; position: relative;
}
.px-bar-fill, .progress-fill {
  position: relative; overflow: hidden;
  animation: none;
}
.px-bar-fill::after, .progress-fill::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; transform: none; animation: none;
}

/* percentage bubble that rides the end of the fill */
.px-bar[data-label]:not([data-label=""])::after, .progress-track[data-label]:not([data-label=""])::after {
  content: attr(data-label); position: absolute; border-radius: 8px; white-space: nowrap;
}
.px-bar[data-label]:not([data-label=""])::before, .progress-track[data-label]:not([data-label=""])::before {
  content: ''; position: absolute; z-index: 1; bottom: calc(100% + 3px); left: clamp(24px, calc(var(--pct) * 1%), calc(100% - 24px)); transform: translateX(-50%) rotate(45deg);
  width: 7px; height: 7px; background: #1f1e1d; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: left 1s var(--ease);
}

@media (prefers-reduced-motion: reduce) { .px-bar-fill, .progress-fill { animation: none !important; } }

/* ============================================================
   POLISH LAYER (v8): one button scale, one header, one rhythm
   ============================================================ */
.btn, .px-btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--btn-md); padding: 0 24px; font-size: 15px; line-height: 1; }
.btn-sm, .px-btn-sm { min-height: var(--btn-sm); padding: 0 20px; }
.btn-block, .px-btn-block { min-height: var(--btn-lg); padding: 0 24px; font-size: 16px; }

/* header: same brand, same pill buttons on every page (ghost = other page, filled = next step) */
a.brand { color: var(--text); text-decoration: none; }
.px-nav { gap: 8px; }
.px-nav a:not(.px-nav-cta) { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.px-nav a:not(.px-nav-cta):hover { border-color: rgba(225, 181, 91, .6); }
.px-nav .px-nav-cta, .px-nav .px-nav-cta:hover {
  border: 1px solid rgba(255,255,255,.28); background: linear-gradient(180deg, #ecca78 0%, #c19434 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(0,0,0,.14) inset, 0 14px 30px -12px rgba(212, 168, 75, .75);
}

/* vertical rhythm: airdrop / claim sections match the home sections */

.px-sec-head { margin-bottom: 22px; }

/* skip link */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--brass); color: #1f1e1d; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; }

/* 404 (was inline styles) */
.nf-wrap { min-height: 100vh; display: grid; place-items: center; text-align: center; max-width: 560px; }
.nf-logo { display: block; margin: 0 auto 18px; width: 96px; height: 96px; border: 2px solid var(--brass); }
.nf-title { font-size: clamp(40px, 10vw, 64px); margin: 0 0 10px; }
.nf-text { color: var(--muted); margin: 0 0 24px; }
.nf-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ===== Airdrop page: wallet checker sits right under the title ===== */

.px-hero-top .px-lead { margin-bottom: 0; }
.px-hero-top .px-sub { margin-bottom: 10px; }
.px-checker { padding: 22px 0 18px; scroll-margin-top: 88px; }
.px-checker .px-sec-head { margin-bottom: 14px; text-align: center; }
.px-checker .px-h2 { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(22px, 5.6vw, 30px); }
.px-checker .px-h2::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.px-checker .px-steps {
  position: relative;
}
.px-checker .px-steps::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--brass), var(--primary-soft), transparent); opacity: .85; }
.px-checker .px-step { padding: 22px 20px; }
.px-checker .px-step-head { align-items: center; margin-bottom: 14px; }

.px-checker .px-step-title { font-size: 18px; letter-spacing: -.02em; }
.px-checker .px-step-sub { font-size: 13.5px; line-height: 1.45; }
.px-checker .px-input { padding: 5px 6px 5px 15px; border-radius: 18px; background: rgba(31, 30, 29, .72); border-color: rgba(255, 255, 255, .16); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.px-checker .px-input input { font-size: 15px; padding: 14px 0; }
.px-checker .px-chip { padding: 12px 18px; }
.px-checker .px-msg { min-height: 0; }
.px-checker .px-msg:empty { display: none; }
.px-checker .px-fine-pad { margin-top: 14px; text-align: center; padding: 0 6px; }

.px-hero-facts .px-stats { margin-top: 0; }
@media (min-width: 720px) {
  
  .px-checker { padding: 26px 0 26px; }
  .px-checker .px-step { padding: 28px 30px; }
}

/* ===== Airdrop page: tidy details (compact facts card, even rhythm, neat legend) ===== */
/* 1. one compact facts card instead of four big tiles */
.px-hero-facts { padding: 4px 0 8px; }
.px-hero-facts .px-stats.px-stats-4 { gap: 0; max-width: 680px; padding: 0; overflow: hidden; }
.px-hero-facts .px-stats-4 .px-stat { border: 0; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; min-height: 84px; padding: 14px 8px 12px; }


.px-hero-facts .px-stats-4 .px-stat-label { font-size: 12.5px; color: var(--muted); }
@media (min-width: 600px) {
  .px-hero-facts .px-stats-4 .px-stat { border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .px-hero-facts .px-stats-4 .px-stat:last-child { border-right: 0; }
}
/* 2. notes get an icon and a soft box */
.px-hero-facts .px-note, .px-checker .px-fine-pad {
  display: flex; align-items: flex-start; gap: 11px; max-width: 680px; margin: 14px auto 0; padding: 12px 15px; text-align: left; font-size: 13px; line-height: 1.5; color: var(--muted);
}
.px-hero-facts .px-note::before, .px-checker .px-fine-pad::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1b55b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.01'/%3E%3C/svg%3E"); }
.px-checker .px-fine-pad::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1b55b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
/* 3. even section rhythm, centred headings with a small gold accent */
.px-section { padding: 30px 0; }
.px-section-tight { padding: 6px 0 14px; }
.px-section .px-sec-head { text-align: center; margin-bottom: 18px; }
.px-section:not(.px-checker) .px-sec-head .px-h2::after { content: ''; display: block; width: 38px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--brass), var(--primary-soft)); }
@media (min-width: 720px) { .px-section { padding: 44px 0; } .px-section .px-sec-head { margin-bottom: 26px; } }
/* 4. the two claim cards always match in height */
.px-timeline { align-items: stretch; }
.px-tl { display: flex; flex-direction: column; }
.px-tl-card { flex: 1; display: flex; flex-direction: column; }
.px-tl-meta { margin-top: auto; padding-top: 5px; }
/* 5. allocation legend: tidy rows with colour bar and percent pill */
.px-alloc-card { padding: 22px 16px; gap: 22px; }
.px-legend { gap: 10px; }
.px-leg { gap: 12px; padding: 13px 14px 13px 12px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); align-items: stretch; }
.px-leg-dot { width: 5px; height: auto; margin: 2px 0; border-radius: 4px; }
.px-leg-top { align-items: flex-start; font-size: 15px; line-height: 1.3; }
.px-leg-pct { flex: none; white-space: nowrap; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.px-leg-amt { margin-top: 3px; font-size: 14px; }
.px-leg-note { margin-top: 3px; }
@media (min-width: 820px) { .px-alloc-card { padding: 34px; } }
/* 6. FAQ: slightly tighter list */
.px-faq-item { margin: 0; }
.px-checker { padding-bottom: 4px; }
.px-hero-facts { padding-top: 10px; }

/* ===== Airdrop page: refined top headings ===== */
.px-hero-top { position: relative; padding: 24px 0 4px; }
.px-hero-top::before { content: ''; position: absolute; left: 50%; top: 40px; width: min(560px, 120%); height: 260px; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(212, 168, 75, .22), rgba(225, 181, 91, .06) 55%, transparent 75%); }
.px-hero-top .px-wrap { position: relative; z-index: 1; }
.px-hero-top .px-eyebrow { padding: 7px 15px 7px 13px; font-weight: 700; border-color: rgba(232, 200, 119, .35); }
.px-hero-top .px-h1 { margin: 16px 0 12px; font-size: clamp(32px, 9.4vw, 66px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.px-hero-top .px-grad { background: linear-gradient(100deg, var(--primary-soft) 10%, #f6dc9a 55%, var(--brass) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.px-hero-top .px-sub { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 16px; max-width: 420px; font-weight: 700; }
.px-hero-top .px-sub::before, .px-hero-top .px-sub::after { content: ''; flex: 1 1 0; min-width: 14px; max-width: 54px; height: 1px; }


.px-hero-top .px-lead { max-width: 470px; margin: 0 auto; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.px-hero-top .px-lead strong { color: var(--text); font-weight: 800; }
.px-hero-top .px-lead [data-symbol] { font-weight: 700; }
@media (min-width: 720px) {
  .px-hero-top { padding: 40px 0 6px; }
  .px-hero-top .px-sub { font-size: 14px; max-width: 520px; }
  .px-hero-top .px-lead { max-width: 600px; font-size: 16px; }
}
html.fit-phone .px-hero-top .px-h1 { font-size: 40px; }
html.fit-phone .px-hero-top::before { width: 520px; }
