/* ============================================================
   Omaha Shock · Buffett Death-Hoax Dossier
   Dark financial-terminal aesthetic: night-sky base with alert
   crimson, headline gold and debunk emerald
   ============================================================ */
:root {
  --bg-void: #080a0f;
  --bg-paper: #10141d;
  --bg-card: rgba(18, 23, 34, 0.9);
  --text-main: #f3f5f8;
  --text-dim: #9aa3b2;
  --crimson: #e11d48;
  --crimson-glow: rgba(225, 29, 72, 0.25);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.28);
  --emerald: #10b981;
  --border: rgba(255, 255, 255, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(225, 29, 72, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #07090d 0%, #0d111a 55%, #080a0f 100%);
}

/* Breaking news ticker */
.breaking-strip {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 14, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 29, 72, 0.45);
  padding: 10px 20px;
}

.breaking-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.breaking-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 0 14px var(--crimson-glow);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.ticker-msg {
  color: #fecdd3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.top-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.top-nav a:hover {
  color: var(--gold);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO headline area */
.hero {
  padding: 44px 0 34px;
}

.headline-card {
  background: linear-gradient(150deg, rgba(24, 15, 22, 0.94) 0%, rgba(15, 20, 31, 0.96) 60%, rgba(22, 24, 34, 0.94) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.headline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--emerald));
}

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.edition-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.market-swing {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.swing-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.swing-pill.down { color: #fda4af; border-color: rgba(225, 29, 72, 0.35); }
.swing-pill.up { color: #6ee7b7; border-color: rgba(16, 185, 129, 0.35); }

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-title .strike {
  color: #fda4af;
  text-decoration: line-through;
  text-decoration-color: var(--crimson);
  text-decoration-thickness: 3px;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-lead {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 22px;
}

.quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
}

.quote-box p {
  font-size: 14px;
  font-style: italic;
  color: #f8fafc;
  margin-bottom: 4px;
}

.quote-box span {
  font-size: 12px;
  color: var(--gold);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-gold {
  background: linear-gradient(135deg, #e5c158, #b88c24);
  color: #090b10;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
}

/* Right panel - the terrifying 118 minutes */
.dossier-panel {
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: 22px;
}

.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dossier-head h3 {
  font-size: 15px;
  color: var(--gold);
}

.dossier-stamp {
  font-size: 11px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 9px;
  border-radius: 6px;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.step-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.step-btn.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  color: #fef08a;
}

.step-content h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.evidence-meta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
}

.evidence-meta strong {
  color: var(--gold);
  font-weight: 700;
}

/* Market mayhem metrics */
.metrics-section {
  padding: 12px 0 36px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.metric-num {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.metric-note {
  font-size: 12px;
  color: var(--text-dim);
}

/* Conspiracy theories section */
.theories-section {
  padding: 16px 0 64px;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.sec-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.sec-head p {
  font-size: 13px;
  color: var(--text-dim);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.f-btn.active,
.f-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  color: #fff;
}

.theories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.theory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, border-color 0.25s;
}

.theory-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
}

.theory-card[hidden] {
  display: none;
}

.theory-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.theory-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(225, 29, 72, 0.14);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.theory-heat {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.theory-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f8fafc;
}

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

.theory-analysis {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #cbd5e1;
}

.theory-analysis strong {
  color: var(--gold);
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(6, 8, 12, 0.95);
}

/* Responsive: single column below 920px */
@media (max-width: 920px) {
  .hero-layout,
  .metrics-grid,
  .theories-grid {
    grid-template-columns: 1fr;
  }
  .top-nav {
    display: none;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dot {
    animation: none;
  }
}