:root {
  /* ── CORE IDENTITY ──────────────────────────── */
  --color-primary: #00d4ff;
  --color-primary-hover: #33ddff;
  --color-primary-dim: #0099cc;
  --color-primary-glow: rgba(0, 212, 255, 0.25);

  --color-action: #ff9500;
  --color-action-hover: #ffaa33;
  --color-action-dim: #cc7700;
  --color-action-glow: rgba(255, 149, 0, 0.25);

  /* ── BACKGROUND SYSTEM ──────────────────────── */
  --color-bg-primary: #0a0f17;
  --color-bg-secondary: #111820;
  --color-bg-tertiary: #1a2230;
  --color-bg-card: #1a2230;
  --color-bg-elevated: #243449;
  --color-bg-hover: #162030;
  --color-bg-active: #1e2d40;
  --color-bg-overlay: rgba(10, 15, 23, 0.85);
  --color-bg-highlight: rgba(0, 212, 255, 0.06);

  /* ── TEXT SCALE ─────────────────────────────── */
  --color-text-primary: #e8edf2;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #5a6a7d;
  --color-text-disabled: #3a4554;

  /* ── BORDER SYSTEM ──────────────────────────── */
  --color-border: rgba(148, 163, 184, 0.14);
  --color-border-light: rgba(148, 163, 184, 0.22);
  --color-border-subtle: rgba(148, 163, 184, 0.08);
  --color-border-focus: rgba(0, 212, 255, 0.5);
  --color-border-glow: rgba(0, 212, 255, 0.25);
  --color-border-profit: rgba(0, 225, 133, 0.35);
  --color-border-loss: rgba(255, 77, 77, 0.35);

  /* ── FINANCIAL SIGNALS ──────────────────────── */
  --color-profit: #00e185;
  --color-profit-bright: #33ffaa;
  --color-profit-bg: rgba(0, 225, 133, 0.12);
  --color-loss: #ff4d4d;
  --color-loss-bg: rgba(255, 77, 77, 0.12);
  --color-loss-bright: #ff1a1a;

  /* ── UTILITY / SEMANTIC ─────────────────────── */
  --color-accent: #00d4ff;
  --color-accent-hover: #33ddff;
  --color-accent-dark: #0099cc;
  --color-accent-glow: rgba(0, 212, 255, 0.25);
  --color-success: #00e185;
  --color-warning: #ff9500;
  --color-error: #ff4d4d;
  --color-info: #00d4ff;

  /* ── CS2 RARITY COLORS ──────────────────────── */
  --rarity-consumer: #b0c3d9;
  --rarity-industrial: #5e98d9;
  --rarity-mil-spec: #4b69ff;
  --rarity-restricted: #8847ff;
  --rarity-classified: #d32ce6;
  --rarity-covert: #eb4b4b;
  --rarity-contraband: #ffae00;
  --rarity-gold: #ffd700;

  /* ── RARITY DIMMED BACKGROUNDS ──────────────── */
  --rarity-consumer-dim: rgba(176, 195, 217, 0.1);
  --rarity-industrial-dim: rgba(94, 152, 217, 0.1);
  --rarity-mil-spec-dim: rgba(75, 105, 255, 0.1);
  --rarity-restricted-dim: rgba(136, 71, 255, 0.1);
  --rarity-classified-dim: rgba(211, 44, 230, 0.1);
  --rarity-covert-dim: rgba(235, 75, 75, 0.1);
  --rarity-contraband-dim: rgba(255, 174, 0, 0.1);
  --rarity-gold-dim: rgba(255, 215, 0, 0.1);

  /* ── ADDITIONAL GLOWS ───────────────────────── */
  --glow-success: 0 0 12px rgba(0, 225, 133, 0.3);
  --glow-danger: 0 0 12px rgba(255, 77, 77, 0.3);
  --glow-warning: 0 0 12px rgba(255, 149, 0, 0.3);

  /* ── ADDITIONAL BACKGROUNDS ─────────────────── */
  --color-bg-modal: rgba(10, 15, 23, 0.95);

  /* Legacy aliases for backward compatibility */
  --color-electric-purple: #8847ff;
  --color-electric-green: #00e185;

  /* ── TYPOGRAPHY ─────────────────────────────── */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ── SPACING ────────────────────────────────── */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;

  /* ── RADIUS ─────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ── SHADOWS ────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);

  /* ── GLOWS ──────────────────────────────────── */
  --glow-primary-sm: 0 0 8px rgba(0, 212, 255, 0.25);
  --glow-primary-md: 0 0 16px rgba(0, 212, 255, 0.35);
  --glow-primary-lg: 0 0 32px rgba(0, 212, 255, 0.25);
  --glow-profit: 0 0 12px rgba(0, 225, 133, 0.3);
  --glow-action: 0 0 12px rgba(255, 149, 0, 0.3);

  /* ── TRANSITIONS ────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;
  --ease-decelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── BREAKPOINTS ────────────────────────────── */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ── Z-INDEX SCALE ──────────────────────────── */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-toast: 500;
  --z-tooltip: 600;
  --z-dev: 9999;

  /* ── GRADIENT TOKENS ────────────────────────── */
  --gradient-hero: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  --gradient-cta-primary: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
  --gradient-success-fade: linear-gradient(180deg, rgba(0, 225, 133, 0.1) 0%, transparent 100%);
  --gradient-cyan-glow: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, transparent 100%);

  --container-max: 1400px;
  --header-height: 64px;
}
