/* ================================================================
   CURSOR-GLOW.CSS — Animated cursor trail & click sparks
   PURE ADDITIVE — NO DELETIONS
   ================================================================ */

/* ── Cursor sparkle element (injected via JS) ─────────────── */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.8), rgba(236,72,153,0.4), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: screen;
    opacity: 0.7;
}

.cursor-glow.cursor-clicked {
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* ── Click spark ring ─────────────────────────────────────── */
.click-spark {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-purple, #8b5cf6);
    transform: translate(-50%, -50%);
    animation: spark-fly 0.6s ease-out forwards;
}

@keyframes spark-fly {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx, 20px)), calc(-50% + var(--dy, -30px))) scale(0); opacity: 0; }
}
