/* Mouse Cursor Effect - Trailing dot with inverted colors */

.mouse-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    mix-blend-mode: difference; /* This inverts colors based on background */
    will-change: transform;
}

.mouse-cursor-dot.active {
    opacity: 1;
}

/* Hover effects - make dot slightly bigger */
.mouse-cursor-dot.hover {
    width: 10px;
    height: 10px;
}

/* Click effect - make dot smaller */
.mouse-cursor-dot.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* Remove these as we handle hover in JavaScript */

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
    .mouse-cursor-dot {
        display: none;
    }
}

/* Keep default cursor visible - the dot accompanies it */

/* Smooth animation */
.mouse-cursor-dot.smooth {
    transition: transform 0.1s ease-out, opacity 0.15s ease-out, border-color 0.3s ease;
}

/* The mix-blend-mode: difference automatically handles light/dark backgrounds */