/* Mouse Effect Styles */
.mouse-crosshair {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.mouse-crosshair-line {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 9998;
}

.mouse-crosshair-line.vertical {
    width: 1px;
    height: 100vh;
    top: 0;
    transform: translateX(-50%);
}

.mouse-crosshair-line.horizontal {
    height: 1px;
    width: 100vw;
    left: 0;
    transform: translateY(-50%);
}

/* Code snippets along the lines */
.mouse-code {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    padding: 2px 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    animation: codeFade 2.5s ease-out forwards;
}

.mouse-code.fade {
    animation: codeFade 2.5s ease-out forwards;
}

@keyframes codeFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) rotate(2deg);
    }
}
