/* =========================================================
   RTP WORLD - WINNER NOTIFICATION TICKER
   File: assets/css/text-kemenangan.css
   ========================================================= */

.winner-ticker {
    position: relative;
    width: 100%;
    height: 34px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: rgba(4, 10, 20, .92);
    border-top: 1px solid rgba(93, 157, 225, .10);
    border-bottom: 1px solid rgba(93, 157, 225, .16);
    box-shadow: inset 0 0 18px rgba(20, 120, 220, .025);
    z-index: 2;
}

.winner-ticker::before,
.winner-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.winner-ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(4,10,20,1), rgba(4,10,20,0));
}

.winner-ticker::after {
    right: 0;
    background: linear-gradient(270deg, rgba(4,10,20,1), rgba(4,10,20,0));
}

.winner-track {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: winnerTickerScroll 28s linear infinite;
}

.winner-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    margin-right: 90px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 34px;
    font-weight: 800;
    letter-spacing: .15px;
}

.winner-icon {
    margin-right: 7px;
    font-size: 11px;
}

.winner-simulation {
    color: #ffd54a;
    font-weight: 900;
    margin-right: 7px;
    text-shadow: 0 0 7px rgba(255, 190, 40, .30);
}

.winner-player {
    color: #fff;
    font-weight: 900;
}

.winner-win {
    color: #8b9bb0;
    margin: 0 5px;
    font-weight: 700;
}

.winner-amount {
    color: #4dff9b;
    font-weight: 900;
    text-shadow: 0 0 7px rgba(40, 255, 140, .28);
}

.winner-game {
    color: #ffd35a;
    font-weight: 900;
    text-shadow: 0 0 6px rgba(255, 190, 40, .22);
}

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

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

@media (max-width: 768px) {
    .winner-ticker {
        height: 31px;
    }

    .winner-item {
        margin-right: 65px;
        font-size: 10px;
        line-height: 31px;
    }

    .winner-track {
        animation-duration: 24s;
    }
}

@media (max-width: 480px) {
    .winner-ticker {
        height: 29px;
    }

    .winner-item {
        margin-right: 55px;
        font-size: 9px;
        line-height: 29px;
    }

    .winner-track {
        animation-duration: 21s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .winner-track {
        animation: none;
        transform: none;
    }
}
