/* ============================================
   POKER ANALYZER - CSS VARIABLES
   Premium dark theme with gold accents
   ============================================ */

:root {
    /* Primary Colors - Felt & Gold */
    --felt-dark: #0d0808;
    --felt-primary: #1a0f0f;
    --felt-secondary: #2d1818;
    --felt-tertiary: #3d2020;
    --felt-accent: #8b0000;
    --felt-highlight: #a52a2a;
    
    /* Gold Palette */
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --gold-muted: #8b7355;
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    /* Card Colors */
    --card-white: #f5f5f0;
    --card-cream: #e8e4d9;
    --card-red: #e31c3d;
    --card-black: #1a1a1a;
    
    /* Suit Colors */
    --suit-hearts: #e31c3d;
    --suit-diamonds: #e31c3d;
    --suit-clubs: #1a1a1a;
    --suit-spades: #1a1a1a;
    
    /* UI Grays */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Semantic Colors */
    --color-success: #22c55e;
    --color-success-dark: #16a34a;
    --color-danger: #ef4444;
    --color-danger-dark: #dc2626;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    /* Background Colors */
    --bg-primary: var(--felt-dark);
    --bg-secondary: var(--felt-primary);
    --bg-tertiary: var(--felt-secondary);
    --bg-elevated: var(--felt-tertiary);
    
    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    --text-muted: #525252;
    --text-inverse: #0d0d0d;
    
    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --gradient-gold-horizontal: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, #1a0f0f 0%, #0d0808 100%);
    --gradient-felt: radial-gradient(ellipse at center, #2d1818 0%, #0d0808 70%);
    --gradient-felt-linear: linear-gradient(180deg, #2d1818 0%, #1a0f0f 50%, #0d0808 100%);
    --gradient-card: linear-gradient(135deg, #f5f5f0 0%, #e8e4d9 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 100%, #2d1818 0%, #0d0808 60%);
    
    /* Glow Effects */
    --glow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --glow-gold-strong: 0 0 50px rgba(212, 175, 55, 0.5);
    --glow-red: 0 0 40px rgba(139, 0, 0, 0.4);
    --glow-white: 0 0 30px rgba(255, 255, 255, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 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 */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --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 */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* Card Radius (playing card style) */
    --radius-card: 0.75rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-nav: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
    
    /* Component Specific */
    --nav-height: 72px;
    --section-padding-y: 6rem;
    --card-padding: 1.5rem;
}

/* Dark mode is default, but respect system preference */
@media (prefers-color-scheme: light) {
    :root {
        /* In case we ever want a light mode */
        --bg-primary: #fafafa;
        --text-primary: #171717;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0ms;
        --transition-base: 0ms;
        --transition-slow: 0ms;
        --transition-bounce: 0ms;
    }
}
