:root {
            --primary: #8e44ad;
            --secondary: #9b59b6;
            --accent: #e74c3c;
            --text: #ecf0f1;
            --dark: #121212;
            --darker: #0a0a0a;
            --light: #2c3e50;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--darker);
            color: var(--text);
            min-height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            position: relative;
            z-index: 1;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 10px;
            text-shadow: 0 0 10px rgba(142, 68, 173, 0.5);
        }
        
        .tagline {
            font-style: italic;
            color: var(--text);
            opacity: 0.8;
        }
        
        .ai-container {
            width: 100%;
            height: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .ai-face {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(145deg, var(--primary), var(--secondary));
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(142, 68, 173, 0.3),
                        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
                        inset 0 5px 15px rgba(255, 255, 255, 0.2);
            transition: transform 0.3s, box-shadow 0.3s;
            overflow: hidden;
        }
        
        .ai-face::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
            z-index: 1;
            pointer-events: none;
        }
        
        .ai-eyes {
            display: flex;
            justify-content: space-around;
            width: 140px;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }
        
        .ai-eye {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--text);
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        }
        
        .ai-pupil {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: var(--dark);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.1s;
        }
        
        .ai-mouth {
            width: 100px;
            height: 30px;
            background-color: var(--dark);
            border-radius: 5px;
            position: relative;
            z-index: 2;
            overflow: hidden;
            transition: height 0.3s, width 0.3s, border-radius 0.3s;
        }
        
        .ai-mouth-interior {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 15px;
            background-color: #570d57;
        }
        
        .judgment-container {
            margin-top: 30px;
            padding: 20px;
            background-color: var(--dark);
            border-radius: 10px;
            width: 100%;
            min-height: 120px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .judgment-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--secondary), var(--primary));
            background-size: 200% 100%;
            animation: gradient-shift 5s linear infinite;
        }
        
        @keyframes gradient-shift {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }
        
        .judgment-text {
            font-size: 1.2rem;
            line-height: 1.5;
            margin-bottom: 15px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s, transform 0.5s;
        }
        
        .judgment-text.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .stats {
            display: flex;
            justify-content: space-around;
            width: 100%;
            margin-top: 20px;
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.7;
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-value {
            font-weight: bold;
            color: var(--secondary);
        }
        
        .action-prompt {
            text-align: center;
            margin-top: 30px;
            font-size: 1.2rem;
            color: var(--secondary);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }
        
        /* Éléments décoratifs */
        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            opacity: 0.3;
        }
        
        .grid-line {
            position: absolute;
            background-color: var(--light);
        }
        
        .horizontal {
            width: 100%;
            height: 1px;
        }
        
        .vertical {
            height: 100%;
            width: 1px;
        }
        
        .cursor-tracker {
            position: fixed;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0) 70%);
            pointer-events: none;
            transform: translate(-50%, -50%);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .cursor-tracker.active {
            opacity: 1;
        }
        
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            background-color: var(--primary);
            border-radius: 5px;
            color: var(--text);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transform: translateX(150%);
            transition: transform 0.3s;
            z-index: 100;
        }
        
        .notification.show {
            transform: translateX(0);
        }
        
        .commands {
            position: fixed;
            bottom: 20px;
            left: 20px;
            font-size: 0.8rem;
            color: var(--text);
            opacity: 0.5;
        }
        
        .personality-selector {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            gap: 10px;
        }
        
        .personality-option {
            padding: 8px 12px;
            background-color: var(--dark);
            border: 1px solid var(--light);
            border-radius: 20px;
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.8rem;
        }
        
        .personality-option:hover {
            background-color: var(--light);
        }
        
        .personality-option.active {
            background-color: var(--primary);
            border-color: var(--secondary);
        }
        
        /* Animation pour la panique */
        @keyframes panic {
            0%, 100% { transform: translate(0, 0) rotate(0); }
            10% { transform: translate(-5px, -5px) rotate(-2deg); }
            20% { transform: translate(5px, -5px) rotate(2deg); }
            30% { transform: translate(-5px, 5px) rotate(0); }
            40% { transform: translate(5px, 5px) rotate(-2deg); }
            50% { transform: translate(-5px, -5px) rotate(2deg); }
            60% { transform: translate(5px, -5px) rotate(0); }
            70% { transform: translate(-5px, 5px) rotate(-2deg); }
            80% { transform: translate(5px, 5px) rotate(2deg); }
            90% { transform: translate(-5px, -5px) rotate(0); }
        }
        
        .panic {
            animation: panic 0.5s linear;
        }
        
        /* Animations pour les humeurs de l'IA */
        .surprised .ai-eyes {
            transform: translateY(-5px);
        }
        
        .surprised .ai-pupil {
            width: 25px;
            height: 25px;
        }
        
        .surprised .ai-mouth {
            height: 40px;
            border-radius: 20px;
        }
        
        .angry .ai-eyes {
            transform: translateY(2px);
        }
        
        .angry .ai-pupil {
            width: 15px;
            height: 15px;
            background-color: var(--accent);
        }
        
        .angry .ai-mouth {
            height: 10px;
            width: 80px;
        }
        
        .suspicious .ai-pupil {
            width: 15px;
            height: 20px;
        }
        
        .suspicious .ai-mouth {
            height: 15px;
            width: 60px;
            border-radius: 5px 5px 10px 10px;
            transform: translateY(5px);
        }
        
        .happy .ai-pupil {
            width: 15px;
            height: 15px;
        }
        
        .happy .ai-mouth {
            height: 30px;
            width: 80px;
            border-radius: 5px 5px 50% 50%;
        }
        
        .bored .ai-pupil {
            width: 20px;
            height: 10px;
        }
        
        .bored .ai-mouth {
            height: 10px;
            width: 50px;
        }
        
        /* Media queries pour responsivité */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .ai-face {
                width: 150px;
                height: 150px;
            }
            
            .ai-eyes {
                width: 100px;
            }
            
            .ai-eye {
                width: 30px;
                height: 30px;
            }
            
            .ai-pupil {
                width: 15px;
                height: 15px;
            }
            
            .ai-mouth {
                width: 70px;
                height: 20px;
            }
            
            .judgment-text {
                font-size: 1rem;
            }
            
            .stats {
                flex-wrap: wrap;
            }
            
            .stat {
                width: 50%;
                margin-bottom: 10px;
            }
        }