/* Discraft — Design Tokens */

:root {
    /* Background */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0e0e16;
    --bg-panel: #12121a;
    --bg-elevated: #16161f;
    --bg-hover: #1a1a25;
    --bg-active: #1e1e2e;
    --bg-input: #0d0d14;

    /* Borders */
    --border-subtle: #1a1a28;
    --border-default: #1e1e2e;
    --border-strong: #2a2a3a;
    --border-accent: #5865F2;

    /* Text */
    --text-primary: #e4e4ef;
    --text-secondary: #8b8ba0;
    --text-muted: #555568;
    --text-accent: #7B8CFF;
    --text-inverse: #0a0a0f;

    /* Accent — Discord-inspired purple-blue */
    --accent: #5865F2;
    --accent-hover: #4752C4;
    --accent-light: #7B8CFF;
    --accent-subtle: rgba(88, 101, 242, 0.12);
    --accent-glow: rgba(88, 101, 242, 0.25);

    /* Status */
    --success: #3BA55C;
    --success-bg: rgba(59, 165, 92, 0.12);
    --warning: #FAA61A;
    --warning-bg: rgba(250, 166, 26, 0.12);
    --error: #ED4245;
    --error-bg: rgba(237, 66, 69, 0.12);

    /* Roles default palette */
    --role-red: #ED4245;
    --role-blue: #5865F2;
    --role-green: #3BA55C;
    --role-yellow: #FAA61A;
    --role-purple: #9B59B6;
    --role-cyan: #1ABC9C;
    --role-orange: #E67E22;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-lg: 1.125rem;
    --text-xl: 1.3125rem;
    --text-2xl: 1.625rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;

    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

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

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);

    /* Transitions */
    --transition-fast: 120ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 350ms ease;

    /* Layout */
    --sidebar-width: 300px;
    --header-height: 56px;
    --max-content: 1100px;
}
