/* ========================================
   DnD-Hub - CSS VARIABLES
   Fantasy-themed design system
   ======================================== */

:root {
    /* === Primary Colors - Deep Fantasy Palette === */
    --color-primary: #c9a227;
    --color-primary-light: #e8c547;
    --color-primary-dark: #9a7b1a;
    --color-primary-glow: rgba(201, 162, 39, 0.4);
    
    /* === Secondary Colors - Mystical Purple === */
    --color-secondary: #7b4b94;
    --color-secondary-light: #9a6bb3;
    --color-secondary-dark: #5c3870;
    
    /* === Accent Colors === */
    --color-accent-red: #c73e3a;
    --color-accent-green: #2d8a4e;
    --color-accent-blue: #3a7bc7;
    --color-accent-cyan: #3abac7;
    
    /* === Background Colors - Dark Parchment Theme === */
    --bg-darkest: #0a0a0f;
    --bg-darker: #12121a;
    --bg-dark: #1a1a24;
    --bg-medium: #242430;
    --bg-light: #2e2e3d;
    --bg-lighter: #3a3a4d;
    
    /* === Surface Colors with Texture Feel === */
    --surface-card: linear-gradient(135deg, #1e1e28 0%, #16161e 100%);
    --surface-elevated: linear-gradient(180deg, #252532 0%, #1a1a24 100%);
    --surface-modal: rgba(18, 18, 26, 0.98);
    
    /* === Text Colors === */
    --text-primary: #f5f0e8;
    --text-secondary: #b8b0a0;
    --text-muted: #7a7568;
    --text-accent: var(--color-primary);
    --text-inverse: #0a0a0f;
    
    /* === Border Colors === */
    --border-subtle: rgba(201, 162, 39, 0.1);
    --border-medium: rgba(201, 162, 39, 0.25);
    --border-strong: rgba(201, 162, 39, 0.5);
    --border-glow: 0 0 10px var(--color-primary-glow);
    
    /* === Status Colors === */
    --status-success: #2d8a4e;
    --status-warning: #d4a72c;
    --status-error: #c73e3a;
    --status-info: #3a7bc7;
    
    /* === Typography === */
    --font-display: 'Cinzel', serif;
    --font-body: 'Crimson Text', Georgia, serif;
    --font-ui: 'Inter', -apple-system, sans-serif;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-hero: clamp(2.5rem, 6vw, 5rem);
    
    --line-height-tight: 1.2;
    --line-height-base: 1.6;
    --line-height-relaxed: 1.8;
    
    /* === Spacing === */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* === Border Radius === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* === Shadows === */
    --shadow-sm: 0 2px 4px 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-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--color-primary-glow);
    --shadow-glow-lg: 0 0 40px var(--color-primary-glow);
    
    /* === Transitions === */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* === Z-Index Scale === */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal-backdrop: 300;
    --z-modal: 400;
    --z-toast: 500;
    --z-loading: 1000;
    
    /* === Layout === */
    --nav-height: 70px;
    --sidebar-width: 280px;
    --content-max-width: 1400px;
    --card-min-width: 300px;
}

/* === Dark/Light Mode Variables (future-ready) === */
[data-theme="light"] {
    --bg-darkest: #f5f0e8;
    --bg-darker: #ebe5d8;
    --bg-dark: #e0d8c8;
    --bg-medium: #d5cbb8;
    --bg-light: #c8bca8;
    --text-primary: #1a1a24;
    --text-secondary: #3a3a4d;
    --text-muted: #5a5a6d;
}
