/* jackpot/jackpot.css */

/* --- BAR CONTAINER --- */
.lw-bar {
    display: flex;
    align-items: stretch;
    height: 138px;
    background: #171a27;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    overflow: hidden;
}

/* --- LIVE LABEL --- */
.lw-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    border-right: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    min-width: 72px;
    background: rgba(0,255,135,0.04);
}

.lw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff87;
    box-shadow: 0 0 10px rgba(0,255,135,0.8);
    animation: lw-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes lw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

.lw-label-text {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    color: #00ff87;
    white-space: nowrap;
    text-align: center;
}

/* --- FEED WRAPPER --- */
.lw-feed-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

#winners-feed {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    overflow: hidden;
}

.lw-fade-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, #0c0e12 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* --- WINNER ITEM --- */
.winner-item {
    flex: 0 0 90px;
    width: 90px;
    height: 100%;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition:
        flex-basis 0.55s ease-in-out,
        width 0.55s ease-in-out,
        padding 0.55s ease-in-out,
        opacity 0.4s ease-in-out,
        transform 0.4s ease-in-out;
    will-change: flex-basis, width, opacity, transform;
    overflow: hidden;
}

.winner-item:hover .game-icon { transform: scale(1.04); }

.winner-item.exit {
    opacity: 0;
    transform: translateX(-16px);
    flex: 0 0 0 !important;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* --- ITEM CONTENTS --- */
.game-icon {
    width: 100%;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.feed-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    width: 100%;
    min-width: 0;
}

.feed-user {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

.feed-game { display: none; }

.feed-val {
    font-size: 12px;
    font-weight: 900;
    color: #00ff87;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.feed-val--big { color: #fbbf24; }

@media (max-width: 639px) {
    .lw-bar {
        height: 116px;
        border-radius: 12px;
    }

    .lw-label {
        min-width: 52px;
        padding: 0 10px;
        gap: 4px;
    }

    .lw-dot { width: 6px; height: 6px; }

    .lw-label-text {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .winner-item {
        flex: 0 0 80px !important;
        width: 80px !important;
        padding: 6px 5px;
        gap: 4px;
    }

    .game-icon {
        height: 60px;
        border-radius: 7px;
    }

    .feed-user  { font-size: 9px; }
    .feed-val   { font-size: 10px; }
}
