/* ===== CUSTOM CURSOR STYLES ===== */
/* Hide default cursor */
* {
    cursor: none !important;
}

/* Custom cursor container */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(0, 102, 204, 0.8);
    border: 2px solid rgba(0, 102, 204, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
    mix-blend-mode: difference;
}

/* Cursor follower (larger circle) */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    background: rgba(0, 102, 204, 0.1);
}

/* Cursor hover effects */
.custom-cursor.hover {
    width: 30px;
    height: 30px;
    background: rgba(0, 102, 204, 1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 102, 204, 0.6);
    background: rgba(0, 102, 204, 0.2);
}

/* Cursor click effect */
.custom-cursor.click {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 1);
    border: 3px solid rgba(0, 102, 204, 1);
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.8);
}

.cursor-follower.click {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 102, 204, 0.8);
    background: rgba(0, 102, 204, 0.3);
}

/* Text cursor effect */
.custom-cursor.text {
    width: 2px;
    height: 20px;
    border-radius: 1px;
    background: rgba(0, 102, 204, 1);
    border: none;
}

.cursor-follower.text {
    width: 20px;
    height: 40px;
    border: 1px solid rgba(0, 102, 204, 0.4);
    border-radius: 10px;
    background: rgba(0, 102, 204, 0.1);
}

/* Link hover effect */
.custom-cursor.link {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(0, 102, 204, 1);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

.cursor-follower.link {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(0, 102, 204, 0.7);
    background: rgba(0, 102, 204, 0.15);
}

/* Button hover effect */
.custom-cursor.button {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 1);
    border: 3px solid rgba(0, 102, 204, 1);
    box-shadow: 0 0 25px rgba(0, 102, 204, 0.7);
}

.cursor-follower.button {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 102, 204, 0.8);
    background: rgba(0, 102, 204, 0.25);
}

/* Cursor ripple effect */
.cursor-ripple {
    position: fixed;
    border: 2px solid rgba(0, 102, 204, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Disable custom cursor on mobile */
@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }

    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
}