:root {
    --linearbg: radial-gradient(900px 220px at 15% 0%, rgba(255, 255, 255, .06), transparent 55%), linear-gradient(180deg, rgba(15, 26, 44, .92), rgba(11, 18, 32, .92));
    --lineartooltipbg: radial-gradient(900px 220px at 15% 0, #ffffff0f, #0000 55%), linear-gradient(#0f1a2ceb, #0b1220eb);
    --linearbgreversed: radial-gradient(
            900px 220px at 15% 0%,
            rgba(15, 26, 44, .92),
            transparent 55%
    );
    --progressbg: linear-gradient(to right, rgb(10, 88, 255) 0%, rgb(15, 99, 255) 20%, rgb(8, 102, 255) 50%, rgb(30, 123, 255) 75%, rgb(58, 140, 255) 100%);
linear-gradient(180 deg,
rgba(255, 255, 255, .06), /* swapped */
rgba(15, 26, 44, .92) /* swapped */
);
    --modalbg: linear-gradient(180deg, var(--panel-bg), var(--panel-bg2));
    --active: #0866ff;
    --activeborder: 1px solid rgba(139, 140, 167, 0.24);
    --activebordercolor: rgba(139, 140, 167, 0.24);
    --activeshadow: 0 10px 28px rgba(8, 102, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);

}


/* Global scrollbar styling */
:root {
    --sb-size: 10px;
    --sb-thumb: rgba(255, 255, 255, .12);
    --sb-thumb-hover: rgba(255, 255, 255, .20);
    --sb-track: rgba(0, 0, 0, 0);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--sb-thumb) var(--sb-track);
}

/* WebKit */
*::-webkit-scrollbar {
    width: var(--sb-size);
    height: var(--sb-size);
}

*::-webkit-scrollbar-track {
    background: var(--sb-track);
}

*::-webkit-scrollbar-thumb {
    background: var(--sb-thumb);
    border-radius: 999px;
    border: 3px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--sb-thumb-hover);
}


.owl-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.owl-nav .owl-view-all {
    /*margin-left: 10px;*/
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    /*background-color: #2c2d3a;*/
    background: var(--linearbg);

    color: #bdbdbd;
    font-size: 12px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav .owl-next,
.owl-nav .owl-prev,
.owl-nav .owl-view-all {
    cursor: pointer;
}


.owl-nav {
    position: absolute;
    top: 0;
    right: 0;
}

.owl-nav button {
    width: 36px;
    height: 36px;
    background: var(--linearbg);
    border-radius: 4px;
    font-size: 0;
    position: relative;
    border: none;
}

.owl-nav button:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/icons/arrow-next.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


.owl-nav button.owl-prev:after {
    transform: rotate(-180deg);
}


div.close-modal button {
    background: var(--linearbg);
    border-radius: 12px;
    height: 36px;
    width: 36px;
    border: none;
}


.custom-close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--linearbg);
    width: 36px;
    height: 36px;
    border: var(--activeborder);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

}


.swiper-wrapper {
    padding-top: 12px;
}


div.simple-bets {
    margin-bottom: 36px;
    margin-top: 36px;
}

div.simple-bets ul {
    /*background-color: #23242F;*/
    background: var(--linearbg);
    border-radius: 4px;
    display: inline-flex;
    padding: 8px 8px;
    margin-bottom: 16px;
}

div.simple-bets ul li button {
    padding: 0px 12px;
    border-radius: 12px;
    height: 36px;
    font-family: "Rubik Medium";
    font-size: 14px;
    color: #8B8CA7;
    transition-duration: 0.5s;
}

div.simple-bets ul li button.active {
    background-color: rgba(8, 102, 255, 0.16);
    color: #fff;
}

div.simple-bets div.description .game-image img {
    border-radius: 12px;
    /*width: 100%;*/
    height: 100%;
    object-fit: cover;
    object-position: center;
}

div.simple-bets div.description .game-image {
    position: relative;
    border-radius: 12px;
    height: 240px;
}

div.simple-bets div.description {
    font-family: "Rubik Regular";
    font-size: 14px;
    color: #8B8CA7;
    line-height: 24px;
    display: flex;
    /*justify-content: center;*/
    gap: 12px;
}

div.simple-bets div.description h2 {
    font-family: "Rubik SemiBold";
    color: #fff;
}

div.simple-bets div.filter-area {
    font-size: 0;
    border-bottom: 2px solid #2C2D3A;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

div.simple-bets div.filter-area div.text {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 200px);
}

div.simple-bets div.filter-area div.text div.icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

div.simple-bets div.filter-area div.text div.title {
    display: inline-block;
    vertical-align: middle;
    font-family: "Rubik SemiBold";
    font-size: 14px;
    color: #fff;
}

div.simple-bets div.filter-area div.text div.title span {
    background: -webkit-linear-gradient(#00DE99, #17DE87, #2EDD73, #41DC5D, #54DB43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

div.simple-bets div.filter-area div.select {
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    text-align: right;
}

/*div.simple-bets div.filter-area div.select select {*/
/*    font-family: "Rubik Medium";*/
/*    font-size: 14px;*/
/*    color: #8B8CA7;*/
/*    border: none;*/
/*    appearance: none;*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    background-color: transparent;*/
/*    padding: 0px 25px;*/
/*    background-image: url("../images/icons/down.svg");*/
/*    background-repeat: no-repeat;*/
/*    background-position: 95% 50%;*/
/*}*/

div.simple-bets-opt-header div.external-options {
    text-align: right;
    margin-bottom: 25px;
}

div.simple-bets-opt-header div.external-options label.checkbox {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    cursor: pointer;
}

div.simple-bets-opt-header div.external-options label.checkbox input {
    display: none;
}

div.simple-bets-opt-header div.external-options label.checkbox input:checked ~ div.checkbox div.icon {
    background-color: #0866FF !important;
}

div.simple-bets-opt-header div.external-options label.checkbox input:checked ~ div.checkbox div.icon:before {
    background-color: #fff !important;
    left: 24px;
}

div.simple-bets-opt-header div.external-options label.checkbox div.checkbox {
    font-size: 0;
}

div.simple-bets-opt-header div.external-options label.checkbox div.checkbox div.icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    background-color: #2C2D3A;
    height: 24px;
    width: 45px;
    border-radius: 16px;
    position: relative;
    transition-duration: 0.5s;
}

div.simple-bets-opt-header div.external-options label.checkbox div.checkbox div.icon:before {
    position: absolute;
    content: "";
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: #23242F;
    border-radius: 18px;
    transition-duration: 0.5s;
}

div.simple-bets-opt-header div.external-options label.checkbox div.checkbox div.text {
    display: inline-block;
    vertical-align: middle;
    font-family: "Rubik SemiBold";
    font-size: 14px;
    color: #fff;
}

/*div.simple-bets-opt-header div.external-options select {*/
/*    display: inline-block;*/
/*    vertical-align: middle;*/
/*    margin-left: 15px;*/
/*    font-family: "Rubik Medium";*/
/*    font-size: 14px;*/
/*    color: #8B8CA7;*/
/*    appearance: none;*/
/*    -moz-appearance: none;*/
/*    -webkit-appearance: none;*/
/*    background-color: transparent;*/
/*    border: none;*/
/*    padding-right: 25px;*/
/*    background-image: url("../images/icons/down.svg");*/
/*    background-repeat: no-repeat;*/
/*    background-position: 100% 50%;*/
/*    background-size: 11px;*/
/*}*/


/* ================================
   6Q Premium "LIVE" Highlight
   (no slide / no max-height)
   ================================ */

.bet-row {
    position: relative;
    transform: translateZ(0);
    border-radius: 14px; /* keep or remove if your row already has */
    overflow: hidden;
}

/* apply only to NEW bet */
.bet-row--enter {
    animation: betGlowIn 520ms cubic-bezier(.2, .9, .2, 1) both;
}

/* soft ambient glow */
.bet-row--enter::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;

    /* subtle 6Q blue + depth */
    background: radial-gradient(120% 80% at 15% 20%, rgba(8, 102, 255, .22), transparent 58%),
    radial-gradient(110% 70% at 85% 65%, rgba(255, 255, 255, .08), transparent 60%);

    opacity: 0;
    filter: blur(8px);
    animation: betAura 900ms ease-out both;
}

/* crisp edge pulse (looks expensive) */
.bet-row--enter::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background: linear-gradient(135deg,
    rgba(8, 102, 255, .00) 0%,
    rgba(8, 102, 255, .26) 22%,
    rgba(255, 255, 255, .10) 50%,
    rgba(8, 102, 255, .18) 78%,
    rgba(8, 102, 255, .00) 100%);

    /* use mask so it becomes a BORDER, not a full overlay */
    -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;

    opacity: 0;
    animation: betBorderPulse 680ms cubic-bezier(.16, 1, .3, 1) both;
}

/* optional: micro shimmer sweep (no movement of element itself) */
.bet-row--enter .bet-row__shimmer {
    position: absolute;
    inset: -40% -60%;
    pointer-events: none;

    background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 255, 255, .06) 35%,
    rgba(8, 102, 255, .16) 50%,
    rgba(255, 255, 255, .04) 65%,
    transparent 100%);

    transform: translate3d(-35%, 0, 0) skewX(-10deg);
    opacity: 0;
    animation: betShimmer 760ms ease-out both;
}

/* Add this element inside the row (1 div) to enable shimmer:
   <div className="bet-row__shimmer" />
*/

@keyframes betGlowIn {
    0% {
        filter: saturate(1);
    }
    30% {
        filter: saturate(1.08);
    }
    100% {
        filter: saturate(1);
    }
}

@keyframes betAura {
    0% {
        opacity: 0;
        transform: scale(.985);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

@keyframes betBorderPulse {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes betShimmer {
    0% {
        opacity: 0;
        transform: translate3d(-42%, 0, 0) skewX(-10deg);
    }
    15% {
        opacity: .9;
    }
    100% {
        opacity: 0;
        transform: translate3d(18%, 0, 0) skewX(-10deg);
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bet-row--enter,
    .bet-row--enter::before,
    .bet-row--enter::after,
    .bet-row--enter .bet-row__shimmer {
        animation: none !important;
    }
}
