.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, background-color 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

/* Borde que se separa del centro en hover */
.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-cursor.hovering {
    background-color: rgba(255, 255, 255, 1);
}

.custom-cursor.hovering::before {
    opacity: 1;
    animation: pulse-border 0.8s ease-in-out infinite;
}

@keyframes pulse-border {

    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
	.custom-cursor {
		display: none;
	}
}