/* Egyedi kurzor - csak pontos mutatóval és hover támogatással rendelkező eszközökön */
html.custom-cursor-active,
html.custom-cursor-active * {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    isolation: isolate;
    mix-blend-mode: difference;
    transition: opacity 0.2s ease;
    will-change: transform;
}

.custom-cursor.is-visible {
    opacity: 1;
}

.custom-cursor::before,
.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.custom-cursor::before {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.custom-cursor::after {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.custom-cursor.is-interactive::before,
.custom-cursor.is-interactive::after {
    transform: translate(-50%, -50%) scale(0.7);
}

.custom-cursor.is-draggable::before,
.custom-cursor.is-draggable::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
}

.custom-cursor-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
}

.custom-cursor.is-draggable .custom-cursor-ring {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.custom-cursor.is-dragging .custom-cursor-ring {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(0.82);
}

.custom-cursor-label {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-4px, -4px) scale(0.85);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-cursor.is-interactive .custom-cursor-label,
.custom-cursor.is-draggable .custom-cursor-label {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
