/* === STYLES POUR LES MODULES JAVASCRIPT === */

/* Curseur personnalisé - Étoiles CSS */
.modular-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 9999;
    transform-origin: center;
    transition: all 0.3s ease;
}

.modular-cursor::before {
    content: "✦";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    mix-blend-mode: difference;
}

.modular-cursor-follower {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 9998;
    transform-origin: center;
    transition: all 0.3s ease;
}

.modular-cursor-follower::before {
    content: "✦";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    mix-blend-mode: difference;
}

/* Animation des particules */
@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Mode réduit de mouvement */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimisations pour les appareils mobiles */
@media (max-width: 768px) {
    .modular-cursor,
    .modular-cursor-follower {
        display: none;
    }
}