/* ============================================
   FOCUS DASHBOARD - ELITE GOLD HYBRID V11.0
   Liquid Glass + Visual Precision Edition
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;900&family=Inter:wght@400;600;800&display=swap');

:root {
  --bg-cyber: #0a0a0a;
  --gold-primary: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #f6d365 0%, #D4AF37 100%);
  --white-soft: #e0e0e0;
  
  --success: #10b981;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --meta-blue: #1877F2;
  --snap-yellow: #FFFC00;
  --ga-purple: #a855f7;

  --font-display: 'Space Grotesk', sans-serif;
  --radius-premium: 20px;
}

body {
  background-color: var(--bg-cyber);
  color: var(--white-soft);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.02) 0%, transparent 40%);
}

/* === ANIMATIONS DNA === */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes draw-ecg {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(-45deg); }
  20%, 100% { transform: translateX(100%) rotate(-45deg); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(0.99); }
}

.scanline {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.03), transparent);
  animation: scanline 12s linear infinite;
  z-index: 100;
  pointer-events: none;
}

/* === LIQUID GLASS SYSTEM === */
.glass {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98), rgba(10, 10, 10, 0.95));
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-premium);
  padding: 30px;
  position: relative;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.08) 50%, transparent 55%);
  transform: rotate(-45deg);
  animation: shine 8s infinite;
  pointer-events: none;
  z-index: 1;
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.glass > * { position: relative; z-index: 2; }

/* AURA GLOWS PER CHANNEL */
.aura-gold { box-shadow: 0 15px 50px -10px rgba(212, 175, 55, 0.2); border-top: 3px solid var(--gold-primary); }
.aura-meta { box-shadow: 0 15px 50px -10px rgba(24, 119, 242, 0.2); border-top: 3px solid var(--meta-blue); }
.aura-snap { box-shadow: 0 15px 50px -10px rgba(255, 252, 0, 0.15); border-top: 3px solid var(--snap-yellow); }
.aura-ga { box-shadow: 0 15px 50px -10px rgba(168, 85, 247, 0.2); border-top: 3px solid var(--ga-purple); }

.nav-pill { 
  background: rgba(255,255,255,0.03); 
  border: 1px solid rgba(255,255,255,0.08); 
  padding: 10px 24px; 
  border-radius: 12px; 
  font-family: 'Space Grotesk'; 
  font-size: 12px; 
  font-weight: 800; 
  color: #888; 
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-pill:hover { background: rgba(212, 175, 55, 0.05); color: #fff; border-color: rgba(212, 175, 55, 0.2); }
.nav-pill.active { background: var(--gold-primary); color: #000; box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); border-color: var(--gold-primary); }

.btn-ghost-ai.active {
  background: var(--gold-gradient) !important;
  color: #000 !important;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4) !important;
  border: none !important;
}

/* === STATS VISUAL PRECISION === */
.stat-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.data-label {
  font-size: 10px;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.data-value-small {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Space Grotesk';
}

/* TYPO & STATS */
.stat-huge {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label-caps {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
  display: block;
}

.mini-chart { height: 40px; display: flex; align-items: flex-end; gap: 3px; opacity: 0.5; }
.chart-bar { flex: 1; background: var(--gold-primary); border-radius: 2px 2px 0 0; min-height: 4px; }
