/* Target Cursor Styles */
.target-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
}

.target-cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.target-cursor-corner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    will-change: transform;
}

/* Corner positions for idle state (spinning) */
.target-cursor-corner-1 {
    transform: translate(-150%, -150%);
    border-right: none;
    border-bottom: none;
}

.target-cursor-corner-2 {
    transform: translate(50%, -150%);
    border-left: none;
    border-bottom: none;
}

.target-cursor-corner-3 {
    transform: translate(50%, 50%);
    border-left: none;
    border-top: none;
}

.target-cursor-corner-4 {
    transform: translate(-150%, 50%);
    border-right: none;
    border-top: none;
}

/* Hover target class should be added to interactive elements */
.cursor-target {
    cursor: none !important;
}

@media (max-width: 768px) {
    .target-cursor {
        display: none !important;
    }
}
