/* ===== Tokens ===== */
:root {
  --bg: #0A0D10;
  --bg-2: #0F1418;
  --surface: #141A1F;
  --surface-2: #1A2228;
  --border: #232D34;
  --text: #F2F5F7;
  --muted: #93A1AB;
  --faint: #5E6C76;
  --green: #00D47E;
  --green-ink: #04140C;
  --green-soft: rgba(0, 212, 126, .12);
  --no: #FF5C7A;
  --no-soft: rgba(255, 92, 122, .12);
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F6F8F9;
  --surface: #FFFFFF;
  --surface-2: #F3F5F7;
  --border: #E4E8EB;
  --text: #0B1215;
  --muted: #56636C;
  --faint: #8A979F;
  --green: #00B26A;
  --green-ink: #FFFFFF;
  --green-soft: rgba(0, 178, 106, .10);
  --no: #E5365A;
  --no-soft: rgba(229, 54, 90, .09);
  --shadow: 0 10px 30px rgba(16, 24, 32, .08);
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: 0 6px 24px rgba(0, 212, 126, .28); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 8px 32px rgba(0, 212, 126, .38); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); padding: 10px 16px; }
.btn-ghost.copied { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* ===== Ticker ===== */
.ticker {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  font-size: 13px; height: 36px; overflow: hidden;
}
.ticker-label {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 16px; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .06em; font-size: 11px;
}
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-inner { display: inline-flex; gap: 36px; white-space: nowrap; color: var(--muted); animation: scroll 60s linear infinite; padding-left: 8px; }
.ticker-inner b { color: var(--text); font-weight: 600; }
.ticker-inner .ok { color: var(--green); font-weight: 700; }
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } html { scroll-behavior: auto; } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 212, 126, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 212, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 126, 0); } }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.brand b { color: var(--green); font-weight: 800; }
.nav-links { display: none; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ===== Hero ===== */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(0, 212, 126, .16), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 980px) { .hero { padding: 80px 0 88px; } .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.grad { background: linear-gradient(90deg, var(--green), #5BF0B4); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .grad { background: linear-gradient(90deg, #00A862, #00C97A); -webkit-background-clip: text; background-clip: text; }
.lede { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 560px; }
.lede strong { color: var(--text); }

.code-card {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 440px; padding: 12px 12px 12px 18px; border-radius: 14px;
  background: var(--surface); border: 1.5px dashed color-mix(in srgb, var(--green) 60%, var(--border));
}
.code-meta { display: flex; flex-direction: column; min-width: 0; }
.code-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.code-value { font-size: 22px; font-weight: 800; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.fine { margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.fine a { color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
@media (min-width: 600px) { .trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; } }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .code-card { max-width: none; }
}

/* ===== Cards ===== */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--border)); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chip { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; text-transform: capitalize; }
.live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: .08em; }
.card-title { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.outcomes { display: flex; flex-direction: column; gap: 10px; }
.outcome { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; }
.o-label { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-pct { font-size: 15px; font-weight: 800; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.o-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: -4px; }
.o-bar span { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.yn { display: flex; gap: 6px; }
.yn a { font-size: 12.5px; font-weight: 700; padding: 7px 10px; border-radius: 8px; text-decoration: none; min-width: 44px; text-align: center; }
.yn .y { background: var(--green-soft); color: var(--green); }
.yn .n { background: var(--no-soft); color: var(--no); }
.yn a:hover { filter: brightness(1.2); }
.card-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: auto; padding-top: 4px; border-top: 1px solid var(--border); padding-top: 12px; }

.featured { box-shadow: var(--shadow); padding: 22px; }
.featured .card-title { font-size: 20px; }
.featured .o-pct { font-size: 18px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--muted); line-height: 1.35; }

.skeleton { border-radius: 8px; background: linear-gradient(90deg, var(--surface-2), var(--border), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.h-title { height: 26px; width: 80%; }
.h-row { height: 18px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.sub { color: var(--muted); margin-top: 8px; }
.updated { font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: 600 14px var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

.grid-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 35%, var(--border)); }
.grid-cta p { color: var(--muted); }
.grid-cta strong { color: var(--text); }
@media (max-width: 520px) { .grid-cta .btn { width: 100%; } }

/* ===== Winners ===== */
.winners { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .winners { grid-template-columns: 1fr 1fr; } }
.winner { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.w-badge { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); display: grid; place-items: center; }
.w-badge svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w-body { flex: 1; min-width: 0; }
.w-event { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-name { font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-vol { flex: none; text-align: right; font-size: 12px; color: var(--faint); }
.w-vol b { display: block; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.steps b { color: var(--text); }

/* ===== Band ===== */
.band { padding: 72px 0; background:
  radial-gradient(600px 300px at 15% 0%, rgba(0, 212, 126, .18), transparent 70%),
  radial-gradient(600px 300px at 85% 100%, rgba(0, 212, 126, .12), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-inner { text-align: center; max-width: 820px; }
.band-kicker { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; margin-bottom: 12px; }
.band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.band p:not(.band-kicker) { color: var(--muted); margin: 18px auto 28px; max-width: 600px; font-size: 1.08rem; }

/* ===== FAQ ===== */
#faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--border); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 18px; }

/* ===== Footer ===== */
.footer { padding: 40px 0 120px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--text); }
.footer p { margin-top: 10px; max-width: 900px; }
.disclosure { color: var(--muted); }

/* ===== Headline: "Predict Winners. / Get Paid. / It's that simple." ===== */
/* All three lines inherit the original h1 size, weight and line spacing. */
.headline { display: flex; flex-direction: column; }

/* ===== Kalshi referral panel (hero, right side) =====
   Intentionally dark in both themes so it reads as a premium focal card. */
.ref-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 30px 28px 24px; border-radius: 22px; color: #F2F5F7;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 212, 126, .16), transparent 60%),
    linear-gradient(160deg, #0B2117 0%, #08130E 55%, #060C09 100%);
  border: 1px solid rgba(0, 230, 140, .55);
  box-shadow: 0 0 0 1px rgba(0, 230, 140, .08) inset, 0 0 42px rgba(0, 212, 126, .22), 0 24px 60px rgba(0, 0, 0, .35);
}
.ref-panel > * { position: relative; }
.ref-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2BF09A; }
.ref-title { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #FFFFFF; }
.ref-code-label { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B9C6CE; }
.ref-code {
  display: inline-block; margin-top: 10px; padding: 8px 34px; border-radius: 14px;
  font-size: clamp(2.3rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: .03em; line-height: 1.1; color: #FFFFFF;
  background: rgba(0, 0, 0, .45); border: 1.5px solid rgba(0, 230, 140, .75);
  box-shadow: 0 0 18px rgba(0, 212, 126, .25);
}
.ref-signup, .ref-copy {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font: 700 18px/1 var(--font); border-radius: 14px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease, box-shadow .15s ease;
}
.ref-signup {
  margin-top: 20px; padding: 17px 20px; color: #04140C;
  background: linear-gradient(180deg, #3DFFAE 0%, #10E78A 100%);
  box-shadow: 0 8px 30px rgba(0, 230, 140, .4);
}
.ref-signup:hover { filter: brightness(1.06); box-shadow: 0 10px 38px rgba(0, 230, 140, .55); transform: translateY(-1px); }
.ref-copy {
  margin-top: 14px; padding: 15px 20px; color: #FFFFFF;
  background: rgba(0, 0, 0, .35); border: 1.5px solid rgba(255, 255, 255, .55);
}
.ref-copy:hover { background: rgba(255, 255, 255, .06); border-color: #FFFFFF; }
.ref-copy.copied { border-color: #2BF09A; color: #2BF09A; }
.ref-signup:active, .ref-copy:active { transform: translateY(1px); }
.ref-signup svg, .ref-copy svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ref-copy svg { stroke-width: 2; }
.ref-terms { margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: #D2DBE0; }
.ref-disclose { margin-top: 6px; font-size: 13.5px; color: #93A1AB; }
.ref-disclose a { color: #E6ECEF; font-weight: 600; }
.ref-panel :focus-visible { outline: 2px solid #2BF09A; outline-offset: 3px; }
@media (max-width: 520px) {
  .ref-panel { padding: 26px 18px 20px; border-radius: 20px; }
  .ref-code { padding: 8px 26px; }
  .ref-signup, .ref-copy { font-size: 17px; }
}

/* ===== Combined bonus button ===== */
.bonus-btn {
  margin-top: 28px; max-width: 500px;
  display: flex; align-items: stretch; gap: 8px;
  padding: 8px; border-radius: 20px; text-decoration: none;
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 10px 36px rgba(0, 212, 126, .32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.bonus-btn:hover { filter: brightness(1.06); box-shadow: 0 14px 44px rgba(0, 212, 126, .42); transform: translateY(-1px); }
.bonus-btn:active { transform: translateY(1px); }
.bonus-left {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 10px 16px; border-radius: 14px;
  border: 2px dashed color-mix(in srgb, var(--green-ink) 35%, transparent);
  background: color-mix(in srgb, var(--green-ink) 7%, transparent);
}
.bonus-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.bonus-code { font-size: 24px; font-weight: 800; letter-spacing: .05em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bonus-right {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 0 20px; border-radius: 14px; font-weight: 800; font-size: 16px; white-space: nowrap;
  background: var(--green-ink); color: var(--green);
}
.bonus-arrow { transition: transform .15s ease; }
.bonus-btn:hover .bonus-arrow { transform: translateX(3px); }
.bonus-btn.copied .bonus-label::after { content: " · copied!"; }
.bonus-hint { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.bonus-hint a { color: var(--text); font-weight: 600; margin-left: 4px; }
@media (max-width: 520px) {
  .bonus-btn { flex-direction: column; max-width: none; }
  .bonus-left { align-items: center; text-align: center; }
  .bonus-right { justify-content: center; padding: 15px 20px; }
}

/* ===== "More" arrows under lists ===== */
.more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.more-arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 45%, var(--border));
  animation: nudge 2s ease-in-out infinite; transition: background .15s ease;
}
.more-arrow:hover { background: var(--green); }
.more-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.more-arrow:hover svg { stroke: var(--green-ink); }
.more-label { font-size: 13px; font-weight: 600; color: var(--muted); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ===== Leaderboard pop-ups ===== */
.toast-zone { position: fixed; left: 20px; bottom: 20px; z-index: 70; pointer-events: none; }
.toast {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 12px; width: 340px; max-width: calc(100vw - 32px);
  padding: 12px 36px 12px 12px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s ease, transform .35s ease;
}
.toast.in { opacity: 1; transform: none; }
.t-link { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.t-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 16px; text-transform: uppercase;
}
.t-body { min-width: 0; display: flex; flex-direction: column; }
.t-main { font-size: 14px; line-height: 1.35; }
.t-main b { font-weight: 700; word-break: break-all; }
.t-amt { color: var(--green); font-weight: 800; }
.t-sub { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.t-close {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: transparent; color: var(--faint); font-size: 16px; line-height: 1; cursor: pointer;
}
.t-close:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 899px) {
  /* Phones: show at the top, under the nav, clear of the sticky claim bar. */
  .toast-zone { left: 16px; right: 16px; top: 112px; bottom: auto; }
  .toast { width: 100%; max-width: none; transform: translateY(-16px) scale(.98); }
  .toast.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .toast, .toast.in { transition: opacity .2s ease; transform: none; }
  .more-arrow { animation: none; }
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 10px 10px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transform: translateY(150%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta > div { display: flex; flex-direction: column; min-width: 0; }
.sticky-title { font-weight: 800; font-size: 15px; }
.sticky-code { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ===== Right-side referral card: 10% smaller (whole card scaled to 90%) ===== */
.ref-panel { zoom: .9; width: 90%; margin-left: auto; margin-right: auto; }

/* ===== Site-wide card border: same green border as the VP2020 code card ===== */
.card, .stat, .winner, .steps li, .grid-cta, .toast, .ref-panel {
  border: 1.5px solid rgba(0, 230, 140, .75);
  box-shadow: 0 0 18px rgba(0, 212, 126, .25);
}
.card:hover { border-color: rgba(0, 230, 140, .75); }
.toast { box-shadow: 0 0 18px rgba(0, 212, 126, .25), 0 16px 48px rgba(0, 0, 0, .35); }

/* ===== Center "What's moving right now" and "Today's winners board" headings ===== */
#markets .section-head, #winners .section-head { flex-direction: column; align-items: center; text-align: center; }

/* ===== Center the category buttons (Trending | Sports | ... | Culture) =====
   Wraps into centered rows on narrow phones instead of scrolling sideways. */
#markets .tabs { justify-content: center; flex-wrap: wrap; overflow-x: visible; }

/* ===== White border on green $55 promo buttons =====
   Same 1.5px thickness as the green card borders. Drawn just inside the
   button's edge (outline + negative offset) so size and position don't change. */
.btn-primary[data-cta="nav"],
.btn-primary[data-cta="markets"],
.btn-primary[data-cta="band"],
.btn-primary[data-cta="footer"] {
  outline: 1.5px solid #FFFFFF;
  outline-offset: -1.5px;
}
