/* ============================================
   GOLD MACRO FUNDAMENTAL MODEL
   Dark Premium Hedge Fund Terminal Aesthetic
   ============================================ */

:root {
  /* Core palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1a1a25;
  --bg-elevated: #1e1e2a;
  
  /* Gold accents */
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8952e;
  --gold-muted: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.3);
  
  /* Status colors */
  --bullish: #22c55e;
  --bearish: #ef4444;
  --neutral: #94a3b8;
  --max-bullish: #4ade80;
  
  /* Text */
  --text-primary: #f0ece4;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-gold: #d4af37;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 175, 55, 0.25);
  
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-body: 'DM Sans', system-ui, sans-serif;
  
  /* Spacing */
  --section-pad: 100px;
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ GRAIN OVERLAY ============ */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============ CONTAINER ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAVIGATION ============ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.nav-bar.visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

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

.nav-logo-icon {
  color: var(--gold);
  font-size: 14px;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 32px;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  margin-bottom: 48px;
}

.hero-title-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title-accent {
  color: var(--gold);
  font-style: italic;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-price-block {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
  margin-bottom: 32px;
}

.hero-price-main {
  margin-bottom: 20px;
}

.hero-price-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-price-value {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.hero-price-unit {
  font-size: 0.4em;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-price-decimal {
  font-size: 0.45em;
  color: var(--gold-dark);
  font-weight: 500;
}

/* LIVE badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 1.5px;
  vertical-align: middle;
  margin-left: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34, 197, 94, 0.6); }
  50% { opacity: 0.3; box-shadow: 0 0 2px rgba(34, 197, 94, 0.2); }
}

/* Price delta display */
.price-delta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.price-delta.up { color: #22c55e; }
.price-delta.down { color: #ef4444; }
.price-delta.flat { color: var(--text-muted); }

.delta-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.price-delta.down .delta-arrow {
  transform: rotate(180deg);
}

/* Price flash animation */
.hero-price-value.flash-up {
  animation: flashGreen 0.4s ease;
}
.hero-price-value.flash-down {
  animation: flashRed 0.4s ease;
}

@keyframes flashGreen {
  0% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.3); }
  30% { text-shadow: 0 0 80px rgba(34, 197, 94, 0.5), 0 0 30px rgba(34, 197, 94, 0.3); }
  100% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.3); }
}

@keyframes flashRed {
  0% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.3); }
  30% { text-shadow: 0 0 80px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.3); }
  100% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.3); }
}

.hero-price-secondary {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.chip-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-timestamp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

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

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  margin-bottom: 48px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ============ COMPOSITE SECTION ============ */
.composite-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.gauge-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 24px;
}

.gauge-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-score {
  display: block;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
}

.gauge-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 4px;
}

.signal-badge {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 12px 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.signal-badge.bullish {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--bullish);
}

.conviction-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.conviction-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.conviction-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.conviction-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 3px;
  transition: width 1.5s ease;
}

.conviction-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Quick stats */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--border-gold);
}

.stat-icon {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.stat-delta.positive { color: var(--bullish); }
.stat-delta.negative { color: var(--bearish); }
.stat-delta.neutral { color: var(--text-muted); }

/* ============ DRIVER CARDS ============ */
.drivers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.driver-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.driver-card:hover {
  border-color: var(--border-gold);
}

.driver-header {
  padding: 20px 24px;
  cursor: pointer;
  position: relative;
}

.driver-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.driver-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
}

.driver-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.driver-weight {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 4px;
}

.driver-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-bar-container {
  flex: 1;
}

.score-bar-bg {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: visible;
  margin-right: 8px;
}

.score-bar-center {
  position: absolute;
  left: 50%;
  top: -2px;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.score-bar-fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.score-bar-fill.bullish {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.6));
}

.score-bar-fill.max-bullish {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.4), rgba(74, 222, 128, 0.8));
}

.score-bar-fill.bearish {
  background: linear-gradient(270deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.6));
}

.score-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-8px);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.score-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
}

.driver-score-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  min-width: 48px;
  text-align: right;
}

.driver-score-value.positive { color: var(--bullish); }
.driver-score-value.max-positive { color: var(--max-bullish); }
.driver-score-value.negative { color: var(--bearish); }
.driver-score-value.neutral { color: var(--text-muted); }

.driver-expand-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.driver-card.expanded .driver-expand-icon {
  transform: rotate(180deg);
}

.driver-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.driver-card.expanded .driver-body {
  max-height: 400px;
  padding: 0 24px 24px;
}

.driver-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.data-point {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.data-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.data-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.data-val.positive { color: var(--bullish); }
.data-val.negative { color: var(--bearish); }

.driver-rationale {
  background: rgba(212, 175, 55, 0.04);
  border-left: 3px solid var(--gold);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.driver-rationale p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

.driver-verdict {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============ CHARTS ============ */
.chart-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.chart-panel.half {
  margin-bottom: 0;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.chart-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.chart-meta {
  display: flex;
  gap: 8px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.meta-tag.gold { color: var(--gold); background: var(--gold-muted); }
.meta-tag.negative { color: var(--bearish); background: rgba(239, 68, 68, 0.1); }

.chart-container {
  position: relative;
  height: 360px;
}

.charts-row .chart-container {
  height: 280px;
}

/* ============ TRADE SIGNAL ============ */
.signal-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.signal-badge-large {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-radius: 12px;
}

.signal-badge-large.bullish {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.signal-icon {
  font-size: 28px;
  color: var(--gold);
}

.signal-text {
  flex: 1;
}

.signal-direction {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--bullish);
}

.signal-conviction {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.signal-score-box {
  text-align: center;
  padding: 16px 24px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}

.signal-score-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.signal-score-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

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

.level-card {
  text-align: center;
  padding: 20px 16px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.level-type {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.level-range {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.level-card.support .level-range { color: var(--bullish); }
.level-card.current .level-range { color: var(--gold); }
.level-card.resistance .level-range { color: var(--bearish); }
.level-card.target .level-range { color: var(--gold-light); }

.level-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.signal-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.signal-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.signal-detail-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

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

.target-bank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.target-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.target-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
}

.sizing-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.risk-card { border-color: rgba(239, 68, 68, 0.15); }

.risk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.risk-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: var(--bearish);
  font-size: 10px;
}

/* ============ CENTRAL BANK ============ */
.cb-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.cb-buyers-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.buyer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.buyer-item {
  display: grid;
  grid-template-columns: 28px 1fr 60px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.buyer-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}

.buyer-name {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
}

.buyer-amount {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-align: right;
}

.buyer-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
  opacity: 0.4;
}

.cb-stat-highlight {
  margin-top: 24px;
  padding: 20px;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  text-align: center;
}

.cb-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.cb-stat-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ============ ETF GRID ============ */
.etf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.etf-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.etf-stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.etf-stat-card.featured {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-color: var(--border-gold);
}

.etf-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.etf-stat-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.featured .etf-stat-value {
  color: var(--gold);
}

.etf-stat-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* ============ FISCAL ============ */
.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fiscal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s;
}

.fiscal-card:hover {
  border-color: var(--border-gold);
}

.fiscal-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.fiscal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fiscal-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.fiscal-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

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

.footer-logo {
  color: var(--gold);
  font-size: 16px;
}

.footer-brand-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.footer-disclaimer p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.footer-sources {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-sources-label {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .composite-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .signal-details-row {
    grid-template-columns: 1fr;
  }
  
  .cb-grid {
    grid-template-columns: 1fr;
  }
  
  .charts-row {
    grid-template-columns: 1fr;
  }
  
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .quick-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .etf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fiscal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .levels-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .signal-badge-large {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-price-value {
    font-size: 56px;
  }
  
  .driver-data {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .quick-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .etf-grid {
    grid-template-columns: 1fr;
  }
  
  .fiscal-grid {
    grid-template-columns: 1fr;
  }
  
  .levels-grid {
    grid-template-columns: 1fr;
  }
  
  .price-chip {
    padding: 6px 12px;
  }
}
