/* Carrossel de Ganhadores */
.ganhos-container {
    display: flex;
    overflow: hidden;
    height: 80px;
    margin: 10px auto 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    background: var(--player-live-strip-bg);
    border: var(--player-ambient-border-soft);
    border-radius: 12px;
}

.ganhos-fixo {
    flex: 0 0 150px;
    background: var(--player-live-label-bg);
    border-right: 1px solid rgba(var(--player-ambient-rgb), 0.08);
    color: white;
    font-weight: bold;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
    border-radius: 10px 0px 0px 10px;
}

.ganhos-fixo i {
    font-size: 35px;
    color: #ffc107;
}

.ganhos-fixo span {
    line-height: 1.5;
}

.ganhos-rolando {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    padding-left: 10px;
    box-sizing: border-box;
}

.ganhos-slider {
    display: flex;
    align-items: center;
    height: 100%;
}

.ganhos-slider .card {
    display: flex;
    align-items: center;
    background: var(--player-list-card-bg);
    border: var(--player-list-card-border);
    box-shadow: var(--player-list-card-shadow);
    color: var(--player-list-text);
    padding: 10px;
    margin-right: 15px;
    border-radius: 10px;
    min-width: 220px;
    height: calc(100% - 8px);
    box-sizing: border-box;
}

.ganhos-slider .card img {
    width: 50px;
    height: 62px;
    margin-right: 10px;
    border-radius: 8px;
    object-fit: cover;
    background-color: transparent;
}

.ganhos-slider .card strong {
    color: var(--player-list-title);
}

.valor {
    color: var(--player-list-value);
    font-weight: bold;
}

/* Top 10 jackpots do dia */
.daily-jackpot-section {
    background: transparent;
    padding: 12px 20px 18px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    border-top: var(--player-ambient-border-soft);
    overflow: hidden;
}

.daily-jackpot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.daily-jackpot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--player-list-title);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.daily-jackpot-title i {
    color: var(--brand-primary);
    font-size: 26px;
}

.daily-jackpot-motion {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 4px;
    color: rgba(255, 255, 255, 0.34);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    animation: dailyJackpotPulse 1.8s ease-in-out infinite;
}

.daily-jackpot-motion:focus-visible {
    outline: 2px solid rgba(var(--brand-primary-rgb), 0.72);
    outline-offset: 3px;
    border-radius: 8px;
}

@keyframes dailyJackpotPulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.34;
    }

    50% {
        transform: translateY(-4px);
        opacity: 0.7;
    }
}

.daily-jackpot-window {
    --daily-jackpot-card-height: 96px;
    overflow: hidden;
    width: 100%;
    height: calc((var(--daily-jackpot-card-height) * var(--daily-jackpot-visible, 3)) + (10px * (var(--daily-jackpot-visible, 3) - 1)));
    transition: opacity 180ms ease;
}

.daily-jackpot-window.is-resetting {
    opacity: 0.34;
}

.daily-jackpot-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
}

.daily-jackpot-card {
    width: 100%;
    max-width: 100%;
    height: var(--daily-jackpot-card-height);
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 48px;
    background: var(--player-surface-card-bg);
    border: var(--player-list-card-border);
    box-shadow: var(--player-list-card-shadow);
    border-radius: 12px;
    color: var(--player-list-text);
    box-sizing: border-box;
    overflow: hidden;
}

.daily-jackpot-img {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.daily-jackpot-rank {
    position: absolute;
    left: 0;
    top: 0;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 0 0 8px;
    background: linear-gradient(135deg, rgba(9, 33, 68, 0.98) 0%, rgba(3, 12, 30, 0.98) 100%);
    color: rgba(246, 249, 255, 0.94);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
    box-shadow: inset 1px 1px 0 rgba(226, 232, 255, 0.18);
    z-index: 1;
    pointer-events: none;
}

.daily-jackpot-rank--top-1 {
    background: linear-gradient(135deg, #ffd45a 0%, var(--brand-primary) 58%, #d9340d 100%);
    color: #fff4e8;
}

.daily-jackpot-rank--top-2 {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #ff5a1f 58%, #cf320e 100%);
    color: #fff4e8;
}

.daily-jackpot-rank--top-3 {
    background: linear-gradient(135deg, #f7a654 0%, #c7501d 58%, #7b2d15 100%);
    color: #fff7ef;
}

.daily-jackpot-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.daily-jackpot-info strong {
    color: var(--player-list-title);
    font-size: 17px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.daily-jackpot-info span {
    color: var(--player-list-text);
    font-size: 14px;
    line-height: 1.2;
    opacity: 0.82;
}

.daily-jackpot-info b {
    color: var(--brand-primary);
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.daily-jackpot-play {
    min-width: 116px;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: var(--player-button-primary-bg, var(--brand-primary));
    color: var(--player-button-primary-text, #fff);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    justify-self: end;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.daily-jackpot-play:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}


@media (min-width: 1200px) {
    .ganhos-container {
        margin-bottom: 5px !important;
    }

    .daily-jackpot-section {
        padding: 12px 20px 18px !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .ganhos-container {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .daily-jackpot-section {
        padding: 12px 8px 16px;
        max-width: 100vw;
    }

    .daily-jackpot-header {
        align-items: flex-end;
        gap: 10px;
        margin-bottom: 10px;
    }

    .daily-jackpot-title {
        gap: 8px;
        font-size: 20px;
    }

    .daily-jackpot-title i {
        font-size: 24px;
    }

    .daily-jackpot-motion {
        font-size: 28px;
    }

    .daily-jackpot-window {
        --daily-jackpot-card-height: 92px;
    }

    .daily-jackpot-card {
        grid-template-columns: 72px minmax(0, 1fr) 92px;
        padding: 10px 10px 10px 42px;
        gap: 10px;
    }

    .daily-jackpot-img {
        width: 72px;
        height: 72px;
    }

    .daily-jackpot-rank {
        width: 48px;
        height: 48px;
        padding: 7px 0 0 7px;
        font-size: 12px;
    }

    .daily-jackpot-info strong {
        font-size: 15px;
    }

    .daily-jackpot-info span {
        font-size: 13px;
    }

    .daily-jackpot-info b {
        font-size: 22px;
    }

    .daily-jackpot-play {
        min-width: 92px;
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .daily-jackpot-window {
        --daily-jackpot-card-height: 86px;
    }

    .daily-jackpot-card {
        grid-template-columns: 64px minmax(0, 1fr) 78px;
        padding-left: 38px;
        gap: 8px;
    }

    .daily-jackpot-img {
        width: 64px;
        height: 64px;
    }

    .daily-jackpot-rank {
        width: 44px;
        height: 44px;
        padding: 6px 0 0 6px;
        font-size: 11px;
    }

    .daily-jackpot-info b {
        font-size: 19px;
    }

    .daily-jackpot-play {
        min-width: 78px;
        height: 44px;
        font-size: 15px;
    }
}
