/* ============================================================
   Wallet V x Unitree Pre-IPO Sprint — page overrides
   Extends skin.css (Wallet V design system).
   Concise 1-page layout: hero+prize, leaderboard, how-it-works.
   ============================================================ */

/* Logo image sizing (uses the official Wallet V wordmark from the brand guide) */
.logo-img { display: block; height: 32px; width: auto; }

/* Section titles: H2 per brand guide (28px) */
.section-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* Last-updated (Body2 12px) */
#last-updated {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #737374;
  margin: 0;
}

/* ------ Hero + Prize card block ------ */
.unitree-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.unitree-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
/* H1 scale per brand guide: 44px. Scale down on mobile only. */
.unitree-hero-copy h1 {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-title);
  margin: 0 0 20px;
}
.unitree-hero-copy h1 .accent {
  color: #6B47ED;
  background: linear-gradient(103deg, #6B47ED 0%, #896CF1 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Body1: 14px, Roboto Regular */
.unitree-hero-copy .hero-subtitle {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #A3A3A4; /* Content 2 */
  margin: 0 0 24px;
  max-width: 52ch;
}

/* Ticker chip row */
.ticker-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  font-family: 'Roboto Mono', 'Roboto', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-title);
}
/* Both ticker chips use brand purple with different shade dots. No off-brand gold. */
.ticker-chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6B47ED; /* Color 1 */
  box-shadow: 0 0 0 3px rgba(107, 71, 237, 0.18);
}
.ticker-chip-dot.alt {
  background: #896CF1; /* Color 2 */
  box-shadow: 0 0 0 3px rgba(137, 108, 241, 0.18);
}

/* ------ News snippet ------ */
.news-snippet {
  position: relative;
  padding: 16px 20px;
  margin: 0 0 24px;
  background: linear-gradient(103deg, rgba(107,71,237,0.08) 0%, rgba(45,30,100,0.10) 100%);
  border: 1px solid rgba(137,108,241,0.28);
  border-left: 3px solid #6B47ED;
  border-radius: 12px;
}
.news-snippet-badge {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #896CF1;
  margin: 0 0 8px;
}
.news-snippet-headline {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFFFFF;
  margin: 0 0 6px;
}
.news-snippet-body {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #A3A3A4;
  margin: 0 0 10px;
}
.news-snippet-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #D3C8FA;
  text-decoration: none;
  border-bottom: 1px solid rgba(211, 200, 250, 0.25);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.news-snippet-source:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

/* Countdown TBD state */
.countdown.is-tbd .countdown-cells { display: none; }
.countdown-tbd {
  display: none;
  font-size: 14px;
  color: var(--color-faint);
  font-style: italic;
  margin-top: 4px;
}
.countdown.is-tbd .countdown-tbd { display: block; }
.countdown-cells {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Prize card */
.prize-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
/* Prize card border: pure brand-purple gradient, no gold. */
.prize-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(103deg,
    rgba(107, 71, 237, 0.60) 0%,
    rgba(137, 108, 241, 0.20) 40%,
    rgba(45, 30, 100, 0.10) 60%,
    rgba(107, 71, 237, 0.60) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.prize-card > * { position: relative; z-index: 1; }
/* Remark 10px, uppercased eyebrow */
.prize-eyebrow {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #737374; /* Content 3 */
  margin: 0 0 8px;
}
/* H3 22px Roboto Bold */
.prize-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #FFFFFF; /* Title */
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.prize-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.prize-track {
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 16px;
}
.prize-track-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 12px;
}
/* H5 16px Roboto SemiBold */
.prize-track-label {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF; /* Title */
}
/* Pool label: brand purple, not gold */
.prize-track-pool {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #896CF1; /* Color 2 */
  letter-spacing: 0.04em;
}
.prize-table {
  width: 100%;
  border-collapse: collapse;
}
/* Remark 10px table headers */
.prize-table th {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #737374; /* Content 3 */
  text-align: left;
  padding: 6px 4px;
  border-bottom: 1px solid #1F1F20; /* Line 1 */
}
.prize-table th.num { text-align: right; }
/* Body1 14px */
.prize-table td {
  font-family: 'Roboto', system-ui, sans-serif;
  padding: 8px 4px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF; /* Title */
  border-bottom: 1px solid rgba(31, 31, 32, 0.55);
}
.prize-table tr:last-child td { border-bottom: none; }
.prize-table td.num {
  text-align: right;
  font-weight: 700;
}
/* Rank pills: all-purple ladder, no gold/silver/bronze */
.pt-rank {
  display: inline-block;
  min-width: 40px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(107, 71, 237, 0.12);
  color: #D9D9D9; /* Content 1 */
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}
.pt-rank.pt-gold   { background: linear-gradient(103deg, rgba(107, 71, 237, 0.42), rgba(137, 108, 241, 0.18)); color: #FFFFFF; }
.pt-rank.pt-silver { background: rgba(137, 108, 241, 0.22); color: #FFFFFF; }
.pt-rank.pt-bronze { background: rgba(45, 30, 100, 0.55); color: #D3C8FA; }
.pt-gold-val { color: #896CF1; }

/* Leaderboard footer: split count (left) and pager (right) on one row */
.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lb-footer #lb-count {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  color: #A3A3A4;
}
/* Compact pager sitting in the footer row */
.lb-footer .lb-pager {
  margin-left: auto;
  padding: 0;
}
.lb-footer .lb-pager-btn {
  min-height: 30px;
  min-width: 60px;
  padding: 0 12px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  cursor: pointer;
}
.lb-footer .lb-pager-info {
  margin: 0 4px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  color: #A3A3A4;
}

/* Reward column: subtle purple accent, non-payout rows shown in muted "—" */
.lb-reward-col { color: #A3A3A4; font-weight: 500; }
.lb-reward-val { color: #896CF1; font-weight: 700; }
.lb-table td.lb-reward-col { font-variant-numeric: tabular-nums; }

/* Leaderboard rank badges. Replace Aster-gold with brand purple. */
.lb-rank.gold {
  background: linear-gradient(103deg, #6B47ED 0%, #896CF1 100%);
  color: #FFFFFF;
}
.lb-rank.silver { background: rgba(137, 108, 241, 0.28); color: #FFFFFF; }
.lb-rank.bronze { background: rgba(45, 30, 100, 0.55); color: #D3C8FA; }
.lb-tip-head-win { color: #896CF1; }
.lb-tip-needed strong { color: #896CF1; }

/* ------ Leaderboard section extras ------ */
.lb-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.lb-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
/* Compact horizontal tabs for the sprint site (override the wide Aster tabs) */
.lb-controls .lb-tabs {
  margin: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}
.lb-controls .lb-tab {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  min-width: 140px;
  justify-content: center;
}
.lb-controls .lb-tab-label { font-size: 14px; }
.lb-split {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-body);
  cursor: pointer;
  user-select: none;
}
.lb-split input {
  accent-color: #6B47ED;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.lb-metric-col {
  font-weight: 700;
  color: var(--color-title);
}
.lb-wallet {
  font-family: 'Roboto Mono', 'Roboto', monospace;
  font-size: 13px;
  color: var(--color-body);
}

/* ------ How It Works bullets ------ */
.how-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 16px;
}
.how-bullets li {
  position: relative;
  padding-left: 28px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #D9D9D9; /* Content 1 */
}
.how-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(103deg, #6B47ED 0%, #896CF1 100%);
}

/* Terms note. Remark 10px body, but bump to 12px for readability. */
.terms-note {
  padding: 16px 20px;
  background: #1F1F20; /* Line 1 as surface */
  border: 1px solid #1F1F20;
  border-radius: var(--radius-md);
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  color: #A3A3A4; /* Content 2 */
  margin: 0;
}
.terms-note strong {
  color: #FFFFFF;
  font-weight: 700;
  margin-right: 4px;
}

/* ------ Footer ------ */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid #1F1F20;
  margin-top: clamp(48px, 6vw, 80px);
}
.site-footer p {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #737374; /* Content 3 */
  text-align: center;
  margin: 0;
}

/* ------ Mobile ------ */
@media (max-width: 900px) {
  .unitree-hero-inner {
    grid-template-columns: 1fr;
  }
  .prize-tracks {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lb-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .lb-split { justify-content: flex-start; }
}
