.ai-banner-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #09090b;
    box-sizing: border-box;
    padding: 15px 0;
}

.ai-banner-viewport {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    user-select: none;
}

.ai-banner-track {
    display: flex;
    white-space: nowrap;
    align-items: center;
    flex-shrink: 0;
    will-change: transform;
}

/* Animations based on direction */
.ai-direction-left {
    animation: aiMarqueeLeft linear infinite;
}

.ai-direction-right {
    animation: aiMarqueeRight linear infinite;
}

.ai-pause-on-hover:hover .ai-banner-track {
    animation-play-state: paused;
}

.ai-banner-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ai-banner-item-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ai-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ai-banner-icon svg {
    display: block;
}

.ai-banner-text {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* 
   To achieve perfect seamless looping, we shift by exactly 100% of the single track's width.
   Since the track is cloned and placed side-by-side, shifting 100% replaces the first track
   perfectly with the second cloned track.
*/
@keyframes aiMarqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes aiMarqueeRight {
    0% {
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}
