/* ==========================================
   CURSOR ANIMADO CON PARTÍCULAS
   Agrega este archivo a tu proyecto existente
   ========================================== */

/* Ocultar cursor predeterminado */
body {
    cursor: none;
}

/* Cursor principal (anillo) */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #00d9ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    box-shadow: 0 0 20px #00d9ff;
}

/* Punto central del cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #ff6b9d;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 10px #ff6b9d;
}

/* Partículas */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    animation: particleFade 1.5s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Estela del cursor */
.trail {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    background: radial-gradient(circle, #00d9ff 0%, transparent 70%);
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}