/* ==========================================================================
   LIVE MATCHDAY TICKER BAR - UEFA & PREMIER LEAGUE STYLE
   Jember Putra Indonesia Championship
   ========================================================================== */

.ticker-outer-container {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 998;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 20px;
}

.matchday-ticker-bar {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(90deg, #0C0E16 0%, #171A27 50%, #0C0E16 100%);
    border: 1px solid var(--jpi-border-gold);
    border-radius: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.15);
    pointer-events: auto;
}

.ticker-badge-live {
    background: var(--jpi-red);
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 15px rgba(217, 4, 41, 0.4);
    text-transform: uppercase;
}

.ticker-pulse-dot {
    width: 8px;
    height: 8px;
    background: #FFF;
    border-radius: 50%;
    display: inline-block;
    animation: tickerPulse 1.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes tickerPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

.ticker-track-container {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 45s linear infinite;
}

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

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    font-size: 0.8rem;
    color: #CBD5E1;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-status-tag {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-status-upcoming {
    background: rgba(245, 158, 11, 0.15);
    color: var(--jpi-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ticker-status-live {
    background: rgba(217, 4, 41, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(217, 4, 41, 0.4);
}

.ticker-status-ft {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ticker-teams-score {
    font-weight: 700;
    color: #FFF;
}

.ticker-teams-score strong {
    color: var(--jpi-gold);
}

.ticker-meta-venue {
    color: #94A3B8;
    font-size: 0.74rem;
}

@media (max-width: 768px) {
    .matchday-ticker-bar {
        height: 38px;
    }
    .ticker-badge-live {
        font-size: 0.65rem;
        padding: 0 10px;
    }
    .ticker-item {
        padding: 0 16px;
        font-size: 0.75rem;
    }
}
