* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0d10;
  --surface: #0f1318;
  --surface2: #171c23;
  --border: #252c35;
  --text: #e6edf3;
  --text-dim: #7d8590;
  --accent: #39d353;
  --accent-glow: #4ae366;
  --accent-dim: rgba(57, 211, 83, 0.12);
  --green: #39d353;
  --red: #f85149;
  --orange: #d29922;
  --blue: #58a6ff;
  --purple: #bc8cff;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-glow); }

/* ===== LIVE TICKER ===== */
.ticker {
  background: var(--accent);
  color: #0a0d10;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 60;
}

.ticker-inner {
  display: inline-flex;
  gap: 48px;
  padding: 8px 24px;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0d10;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PULSE DOT ===== */
.pulse {
  animation: pulseAnim 2s ease-in-out infinite;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark { width: 32px; height: 32px; }

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-pump {
  background: var(--accent) !important;
  color: #0a0d10 !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

.nav-pump:hover {
  background: var(--accent-glow) !important;
  box-shadow: 0 0 20px rgba(57, 211, 83, 0.3);
}

.nav-app {
  border: 1px solid var(--border) !important;
  padding: 7px 16px;
  border-radius: 6px;
  color: var(--text) !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-app:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(57, 211, 83, 0.07) 0%, rgba(57, 211, 83, 0.02) 40%, transparent 70%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
}

/* Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.badge-live {
  background: rgba(57, 211, 83, 0.1);
  color: var(--accent);
  border-color: rgba(57, 211, 83, 0.3);
}

.badge-chain {
  background: rgba(88, 166, 255, 0.08);
  color: var(--blue);
  border-color: rgba(88, 166, 255, 0.2);
}

.badge-pump {
  background: rgba(188, 140, 255, 0.08);
  color: var(--purple);
  border-color: rgba(188, 140, 255, 0.2);
}

.hero h1 {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(57, 211, 83, 0.25);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===== WAITLIST FORM ===== */
.wl-form {
  max-width: 520px;
  margin: 0 auto;
}

.wl-row {
  display: flex;
  gap: 8px;
}

.wl-form input[type="email"],
.wl-form input[type="text"] {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}

.wl-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(57, 211, 83, 0.1);
}

.wl-form input::placeholder { color: var(--text-dim); }

.wl-form input[type="text"] {
  margin-top: 8px;
  font-size: 13px;
}

.btn-cta {
  background: var(--accent);
  color: #0a0d10;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(57, 211, 83, 0.3);
}

.btn-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-cta.btn-success { background: var(--accent); opacity: 1; }

.btn-cta svg { flex-shrink: 0; }

.wl-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ===== REFERRAL CARD ===== */
.referral-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 0 40px rgba(57, 211, 83, 0.08);
  animation: fadeUp 0.4s ease;
}

.referral-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0d10;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.referral-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.referral-card > p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.referral-link-box {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.referral-link-box input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--accent);
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  outline: none;
}

.btn-copy {
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--accent);
  color: #0a0d10;
}

.referral-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}

.ref-stat { text-align: center; }

.ref-stat-val {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.ref-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover { transform: translateY(-1px); }

.share-x {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

.share-x:hover { background: #1a1a1a; box-shadow: 0 4px 16px rgba(0,0,0,0.5); }

.share-tg {
  background: #229ED9;
  color: #fff;
}

.share-tg:hover { background: #1a8bc7; box-shadow: 0 4px 16px rgba(34, 158, 217, 0.3); }

/* ===== LIVE BANNER ===== */
.live-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}

.live-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-feed {
  flex: 1;
  padding: 8px 16px;
  max-height: 200px;
  overflow-y: auto;
}

.live-feed::-webkit-scrollbar { width: 3px; }
.live-feed::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.live-feed-item {
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(37, 44, 53, 0.4);
}

.live-feed-item:last-child { border-bottom: none; }

.lf-new { animation: fadeIn 0.3s ease; }
.lf-time { color: var(--text-dim); font-size: 10px; font-variant-numeric: tabular-nums; margin-right: 8px; }
.lf-wallet { color: var(--blue); font-weight: 500; }
.lf-agent { color: var(--accent); font-weight: 600; }
.lf-live { color: var(--accent); font-weight: 700; text-shadow: 0 0 8px rgba(57, 211, 83, 0.4); }
.lf-pct { color: var(--orange); font-weight: 600; }

/* ===== SECTIONS ===== */
.section {
  padding: 96px 32px;
}

.section-dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-heading {
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
  flex: 1;
  max-width: 300px;
}

.step-card:hover {
  border-color: rgba(57, 211, 83, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-arrow {
  font-size: 24px;
  color: var(--text-dim);
  padding: 0 16px;
  flex-shrink: 0;
}

.step-num {
  font-size: 52px;
  font-weight: 800;
  color: rgba(57, 211, 83, 0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== AGENTS ===== */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.agent-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.agent-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(57, 211, 83, 0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.agent-card:hover .agent-glow { opacity: 1; }

.agent-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(57, 211, 83, 0.1);
}

.agent-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.agent-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.agent-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.agent-tags span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== VALUE GRID ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: rgba(57, 211, 83, 0.3);
  transform: translateY(-2px);
}

.value-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(57, 211, 83, 0.15);
}

.value-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ===== LEADERBOARD ===== */
.leaderboard {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.lb-header {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  padding: 12px 20px;
  background: var(--surface2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.lb-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(37, 44, 53, 0.5);
  transition: background 0.2s;
}

.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--surface2); }

.lb-me {
  background: var(--accent-dim) !important;
  border-left: 3px solid var(--accent);
}

.lb-rank { font-size: 18px; }
.lb-code { font-family: monospace; color: var(--text-dim); font-size: 13px; }
.lb-refs { font-weight: 700; color: var(--accent); text-align: right; }

.lb-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== CTA ===== */
.section-cta {
  padding: 80px 32px 120px;
}

.cta-box {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 400px 200px at 50% 0%, rgba(57, 211, 83, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-rex {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 24px rgba(57, 211, 83, 0.3));
  position: relative;
}

.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
}

.cta-box > p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
}

.wl-form-bottom {
  position: relative;
}

.wl-form-bottom .wl-row {
  max-width: 420px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo { width: 24px; height: 24px; }

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand span { color: var(--accent); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-sep { color: var(--border); }
.footer-text { color: var(--text-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 44px; letter-spacing: -1.5px; }
  .steps-grid { flex-direction: column; gap: 12px; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
  .step-card { max-width: 100%; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { font-size: 32px; }
  .section { padding: 64px 20px; }
}

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-pump):not(.nav-app) { display: none; }
  .hero { padding: 60px 20px 40px; min-height: auto; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-badges { gap: 6px; }
  .wl-row { flex-direction: column; }
  .agents-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .share-buttons { flex-direction: column; }
  .referral-link-box { flex-direction: column; }
  .cta-box { padding: 36px 20px; }
  .lb-header, .lb-row { grid-template-columns: 60px 1fr 80px; padding: 10px 12px; }
  .leaderboard-5col .lb-header, .leaderboard-5col .lb-row { grid-template-columns: 40px 36px 1fr 56px 72px; padding: 10px 8px; font-size: 12px; }
  .rd-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rd-stat-val { font-size: 20px; }
  .rd-tree-l2 { margin-left: 12px; }
  .rd-tree-l3 { margin-left: 24px; }
  .rd-reward-item { grid-template-columns: 32px 1fr auto; }
  .rd-reward-date { display: none; }
  .referral-dashboard { padding: 20px 16px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .live-banner-inner { flex-direction: column; }
  .live-indicator { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 16px; }
  .ticker-inner { gap: 32px; }
}

/* ===== AUTH BUTTONS ===== */
.wl-auth {
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-phantom {
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1.5px solid #ab9ff2;
  background: rgba(171, 159, 242, 0.08);
  color: #e6edf3;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-phantom:hover {
  background: rgba(171, 159, 242, 0.15);
  border-color: #c4b5fd;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(171, 159, 242, 0.2);
}

.btn-phantom:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-phantom.btn-success {
  border-color: var(--accent);
  background: rgba(57, 211, 83, 0.12);
  color: var(--accent);
}

.btn-google {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-google:hover {
  background: var(--surface2);
  border-color: var(--text-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-google:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-google svg {
  flex-shrink: 0;
}

.wl-or {
  color: var(--text-dim);
  font-size: 13px;
  position: relative;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.wl-or::before, .wl-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}

.wl-or::before { left: 0; }
.wl-or::after { right: 0; }

.google-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* ===== REFERRAL DASHBOARD ===== */
.referral-dashboard {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 0 40px rgba(57, 211, 83, 0.08);
  animation: fadeUp 0.4s ease;
}

.referral-dashboard h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.rd-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(57, 211, 83, 0.3);
  margin-bottom: 12px;
}

.rd-tier-emoji { font-size: 20px; }
.rd-tier-name { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }

.rd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.rd-stat { text-align: center; }

.rd-stat-val {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.rd-stat-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Progress bar */
.rd-progress {
  margin-bottom: 20px;
  text-align: left;
}

.rd-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.rd-progress-bar {
  height: 6px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.rd-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0;
}

.rd-progress-detail {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}

/* Collapsible sections */
.rd-section {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.rd-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  background: var(--surface2);
  list-style: none;
}

.rd-section-toggle::-webkit-details-marker { display: none; }
.rd-section-toggle::after { content: '\25B6'; font-size: 10px; color: var(--text-dim); transition: transform 0.2s; }
details[open] .rd-section-toggle::after { transform: rotate(90deg); }

.rd-section-count {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 8px;
  margin-right: auto;
}

/* Network tree */
.rd-network-tree {
  padding: 8px 12px;
  max-height: 280px;
  overflow-y: auto;
}

.rd-tree-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  font-size: 13px;
  background: var(--bg);
}

.rd-tree-l1 { border-left: 3px solid var(--green); margin-left: 0; }
.rd-tree-l2 { border-left: 3px solid var(--blue); margin-left: 20px; }
.rd-tree-l3 { border-left: 3px solid var(--purple); margin-left: 40px; }

.rd-tree-level {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rd-tree-l1 .rd-tree-level { background: rgba(57, 211, 83, 0.15); color: var(--green); }
.rd-tree-l2 .rd-tree-level { background: rgba(88, 166, 255, 0.15); color: var(--blue); }
.rd-tree-l3 .rd-tree-level { background: rgba(188, 140, 255, 0.15); color: var(--purple); }

.rd-tree-label { color: var(--text-dim); font-family: monospace; font-size: 12px; }

.rd-tree-empty {
  padding: 20px 12px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* Rewards list */
.rd-rewards-list {
  padding: 8px 12px;
  max-height: 240px;
  overflow-y: auto;
}

.rd-reward-item {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  background: var(--bg);
  font-size: 12px;
}

.rd-reward-level {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  text-align: center;
}

.rd-reward-wallet { color: var(--blue); font-family: monospace; font-size: 11px; }
.rd-reward-amount { color: var(--accent); font-weight: 700; }
.rd-reward-date { color: var(--text-dim); font-size: 10px; }

/* ===== ENHANCED 5-COL LEADERBOARD ===== */
.leaderboard-5col .lb-header {
  grid-template-columns: 60px 50px 1fr 80px 100px;
}

.leaderboard-5col .lb-row {
  grid-template-columns: 60px 50px 1fr 80px 100px;
}

.lb-tier { font-size: 18px; text-align: center; }
.lb-network { font-weight: 600; color: var(--blue); text-align: right; }
.lb-earned { font-weight: 700; color: var(--accent); text-align: right; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
