/* Curseur hi-tech */
.cursor-container {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--accent); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(204, 11, 13, 0.8);
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    z-index: 9998;
}

.cursor-ring {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 1px dashed rgba(204, 11, 13, 0.5); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9997;
}

.cursor-crosshair {
    position: fixed;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    z-index: 9996;
    opacity: 0.5;
    pointer-events: none;
}

.cursor-crosshair::before,
.cursor-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(204, 11, 13, 0.3); 
}

.cursor-crosshair::before {
    width: 1px;
    height: 100%;
    left: 50%;
}

.cursor-crosshair::after {
    width: 100%;
    height: 1px;
    top: 50%;
}

.cursor-coordinates {
    position: fixed;
    font-size: 10px;
    color: var(--accent); 
    background-color: rgba(10, 10, 10, 0.7);
    padding: 2px 6px;
    border-radius: 10px;
    transform: translate(10px, 10px);
    z-index: 9995;
    font-family: monospace;
    pointer-events: none;
}

.cursor-ripple {
    position: fixed;
    width: 0;
    height: 0;
    border: 1px solid var(--accent); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9994;
    opacity: 1;
} 

.cursor-tech-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(204, 11, 13, 0.2); 
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cursor-tech-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    border-style: dashed;
    animation: rotate 30s linear infinite;
}

.cursor-tech-circle:nth-child(3) {
    width: 400px;
    height: 400px;
    border-style: dotted;
    animation: rotate 50s linear infinite reverse;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Media query pour masquer le curseur sur les écrans de petite et moyenne taille (mobiles et tablettes) */
@media (max-width: 1200px) {
    .cursor-container,
    .cursor-dot,
    .cursor-outline,
    .cursor-ring,
    .cursor-crosshair,
    .cursor-coordinates,
    .cursor-ripple,
    .cursor-tech-circle {
        display: none !important; /* Cache tous les éléments du curseur */
    }
}