/* ===== Jackpot widget ===== */
.jp {
    width: min(1500px, 100%);
    margin: 22px auto;
    padding: 0 14px;
}

.jp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.jp-title {
    margin: 0;
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .95;
}

.jp-titlev2 {
    margin: 0;
    margin-bottom: 18px;

    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .95;
}

.jp-arrows {
    display: flex;
    gap: 10px;
}

.jp-arrow {
    width: 38px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(245,220,186,.45);
    background: rgba(255,255,255,.04);
    color: #F5DCBA;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .jp-arrow:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.07);
        border-color: rgba(245,220,186,.8);
    }

.jp-viewport {
    overflow: hidden;
    border-radius: 14px;
}

.jp-track {
    display: flex;
    gap: 14px;
    will-change: transform;
    transform: translate3d(0,0,0);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
    touch-action: pan-y;
    user-select: none;
}

.jp-slide {
    flex: 0 0 100%;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(245,220,186,.55);
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.18) 55%, rgba(0,0,0,.55)), var(--jp-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 6px 10px;
    text-decoration: none;
    cursor: grab;
}

    .jp-slide:active {
        cursor: grabbing;
    }

.jp-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.jp-badge {
    position: relative;
    width: 140px;
    height: 32px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 40px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.02)), var(--badge-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.jp-num {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.jp-cur {
    opacity: .9;
    margin-left: 8px;
}

@media (min-width: 1024px) {
    .jp-slide {
        height: 56px;
        padding: 10px 18px;
    }

    .jp-badge {
        width: 160px;
        height: 36px;
        padding-left: 44px;
        font-size: 12px;
    }
}

/* Mobile: როცა ადგილი აღარ არის, გავხადოთ scrollable row */
@media (max-width: 520px) {
    .jp-badges {
        justify-content: flex-start;
        overflow: auto;
        gap: 8px;
        padding-bottom: 2px;
    }

        .jp-badges::-webkit-scrollbar {
            height: 6px;
        }

        .jp-badges::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,.18);
            border-radius: 99px;
        }
}
