/* ========================================
   TICKER TAPE COMPONENT
   ======================================== */

.ticker-wrapper {
    background: linear-gradient(90deg, var(--color-slate) 0%, #5a6f8c 100%);
    color: var(--color-white);
    padding: 0.75rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ticker-wrapper::-webkit-scrollbar {
    display: none;
}

.ticker {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-content {
    display: flex;
    flex-shrink: 0;
}

.ticker-item {
    padding: 0 3rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ticker-item:hover {
    color: var(--color-red-light);
    text-decoration: underline;
}

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

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