/* BOUNTY CHAN — app.css · shared styles for board.html + leaderboard.html
   Imports and extends reveal.css tokens. Do not import reveal.css separately — this file handles it. */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

/* ── DESIGN TOKENS (mirrors reveal.css :root exactly) ── */
:root {
  --bg:      #05060a;
  --bg2:     #080b12;
  --bg3:     #0c1020;
  --fg:      #eaf2f7;
  --muted:   #8a93a6;
  --cyan:    #00f0ff;
  --magenta: #ff2d9b;
  --sol1:    #9945ff;
  --sol2:    #14f195;
  --line:    rgba(0,240,255,0.16);
  --line2:   rgba(255,255,255,0.07);
  --ease:    cubic-bezier(0.16,1,0.3,1);
  --ease-in: cubic-bezier(0.4,0,1,1);
  --disp:    'Orbitron', sans-serif;
  --mono:    'JetBrains Mono', monospace;
  --body:    'Inter', system-ui, sans-serif;
  --r-card:  6px;
  --r-sm:    4px;
  --glass:   rgba(8,11,18,0.72);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── AMBIENT OVERLAYS ── */
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .28;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.2) 2px 3px);
  mix-blend-mode: multiply;
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain { to { transform: translate(-8%, 6%); } }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(5,6,10,.82); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: var(--disp); font-weight: 900; font-size: 18px;
  letter-spacing: .04em; text-decoration: none; color: var(--fg);
  flex-shrink: 0;
}
.nav-brand .m { color: var(--magenta); }
.nav-center { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  padding: 6px 10px; border-radius: var(--r-sm);
  transition: color .18s, background .18s;
  letter-spacing: .06em; text-transform: uppercase;
}
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ca-chip {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); padding: 6px 11px; border-radius: var(--r-sm);
  cursor: pointer; transition: color .18s, border-color .18s; white-space: nowrap;
}
.ca-chip:hover { color: var(--cyan); border-color: var(--cyan); }
.nav-icon { font-size: 13px; color: var(--muted); padding: 6px 8px; transition: color .18s; }
.nav-icon:hover { color: var(--fg); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; padding: 4px 0; }
.burger span { display: block; height: 2px; background: var(--muted); border-radius: 2px; transition: .2s; }
.nav-drawer {
  display: none; position: fixed; inset: 0; top: 57px; z-index: 99;
  background: rgba(5,6,10,.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link { font-size: 18px; padding: 12px 24px; }
.nav-drawer .btn-primary { font-size: 15px; padding: 14px 28px; }

/* ── BUTTONS ── */
.btn {
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .18s var(--ease), box-shadow .22s, background .22s, border-color .22s;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #021016; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,240,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-magenta { background: var(--magenta); color: #fff; }
.btn-magenta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,45,155,.35); }
.btn-sm { font-size: 11px; padding: 7px 13px; }

/* ── HEADER BAND ── */
.page-header {
  position: relative; overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px clamp(16px, 5vw, 64px) 40px;
  /* ensure background image cannot escape the header bounds */
  isolation: isolate;
}
.page-header .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(.35) saturate(1.3);
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.2) 0%, rgba(5,6,10,.65) 60%, rgba(5,6,10,1) 100%);
}
.page-header .inner { position: relative; z-index: 2; max-width: 1200px; width: 100%; }
.page-header .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.page-header .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--cyan); }
.page-header h1 {
  font-family: var(--disp); font-weight: 900; font-size: clamp(36px, 7vw, 80px);
  line-height: .94; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 14px;
}
.page-header h1 .m { color: var(--magenta); }
.page-header h1 .c { color: var(--cyan); }
.page-header .tagline { font-family: var(--mono); font-size: 13px; color: var(--muted); max-width: 600px; line-height: 1.5; }

/* ── HUD STAT STRIP ── */
.hud-strip {
  display: flex; flex-wrap: wrap; gap: 2px;
  background: rgba(0,0,0,.6); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden;
  margin-top: 24px; backdrop-filter: blur(12px);
}
.hud-stat {
  flex: 1 1 140px; padding: 14px 18px;
  border-right: 1px solid var(--line);
  background: rgba(8,11,18,.5);
}
.hud-stat:last-child { border-right: none; }
.hud-stat .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.hud-stat .v {
  font-family: var(--disp); font-weight: 700; font-size: 20px;
  color: var(--fg); line-height: 1.1;
}
.hud-stat .v.cyan { color: var(--cyan); }
.hud-stat .v.magenta { color: var(--magenta); }
.hud-stat .v.green { color: var(--sol2); }
.hud-stat .note { font-family: var(--mono); font-size: 9px; color: var(--muted); margin-top: 2px; letter-spacing: .1em; text-transform: uppercase; }

/* ── MAIN LAYOUT ── */
.page-body {
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px) 80px;
}

/* ── CONTROLS BAR ── */
.controls-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.search-wrap { position: relative; flex: 1 1 200px; min-width: 160px; max-width: 320px; }
.search-wrap svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .4; pointer-events: none; }
.search-input {
  width: 100%; background: var(--glass); border: 1px solid var(--line2);
  color: var(--fg); font-family: var(--mono); font-size: 12px;
  padding: 9px 12px 9px 34px; border-radius: var(--r-sm);
  outline: none; transition: border-color .18s;
  letter-spacing: .04em;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--cyan); }
.sort-select {
  background: var(--glass); border: 1px solid var(--line2);
  color: var(--fg); font-family: var(--mono); font-size: 12px;
  padding: 9px 30px 9px 12px; border-radius: var(--r-sm);
  outline: none; cursor: pointer; transition: border-color .18s;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a93a6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  letter-spacing: .04em;
}
.sort-select:focus { border-color: var(--cyan); }

/* ── POOL / TAB FILTER ── */
.pool-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 24px;
}
.pool-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line2); color: var(--muted);
  cursor: pointer; transition: all .18s var(--ease); background: rgba(8,11,18,.5);
  user-select: none;
}
.pool-tab:hover { color: var(--fg); border-color: rgba(255,255,255,.15); }
.pool-tab.active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,240,255,.07); }
.pool-tab[data-pool="MAIN"].active   { color: var(--cyan);    border-color: var(--cyan);    background: rgba(0,240,255,.07); }
.pool-tab[data-pool="CLIPPER"].active{ color: var(--sol1);   border-color: var(--sol1);   background: rgba(153,69,255,.09); }
.pool-tab[data-pool="TRENCH"].active { color: var(--magenta); border-color: var(--magenta); background: rgba(255,45,155,.08); }

/* ── BOUNTY GRID ── */
.bounty-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* ── BOUNTY CARD ── */
.bounty-card {
  background: var(--glass); border: 1px solid var(--line2);
  border-radius: var(--r-card); backdrop-filter: blur(12px);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
  animation: fadeUp .45s var(--ease) both;
}
.bounty-card:hover {
  border-color: rgba(0,240,255,.22); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,240,255,.08);
}
.bounty-card .card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
/* pool accent colors */
.bounty-card[data-pool="MAIN"]    .card-accent { background: linear-gradient(90deg, var(--cyan), var(--sol1)); }
.bounty-card[data-pool="CLIPPER"] .card-accent { background: linear-gradient(90deg, var(--sol1), var(--magenta)); }
.bounty-card[data-pool="TRENCH"]  .card-accent { background: linear-gradient(90deg, var(--magenta), #ff6b35); }

.bounty-card .card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-badges { display: flex; flex-wrap: wrap; gap: 5px; }

/* tier badges */
.tier-badge {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; line-height: 1;
}
.tier-badge.HEADHUNT  { background: rgba(255,45,155,.18);  color: var(--magenta); border: 1px solid rgba(255,45,155,.28); }
.tier-badge.CONTRACT  { background: rgba(0,240,255,.13);   color: var(--cyan);    border: 1px solid rgba(0,240,255,.22); }
.tier-badge.SIDE-JOB  { background: rgba(20,241,149,.13);  color: var(--sol2);    border: 1px solid rgba(20,241,149,.22); }
.tier-badge.CLIP      { background: rgba(153,69,255,.15);  color: var(--sol1);    border: 1px solid rgba(153,69,255,.25); }
.tier-badge.TRENCH    { background: rgba(255,107,53,.15);  color: #ff6b35;        border: 1px solid rgba(255,107,53,.25); }

.pool-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; color: var(--muted); border: 1px solid var(--line2);
}

.card-reward {
  font-family: var(--disp); font-weight: 700; font-size: 18px;
  white-space: nowrap; flex-shrink: 0; color: var(--fg); text-align: right;
  position: relative;
}
.card-reward.per-view { color: var(--sol1); font-size: 13px; padding-top: 2px; }
.reward-tooltip-trigger { cursor: help; }
.reward-tooltip {
  display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: 10;
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 12px; min-width: 180px;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.reward-tooltip-trigger:hover .reward-tooltip { display: block; }
.reward-tooltip .rw-row { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.reward-tooltip .rw-row .rw-val { color: var(--sol2); }
.reward-tooltip .rw-head { color: var(--fg); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }

.card-title { font-family: var(--disp); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--fg); line-height: 1.2; }
.card-brief { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }

.card-foot {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: wrap;
}
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status-pill {
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px;
}
.status-pill.OPEN      { background: rgba(20,241,149,.12); color: var(--sol2);    border: 1px solid rgba(20,241,149,.25); }
.status-pill.SUBMITTED { background: rgba(0,240,255,.1);   color: var(--cyan);    border: 1px solid rgba(0,240,255,.2); }
.status-pill.PAID      { background: rgba(153,69,255,.12); color: var(--sol1);    border: 1px solid rgba(153,69,255,.22); }

.countdown {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
}
.countdown .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sol2); display: inline-block; }
.countdown.urgent { color: var(--magenta); }
.countdown.urgent .dot { background: var(--magenta); animation: urgentPulse 1s steps(1) infinite; }
@keyframes urgentPulse { 50% { opacity: .2; } }

.accept-btn {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--r-sm);
  background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.2); color: var(--cyan);
  cursor: pointer; transition: background .18s, border-color .18s, transform .18s var(--ease);
  white-space: nowrap;
}
.accept-btn:hover { background: rgba(0,240,255,.16); border-color: var(--cyan); transform: scale(1.03); }
.accept-btn:disabled,
.bounty-card[data-status="PAID"] .accept-btn { opacity: .38; pointer-events: none; }
.bounty-card[data-status="SUBMITTED"] .accept-btn { color: var(--muted); border-color: var(--line2); background: transparent; }

/* ── HOW TO EARN PANEL ── */
.how-panel {
  margin-top: 40px;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-card); backdrop-filter: blur(12px);
  overflow: hidden;
}
.how-panel .hp-head {
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 10px;
}
.how-panel .hp-head::before { content: ''; width: 20px; height: 1px; background: var(--cyan); }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
.how-step {
  padding: 18px 20px; border-right: 1px solid var(--line2);
  display: flex; flex-direction: column; gap: 6px;
}
.how-step:last-child { border-right: none; }
.how-step .hs-n {
  font-family: var(--disp); font-weight: 900; font-size: 28px;
  color: var(--cyan); opacity: .3; line-height: 1;
}
.how-step .hs-title { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.how-step .hs-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.how-panel .hp-foot {
  padding: 14px 22px; border-top: 1px solid var(--line2);
  font-size: 12px; color: var(--muted); font-family: var(--mono);
}
.how-panel .hp-foot a { color: var(--cyan); }

/* ── LEADERBOARD SPECIFIC ── */
.weekly-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: rgba(0,240,255,.05); border: 1px solid rgba(0,240,255,.18);
  border-radius: var(--r-card); padding: 18px 22px; margin-bottom: 24px;
  backdrop-filter: blur(12px);
}
.weekly-banner .wb-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 4px;
}
.weekly-banner .wb-val {
  font-family: var(--disp); font-weight: 700; font-size: 28px; color: var(--fg);
}
.weekly-banner .wb-reset { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.weekly-banner .wb-countdown-val { color: var(--magenta); }

/* board tabs (leaderboard) */
.lb-tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.lb-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line2); color: var(--muted); cursor: pointer;
  transition: all .18s var(--ease); background: rgba(8,11,18,.5); user-select: none;
}
.lb-tab:hover { color: var(--fg); border-color: rgba(255,255,255,.15); }
.lb-tab.active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,240,255,.07); }

/* leaderboard table */
.lb-table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--line2); }
.lb-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 12px;
}
.lb-table thead th {
  padding: 12px 16px; text-align: left;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  background: rgba(8,11,18,.8); border-bottom: 1px solid var(--line2);
  white-space: nowrap;
}
.lb-table tbody tr {
  border-bottom: 1px solid var(--line2);
  transition: background .15s;
  animation: fadeUp .35s var(--ease) both;
}
.lb-table tbody tr:last-child { border-bottom: none; }
.lb-table tbody tr:hover { background: rgba(0,240,255,.04); }
.lb-table td { padding: 13px 16px; vertical-align: middle; white-space: nowrap; }

/* podium rows */
.lb-table tbody tr.rank-1 { background: rgba(20,241,149,.05); }
.lb-table tbody tr.rank-2 { background: rgba(0,240,255,.04); }
.lb-table tbody tr.rank-3 { background: rgba(153,69,255,.04); }

.rank-num {
  font-family: var(--disp); font-weight: 900; font-size: 16px;
  width: 32px; text-align: center;
}
.rank-num.rank-1 { color: var(--sol2); }
.rank-num.rank-2 { color: var(--cyan); }
.rank-num.rank-3 { color: var(--sol1); }
.rank-num.rank-other { color: var(--muted); font-size: 13px; }

.medal { display: inline-block; font-size: 14px; margin-right: 2px; }

.lb-handle { color: var(--fg); font-size: 13px; font-family: var(--mono); }
.lb-wallet { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.lb-metric { color: var(--fg); text-align: right; }
.lb-metric .metric-big { font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--fg); display: block; }
.lb-metric .metric-sub { font-size: 10px; color: var(--muted); }
.lb-earned { font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--sol2); text-align: right; }
.lb-trend { text-align: center; font-size: 14px; }
.lb-trend.up   { color: var(--sol2); }
.lb-trend.down { color: var(--magenta); }
.lb-trend.same { color: var(--muted); }

/* mobile table → stacked cards */
@media (max-width: 600px) {
  .lb-table-wrap { border: none; border-radius: 0; }
  .lb-table thead { display: none; }
  .lb-table tbody tr { display: block; background: var(--glass); border: 1px solid var(--line2); border-radius: var(--r-card); margin-bottom: 8px; padding: 14px 16px; }
  .lb-table td { display: flex; justify-content: space-between; padding: 4px 0; border: none; white-space: normal; font-size: 12px; }
  .lb-table td::before { content: attr(data-label); color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
  .lb-handle, .lb-wallet, .lb-metric, .lb-earned { text-align: left; }
  .lb-metric .metric-big { font-size: 14px; }
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center; padding: 56px 24px;
  font-family: var(--mono); color: var(--muted); font-size: 13px;
  border: 1px dashed var(--line2); border-radius: var(--r-card);
  background: rgba(8,11,18,.4);
}
.empty-state .es-title { font-family: var(--disp); font-size: 20px; color: var(--fg); margin-bottom: 10px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--line2);
  padding: 32px clamp(16px, 4vw, 48px);
  max-width: 1280px; margin: 0 auto;
}
.site-footer .disclaimer {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  line-height: 1.7; max-width: 800px;
}

/* ── TOAST ── */
#toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: rgba(0,240,255,.12); border: 1px solid var(--cyan); color: var(--cyan);
  font-family: var(--mono); font-size: 12px; padding: 8px 16px; border-radius: var(--r-sm);
  opacity: 0; transition: .3s var(--ease); pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.stagger-1 { animation-delay: .04s; }
.stagger-2 { animation-delay: .08s; }
.stagger-3 { animation-delay: .12s; }
.stagger-4 { animation-delay: .16s; }
.stagger-5 { animation-delay: .20s; }
.stagger-6 { animation-delay: .24s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .bounty-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .bounty-grid { grid-template-columns: 1fr; }
  .hud-strip { flex-direction: row; flex-wrap: wrap; }
  .hud-stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .hud-stat:last-child { border-bottom: none; }
  .hud-stat .v { font-size: 17px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .nav-center { display: none; }
  .nav-right .ca-chip { display: none; }
  .nav-right .nav-icon { display: none; }
  .burger { display: flex; }
  .weekly-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .how-steps { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 34px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .1ms !important; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}
