/* -------------------------------------------------------------
   Стилизация кастомного курсора (Кольцо + Точка)
------------------------------------------------------------- */

/* Скрываем системный курсор везде на десктопах */
@media (min-width: 1025px) and (pointer: fine) {
    html, body, a, button, [role="button"], input, select, textarea, .interactive, .magnetic-button {
        cursor: none !important;
    }
}

/* Кольцо курсора с эффектом инверсии (difference) */
#vibe-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    pointer-events: none;
    z-index: 2147483647;
    mix-blend-mode: difference;
    will-change: transform;
    fill: #ffffff;
    shape-rendering: geometricPrecision;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Точка курсора — маленький указатель */
#vibe-cursor-dot,
#vibe-cursor-pointer {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    pointer-events: none;
    z-index: 2147483646;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #C3001E;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(195, 0, 30, 0.9);
}

/* На мобильных скрываем полностью */
@media (max-width: 1024px), (pointer: coarse) {
    #vibe-cursor-ring,
    #vibe-cursor-dot,
    #vibe-cursor-pointer {
        display: none !important;
    }
    html, body, a, button, [role="button"], input, select, textarea {
        cursor: auto !important;
    }
}
