/* GAMBLE START */
.gamble {
    position: absolute;
    display: none;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: scale(1);
}
.gamble._disabled {
    transform: scale(0);
}
.gambleMainInfo {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    width: 752px;
    height: 108px;
    margin: 0 auto;
}
.gambleBalance,
.gambleWin {
    position: absolute;
    bottom: 8px;
    width: 192px;
    height: 76px;
    text-align: center;
}
.gambleBalance {
    left: 0;
}
.gambleWin {
    right: 0;
}
.gambleDoubleTo {
    position: absolute;
    left: 0;
    right: 0;
    width: 256px;
    height: 104px;
    text-align: center;
    margin: 0 auto;
}
.gambleLabel,
.gambleLabelBig {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffcd34;
    text-shadow: 0px 2px 2px #000;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1;
}
.gambleLabel {
    font-size: 24px;
    line-height: 24px;
}
.gambleLabelBig {
    font-size: 28px;
    line-height: 44px;
}
.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: 192px;
    height: 52px;
    line-height: 52px;
    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: 256px;
    height: 68px;
    line-height: 68px;
    font-size: 53px;
    font-weight: bold;
}
.gambleBtns {
    position: absolute;
    top: 308px;
    left: 0;
    right: 0;
    width: 884px;
    height: 272px;
    margin: 0 auto;
}
.gambleRedBtn,
.gambleBlackBtn {
    position: absolute;
    top: 0;
    width: 260px;
    height: 84px;
    line-height: 84px;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px #000;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    z-index: 2;
}
.gambleRedBtn,
.gambleRedBtnMask {
    left: 0;
}
.gambleBlackBtn,
.gambleBlackBtnMask {
    right: 0;
}
.gambleRedBtn:active,
.gambleBlackBtn:active {
    line-height: 88px;
}
.gambleRedBtnMask,
.gambleBlackBtnMask {
    position: absolute;
    top: 0;
    width: 260px;
    height: 84px;
    background: none !important;
    z-index: 1;
}
.btn .glow {
    position: absolute;
    box-shadow: 0 0 55px 23px rgba(250, 153, 95, 0.8);
    border-radius: 8px;
    width: 90%;
    height: 76%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    z-index: 2;
}
.btn.gambleRedBtnMask .glow,
.btn.gambleBlackBtnMask .glow {
    -webkit-animation: teaseGambleBtnsGlow 0.95s infinite;
    animation: teaseGambleBtnsGlow 0.95s infinite;
}
.btn.gambleBlackBtnMask .glow {
    -webkit-animation-delay: 0.475s;
    animation-delay: 0.475s;
}
@keyframes teaseGambleBtnsGlow {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
@-webkit-keyframes teaseGambleBtnsGlow {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
.gambleRedBtn._hover + .gambleRedBtnMask .glow,
.gambleBlackBtn._hover + .gambleBlackBtnMask .glow {
    -webkit-animation: none;
    animation: none;
}
.btn.gambleRedBtn._disabled,
.btn.gambleRedBtn._disabled:hover:not(.noHover),
.btn.gambleBlackBtn._disabled,
.btn.gambleBlackBtn._disabled:hover:not(.noHover) {
    display: block;
    cursor: default;
    pointer-events: none;
}
.gambleRedBtn:hover:not(.noHover) + .gambleRedBtnMask,
.gambleBlackBtn:hover:not(.noHover) + .gambleBlackBtnMask,
.gambleRedBtn:active + .gambleRedBtnMask,
.gambleBlackBtn:active + .gambleBlackBtnMask {
    opacity: 1;
}
.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:hover:not(.noHover) + .gambleRedBtnMask .glow,
.gambleRedBtn._disabled + .gambleRedBtnMask .glow,
.gambleBlackBtn._disabled:hover:not(.noHover) + .gambleBlackBtnMask .glow,
.gambleBlackBtn._disabled + .gambleBlackBtnMask .glow {
    -webkit-animation: none;
    animation: none;
}
.gambleHalfBtn,
.gambleCollectBtn {
    position: absolute;
    bottom: 0;
    width: 180px;
    height: 60px;
    line-height: 60px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}
.gambleHalfBtn {
    left: 80px;
}
.gambleCollectBtn {
    right: 80px;
}
.gambleHalfBtn:active,
.gambleCollectBtn:active {
    line-height: 64px;
}
.btn.gambleHalfBtn._disabled,
.btn.gambleCollectBtn._disabled,
.btn.gambleHalfBtn._disabled:hover:not(.noHover),
.btn.gambleCollectBtn._disabled:hover:not(.noHover),
.btn.gambleHalfBtn._disabled:active,
.btn.gambleCollectBtn._disabled:active {
    display: block;
    cursor: default;
    pointer-events: none;
}
.gambleBlackBtn:hover:not(._disabled),
.gambleRedBtn:hover:not(._disabled),
.gambleHalfBtn:hover:not(._disabled),
.gambleCollectBtn:hover:not(._disabled) {
    -webkit-filter: brightness(1.4);
    filter: brightness(1.4);
}
.gambleCards {
    position: absolute;
    top: 228px;
    left: 0;
    right: 0;
    width: 228px;
    height: 368px;
    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);
}
.gambleActualCard,
.gambleCardFront,
.gambleCardBack {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    width: 160px;
    height: 228px;
    margin: auto;
}
.cardBg {
    width: 184px;
    height: 252px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}
.gambleCardTeaser {
    background: none !important;
    box-shadow: 0 0 60px 20px rgba(250, 153, 95, 0.6);
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    width: 169px;
    height: 247px;
    margin: auto;
    -webkit-animation: glow 3s infinite;
    animation: glow 3s infinite;
}
@-webkit-keyframes glow {
    0%,
    100% {
        opacity: 0.5;
    }
    25%,
    75% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}
@keyframes glow {
    0%,
    100% {
        opacity: 0.5;
    }
    25%,
    75% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}
.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: 100px;
}
.gamblePrevious .gambleLabel {
    display: block;
    bottom: 0;
    width: 100%;
    font-size: 20px;
}
.gamblePreviousCard {
    float: left;
    width: 39px;
    height: 60px;
    margin-right: 8px;
}
.gamblePreviousCard:last-of-type {
    margin-right: 0;
}
.gamblePreviousCard .item {
    width: 100%;
    height: 100%;
}
.gambleAttempts,
.gambleDefaultRisk,
.gambleTicker {
    position: absolute;
    left: 0;
    right: 0;
    color: #ffcd34;
    text-shadow: 0 2px 2px #000;
    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: 184px;
    font-size: 24px;
    line-height: 28px;
    z-index: 1;
}
.gambleAttempts strong {
    color: #fff;
}
.gambleTicker {
    bottom: 24px;
    font-size: 24px;
    line-height: 24px;
    font-weight: normal;
    color: #fff;
    -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=20250305005237);
    background-repeat: no-repeat;
}

/*******************************************************/
.gambleBlackBtn {
    background-position: -263px -1px;
}
.gambleBlackBtn:active {
    background-position: -1px -1px;
}
.gambleBlackBtn._disabled {
    background-position: -1px -87px;
}
.gambleRedBtn {
    background-position: -525px -87px;
}
.gambleRedBtn:active {
    background-position: -263px -87px;
}
.gambleRedBtn._disabled {
    background-position: -525px -1px;
}
.gambleHalfBtn,
.gambleCollectBtn {
    background-position: -365px -173px;
}
.gambleHalfBtn:active,
.gambleCollectBtn:active {
    background-position: -1px -173px;
}
.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled {
    background-position: -183px -173px;
}

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

/*******************************************************/
.gambleValue {
    background-position: -1px -71px;
}
.gambleValueBig {
    background-position: -1px -1px;
}

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

/*******************************************************/
.gambleCardBack._CA {
    background-position: -187px -1px;
}
.gambleCardBack._DA {
    background-position: -349px -1px;
}
.gambleCardBack._HA {
    background-position: -187px -231px;
}
.gambleCardBack._JR {
    background-position: -1px -255px;
}
.gambleCardBack._SA {
    background-position: -349px -231px;
}
.cardBg {
    background-position: -1px -1px;
}
.gambleCardFront {
    background-position: -163px -461px;
}
.gamblePreviousCard .item._CA {
    background-position: -1px -485px;
}
.gamblePreviousCard .item._DA {
    background-position: -42px -485px;
}
.gamblePreviousCard .item._HA {
    background-position: -83px -485px;
}
.gamblePreviousCard .item._JR {
    background-position: -42px -547px;
}
.gamblePreviousCard .item._SA {
    background-position: -1px -547px;
}
.gamblePreviousCard .item {
    background-position: -83px -547px;
}
