/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0e1a;
  color: #e8eaed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:root {
  --bg: #0a0e1a;
  --bg-2: #0f1525;
  --bg-card: #131a2e;
  --bg-card-2: #1a2238;
  --border: #1f2942;
  --border-light: #2a3754;
  --text: #e8eaed;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --accent-glow: rgba(239, 68, 68, 0.4);
  --ally: #10b981;
  --ally-glow: rgba(16, 185, 129, 0.3);
  --blue: #3b82f6;
  --yellow: #fbbf24;
  --orange: #fb923c;
  --purple: #a855f7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== FLASHING BANNER ========== */
.flash-banner {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--orange), var(--accent));
  background-size: 300% 100%;
  animation: bannerGradient 8s linear infinite;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid rgba(0,0,0,0.4);
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.3);
}
@keyframes bannerGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.flash-track {
  display: flex;
  white-space: nowrap;
  animation: scrollTrack 40s linear infinite;
  padding: 10px 0;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.flash-item {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: white;
  padding: 0 40px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  flex-shrink: 0;
  animation: itemPulse 1.2s ease-in-out infinite;
}
@keyframes itemPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px;
  border-radius: 8px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.logo-text {
  font-weight: 900; font-size: 16px; letter-spacing: 1.5px;
}
.nav-links { display: flex; 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-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239, 68, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
}
.hero::before {
  content: ''; position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(80px); opacity: 0.5;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 9vw, 110px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ally);
  color: white;
  box-shadow: 0 8px 24px var(--ally-glow);
}
.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-secondary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
}
.stat {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid;
  position: relative;
}
.stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}
.stat-blue { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.25); }
.stat-blue .stat-icon { background: rgba(16, 185, 129, 0.15); color: var(--ally); }
.stat-blue .stat-num { color: var(--ally); }
.stat-red { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.25); }
.stat-red .stat-icon { background: rgba(239, 68, 68, 0.15); color: var(--accent); }
.stat-red .stat-num { color: var(--accent); }
.stat-yellow { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.25); }
.stat-yellow .stat-icon { background: rgba(251, 191, 36, 0.15); color: var(--yellow); }
.stat-yellow .stat-num { color: var(--yellow); }
.stat-purple { background: rgba(168, 85, 247, 0.08); border-color: rgba(168, 85, 247, 0.25); }
.stat-purple .stat-icon { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.stat-purple .stat-num { color: var(--purple); }

/* ========== URGENT ========== */
.urgent { padding: 0 0 40px; }
.urgent-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 30px;
  animation: urgentPulse 3s ease-in-out infinite;
}
@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 40px 0 rgba(239, 68, 68, 0.15); }
}
.urgent-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 8px var(--accent);
}
.urgent-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.urgent-body { color: var(--text-dim); font-size: 15px; line-height: 1.7; max-width: 850px; margin-bottom: 14px; }
.urgent-body strong { color: var(--text); }
.urgent-sources {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
}
.src-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.src-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  text-decoration: none;
  padding: 3px 8px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 5px;
  transition: all 0.15s;
}
.src-link:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--blue);
  color: var(--text);
}

/* ========== SECTIONS ========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 48px; max-width: 800px; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.ally-eyebrow { color: var(--ally); }
.target-eyebrow { color: var(--accent); }
.highlight-eyebrow { color: var(--yellow); }
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.title-accent {
  background: linear-gradient(135deg, var(--ally), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-accent.target-accent {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

/* ========== ALLY CARDS ========== */
.ally-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.ally-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ally);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.ally-card:hover {
  transform: translateY(-3px);
  border-color: var(--ally);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}
.ally-card.featured {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent);
}
.ally-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--ally);
  border-radius: 5px;
  margin-bottom: 14px;
}
.ally-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.ally-ward {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.ally-role {
  font-size: 13px;
  color: var(--ally);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ally-summary {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 14px;
}
.ally-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ally-flag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  background: var(--bg-2);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--ally);
  border-radius: 5px;
}

/* ========== TARGET CARDS ========== */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.target-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.target-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.15);
}
.target-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent);
  border-radius: 5px;
  margin-bottom: 14px;
}
.target-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.target-ward {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.target-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.target-summary {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 14px;
}
.target-summary.placeholder {
  color: var(--yellow);
  font-style: italic;
}
.target-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.target-stat-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.target-stat-value {
  font-size: 16px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}
.target-stat-value.dim { color: var(--text-muted); font-size: 14px; }
.target-stat-value.placeholder { color: var(--yellow); font-size: 12px; font-family: 'Inter', sans-serif; font-style: italic; }
.target-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.target-flag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  background: var(--bg-2);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent);
  border-radius: 5px;
}
.target-flag.placeholder {
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.05);
}

/* ========== COALITION ========== */
.coalition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.coalition-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.coalition-cell:hover {
  border-color: var(--accent);
  background: var(--bg-card-2);
}
.coalition-cell.lead {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.coalition-name {
  font-size: 13px;
  font-weight: 600;
}
.coalition-ward {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 4px;
}
.coalition-cell.lead .coalition-ward {
  color: var(--accent);
  background: rgba(239, 68, 68, 0.15);
}

/* ========== PAC FLOW ========== */
.pac-flow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.pac-headline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.02));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  margin-bottom: 24px;
}
.pac-headline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 1px;
}
.pac-headline-recipient {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pac-headline-note {
  font-size: 12px;
  color: var(--text-dim);
}
.pac-headline-amount {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  color: var(--yellow);
  letter-spacing: -0.01em;
}
.pac-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}
.pac-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.pac-divider-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  background: var(--bg-card);
  padding: 0 16px;
  position: relative;
}
.pac-recipients {
  display: grid;
  gap: 8px;
}
.pac-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}
.pac-row:hover {
  border-color: var(--border-light);
}
.pac-row.highlight {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), var(--bg-2));
  border-color: rgba(239, 68, 68, 0.3);
  border-left: 3px solid var(--accent);
}
.pac-recipient-name {
  font-size: 14px;
  font-weight: 500;
}
.pac-recipient-name .ward {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}
.pac-recipient-note {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-top: 3px;
}
.pac-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ========== OPERATORS ========== */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.operator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.operator-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.op-rank {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 18px; right: 22px;
}
.op-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.op-license { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); margin-bottom: 20px; }
.op-amount { font-family: 'Anton', sans-serif; font-size: 36px; color: var(--accent); margin-bottom: 4px; letter-spacing: -0.01em; }
.op-amount-label { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.op-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}
.op-meta-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.op-meta-value { font-size: 14px; font-weight: 600; }
.op-meta-value.danger { color: var(--accent); }
.op-note { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }
.op-sources { display: flex; flex-wrap: wrap; gap: 6px; }

/* ========== LOBBYISTS ========== */
.lobbyist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}
.lobbyist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.25s;
}
.lobbyist-card[data-side="VGT"] { border-left: 3px solid var(--accent); }
.lobbyist-card[data-side="Sweepstakes"] { border-left: 3px solid var(--purple); }
.lobbyist-card:hover { transform: translateY(-2px); border-color: var(--border-light); }
.lob-side-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 12px;
}
.lob-side-tag.VGT { background: rgba(239, 68, 68, 0.12); color: var(--accent); }
.lob-side-tag.Sweepstakes { background: rgba(168, 85, 247, 0.12); color: var(--purple); }
.lob-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.lob-role { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.lob-firm { font-size: 12px; color: var(--text-muted); font-style: italic; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.lob-summary { font-size: 13px; color: var(--text-dim); line-height: 1.65; margin-bottom: 14px; }
.lob-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lob-flag { font-size: 11px; font-weight: 600; padding: 4px 9px; background: var(--bg-2); border: 1px solid var(--border-light); border-radius: 5px; color: var(--text-dim); }

/* ========== CASES ========== */
.case-list { display: grid; gap: 14px; }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}
.case-card:hover { border-color: var(--border-light); }
.case-card.featured {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent);
}
.case-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.case-docket {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  padding: 5px 10px;
  background: var(--bg-2);
  color: var(--accent);
  border-radius: 6px;
}
.case-respondent { font-size: 16px; font-weight: 700; flex: 1; min-width: 200px; }
.case-status {
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.status-revocation { background: rgba(239, 68, 68, 0.15); color: var(--accent); }
.status-settled { background: rgba(251, 191, 36, 0.15); color: var(--yellow); }
.status-proposed { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.status-pending { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.case-body { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.case-disposition {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.case-disposition strong { color: var(--text); }
.case-sources { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ========== PRESS ========== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.press-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s;
}
.press-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.press-meta {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.press-outlet {
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
}
.press-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
}
.press-reporter { font-size: 11px; color: var(--text-muted); font-style: italic; }
.press-headline {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.press-summary {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 14px;
}
.press-source { display: flex; flex-wrap: wrap; gap: 6px; }

/* ========== HISTORICAL ========== */
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.history-card::before {
  content: '⏳';
  position: absolute;
  top: 18px; right: 22px;
  font-size: 28px;
  opacity: 0.3;
}
.history-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  padding-right: 40px;
}
.history-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}
.timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}
.timeline-item::before {
  content: ''; position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--bg-2);
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.timeline-item.featured::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  animation: pulse 2s infinite;
}
.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 15px; font-weight: 600;
  margin-bottom: 6px;
}
.timeline-desc { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.timeline-item.featured .timeline-title { color: var(--accent); font-size: 17px; }
.timeline-source { display: flex; gap: 6px; flex-wrap: wrap; }

/* ========== SOURCES ========== */
.source-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.source-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.source-cat-head {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.source-cat-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}
.source-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.source-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}
.source-entry:last-child { border-bottom: none; }
.source-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--bg-2);
  padding: 4px 9px;
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
}
.source-content {
  min-width: 0;
}
.source-title-row {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.source-meta-row {
  font-size: 12px;
  color: var(--text-dim);
}
.source-meta-row a {
  color: var(--blue);
  text-decoration: underline;
}
.source-meta-row a:hover {
  color: var(--text);
}
.source-type-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
}
.source-type-badge.public {
  background: rgba(16, 185, 129, 0.12);
  color: var(--ally);
}
.source-type-badge.news {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}
.disclosure {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-muted);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.disclosure strong { color: var(--text); }
.update-notice {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), transparent);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
.update-notice strong { color: var(--yellow); }

/* ========== FOOTER ========== */
.footer {
  padding: 56px 0 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-tag {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
  max-width: 380px;
  line-height: 1.6;
}
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: var(--text);
}
.footer div a {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer div a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== MODAL ========== */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  padding: 36px;
  z-index: 1;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: var(--bg-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--accent); color: white; }
.modal-name {
  font-family: 'Anton', sans-serif;
  font-size: 34px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  padding-right: 50px;
}
.modal-meta { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.modal-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.modal-section:last-child { border-bottom: none; padding-bottom: 0; }
.modal-section-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.modal-section-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.modal-donations { list-style: none; }
.modal-donations li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.modal-donations li:last-child { border-bottom: none; }
.modal-donations span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--accent);
}
.modal-sources { display: flex; flex-wrap: wrap; gap: 8px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 24px;
    gap: 0;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .hero { padding: 50px 0 60px; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ally-grid, .target-grid, .lobbyist-grid { grid-template-columns: 1fr; }
  .coalition-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-content { padding: 24px; }
  .modal-name { font-size: 26px; }
  .urgent-card { padding: 22px; }
  .pac-flow { padding: 20px; }
  .pac-headline { grid-template-columns: 1fr; gap: 8px; padding: 18px; text-align: left; }
  .pac-headline-amount { font-size: 26px; }
  .flash-item { font-size: 13px; padding: 0 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat-num { font-size: 26px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .coalition-grid { grid-template-columns: 1fr; }
}
