/* ==========================================================================
   Mouse Follower Cursor - Custom Styles
   Color: #A82433 / oklch(0.48 0.18 20)
   
   ANIMATION FIX: Using transform: scale() for smooth GPU-accelerated animations
   instead of width/height changes which don't animate smoothly.
   ========================================================================== */

:root {
    --cursor-color: oklch(0.48 0.18 20);
    --cursor-base-size: 48px;
}

/* Base cursor container */
.mf-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    color: var(--cursor-color) !important;
}

/* THE ACTUAL CURSOR CIRCLE */
.mf-cursor::before {
    content: "";
    position: absolute;
    top: -24px;
    left: -24px;
    display: block;
    width: var(--cursor-base-size);
    height: var(--cursor-base-size);
    background: var(--cursor-color) !important;
    border-radius: 50%;
    transform: scale(0.21);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease-out;
}

/* States */
.mf-cursor.-hidden::before {
    transform: scale(0) !important;
    opacity: 0;
}

.mf-cursor.-active::before {
    transform: scale(0.17);
}

.mf-cursor.-pointer::before {
    transform: scale(0.42);
    opacity: 0.7;
}

.mf-cursor.-lg::before {
    transform: scale(0.625);
    opacity: 0.5;
}

.mf-cursor.-text::before {
    transform: scale(0.625);
    opacity: 0.6;
}

/* Text label styling */
.mf-cursor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mf-cursor.-text .mf-cursor-text,
.mf-cursor.-lg .mf-cursor-text {
    opacity: 1;
}

/* Hide library default elements */
.mf-cursor-inner,
.mf-cursor-outer {
    display: none !important;
}

/* Responsive hiding */
@media (hover: none) and (pointer: coarse) {
    .mf-cursor {
        display: none !important;
    }
}

.is-touch .mf-cursor {
    display: none !important;
}