/**
 * Dynamic Invert Cursor Styles
 * Version: 1.0.0
 */

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Show default cursor on iframes */
iframe {
    cursor: auto !important;
}

/* Cursor dot container */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    mix-blend-mode: exclusion;
    pointer-events: none;
    z-index: 99999999999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    will-change: transform, width, height;
}

/* Size variations for different elements */
.custom-cursor.hover-link {
    width: 11.25px;  /* 25% smaller */
    height: 11.25px;
}

.custom-cursor.hover-button {
    width: 9.75px;  /* 35% smaller */
    height: 9.75px;
}

.custom-cursor.hover-input {
    width: 7.5px;    /* 50% smaller */
    height: 7.5px;
}

/* Cursor trail effect (optional enhancement) */
.custom-cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 99999999999;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    will-change: transform;
}

/* Smooth animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Active/clicked state */
.custom-cursor.active {
    animation: pulse 0.3s ease;
}

/* Hidden state */
.custom-cursor.hidden {
    opacity: 0;
}

/* Over iframe state */
.custom-cursor.over-iframe {
    opacity: 0;
    transition: opacity 0.2s ease;
}