/* GAMBLE START */
.gamble {
    position: absolute;
    display: none;
    top: 0;
    left: -160px;
    right: -160px;
    margin: 0 auto;
    width: 1600px;
    height: 100%;
    background: url(../Gamble/Graphics/Images/background.jpg?_t=20250311120403) no-repeat;
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
    z-index: 2;
}

.gambleWrap {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

._inGamble .gambleWrap ~ .jackpotMiniGame,
._inGamble .gambleWrap ~ .settings,
._inGamble .gambleWrap ~ .help,
._inGamble .gambleWrap ~ .paytable,
._inGamble .gambleWrap ~ .similarGames {
    z-index: 2;
}

.gambleWrap > * {
    pointer-events: auto;
}

.gamble._disabled {
    top: -720px;
}

.gambleMainInfo {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    width: 808px;
    height: 123px;
    margin: 0 auto;
}

.gambleLogo {
    position: absolute;
    left: 504px;
    background: url(../Gamble/Graphics/Images/GFX_logo.png?_t=20250311120403) no-repeat;
    width: 613px;
    height: 74px;
}

.gambleBalance,
.gambleWin {
    position: absolute;
    left: 0;
    right: auto;
    width: 212px;
    height: 95px;
    text-align: center;
    margin-top: 24px;
}

.gambleWin {
    left: auto;
    right: 0;
}

.gambleDoubleTo {
    position: absolute;
    left: 0;
    right: 0;
    width: 288px;
    height: 128px;
    text-align: center;
    margin: 0 auto;
}

.gambleLabel,
.gambleLabelBig {
    display: inline-block;
    position: relative;
    text-align: center;
    color: #ffc602;
    z-index: 1;
}

.gambleLabel {
    font-size: 24px;
    height: 27px;
    line-height: 22px;
}

.gambleLabelBig {
    font-size: 32px;
    height: 33px;
    line-height: 32px;
}

.gambleLabel.currency {
    font-size: 16px;
    padding-left: 4px;
}

.gambleLabelBig.currency {
    font-size: 24px;
    padding-left: 6px;
}

.gambleValue,
.gambleValueBig {
    display: block;
    position: absolute;
    bottom: 0;
    text-align: center;
}

.gambleValue {
    width: 224px;
    height: 76px;
    font-size: 33px;
    font-weight: bold;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding-top: 13px;
    bottom: -4px;
}

.gambleBalance .gambleValue {
    left: -5px;
}
.gambleWin .gambleValue {
    right: -5px;
}

.gambleWin.winAnimation .gambleValue {
    -webkit-animation: valueAnimation 0.2s;
    animation: valueAnimation 0.2s;
}

@-webkit-keyframes valueAnimation {
    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        color: #ffff00;
        text-shadow: 0 0 33px #fff;
    }
}

@keyframes valueAnimation {
    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        color: #ffff00;
        text-shadow: 0 0 33px #fff;
    }
}

.gambleValueBig {
    width: 288px;
    height: 88px;
    font-size: 53px;
    font-weight: bold;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding-top: 10px;
    bottom: 6px;
}

.gambleBtns {
    position: absolute;
    top: 328px;
    left: 0;
    right: 0;
    width: 988px;
    height: 316px;
    margin: 0 auto;
}

.gambleRedBtn,
.gambleBlackBtn {
    position: absolute;
    top: 0;
    width: 308px;
    height: 108px;
    line-height: 104px;
    font-size: 45px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 122px/28px;
    cursor: pointer;
    text-indent: 9px;
    z-index: 2;
}

.gambleBlackBtn {
    text-indent: -9px;
}

.gambleRedBtn,
.gambleRedBtnMask {
    left: 0;
}

.gambleBlackBtn,
.gambleBlackBtnMask {
    right: 0;
}

.gambleRedBtn:active,
.gambleBlackBtn:active {
    margin-right: 1px;
    line-height: 108px;
}

.gambleRedBtn._disabled,
.gambleBlackBtn._disabled,
.gambleRedBtn._disabled:hover:not(.noHover),
.gambleBlackBtn._disabled:hover:not(.noHover) {
    margin-right: 0;
    line-height: 104px;
    -webkit-filter: brightness(1) grayscale(1);
    filter: brightness(1) grayscale(1);
    cursor: default;
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    position: absolute;
    top: 0;
    width: 308px;
    height: 108px;
    background: none !important;
    z-index: 1;
}

.button .content,
.button .glow,
.button .frame {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    padding-top: 6px;
    pointer-events: none;
}

.button .frame {
    z-index: 2;
}

.button .glow {
    width: 368px;
    height: 264px;
    z-index: 1;
    opacity: 0;
    top: -80px;
    left: -28px;
    margin: 0;
}

.button .glow {
    -webkit-animation: teaseGambleBtnsGlow 1s infinite;
    animation: teaseGambleBtnsGlow 1s infinite;
}

.button.gambleBlackBtnMask .glow {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.gambleRedBtnMask .content {
    -webkit-animation: teaseGambleBtns 1s infinite;
    animation: teaseGambleBtns 1s infinite;
}

.gambleBlackBtnMask .content {
    -webkit-animation: teaseBlackGambleBtn 1s infinite 0.5s;
    animation: teaseBlackGambleBtn 1s infinite 0.5s;
}

@keyframes teaseGambleBtnsGlow {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@-webkit-keyframes teaseGambleBtnsGlow {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes teaseGambleBtns {
    0%,
    100% {
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    50% {
        -webkit-filter: brightness(1.5);
        filter: brightness(1.5);
    }
}

@keyframes teaseGambleBtns {
    0%,
    100% {
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    50% {
        -webkit-filter: brightness(1.5);
        filter: brightness(1.5);
    }
}

@keyframes teaseBlackGambleBtn {
    0%,
    100% {
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    50% {
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }
}

@keyframes teaseBlackGambleBtn {
    0%,
    100% {
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    50% {
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }
}

.gambleRedBtn:hover:not(.noHover) + .gambleRedBtnMask .content,
.gambleRedBtn:active + .gambleRedBtnMask .content {
    -webkit-filter: brightness(1.5);
    filter: brightness(1.5);
    -webkit-animation: none;
    animation: none;
}

.gambleBlackBtn:hover:not(.noHover) + .gambleBlackBtnMask .content,
.gambleBlackBtn:active + .gambleBlackBtnMask .content {
    -webkit-filter: brightness(1.6);
    filter: brightness(1.6);
    -webkit-animation: none;
    animation: none;
}

.gambleRedBtn:hover:not(.noHover) + .gambleRedBtnMask .glow,
.gambleRedBtn:active + .gambleRedBtnMask .glow,
.gambleBlackBtn:hover:not(.noHover) + .gambleBlackBtnMask .glow,
.gambleBlackBtn:active + .gambleBlackBtnMask .glow {
    -webkit-animation: none;
    animation: none;
    opacity: 1;
}

.gambleRedBtn._disabled + .gambleRedBtnMask .content,
.gambleBlackBtn._disabled + .gambleBlackBtnMask .content,
.gambleRedBtn._disabled:hover:not(.noHover) + .gambleRedBtnMask .content,
.gambleBlackBtn._disabled:hover:not(.noHover) + .gambleBlackBtnMask .content,
.gambleRedBtn._disabled._hover + .gambleRedBtnMask .content,
.gambleBlackBtn._disabled._hover + .gambleBlackBtnMask .content {
    -webkit-filter: brightness(1) grayscale(1);
    filter: brightness(1) grayscale(1);
    -webkit-animation: none;
    animation: none;
}

.gambleRedBtn._hover + .gambleRedBtnMask .content,
.gambleBlackBtn._hover + .gambleBlackBtnMask .content {
    -webkit-animation: none;
    animation: none;
}

.gambleRedBtn._hover + .gambleRedBtnMask .glow,
.gambleBlackBtn._hover + .gambleBlackBtnMask .glow,
.gambleRedBtn._disabled + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled + .gambleBlackBtnMask .glow,
.gambleRedBtn._disabled:hover:not(.noHover) + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled:hover:not(.noHover) + .gambleBlackBtnMask .glow,
.gambleRedBtn._disabled._hover + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled._hover + .gambleBlackBtnMask .glow {
    -webkit-animation: none;
    animation: none;
}

.gambleRedBtn._disabled + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled + .gambleBlackBtnMask .glow,
.gambleRedBtn._disabled:hover:not(.noHover) + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled:hover:not(.noHover) + .gambleBlackBtnMask .glow,
.gambleRedBtn._disabled._hover + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled._hover + .gambleBlackBtnMask .glow {
    opacity: 0;
}

.gambleHalfBtn,
.gambleCollectBtn {
    position: absolute;
    bottom: 0;
    width: 232px;
    height: 84px;
    line-height: 84px;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 14px;
    cursor: pointer;
    box-sizing: border-box;
    padding-top: 6px;
    text-indent: -8px;
    z-index: 2;
    background: none !important;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.gambleCollectBtn {
    text-indent: 8px;
}

.gambleHalfBtnMask,
.gambleCollectBtnMask {
    position: absolute;
    bottom: 0;
    width: 232px;
    height: 84px;
    background: none !important;
    z-index: 1;
}

.gambleHalfBtn:hover:not(.noHover) + .gambleHalfBtnMask .content,
.gambleCollectBtn:hover:not(.noHover) + .gambleCollectBtnMask .content,
.gambleHalfBtn:active + .gambleHalfBtnMask .content,
.gambleCollectBtn:active + .gambleCollectBtnMask .content {
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
}

.gambleHalfBtn:active,
.gambleCollectBtn:active {
    line-height: 91px;
}

.gambleHalfBtn,
.gambleHalfBtnMask {
    left: 79px;
}

.gambleCollectBtn,
.gambleCollectBtnMask {
    right: 79px;
}

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled {
    line-height: 84px;
    cursor: default;
    color: rgba(0, 0, 0, 0.5);
}

.gambleHalfBtn._disabled + .gambleHalfBtnMask .content,
.gambleCollectBtn._disabled + .gambleCollectBtnMask .content,
.gambleHalfBtn._disabled:hover:not(.noHover) + .gambleHalfBtnMask .content,
.gambleCollectBtn._disabled:hover:not(.noHover) + .gambleCollectBtnMask .content {
    -webkit-filter: brightness(0.5) grayscale(1);
    filter: brightness(0.5) grayscale(1);
}

.gambleHalfBtn,
.gambleCollectBtn {
    text-shadow: 0 0 1px #f6f397;
}

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled {
    opacity: 0.8;
    text-shadow: none;
}

.gambleCards {
    position: absolute;
    top: 236px;
    left: 0;
    right: 0;
    width: 277px;
    height: 409px;
    margin: 0 auto;
}

.gambleActualCard {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -ms-transform: perspective(667px);
    -moz-transform: perspective(667px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
}

.gambleActualCard._reveal .gambleCardBack {
    -webkit-backface-visibility: visible;
    -moz-backface-visibility: visible;
    -ms-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.gambleActualCard._reveal .gambleCardFront {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.gambleCardFrame,
.gambleActualCard,
.gambleCardFront,
.gambleCardBack {
    position: absolute;
    left: 0;
    right: 0;
    width: 196px;
    height: 288px;
    margin: auto;
}

.gambleCardFrame {
    z-index: 2;
}

.gambleCardRevealer {
    position: relative;
    -moz-transform: perspective(667px);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
}

.gambleCardFront,
.gambleCardBack {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transition 0.2s;
    -o-transition: -o-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
    transition: transform 0.2s;
}

.gambleCardFront {
    left: 0;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
}

.gambleCardBack {
    left: 0;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.gamblePrevious {
    position: absolute;
    bottom: 0;
    height: 97px;
}

.gamblePrevious .gambleLabel {
    display: block;
    width: 100%;
}

.gamblePreviousCard {
    position: relative;
    float: left;
    width: 44px;
    height: 65px;
    margin: 0 7px;
}

.gamblePreviousCard:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    width: 47px;
    height: 69px;
}

.gamblePreviousCard:first-of-type {
    margin-left: 0;
}

.gamblePreviousCard:last-of-type {
    margin-right: 0;
}

.gamblePreviousCard .item {
    width: 44px;
    height: 65px;
}

.gamblePreviousCard .frame {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 48px;
    height: 68px;
}

.gambleAttempts,
.gambleDefaultRisk,
.gambleTicker {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
}

.gambleDefaultRisk {
    z-index: 10;
    color: #fff;
    text-shadow:
        0 0 2px #000,
        0 0 2px #000,
        0 0 2px #000;
    font-weight: normal;
    bottom: 4px;
    font-size: 20px;
    line-height: 20px;
}

body[language='ka'] .gambleDefaultRisk,
body[language='ka-GE'] .gambleDefaultRisk,
body[language='el'] .gambleDefaultRisk,
body[language='el-GR'] .gambleDefaultRisk {
    font-size: 16px;
}

.gambleAttempts {
    top: 198px;
    font-size: 28px;
    line-height: 28px;
    color: #ffc602;
}

.gambleAttempts strong {
    font-weight: normal;
    color: #fff;
}

.gambleTicker {
    bottom: 24px;
    font-size: 24px;
    line-height: 24px;
    -webkit-animation: blinkTicker 1s infinite;
    animation: blinkTicker 1s infinite;
}

@-webkit-keyframes blinkTicker {
    0%,
    100% {
        opacity: 0;
    }
    35%,
    65% {
        opacity: 1;
    }
}

@keyframes blinkTicker {
    0%,
    100% {
        opacity: 0;
    }
    35%,
    65% {
        opacity: 1;
    }
}
/* GAMBLE END */

/****************** gambleBtns ********************/

.gamble .button,
.gamble .button .frame,
.gamble .button .content,
.gamble .button .glow {
    background-image: url(../Gamble/Graphics/SpriteSheets/btns.png?_t=20250311120403);
    background-repeat: no-repeat;
}

/*******************************************************/

.gambleBlackBtn + .gambleBlackBtnMask .content,
.gambleBlackBtn._disabled + .gambleBlackBtnMask .content,
.gambleBlackBtn._disabled:active + .gambleBlackBtnMask .content {
    background-position: -1px -377px;
}

.gambleBlackBtn:active + .gambleBlackBtnMask .content {
    background-position: -1px -267px;
}

.gambleBlackBtnMask .glow {
    background-position: -1px -1px;
}

.gambleRedBtn + .gambleRedBtnMask .content,
.gambleRedBtn._disabled + .gambleRedBtnMask .content,
.gambleRedBtn._disabled:active + .gambleRedBtnMask .content {
    background-position: -311px -377px;
}

.gambleRedBtn:active + .gambleRedBtnMask .content {
    background-position: -311px -267px;
}

.gambleRedBtnMask .glow {
    background-position: -371px -1px;
}

.gambleHalfBtn + .gambleHalfBtnMask .content,
.gambleHalfBtn._disabled + .gambleHalfBtnMask .content,
.gambleHalfBtn._disabled:active + .gambleHalfBtnMask .content {
    background-position: -741px -87px;
}

.gambleHalfBtn:active + .gambleHalfBtnMask .content {
    background-position: -741px -1px;
}

.gambleCollectBtn + .gambleCollectBtnMask .content,
.gambleCollectBtn._disabled + .gambleCollectBtnMask .content,
.gambleCollectBtn._disabled:active + .gambleCollectBtnMask .content {
    background-position: -741px -259px;
}

.gambleCollectBtn:active + .gambleCollectBtnMask .content {
    background-position: -741px -173px;
}

/****************** gambleFields ********************/

.gamble .field {
    background-image: url(../Gamble/Graphics/SpriteSheets/fields.png?_t=20250311120403);
    background-repeat: no-repeat;
}

/*******************************************************/

.gambleBalance .gambleValue {
    background-position: -1px -91px;
}

.gambleWin .gambleValue {
    background-position: -1px -169px;
}

.gambleValueBig {
    background-position: -1px -1px;
}

/****************** gambleCards ********************/

.gamble .card,
.gamble .card .frame {
    background-image: url(../Gamble/Graphics/SpriteSheets/cards.png?_t=20250311120403);
    background-repeat: no-repeat;
}

/*******************************************************/

.gambleCardBack._CA {
    background-position: -1px -1px;
}

.gambleCardBack._DA {
    background-position: -199px -1px;
}

.gambleCardBack._HA {
    background-position: -1px -291px;
}

.gambleCardBack._JR {
    background-position: -1px -581px;
}

.gambleCardBack._SA {
    background-position: -199px -291px;
}

.gambleCardFront {
    background-position: -199px -581px;
}

.gamblePreviousCard .item._CA {
    background-position: -447px -1px;
}

.gamblePreviousCard .item._DA {
    background-position: -447px -68px;
}

.gamblePreviousCard .item._HA {
    background-position: -397px -71px;
}

.gamblePreviousCard .item._JR {
    background-position: -397px -138px;
}

.gamblePreviousCard .item._SA {
    background-position: -443px -135px;
}

.gamblePreviousCard .frame {
    background-position: -397px -1px;
}

.gamblePreviousCard .item {
    background-position: -443px -202px;
}
