/* GLOBAL GLASSMORPHISM CURSOR */
body {
    cursor: none;
}

.glass-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 0.1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.1s ease-out, border-color 0.2s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Cursor on light/white backgrounds */
.glass-cursor.on-light {
    border: 0.1px solid rgba(0, 0, 0, 0.9);
}

/* Cursor hover state on light backgrounds */
.glass-cursor.on-light.hover {
    border: 0.1px solid rgba(0, 0, 0, 1);
}

/* Cursor hover states for interactive elements */
.glass-cursor.hover {
    transform: translate(-50%, -50%) scale(1.3);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 0.1px solid rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 1),
        0 0 80px rgba(255, 255, 255, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Cursor click state */
.glass-cursor.clicked {
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Hide cursor when leaving viewport */
.glass-cursor.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

/* Hide glassmorphism cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .glass-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    button,
    a,
    input,
    textarea,
    select,
    [role="button"],
    [tabindex]:not([tabindex="-1"]) {
        cursor: pointer;
    }
}