/* Custom Cursor Core */
html, body, * {
    cursor: none !important;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* --- THE NEW MODERN CURSOR --- */
#cursor-arrow {
    position: fixed !important;
    top: 0; left: 0;
    width: 25px; height: 25px;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
}

#cursor-arrow svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 190, 255, 0.8));
    transition: transform 0.1s ease;
}

#cursor-arrow.clicking svg {
    transform: scale(0.8);
}

#cursor-ring {
    position: fixed !important;
    top: 0; left: 0;
    width: 44px; height: 44px;
    border: 2px solid rgba(0, 190, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0, 190, 255, 0.6), inset 0 0 10px rgba(0, 190, 255, 0.4);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background 0.3s ease, border-color 0.3s ease;
    will-change: transform, width, height;
}

/* Expansion effect when hovering over interactive elements */
#cursor-ring.hover-state {
    width: 70px;
    height: 70px;
    background: rgba(157, 78, 221, 0.1);
    border-color: #00beff;
    box-shadow: 0 0 25px rgba(0, 190, 255, 0.4);
}

/* Hide cursor objects on mobile/tablet while keeping canvas effects */
@media (max-width: 1024px) {
    #cursor-arrow, #cursor-ring {
        display: none !important;
    }
    
    html, body, * {
        cursor: auto !important;
    }
}
