/**
 * ShotWars Design System v23
 * Complete color palette, spacing, typography
 */

:root {
    /* ===================================
       BRAND COLORS
       =================================== */
    --color-purple-900: #4c1d95;
    --color-purple-800: #5b21b6;
    --color-purple-700: #6d28d9;
    --color-purple-600: #7c3aed;
    --color-purple-500: #8b5cf6;
    --color-purple-400: #a78bfa;
    --color-purple-300: #c4b5fd;
    --color-purple-200: #ddd6fe;
    --color-purple-100: #ede9fe;
    
    /* Primary (Purple) */
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-primary-light: #a78bfa;
    
    /* ===================================
       SEMANTIC COLORS
       =================================== */
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-success-dark: #059669;
    
    --color-warning: #f59e0b;
    --color-warning-light: #fbbf24;
    --color-warning-dark: #d97706;
    
    --color-error: #ef4444;
    --color-error-light: #f87171;
    --color-error-dark: #dc2626;
    
    --color-info: #3b82f6;
    
    /* ===================================
       GRADIENTS
       =================================== */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-error: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
    /* ===================================
       GLASS MORPHISM
       =================================== */
    --glass-white-10: rgba(255, 255, 255, 0.1);
    --glass-white-15: rgba(255, 255, 255, 0.15);
    --glass-white-20: rgba(255, 255, 255, 0.2);
    --glass-white-25: rgba(255, 255, 255, 0.25);
    
    --glass-border-20: rgba(255, 255, 255, 0.2);
    --glass-border-30: rgba(255, 255, 255, 0.3);
    --glass-border-40: rgba(255, 255, 255, 0.4);
    
    --glass-black-10: rgba(0, 0, 0, 0.1);
    --glass-black-20: rgba(0, 0, 0, 0.2);
    --glass-black-30: rgba(0, 0, 0, 0.3);
    
    /* ===================================
       NEUTRAL COLORS
       =================================== */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* ===================================
       SPACING (Mobile-First)
       =================================== */
    --space-0: 0;
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    
    /* ===================================
       TYPOGRAPHY
       =================================== */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    --text-7xl: 4.5rem;    /* 72px */
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* ===================================
       BORDER RADIUS
       =================================== */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* ===================================
       SHADOWS
       =================================== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* ===================================
       TRANSITIONS
       =================================== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ===================================
       Z-INDEX LAYERS
       =================================== */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;
    
    /* ===================================
       TOUCH TARGETS
       =================================== */
    --touch-min: 44px;
    
    /* ===================================
       VIEWPORT UNITS (Dynamic)
       =================================== */
    --vh-100: 100vh;
    --vh-90: 90vh;
    --vh-80: 80vh;
    --vh-50: 50vh;
    
    /* ===================================
       ASPECT RATIOS
       =================================== */
    --aspect-video: 56.25%;  /* 16:9 */
    --aspect-square: 100%;   /* 1:1 */
}

/* Dynamic Viewport for modern browsers */
@supports (height: 100dvh) {
    :root {
        --vh-100: 100dvh;
        --vh-90: 90dvh;
        --vh-80: 80dvh;
        --vh-50: 50dvh;
    }
}
