/* 
   JZC Portfolio: Custom Kinetic Cursor System 
   v23.0.0 (Home-Exclusive Inversion Lens)
*/

.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease; /* Removed transform transition for instant JS sync v23.1.0 */
    mix-blend-mode: difference;
}

/* Base State: Only visible when body has .is-home class */
body.is-home .cursor-dot,
body.is-home .cursor-ring {
    opacity: 1;
}

body.is-home {
    cursor: none;
}

/* Ensure links and card interaction areas don't show the system cursor even when custom is on */
body.is-home * {
    cursor: none !important;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #fff; /* White in Difference mode = Black on White, White on Black */
    border-radius: 50%;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.3s ease;
}

/* Hovering Interactions */
body.is-home .cursor-ring.hover-active {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-width: 2px;
}

body.is-home .cursor-dot.hover-active {
    transform: scale(0.5);
    opacity: 0.5;
}

/* Clicking Interaction */
.cursor-ring.active {
    transform: scale(0.85);
    border-width: 3px;
}
