/* Custom Cursor Styles */

/* Hide default cursor */
html, * {
    cursor: none !important;
}

/* Outer Cursor (Circle) */
.cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(74, 144, 226, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out, width 0.2s, height 0.2s;
    will-change: transform;
    mix-blend-mode: difference;
}

/* Inner Dot */
.cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    will-change: transform;
    mix-blend-mode: difference;
}

/* Hover Effects */
.cursor-outer.hover {
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.1);
    border-width: 1px;
}

.cursor-inner.hover {
    width: 12px;
    height: 12px;
    background: #4a90e2;
}

/* Click Effect */
.cursor-outer.click {
    width: 30px;
    height: 30px;
    background: rgba(74, 144, 226, 0.3);
}

.cursor-inner.click {
    width: 6px;
    height: 6px;
}

/* Hide cursor when not needed */
body.cursor-hidden .cursor-outer,
body.cursor-hidden .cursor-inner {
    opacity: 0;
    visibility: hidden;
}

/* Custom cursor for interactive elements */
a, button, .btn, [role="button"], [onclick], [href], [tabindex] {
    cursor: none !important;
}

/* Custom cursor for text inputs */
input, textarea, select, [contenteditable] {
    cursor: none !important;
}

/* Disable custom cursor on mobile devices */
@media (hover: none) and (pointer: coarse) {
    html, * {
        cursor: auto !important;
    }
    
    .cursor-outer,
    .cursor-inner {
        display: none !important;
    }
}
