.marquee-text-wrap {
    overflow: hidden
}

.marquee-text-content {
    width: 100000px
}

.marquee-text-text {
    -webkit-animation-name: marquee-text-animation;
    animation-name: marquee-text-animation;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    float: left
}

.marquee-text-paused .marquee-text-text {
    -webkit-animation-play-state: paused;
    animation-play-state: paused
}

@-webkit-keyframes marquee-text-animation {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }
}

@keyframes marquee-text-animation {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }
}

/* Mobile Responsive Animations */
@media (max-width: 768px) {
    .marquee-text-text {
        /* Slower animation on mobile for better readability */
        -webkit-animation-duration: 20s;
        animation-duration: 20s;
    }
}

@media (max-width: 576px) {
    .marquee-text-text {
        /* Even slower on smaller screens */
        -webkit-animation-duration: 30s;
        animation-duration: 30s;
    }
    
    .marquee-text-wrap {
        /* Reduce height on mobile */
        max-height: 30px;
    }
}

@media (max-width: 480px) {
    .marquee-text-text {
        /* Pause animations on very small screens for better performance */
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }
}

/* Accessibility - Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .marquee-text-text {
        -webkit-animation: none;
        animation: none;
    }
    
    .marquee-text-paused .marquee-text-text {
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }
}
