/* ============================================================
   🎨 DESIGN SYSTEM V2.0 — Premium Crypto-Trader Inspired
   Indo Scalping — IHSG Strategist
   ============================================================ */

:root {
    /* === Background Layers === */
    --bg-base: #050507;
    --bg-deep: #0a0a12;
    --bg-elevated: #0f1019;
    --bg-overlay: rgba(8, 9, 16, 0.85);

    /* === Glass Panels === */
    --glass-bg: rgba(18, 20, 35, 0.55);
    --glass-bg-hover: rgba(28, 30, 50, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* === Accent: Electric Purple-Gold === */
    --accent: #b794f6;
    --accent-bright: #d6bcfa;
    --accent-dim: #6b46c1;
    --accent-glow: rgba(183, 148, 246, 0.4);
    --accent-soft: rgba(183, 148, 246, 0.08);
    --accent-border: rgba(183, 148, 246, 0.25);

    /* === Semantic Colors === */
    --green: #10b981;
    --green-soft: rgba(16, 185, 129, 0.12);
    --green-glow: rgba(16, 185, 129, 0.4);
    --green-border: rgba(16, 185, 129, 0.3);

    --red: #f43f5e;
    --red-soft: rgba(244, 63, 94, 0.12);
    --red-glow: rgba(244, 63, 94, 0.4);
    --red-border: rgba(244, 63, 94, 0.3);

    --yellow: #fbbf24;
    --yellow-soft: rgba(251, 191, 36, 0.12);
    --yellow-glow: rgba(251, 191, 36, 0.4);
    --yellow-border: rgba(251, 191, 36, 0.3);

    --blue: #60a5fa;
    --blue-soft: rgba(96, 165, 250, 0.12);
    --blue-glow: rgba(96, 165, 250, 0.4);

    /* === Text === */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-faded: #475569;
    --text-inverse: #0a0a12;

    /* === Radii === */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 24px;
    --r-pill: 999px;

    /* === Shadows === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px var(--accent-glow);

    /* === Spacing === */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-8: 3rem;
}
