/* Premium Custom Cursor Styles */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(171, 199, 254, 0.5); /* primary color */
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, background-color 0.3s ease, border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    background-color: rgba(171, 199, 254, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, background-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

/* Hover States for Cursor */
.custom-cursor.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(171, 199, 254, 0.2);
    border-color: rgba(171, 199, 254, 0.8);
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-cursor-follower.hover {
    width: 0;
    height: 0;
    opacity: 0;
}

/* Link/Button Hover Scale Effect */
a, button, input, [role="button"] {
    cursor: none !important;
}

/* Magnetic effect helper */
.magnetic {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Card Hover Tilt and Glow */
.hover-tilt {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.hover-tilt:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(171, 199, 254, 0.2);
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
    body {
        cursor: none;
    }
}
