/* css/variables.css - Variables CSS communes pour tout le projet */
:root {
    /* Couleurs principales */
    --primary: #00d4ff;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Arrière-plans */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Textes */
    --text-primary: #ffffff;
    --text-secondary: #a0a9c0;
    --text-muted: #6b7280;
    
    /* Effets de lueur */
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-secondary: 0 0 30px rgba(124, 58, 237, 0.4);
    --glow-accent: 0 0 25px rgba(245, 158, 11, 0.4);
    
    /* Transitions communes */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Bordures */
    --border-radius: 16px;
    --border-radius-small: 12px;
    --border-radius-large: 24px;
    
    /* Espacement */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* Reset global commun */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animations communes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: var(--glow-primary); }
    50% { box-shadow: var(--glow-secondary); }
}

/* Classes utilitaires communes */
.fade-in { animation: fadeIn var(--transition-slow) ease-in; }
.fade-out { animation: fadeOut var(--transition-normal) ease-out; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.glow { animation: glow 3s ease-in-out infinite; }

/* Scrollbar personnalisée commune */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}