/* GAMBLE START */
.gamble {
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
    z-index: 2;
}

.gamble._disabled {
    opacity: 0;
}

.gambleLogo {
    position: absolute;
    top: 0;
    left: 480px;
    width: 320px;
    height: 80px;
}

.gambleMainInfo {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 832px;
    height: 116px;
    margin: 0 auto;
}

.gambleBalance,
.gambleWin {
    position: absolute;
    width: 237px;
    height: 84px;
    text-align: center;
    margin-top: 17px;
}

.gambleBalance {
    left: 0;
}

.gambleWin {
    right: 0;
}

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

.gambleLabel,
.gambleLabelBig {
    position: relative;
    width: 100%;
    text-align: center;
    color: #37e754;
    text-shadow: 0 2px 2px #000;
    z-index: 1;
}

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

.gambleLabelBig {
    font-size: 28px;
    line-height: 31px;
}

.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: 237px;
    height: 62px;
    line-height: 65px;
    font-size: 33px;
    font-weight: bold;
}

.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.2);
        transform: scale(1.2);
        color: #ffff00;
        text-shadow: 0 0 33px #fff;
    }
}

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

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

.gambleValueBig {
    width: 346px;
    height: 91px;
    line-height: 95px;
    font-size: 53px;
    font-weight: bold;
}

.gambleBtns {
    position: absolute;
    top: 340px;
    left: 0;
    right: 0;
    width: 964px;
    height: 332px;
    margin: 0 auto;
}

.gambleRedBtn,
.gambleBlackBtn {
    position: absolute;
    top: 0;
    width: 294px;
    height: 102px;
    line-height: 84px;
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px #000;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1;
}

.gambleRedBtn {
    left: 0;
    -webkit-animation: teaseGambleBtns 1s infinite;
    animation: teaseGambleBtns 1s infinite;
}

.gambleBlackBtn {
    right: 0;
    -webkit-animation: teaseGambleBtns 1s infinite;
    animation: teaseGambleBtns 1s infinite;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

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

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

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

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

.gambleRedBtnMask,
.gambleBlackBtnMask {
    opacity: 0;
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
}

.gambleRedBtnMask {
    left: 0;
    -webkit-animation: teaseGambleBtnsGlow 1s infinite;
    animation: teaseGambleBtnsGlow 1s infinite;
}

.gambleBlackBtnMask {
    right: 0;
    transform: scaleX(-1);
    -webkit-animation: teaseGambleBtnsGlow 1s infinite;
    animation: teaseGambleBtnsGlow 1s infinite;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

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

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

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

.gambleRedBtn:active,
.gambleBlackBtn:active {
    line-height: 90px;
}

.gambleRedBtn._disabled,
.gambleRedBtn._disabled:hover:not(.noHover),
.gambleBlackBtn._disabled,
.gambleBlackBtn._disabled:hover:not(.noHover) {
    line-height: 84px;
    color: #bbbcbe;
    cursor: default;
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    position: absolute;
    top: -28px;
    width: 353px;
    height: 149px;
    z-index: 0;
}

.gambleRedBtn:hover:not(.noHover) + .gambleRedBtnMask,
.gambleBlackBtn:hover:not(.noHover) + .gambleBlackBtnMask,
.gambleRedBtn:active + .gambleRedBtnMask,
.gambleBlackBtn:active + .gambleBlackBtnMask {
    opacity: 1;
}

.gambleRedBtn._disabled + .gambleRedBtnMask,
.gambleRedBtn._disabled:hover:not(.noHover) + .gambleRedBtnMask,
.gambleBlackBtn._disabled + .gambleBlackBtnMask,
.gambleBlackBtn._disabled:hover:not(.noHover) + .gambleBlackBtnMask {
    background: none;
}

.gambleRedBtnBackground,
.gambleBlackBtnBackground {
    position: absolute;
    top: -28px;
    width: 353px;
    height: 149px;
    z-index: -1;
}

.gambleRedBtnMask,
.gambleRedBtnBackground {
    left: -30px;
}

.gambleBlackBtnMask,
.gambleBlackBtnBackground {
    right: -30px;
    transform: scaleX(-1);
}

.gambleHalfBtn,
.gambleCollectBtn {
    position: absolute;
    bottom: 0;
    width: 221px;
    height: 103px;
    line-height: 84px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    text-shadow: 0 2px 4px #fff;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1;
}

.gambleHalfBtn {
    left: 80px;
}

.gambleCollectBtn {
    right: 80px;
}

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

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled,
.gambleHalfBtn._disabled:hover:not(.noHover),
.gambleCollectBtn._disabled:hover:not(.noHover),
.gambleHalfBtn._disabled:active,
.gambleCollectBtn._disabled:active {
    line-height: 84px;
    color: #523629;
    text-shadow: 0 2px 4px #666;
    cursor: default;
}

.gambleCards {
    position: absolute;
    top: 244px;
    left: 0;
    right: 0;
    width: 276px;
    height: 400px;
    margin: 0 auto;
}

.gambleCardFrame {
    position: absolute;
    top: -22px;
    left: 2px;
    width: 274px;
    height: 321px;
}

.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);
}

.gambleActualCard,
.gambleCardFront,
.gambleCardBack {
    position: absolute;
    top: 0;
    left: 42px;
    width: 192px;
    height: 281px;
}

.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: 92px;
}

.gamblePrevious .gambleLabel {
    display: block;
    width: 100%;
    margin-bottom: 1px;
}

.gamblePreviousCard {
    position: relative;
    float: left;
    width: 44px;
    height: 65px;
    border-radius: 4px;
    background: #5a250a;
    margin-right: 14px;
}

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

.gamblePreviousCard .item {
    width: 100%;
    height: 100%;
}

.gamblePreviousCard .frame {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 49px;
    height: 72px;
    z-index: 2;
}

.gambleAttempts,
.gambleDefaultRisk,
.gambleTicker {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    text-shadow: 0 2px 2px #000;
    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: 194px;
    font-size: 28px;
    line-height: 28px;
    color: #37e754;
}

.gambleAttempts strong {
    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 .btn {
    background-image: url(../Gamble/Graphics/SpriteSheets/btns.png?_t=20250304235314);
    background-repeat: no-repeat;
}

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

.gambleBlackBtn {
    background-position: -1px -152px;
}

.gambleBlackBtn:hover {
    background-position: -297px -152px;
}

.gambleBlackBtn:active {
    background-position: -713px -1px;
}

.gambleBlackBtn._disabled {
    background-position: -713px -105px;
}

.gambleRedBtnBackground,
.gambleBlackBtnBackground {
    background-position: -1px -1px;
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    background-position: -357px -1px;
}

.gambleRedBtn {
    background-position: -297px -256px;
}

.gambleRedBtn:hover {
    background-position: -593px -313px;
}

.gambleRedBtn:active {
    background-position: -593px -209px;
}

.gambleRedBtn._disabled {
    background-position: -1px -256px;
}

.gambleHalfBtn {
    background-position: -447px -417px;
}

.gambleHalfBtn:hover {
    background-position: -670px -417px;
}

.gambleHalfBtn:active {
    background-position: -1px -360px;
}

.gambleHalfBtn._disabled {
    background-position: -224px -360px;
}

.gambleCollectBtn {
    background-position: -1px -570px;
}

.gambleCollectBtn:hover {
    background-position: -1px -675px;
}

.gambleCollectBtn:active {
    background-position: -1px -465px;
}

.gambleCollectBtn._disabled {
    background-position: -224px -465px;
}

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

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

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

.gambleValue {
    background-position: -1px -176px;
}

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

.gambleLogo {
    background-position: -1px -94px;
}

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

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

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

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

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

.gambleCardBack._HA {
    background-position: -195px -324px;
}

.gambleCardBack._JR {
    background-position: -195px -607px;
}

.gambleCardBack._SA {
    background-position: -277px -1px;
}

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

.gambleCardFront {
    background-position: -471px -1px;
}

.gamblePreviousCard .item._CA {
    background-position: -52px -890px;
}

.gamblePreviousCard .item._DA {
    background-position: -52px -957px;
}

.gamblePreviousCard .item._HA {
    background-position: -98px -890px;
}

.gamblePreviousCard .item._JR {
    background-position: -144px -890px;
}

.gamblePreviousCard .item._SA {
    background-position: -98px -957px;
}

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

.gamblePreviousCard .item {
    background-position: -144px -957px;
}
