/* ==========================================================================
   WhichAIPlan - Shared Live Data Scrolling Ticker
   ========================================================================== */

.brand-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    line-height: 1;
    width: 100%;
}

.ticker-viewport {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 280px;
    margin: 0 auto;
    mask-image: linear-gradient(90deg, transparent 0%, black 8px, black calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8px, black calc(100% - 12px), transparent 100%);
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: tickerScroll 24s linear infinite;
}

.brand-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track span {
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: -0.1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Ticker */
@media (max-width: 600px) {
    .brand-ticker {
        justify-content: center;
    }
    .ticker-track span {
        font-size: 10.5px;
    }
    .ticker-viewport {
        width: 220px;
    }
}
