/* Animation des chevaux de course */
.horse-animation-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-horse {
    position: absolute;
    width: 120px;
    height: 80px;
    background-image: url('../images/horse-racing.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.7) contrast(1.2);
    animation: horse-race 8s linear infinite;
    opacity: 0.6;
}

@keyframes horse-race {
    0% {
        transform: translateX(-120px) scaleX(1);
    }
    100% {
        transform: translateX(calc(100% + 120px)) scaleX(1);
    }
}

/* Effets visuels supplémentaires */
.glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(11, 105, 56, 0.1) 0%, rgba(255, 80, 0, 0.1) 100%);
    mix-blend-mode: overlay;
    animation: glitch 0.2s linear infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-5px, 5px);
    }
    40% {
        transform: translate(-5px, -5px);
    }
    60% {
        transform: translate(5px, 5px);
    }
    80% {
        transform: translate(5px, -5px);
    }
    100% {
        transform: translate(0);
    }
}

/* Effet de vignette */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 2;
}
