/**
 * Szymapixel.pl - CSS Variables
 * 
 * Color Palette: Premium Gaming (Option 2)
 * Primary: Purple (#6C63FF)
 * Accent: Neon Cyan (#00D4AA)
 */

/* ============================================
   COLOR PALETTE - PREMIUM GAMING
   ============================================ */

:root {
    /* Primary Colors */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6; /* Main purple */
    --primary-600: #7c3aed; /* Darker purple */
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;
    --primary-950: #2e1065; /* Darkest purple */

    /* Accent Colors */
    --accent-cyan-400: #22d3ee;
    --accent-cyan-500: #06b6d4; /* Main cyan */
    --accent-cyan-600: #0891b2;
    --accent-cyan-700: #0e7490;

    /* Neutral Colors */
    --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;  /* Darkest gray */

    /* Background Colors */
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --bg-card: rgba(31, 41, 55, 0.8);
    --bg-hover: rgba(127, 141, 255, 0.1);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Border Colors */
    --border-default: rgba(255, 255, 255, 0.1);
    --border-focus: var(--primary-500);

    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, 
        var(--primary-600) 0%, 
        var(--accent-cyan-400) 50%, 
        var(--primary-600) 100%);

    --gradient-card: linear-gradient(145deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(6, 182, 212, 0.05) 100%);

    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(139, 92, 246, 0.5);
    --glow-accent: 0 0 20px rgba(6, 182, 212, 0.5);

    /* Status Colors */
    --status-online: var(--accent-cyan-500);
    --status-offline: #ef4444;
    --status-maintenance: #fbbf24;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

:root {
    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', var(--font-primary);
    --font-mono: 'Fira Code', 'JetBrains Mono', 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 */

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
}

/* ============================================
   SPACING & SIZING
   ============================================ */

:root {
    /* Spacing Scale */
    --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 */

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
}

/* ============================================
   TRANSITIONS & ANIMATIONS
   ============================================ */

:root {
    /* Transition Durations */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Easing Functions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

:root {
    /* Container Max Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* Grid Columns */
    --grid-cols-1: 1fr;
    --grid-cols-2: repeat(2, minmax(0, 1fr));
    --grid-cols-3: repeat(3, minmax(0, 1fr));
    --grid-cols-4: repeat(4, minmax(0, 1fr));

    /* Aspect Ratios */
    --aspect-video: 16 / 9;
    --aspect-square: 1 / 1;
}