/* Minimal & Premium Magnetic Cursor Styles */
:root {
    --cursor-dot-size: 4px;
    --cursor-ring-size: 35px;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-dot-size);
    height: var(--cursor-dot-size);
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-ring-size);
    height: var(--cursor-ring-size);
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: 
        width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.4s ease,
        background-color 0.4s ease;
    mix-blend-mode: difference;
}

/* Hover States for Interactive Elements */
.cursor-active .cursor-follower {
    width: 65px;
    height: 65px;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.05);
}

.cursor-active .custom-cursor {
    width: 6px;
    height: 6px;
    opacity: 0.8;
}

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

/* Hide default cursor on desktop when custom cursor is active */
@media (pointer: fine) {
    *, body, a, button {
        cursor: none !important;
    }
}

/* Hide custom cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor, .cursor-follower {
        display: none !important;
    }
    body, a, button {
        cursor: auto !important;
    }
}
