/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --gold: #dc2626;
  --gold-light: #ef4444;
  --blue: #7f1d1d;
  --blue-light: #b91c1c;
  --red: #dc2626;
  --red-light: #ef4444;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #2d2d2d;
  --border-gold: rgba(220,38,38,0.3);
  --timeline-dot: #dc2626;
  --shadow: 0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 20px rgba(220,38,38,0.15);
  --header-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.4; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

.gold { color: var(--gold); }
.gold-gradient {
  background: linear-gradient(135deg, #ff2222, #ff6666, #ff2222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.navbar {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-main {
  font-size: 1rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 1.5px;
}

.nav-brand-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-family: sans-serif;
  letter-spacing: 0.5px;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-hamburger:hover span { background: var(--text-primary); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Site-wide menu panel */
.site-menu {
  background: #111111;
  border-bottom: 2px solid var(--border-gold);
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.site-menu.open { display: block; }

.site-menu-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 2rem 1rem;
}

.site-menu-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  font-family: sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.15s;
  letter-spacing: 0.2px;
}

.site-menu-link:last-child { border-bottom: none; }

.site-menu-link:hover {
  color: var(--gold);
  padding-left: 1.75rem;
}

.site-menu-icon { font-size: 1.3rem; flex-shrink: 0; width: 1.8rem; }
.site-menu-text { flex: 1; }

.site-menu-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform 0.15s, color 0.15s;
}

.site-menu-link:hover .site-menu-arrow {
  color: var(--gold);
  transform: translateX(5px);
}

.site-menu-link--cta {
  color: var(--gold);
  margin-top: 0.25rem;
}

.site-menu-link--cta .site-menu-arrow { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(185,28,28,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(220,38,38,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(127,29,29,0.15) 0%, transparent 60%);
}

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

.hero-eyebrow {
  font-family: sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2.5rem; font-weight: bold; color: var(--gold); display: block; }
.hero-stat-label { font-family: sans-serif; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}

.btn-gold {
  background: var(--gold);
  color: #ffffff;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,38,38,0.35);
}

.btn-outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(220,38,38,0.1);
  transform: translateY(-2px);
}

/* ===== PAGE HERO (for topic pages) ===== */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero-icon { font-size: 3rem; margin-bottom: 1rem; }
.page-hero-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-hero p { color: var(--text-secondary); font-size: 1.1rem; }

/* ===== SECTIONS ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-family: sans-serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem auto;
}

/* ===== TOPIC GRID ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--card-accent, var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.topic-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.topic-card:hover::before { opacity: 1; }

.topic-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.topic-card-tag {
  font-family: sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.topic-card h3 { color: var(--text-primary); margin-bottom: 0.75rem; }
.topic-card p { color: var(--text-secondary); font-size: 0.9rem; flex: 1; }
.topic-card-arrow { color: var(--gold); margin-top: 1rem; font-family: sans-serif; font-size: 0.85rem; }

/* ===== MASTER TIMELINE ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(220,38,38,0.5);
  z-index: 1;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  max-width: 420px;
  transition: all 0.3s;
}

.timeline-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.timeline-date {
  font-family: sans-serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.timeline-category {
  font-family: sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.timeline-card h4 { color: var(--text-primary); margin-bottom: 0.5rem; font-size: 0.95rem; }
.timeline-card p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }
.timeline-card a { color: var(--gold-light); text-decoration: none; font-size: 0.8rem; font-family: sans-serif; }
.timeline-card a:hover { text-decoration: underline; }

/* ===== VERTICAL TIMELINE (for topic pages) ===== */
.vtimeline {
  position: relative;
  padding-left: 2.5rem;
}

.vtimeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(220,38,38,0.2));
}

.vtimeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.vtimeline-item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(220,38,38,0.4);
}

.vtimeline-date {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.vtimeline-item h4 { color: var(--text-primary); margin-bottom: 0.4rem; }
.vtimeline-item p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

/* ===== CONTENT BLOCKS ===== */
.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.content-block h3 {
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.content-block h4 { color: var(--text-primary); margin: 1rem 0 0.4rem; }
.content-block p { color: var(--text-secondary); }
.content-block ul { color: var(--text-secondary); padding-left: 1.5rem; }
.content-block li { margin-bottom: 0.6rem; }
.content-block strong { color: var(--text-primary); }

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ===== FACT CHECK CARDS ===== */
.fact-check {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.fact-claim {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.fact-claim-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  color: #ef4444;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.fact-claim p { color: var(--text-primary); margin: 0; font-style: italic; }

.fact-reality {
  padding: 1.25rem 1.5rem;
}

.fact-reality-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  color: #d1d5db;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.fact-reality p { color: var(--text-secondary); margin: 0; }

/* ===== VERDICT BADGE ===== */
.verdict {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.verdict-false { background: rgba(220,38,38,0.2); color: #ef4444; border: 1px solid rgba(220,38,38,0.3); }
.verdict-true { background: rgba(245,245,245,0.1); color: #f5f5f5; border: 1px solid rgba(245,245,245,0.3); }
.verdict-partial { background: rgba(220,38,38,0.1); color: #f87171; border: 1px solid rgba(220,38,38,0.2); }
.verdict-unfulfilled { background: rgba(148,163,184,0.2); color: #94a3b8; border: 1px solid rgba(148,163,184,0.3); }

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 0.88rem;
}

.data-table th {
  background: rgba(220,38,38,0.1);
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: rgba(220,38,38,0.06);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box.warning {
  background: rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.3);
  border-left-color: var(--red);
}

.highlight-box.info {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.15);
  border-left-color: #9ca3af;
}

.highlight-box p { margin: 0; color: var(--text-secondary); }
.highlight-box strong { color: var(--text-primary); }

/* ===== KEY STAT ===== */
.key-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.key-stat-number { font-size: 2rem; font-weight: bold; color: var(--gold); display: block; margin-bottom: 0.25rem; }
.key-stat-label { font-family: sans-serif; font-size: 0.8rem; color: var(--text-secondary); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 1rem) 2rem 0;
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo { color: var(--gold); font-size: 1.2rem; font-weight: bold; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1rem 0; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-family: sans-serif; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
footer p { color: var(--text-muted); font-family: sans-serif; font-size: 0.8rem; }

/* ===== TAG CLOUD ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: sans-serif;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.tag:hover { border-color: var(--border-gold); color: var(--gold); }

/* ===== PHASE HEADER ===== */
.phase {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding: 1rem 1.5rem;
  background: rgba(220,38,38,0.05);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}

.phase-num {
  background: var(--gold);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.phase h3 { color: var(--gold); font-size: 1rem; font-family: sans-serif; margin: 0; }
.phase p { color: var(--text-muted); font-size: 0.8rem; margin: 0; font-family: sans-serif; }

/* ===== GAS PRICE ROW ===== */
.price-high td:nth-child(2) { color: #ef4444 !important; font-weight: bold; }
.price-low td:nth-child(2) { color: #d1d5db !important; font-weight: bold; }
.price-peak td:nth-child(2) { color: #f87171 !important; font-weight: bold; font-size: 1.05rem; }

/* ===== RELATED TOPICS BAR ===== */
.related-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 3rem;
}

.related-bar h4 { color: var(--gold); margin-bottom: 1rem; font-family: sans-serif; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

.related-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.related-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: sans-serif;
  font-size: 0.82rem;
  transition: all 0.2s;
}

.related-link:hover { border-color: var(--border-gold); color: var(--gold); }
.related-link-icon { font-size: 1rem; }

/* ===== QUOTE ===== */
blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(220,38,38,0.04);
  border-radius: 0 8px 8px 0;
}

blockquote p { color: var(--text-secondary); font-style: italic; margin: 0 0 0.5rem; }
blockquote cite { font-family: sans-serif; font-size: 0.8rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .timeline::before { left: 1rem; }
  .timeline-item, .timeline-item.right {
    justify-content: flex-start;
    padding-left: 3.5rem;
    padding-right: 0;
  }
  .timeline-dot { left: 1rem; }
  .timeline-card { max-width: 100%; }

  .two-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-stats { gap: 1.5rem; }
  .topic-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gold);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220,38,38,0.4);
  text-decoration: none;
  z-index: 999;
}

.scroll-top.visible { display: flex; }

/* ===== TAGLINE ===== */
.nav-tagline {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: sans-serif;
  flex: 1;
  text-align: right;
  padding-right: 1.25rem;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .nav-tagline { display: none; }
}

/* ===== PRINT ===== */
@media print {
  .navbar, footer, .scroll-top { display: none; }
  body { background: white; color: black; }
}
