/* Custom Cursor Styles */

* {
    cursor: none !important;
}

body {
    cursor: none !important;
}

/* Custom Cursor Circle */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.1s ease, height 0.1s ease, background 0.1s ease, border 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    will-change: transform;
}

/* Cursor on clickable/hoverable elements */
.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: black;
    border: 2px solid white;
}

/* Different cursor states */
.custom-cursor.click {
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid black;
}

/* Loading cursor */
.custom-cursor.loading {
    width: 25px;
    height: 25px;
    background: transparent;
    border: 2px solid white;
    border-top: 2px solid black;
    animation: cursorSpin 1s linear infinite;
}

@keyframes cursorSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hide cursor on mobile */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
    
    * {
        cursor: auto !important;
    }
}
