/**
 * CloudAlt Custom Cursor Follower Styles
 * 
 * Pair with cursor-follower.js
 * 
 * @see /cloudalt-docs/guides/AWWWARDS_EFFECTS_REFERENCE.md
 */

/* Hide default cursor on elements */
body.cf-active,
body.cf-active * {
    cursor: none !important;
}

/* Cursor container */
.cf-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    /* mix-blend-mode: difference; */ /* Disabled - was inverting ABA blue to orange */
}

/* Inner dot - hidden for ring-only style */
.cf-cursor__dot {
    display: none;
}

/* Outer ring */
.cf-cursor__ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #0ABAFF; /* CloudAlt ABA signature blue */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: 
        width 0.3s ease,
        height 0.3s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

/* Hidden state */
.cf-cursor--hidden .cf-cursor__dot,
.cf-cursor--hidden .cf-cursor__ring {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Hover state - expand ring */
.cf-cursor--hovering .cf-cursor__ring {
    width: 60px;
    height: 60px;
    border-color: #0ABAFF;
    background: rgba(10, 186, 255, 0.1);
}

.cf-cursor--hovering .cf-cursor__dot {
    width: 4px;
    height: 4px;
    background: #0ABAFF;
}

/* Click state - shrink */
.cf-cursor--clicking .cf-cursor__dot {
    width: 6px;
    height: 6px;
}

.cf-cursor--clicking .cf-cursor__ring {
    width: 30px;
    height: 30px;
    border-width: 2px;
}

/* Text input mode - vertical bar */
.cf-cursor--text .cf-cursor__dot {
    width: 2px;
    height: 20px;
    border-radius: 1px;
}

.cf-cursor--text .cf-cursor__ring {
    opacity: 0;
}

/* Blend mode for dark backgrounds */
.cf-cursor--blend {
    mix-blend-mode: difference;
}

.cf-cursor--blend .cf-cursor__dot {
    background: #fff;
}

.cf-cursor--blend .cf-cursor__ring {
    border-color: rgba(255, 255, 255, 0.5);
}

/* ======================================
   ALTERNATIVE STYLES (Uncomment to use)
   ====================================== */

/* Solid fill on hover */
/*
.cf-cursor--hovering .cf-cursor__ring {
    background: rgba(10, 186, 255, 0.1);
}
*/

/* No mix-blend-mode (more predictable) */
/*
.cf-cursor {
    mix-blend-mode: normal;
}
.cf-cursor__dot {
    background: #0ABAFF;
}
*/

/* Magnetic effect placeholder (requires JS enhancement) */
/*
.cf-cursor--magnetic .cf-cursor__ring {
    transition: none;
}
*/

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cf-cursor__dot {
        background: #0ABAFF;
    }
    .cf-cursor__ring {
        border-color: rgba(10, 186, 255, 0.6);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .cf-cursor__dot,
    .cf-cursor__ring {
        transition: none;
    }
}

/* Hide on touch devices (backup for JS detection) */
@media (pointer: coarse) {
    .cf-cursor {
        display: none;
    }
}
