/* 
 * =======================================================
 * PREMIUM PANELIS - ADVANCED ANIMATIONS & EFFECTS
 * =======================================================
 */

/* 1. Entrée de page fluide */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Effet de lueur pulsante (Glow) */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(var(--p-primary-rgb), 0.2); }
    50% { box-shadow: 0 0 20px rgba(var(--p-primary-rgb), 0.5); }
    100% { box-shadow: 0 0 5px rgba(var(--p-primary-rgb), 0.2); }
}

.glow-primary {
    animation: pulseGlow 3s infinite;
}

/* 3. Texte dégradé animé */
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient-animated {
    background: linear-gradient(-45deg, #6366f1, #a855f7, #ec4899, #3b82f6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

/* 4. Glassmorphism avancé */
.glass-premium {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 5. Hover Effects Premium */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* 6. Fond de particules flottantes */
.floating-particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(var(--p-primary-rgb), 0.2);
    border-radius: 50%;
    filter: blur(2px);
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* 7. Skeleton Loader Premium */
@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}
