/* ═══════════════════════════════════════════════════════════
   THE TRUMP TRADE — styles.css
   Dark terminal UI with red/gold accents
═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ────────────────────────────────────── */
:root {
  --bg-0: #07080d;
  --bg-1: #0d0f18;
  --bg-2: #121520;
  --bg-3: #181b28;
  --bg-card: #14172a;
  --bg-card-hover: #1a1e30;
  --bg-ad: #0f1020;

  --red: #c8102e;
  --red-dim: #8b0b20;
  --red-glow: rgba(200, 16, 46, 0.15);
  --gold: #f5c518;
  --gold-dim: #b08c10;
  --gold-glow: rgba(245, 197, 24, 0.12);
  --green: #00c896;
  --green-dim: #007a5c;
  --green-glow: rgba(0, 200, 150, 0.12);
  --danger: #ff4757;

  --text-1: #f0f2ff;
  --text-2: #a0aec0;
  --text-3: #6b7591;
  --text-4: #3d4560;

  --border: #1c2038;
  --border-light: #262d4a;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow-red: 0 0 20px rgba(200, 16, 46, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(245, 197, 24, 0.2);
}

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

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

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.logo-flag { font-size: 22px; }

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
}

.logo-badge {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.nav-center {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-1);
  background: var(--bg-3);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.live-dot-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px transparent; }
}

.live-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.5px;
}

.djt-ticker-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.ticker-sym { color: var(--text-2); font-weight: 600; }
.ticker-price { color: var(--text-1); font-weight: 700; }
.ticker-change { font-size: 11px; font-weight: 600; }
.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--danger); }

/* ─── Breaking Ticker ──────────────────────────────────── */
.breaking-bar {
  background: var(--red);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}

.breaking-label {
  background: #8b0b20;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-scroll-wrap {
  overflow: hidden;
  flex: 1;
  padding: 0 16px;
}

.ticker-scroll {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-move 80s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.ticker-scroll span { flex-shrink: 0; }

.ticker-scroll-wrap:hover .ticker-scroll {
  animation-play-state: paused;
}

@keyframes ticker-move {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ─── Ad Units ──────────────────────────────────────────── */
.ad-container {
  display: flex;
  justify-content: center;
  padding: 12px 24px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}

.ad-pre-footer {
  border-bottom: none;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.ad-unit {
  position: relative;
}

.ad-leaderboard {
  width: 100%;
  max-width: 728px;
}

.ad-placeholder {
  background: var(--bg-ad);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 90px;
}

.ad-placeholder-rect {
  min-height: 250px;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 300px;
}

.ad-placeholder-native {
  min-height: 80px;
}

.ad-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-4);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: absolute;
  top: 8px;
  left: 12px;
}

.ad-mock-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 100%;
  padding-top: 10px;
}

.ad-mock-content strong {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
}

.ad-mock-content span {
  color: var(--text-4);
  font-size: 12px;
}

.ad-in-content {
  margin: 32px 0;
}

.ad-sidebar {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 60px 0 48px;
  background: radial-gradient(ellipse at 60% 0%, rgba(200, 16, 46, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 100%, rgba(245, 197, 24, 0.05) 0%, transparent 50%),
              var(--bg-1);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.headline-accent {
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #e0122f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-light);
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--text-3);
  background: var(--bg-3);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.stat-card.highlight {
  border-color: var(--gold-dim);
  background: linear-gradient(135deg, var(--bg-card), rgba(245, 197, 24, 0.05));
}

.stat-icon { font-size: 28px; }

.stat-value {
  font-size: 28px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-1);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 4px;
}

/* Signal Meter */
.signal-meter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
}

.signal-meter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.signal-meter-track {
  background: var(--bg-0);
  border-radius: 99px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.signal-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dim), var(--red), var(--gold));
  border-radius: 99px;
  transition: width 1s ease;
}

.signal-meter-ends {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meter-end-bear, .meter-end-bull {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-4);
}

.meter-end-bear { color: var(--danger); }
.meter-end-bull { color: var(--green); }

.meter-center-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ─── Main Layout ───────────────────────────────────────── */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 60px;
  align-items: start;
}

.main-content { min-width: 0; }

.sidebar { position: sticky; top: 80px; }

/* ─── Section ──────────────────────────────────────────── */
.section {
  margin-bottom: 48px;
  /* Skip rendering off-screen sections — major CPU/paint savings */
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon { font-size: 20px; }

.section-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 12px;
  letter-spacing: 0.5px;
}

.section-footnote {
  font-size: 12px;
  color: var(--text-4);
  margin-top: 12px;
  font-style: italic;
}

/* ─── Holdings Grid ────────────────────────────────────── */
.holdings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.holding-card {
  contain: layout style;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.holding-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}

.holding-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.holding-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.holding-ticker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.holding-name {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 2px;
}

.holding-signal {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.signal-bullish { background: var(--green-glow); color: var(--green); border: 1px solid var(--green-dim); }
.signal-bearish { background: rgba(255,71,87,0.1); color: var(--danger); border: 1px solid rgba(255,71,87,0.3); }
.signal-mixed   { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--gold-dim); }
.signal-watch   { background: rgba(79,172,254,0.1); color: #4facfe; border: 1px solid rgba(79,172,254,0.3); }

.holding-position {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.position-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.position-value {
  font-size: 15px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-1);
}

.position-label {
  font-size: 11px;
  color: var(--text-3);
}

.holding-thesis {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── Filter Row ────────────────────────────────────────── */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid var(--border-light);
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  color: var(--text-1);
  border-color: var(--text-3);
}

.filter-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ─── Signals Grid ──────────────────────────────────────── */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.signal-card {
  contain: layout style;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
}

.signal-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.signal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.signal-sector {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-1);
}

.signal-card-tickers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ticker-pill {
  background: var(--bg-0);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
}

.signal-catalyst {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}

.signal-outcome {
  background: var(--bg-0);
  border-left: 3px solid var(--green);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.signal-outcome.negative {
  border-left-color: var(--danger);
  color: var(--danger);
}

.signal-outcome.neutral {
  border-left-color: var(--gold);
  color: var(--gold);
}

.signal-date {
  font-size: 11px;
  color: var(--text-4);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 10px;
}

/* ─── Policy Table ──────────────────────────────────────── */
.policy-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.policy-table thead {
  background: var(--bg-3);
}

.policy-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.policy-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.policy-table tbody tr:last-child { border-bottom: none; }

.policy-table tbody tr:hover { background: var(--bg-3); }

.policy-table td {
  padding: 14px 16px;
  color: var(--text-2);
  vertical-align: top;
}

.policy-table td:first-child {
  color: var(--text-1);
  font-weight: 600;
}

.policy-tickers-cell {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.impact-high-bull  { background: rgba(0, 200, 150, 0.12); color: var(--green); }
.impact-med-bull   { background: rgba(0, 200, 150, 0.07); color: #00a075; }
.impact-high-bear  { background: rgba(255,71,87,0.12); color: var(--danger); }
.impact-med-bear   { background: rgba(255,71,87,0.07); color: #c83040; }
.impact-mixed      { background: var(--gold-glow); color: var(--gold); }

/* ─── Truth Social Feed ─────────────────────────────────── */
.truth-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.truth-post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
  position: relative;
}

.truth-post:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.truth-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.truth-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.truth-meta { flex: 1; }

.truth-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-1);
}

.truth-handle {
  font-size: 12px;
  color: var(--text-3);
}

.truth-verified {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.truth-body {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.7;
  margin-bottom: 14px;
}

.truth-body strong { color: var(--gold); }

.truth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.truth-signals-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.truth-date {
  font-size: 12px;
  color: var(--text-4);
  font-family: 'JetBrains Mono', monospace;
}

.truth-impact {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid var(--green-dim);
}

/* ─── News Grid ─────────────────────────────────────────── */
.news-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px;
  color: var(--text-3);
  font-size: 14px;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.news-card {
  contain: layout style;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.news-source {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
}

.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--gold); }

.news-snippet {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.news-time {
  font-size: 12px;
  color: var(--text-4);
  font-family: 'JetBrains Mono', monospace;
}

.news-read-more {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

.news-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-4);
  padding: 16px 0 0;
}

.news-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-3);
  font-size: 14px;
}

.btn-refresh {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  color: var(--text-2);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.btn-refresh:hover {
  color: var(--text-1);
  border-color: var(--text-3);
}

/* ─── Disclaimer ────────────────────────────────────────── */
.disclaimer-box {
  background: rgba(200, 16, 46, 0.06);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0;
}

.disclaimer-icon { font-size: 22px; flex-shrink: 0; }

.disclaimer-text {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.disclaimer-text strong {
  color: var(--text-2);
}

/* ─── Sidebar Widgets ───────────────────────────────────── */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.widget-header {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}

.hot-tickers {
  padding: 8px 0;
}

.hot-ticker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  transition: background 0.15s;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.hot-ticker-row:last-child { border-bottom: none; }
.hot-ticker-row:hover { background: var(--bg-3); }

.ht-sym {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  width: 52px;
  flex-shrink: 0;
}

.ht-name {
  font-size: 12px;
  color: var(--text-2);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ht-change {
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.ht-change.up { color: var(--green); }
.ht-change.down { color: var(--danger); }

.trumpometer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tometer-ring { width: 140px; height: 140px; }
.tometer-svg { width: 100%; height: 100%; }

.tometer-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.tometer-sub {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

.quick-links { padding: 8px 0; }

.quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

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

.quick-link:hover {
  background: var(--bg-3);
  color: var(--text-1);
}

.ql-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 340px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-4);
}

.footer-disclaimer { font-style: italic; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-center { display: none; }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .signals-grid,
  .holdings-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links { gap: 32px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .policy-table { min-width: 600px; }

  .djt-ticker-badge { display: none; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}

/* ─── Hero Info Banner ──────────────────────────────────── */
.hero-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(245, 197, 24, 0.07);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 560px;
}

.info-banner-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ─── Truth Social Avatar (text-based) ─────────────────── */
.truth-avatar {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ─── Insider Trading Cards ─────────────────────────────── */
.insider-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  border-left: 4px solid var(--border);
}

.insider-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.insider-severity-high {
  border-left-color: var(--danger);
}

.insider-severity-medium {
  border-left-color: var(--gold);
}

.insider-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.insider-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insider-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: 99px;
}

.insider-severity-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  padding: 3px 10px;
  border-radius: 99px;
}

.insider-date {
  font-size: 12px;
  color: var(--text-4);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.insider-headline {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 14px;
}

.insider-excerpt {
  border-left: 3px solid var(--border-light);
  padding: 10px 16px;
  margin: 0 0 16px 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  background: rgba(0,0,0,0.2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.insider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.insider-tickers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.insider-source-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.insider-source-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insider-source-arrow {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.insider-source-link:hover .insider-source-arrow {
  color: #fff;
}

/* ─── Utilities ─────────────────────────────────────────── */
.hidden { display: none !important; }

.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
