/**
 * G-CORE DESIGN SYSTEM - VARIABLES (SINGLE SOURCE OF TRUTH)
 * Version: 3.0.0 Platinum
 */

:root {
    /* Backgrounds */
    --bg-core: #050505;
    --bg-card: #111111;
    --bg-input: #0A0A0A;
    --bg-hover: rgba(255, 255, 255, 0.03);
    --bg-elevated: #1a1a1a;

    /* Text */
    --text-main: #EDEDED;
    --text-muted: #888888;
    --text-subtle: #444444;
    --text-inverse: #000000;

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.25);

    /* Accent (Default - White) */
    --accent: #FFFFFF;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --border-focus: #FFFFFF;

    /* World Brand Colors */
    --brand-gworld: #F97316;
    --brand-in1: #4ADE80;
    --brand-elements: #F43F5E;
    --brand-blacktrails: #FFFFFF;
    --brand-strata: #D97706;
    --brand-seed: #FACC15;
    --brand-gcore: #38BDF8;

    /* Status */
    --status-success-bg: rgba(34, 197, 94, 0.1);
    --status-success-text: #4ade80;
    --status-warning-bg: rgba(245, 158, 11, 0.1);
    --status-warning-text: #fbbf24;
    --status-error-bg: rgba(239, 68, 68, 0.1);
    --status-error-text: #f87171;
    --status-neutral-bg: rgba(255, 255, 255, 0.1);
    --status-neutral-text: #9ca3af;

    /* Layout */
    --sidebar-width: 260px;
    --topbar-height: 64px;
    --max-width-content: 1600px;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-card: var(--radius-lg);
    --radius-input: var(--radius-sm);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* 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 10px 40px -10px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;

    /* Component */
    --user-avatar-bg: #222;
}

/* World Theme Overrides */
body[data-world="gworld"] {
    --accent: #F97316;
    --accent-glow: rgba(249, 115, 22, 0.15);
    --border-focus: #F97316;
}

body[data-world="blacktrails"] {
    --accent: #FFFFFF;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --border-focus: #FFFFFF;
}

body[data-world="in1"] {
    --accent: #4ADE80;
    --accent-glow: rgba(74, 222, 128, 0.15);
    --border-focus: #4ADE80;
}

body[data-world="elements"] {
    --accent: #F43F5E;
    --accent-glow: rgba(244, 63, 94, 0.15);
    --border-focus: #F43F5E;
}

body[data-world="gcore"] {
    --accent: #38BDF8;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --border-focus: #38BDF8;
}

body[data-world="strata"] {
    --accent: #D97706;
    --accent-glow: rgba(217, 119, 6, 0.15);
    --border-focus: #D97706;
}

body[data-world="seed"] {
    --accent: #FACC15;
    --accent-glow: rgba(250, 204, 21, 0.15);
    --border-focus: #FACC15;
}
