
.winner-wrapper {
    position: relative;
    width: 98%;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.winner-mask {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.left-mask {
    left: 0;
}

.right-mask {
    right: 0;
}


.winner-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    width: max-content;
    animation: scrollRightToLeft 120s linear infinite; 
    will-change: transform;
    animation-fill-mode: none;
}

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


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



.gameBox {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 5px;
    margin: 0 12px;
    min-width: 100px;
    max-width: 200px;
    height: 70px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: visible !important;
    position: relative;
}

.gameBox:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.text {
    display: flex;
    flex-direction: column;
    color: white;
    flex: 1;
    min-width: 0;
}

.gameTitle {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffd700;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text span:not(.gameTitle) {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 2px;
}

.text03 {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}


.orange {
    color: #ff6b00;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    transition: 0.15s;
}

.orange.amount-changing {
    animation: amountBoom 0.45s ease-out;
}


@keyframes amountBoom {
    0% {
        transform: scale(1);
        color: #ff6b00;
        text-shadow: none;
    }
    30% {
        transform: scale(1.45);
        color: #ffa500;
        text-shadow: 0 0 12px rgba(255, 165, 0, 1);
    }
    60% {
        transform: scale(1.25);
        color: #ff8c00;
        text-shadow: 0 0 20px rgba(255, 140, 0, .8);
    }
    100% {
        transform: scale(1);
        color: #ff6b00;
        text-shadow: none;
    }
}



.big-prize-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: linear-gradient(45deg, #ff0000, #ff6b00);
    color: #fff;
    font-weight: bold;
    padding: 2px;
    border-radius: 10px;
    animation: prizePulse 2s infinite;
    font-size: 8px;
    white-space: nowrap;
    border: 1px solid #ffd000;
    z-index: 10;
}

.big-prize-badge::before {
    content: "🎉";
    margin-right: 2px;
}

.big-prize-badge.mega {
    background: linear-gradient(45deg, #ff0080, #ff00ff);
}

.big-prize-badge.mega::before {
    content: "🔥";
}

.big-prize-badge.super {
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    animation: superPrizePulse 1.5s infinite;
}

.big-prize-badge.super::before {
    content: "💎";
}

@keyframes prizePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 1px 5px rgba(255, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(255, 0, 0, 0.5);
    }
}

@keyframes superPrizePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 1px 6px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 2px 10px rgba(255, 215, 0, 0.6);
    }
}

.big-prize-amount {
    font-weight: 900;
    text-shadow: 0 0 5px rgba(255, 0, 0, .4);
}



.loading-message,
.error-message,
.no-winners {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 100%;
    font-size: 1.1rem;
}

.error-message {
    color: #ff6b6b;
}
