* {
    cursor: none !important;
}
.cursor-glow,
.cursor-core,
.cursor-trail,
.cursor-spark {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 99990;
}
.cursor-glow {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(100, 108, 255, 0.2), rgba(139, 92, 246, 0.08), transparent 70%);
    filter: blur(8px);
    mix-blend-mode: screen;
    z-index: 99991;
}
.cursor-core {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #ffffff 0%, #646cff 45%, #8b5cf6 100%);
    box-shadow:
        0 0 8px rgba(100, 108, 255, 0.8),
        0 0 16px rgba(100, 108, 255, 0.5),
        0 0 32px rgba(139, 92, 246, 0.3);
    z-index: 99992;
    transition: transform 0.15s ease;
}
.cursor-trail {
    background: radial-gradient(circle, rgba(100, 108, 255, 0.7), rgba(139, 92, 246, 0.3), rgba(100, 108, 255, 0.1), transparent 70%);
    filter: blur(2px);
    mix-blend-mode: screen;
    animation: trailFade 0.7s linear forwards;
}
.cursor-spark {
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, #fff, #646cff 60%, transparent 75%);
    box-shadow: 0 0 8px rgba(100, 108, 255, 0.8);
    animation: sparkFly 0.7s linear forwards;
}
@keyframes trailFade {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}
@keyframes sparkFly {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.2); }
}