/* MILLIONAIRE MATRIX — DYNAMIC LUXURY THEME ENGINE */

:root {
  /* SHARED VALUES */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* DARK MODE (DEFAULT): LIQUID CHAMPAGNE & OBSIDIAN NOIR */
[data-theme="dark"] {
  --bg-body: #050608;
  --bg-sidebar: #080a0f;
  --bg-card: rgba(18, 20, 26, 0.7);
  --bg-card-elevated: rgba(26, 30, 40, 0.85);
  --bg-input: rgba(10, 12, 16, 0.8);
  --bg-surface-subtle: rgba(255, 255, 255, 0.03);
  --bg-surface-alt: rgba(22, 26, 35, 0.75);
  --bg-diagram: rgba(0, 0, 0, 0.45);
  --bg-floating-badge: rgba(18, 20, 27, 0.92);
  --bg-cta-banner: linear-gradient(135deg, rgba(229, 195, 120, 0.15) 0%, rgba(18, 20, 27, 0.95) 100%);
  --bg-card-vip: linear-gradient(135deg, rgba(229, 195, 120, 0.12) 0%, rgba(18, 20, 26, 0.95) 100%);
  --text-hero-gradient: linear-gradient(135deg, #f8fafc 30%, #e5c378 80%, #c49f58 100%);
  --text-metric-gradient: linear-gradient(135deg, #ffffff 40%, var(--gold-primary) 100%);
  --ticker-bg: rgba(15, 18, 24, 0.85);
  --card-glass-bg: rgba(18, 20, 26, 0.7);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 195, 120, 0.25);
  --border-gold-strong: rgba(229, 195, 120, 0.65);
  
  --gold-primary: #e5c378;
  --gold-secondary: #c49f58;
  --gold-dark: #8c6e30;
  --gold-gradient: linear-gradient(135deg, #f8e4b7 0%, #e5c378 45%, #c49f58 75%, #8c6e30 100%);
  --gold-glow: rgba(229, 195, 120, 0.2);
  --brand-title-gradient: linear-gradient(135deg, #ffffff 15%, #f8e4b7 50%, #e5c378 80%, #c49f58 100%);
  --brand-subtitle-color: #e5c378;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --status-active: #10b981;
  --status-active-bg: rgba(16, 185, 129, 0.12);
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* LIGHT MODE: LUXURY IVORY & BRUSHED GOLD */
[data-theme="light"] {
  --bg-body: #f7f6f2;
  --bg-sidebar: #eceae3;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-elevated: #ffffff;
  --bg-input: #ffffff;
  --bg-surface-subtle: rgba(0, 0, 0, 0.03);
  --bg-surface-alt: rgba(245, 243, 238, 0.92);
  --bg-diagram: rgba(242, 239, 231, 0.85);
  --bg-floating-badge: rgba(255, 255, 255, 0.96);
  --bg-cta-banner: linear-gradient(135deg, #ffffff 0%, #f7f3e8 50%, #eee5d3 100%);
  --bg-card-vip: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 242, 230, 0.95) 100%);
  --text-hero-gradient: linear-gradient(135deg, #14171f 30%, #b88c3a 80%, #8c6820 100%);
  --text-metric-gradient: linear-gradient(135deg, #14171f 40%, var(--gold-primary) 100%);
  --ticker-bg: rgba(242, 239, 232, 0.92);
  --card-glass-bg: rgba(255, 255, 255, 0.9);
  
  --border-subtle: rgba(0, 0, 0, 0.09);
  --border-gold: rgba(184, 140, 58, 0.35);
  --border-gold-strong: rgba(184, 140, 58, 0.8);
  
  --gold-primary: #b88c3a;
  --gold-secondary: #966f28;
  --gold-dark: #6e5018;
  --gold-gradient: linear-gradient(135deg, #f8e4b7 0%, #e5c378 45%, #c49f58 75%, #8c6e30 100%);
  --gold-glow: rgba(184, 140, 58, 0.2);
  --brand-title-gradient: linear-gradient(135deg, #11141c 0%, #30240d 35%, #6e5018 75%, #b88c3a 100%);
  --brand-subtitle-color: #6e5018;
  
  --text-main: #14171f;
  --text-muted: #4b5563;
  --text-subtle: #71717a;
  
  --status-active: #059669;
  --status-active-bg: rgba(5, 150, 105, 0.12);
  --status-warning: #d97706;
  --status-danger: #dc2626;
  
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(184, 140, 58, 0.14);
}
