.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}

.marquee-text {
    white-space: nowrap;
    display: inline-block;
    padding: 0;
    margin: 0;
}

/* Pause animation on hover */
.marquee-wrapper.pause-on-hover:hover .marquee-content {
    animation-play-state: paused;
}

/* Remove link styling if used */
.marquee-wrapper a {
    text-decoration: none;
    color: inherit;
}

/* Keyframe animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ensure smooth rendering */
.marquee-content * {
    backface-visibility: hidden;
    perspective: 1000px;
}
