/* GENERAL START */
.gamble {
    position: absolute;
    display: none;
    bottom: 0;
    width: 100%;
    height: 100%;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
    z-index: 2;
    opacity: 1;
}

.gamble._disabled {
    bottom: 0;
    opacity: 0;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.gambleLogo {
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    width: 527px;
    height: 49px;
    margin: auto;
}

.gambleMainInfo {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    width: 801px;
    height: 103px;
    margin: 0 auto;
}

.gambleBalance,
.gambleWin {
    position: absolute;
    width: 202px;
    height: 81px;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

.gambleBalance {
    left: 0;
}

.gambleWin {
    right: 0;
}

.gambleDoubleTo {
    position: absolute;
    left: 0;
    right: 0;
    width: 278px;
    height: 103px;
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
}

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

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

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

.gambleLabel.currency {
    font-size: 17px;
    padding-left: 5px;
}

.gambleLabelBig.currency {
    font-size: 25px;
    padding-left: 7px;
}

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

.gambleValue {
    width: 202px;
    height: 53px;
    line-height: 53px;
    font-size: 34px;
    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: #ffcc25;
        text-shadow: 0 0 50px #fff;
    }
}

@keyframes valueAnimation {
    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        color: #ffcc25;
        text-shadow: 0 0 50px #fff;
    }
}

.gambleValueBig {
    width: 278px;
    height: 72px;
    line-height: 72px;
    font-size: 54px;
    font-weight: bold;
}

.gambleBtns {
    position: absolute;
    top: 341px;
    left: 0;
    right: 0;
    width: 957px;
    height: 305px;
    margin: 0 auto;
}

.gambleRedBtn,
.gambleBlackBtn {
    position: absolute;
    top: 0;
    width: 317px;
    height: 93px;
    line-height: 93px;
    font-size: 46px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        -1px -1px 0 #000,
        0 -1px 0 #000,
        2px -1px 0 #000,
        2px 0 0 #000,
        2px 2px 0 #000,
        0 2px 0 #000,
        -1px 2px 0 #000,
        -1px 0 0 #000;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 13px;
    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: 15px;
    -webkit-animation: teaseGambleBtnsGlow 1s infinite;
    animation: teaseGambleBtnsGlow 1s infinite;
}

.gambleBlackBtnMask {
    right: 0;
    -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: 97px;
}

.gambleRedBtn._disabled,
.gambleRedBtn._disabled:hover:not(.noHover),
.gambleBlackBtn._disabled,
.gambleBlackBtn._disabled:hover:not(.noHover) {
    line-height: 93px;
    color: #c4c4c4;
    text-shadow: 1px 1px 3px #000;
    cursor: default;
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    position: absolute;
    top: 0;
    right: 15px;
    width: 425px;
    height: 231px;
    margin: -68px;
    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;
}

.gambleHalfBtn,
.gambleCollectBtn {
    position: absolute;
    bottom: 0;
    width: 221px;
    height: 79px;
    line-height: 79px;
    font-size: 29px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 3px #fae99b;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 13px;
    cursor: pointer;
    z-index: 1;
}

.gambleHalfBtn {
    left: 83px;
}

.gambleCollectBtn {
    right: 83px;
}

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

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled,
.gambleHalfBtn._disabled:hover:not(.noHover),
.gambleCollectBtn._disabled:hover:not(.noHover),
.gambleHalfBtn._disabled:active,
.gambleCollectBtn._disabled:active {
    line-height: 79px;
    color: #282828;
    text-shadow: 1px 1px 3px #dedcb8;
    cursor: default;
}

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

.gambleCardTeaser {
    position: relative;
    width: 193px;
    height: 282px;
    padding: 45px;
    margin: -44px -2px;
    opacity: 1;
}

.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: 43px;
    width: 193px;
    height: 282px;
}

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

.gamblePrevious .gambleLabel {
    display: block;
    bottom: 0;
    width: 100%;
    margin-bottom: 2px;
    font-weight: bold;
}

.gamblePreviousCard {
    float: left;
    width: 43px;
    height: 65px;
    border-radius: 5px;
    margin-right: 15px;
}

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

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

.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: 197px;
    font-size: 29px;
    line-height: 29px;
    color: #fff;
    text-shadow:
        -1px -1px 0 #000,
        0 -1px 0 #000,
        2px -1px 0 #000,
        2px 0 0 #000,
        2px 2px 0 #000,
        0 2px 0 #000,
        -1px 2px 0 #000,
        -1px 0 0 #000;
    z-index: 1;
}

.gambleAttempts strong {
    font-weight: normal;
    color: #ffcc52;
    text-shadow:
        -1px -1px 0 #000,
        0 -1px 0 #000,
        2px -1px 0 #000,
        2px 0 0 #000,
        2px 2px 0 #000,
        0 2px 0 #000,
        -1px 2px 0 #000,
        -1px 0 0 #000;
}

.gambleTicker {
    bottom: 24px;
    font-size: 25px;
    line-height: 25px;
    -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;
    }
}

/* GENERAL END */
/* BTNS START */
/****************** gambleBtns ********************/
.gamble .btn {
    background-image: url(../Gamble/Graphics/SpriteSheets/btns.png?_t=20250305120910);
    background-repeat: no-repeat;
}

/*******************************************************/
.gambleBlackBtn {
    background-position: -319px -233px;
}

.gambleBlackBtn:hover {
    background-position: -319px -328px;
}

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

.gambleBlackBtn._disabled {
    background-position: -1px -328px;
}

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

.gambleRedBtn {
    background-position: -670px -191px;
}

.gambleRedBtn:hover {
    background-position: -670px -286px;
}

.gambleRedBtn:active {
    background-position: -670px -1px;
}

.gambleRedBtn._disabled {
    background-position: -670px -96px;
}

.gambleHalfBtn,
.gambleCollectBtn {
    background-position: -447px -423px;
}

.gambleHalfBtn:hover,
.gambleCollectBtn:hover {
    background-position: -427px -1px;
}

.gambleHalfBtn:active,
.gambleCollectBtn:active {
    background-position: -1px -423px;
}

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled {
    background-position: -224px -423px;
}

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

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

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

.gambleLogo {
    background-position: -204px -74px;
}

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

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

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

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

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

.gambleCardBack._SA {
    background-position: -195px -655px;
}

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

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

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

.gamblePreviousCard .item._DA {
    background-position: -47px -938px;
}

.gamblePreviousCard .item._HA {
    background-position: -93px -938px;
}

.gamblePreviousCard .item._JR {
    background-position: -185px -938px;
}

.gamblePreviousCard .item._SA {
    background-position: -139px -938px;
}

.gamblePreviousCard .item {
    background-position: -231px -938px;
}

/* CARDS END */
