@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap');

/* Configuration de base */
body {
    font-family: 'Inter', sans-serif;
    background-color: #080808;
    color: #f3f4f6;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

.font-mono {
    font-family: 'Geist Mono', monospace;
}

/* Effets Glassmorphism */
.glass {
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-premium {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.5) 0%, rgba(8, 8, 8, 0.8) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Effet de bordures lumineuses dégradées (Neon mask) */
.glow-card {
    position: relative;
    border-radius: 1rem;
}
.glow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(to bottom right, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.15), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glow-card-blue::after {
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.35), rgba(16, 185, 129, 0.15), transparent 60%);
}

.glow-card-green::after {
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.35), rgba(37, 99, 235, 0.15), transparent 60%);
}

/* Effets Neon Text & Ombres */
.text-glow-violet {
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.text-glow-blue {
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.shadow-neon-violet {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.08);
}

.shadow-neon-blue {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.08);
}

/* Animations de pulsation pour arrière-plan */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) translate(0px, 0px);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.1) translate(20px, -20px);
    }
    66% {
        opacity: 0.7;
        transform: scale(0.95) translate(-10px, 15px);
    }
}
.glow-pulse {
    animation: pulseGlow 15s infinite ease-in-out;
}

/* Barre de défilement personnalisée */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #080808;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Animations d'apparition */
.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles spécifiques aux graphiques radar */
.chart-container {
    position: relative;
    margin: auto;
    width: 100%;
}
