/* LIVE TICKER CONTAINER */
.live-ticker {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

/* LEFT LABEL */
.ticker-label {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #c00;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* PULSING DOT */
.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

/* TICKER TRACK */
.ticker-track {
    position: relative;
    flex: 1;
    overflow: hidden;
}

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

/* ITEMS */
.ticker-item {
    padding: 0 6px;
    opacity: 0.95;
}

.ticker-item strong {
    font-weight: 700;
}

/* SEPARATOR */
.ticker-separator {
    padding: 0 6px;
    opacity: 0.4;
}

/* ANIMATIONS */
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* HOVER PAUSE (Desktop only) */
@media (hover: hover) {
    .live-ticker:hover .ticker-content {
        animation-play-state: paused;
    }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .live-ticker {
        height: 40px;
        font-size: 13px;
    }

    .ticker-label {
        padding: 0 10px;
    }
}

/* PAUSE / PLAY BUTTON */
.ticker-toggle {
    all: unset;
    cursor: pointer;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(0,0,0,0.5);
}

.ticker-toggle:hover {
    color:  #000000;
}

/* PAUSED STATE */
.live-ticker.is-paused .ticker-content {
    animation-play-state: paused;
}

.live-ticker.is-paused .live-dot {
    animation: none;
    opacity: 0.4;
}