/* GENERAL START */
.gamble {
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.gambleLogo {
    position: absolute;
    top: -22px;
    left: -38px;
    width: 280px;
    height: 156px;
}

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

.gambleBalance,
.gambleWin {
    position: absolute;
    width: 203px;
    height: 80px;
    text-align: center;
    margin-top: 16px;
}

.gambleBalance {
    left: 0;
}

.gambleWin {
    right: 0;
}

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

.gambleLabel,
.gambleLabelBig {
    position: relative;
    width: 100%;
    text-align: center;
    color: var(--color1);
    text-shadow: 1px 1px 4px #000000;
    font-weight: bold;
    z-index: 1;
}

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

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

.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: 203px;
    height: 53px;
    line-height: 53px;
    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: 279px;
    height: 73px;
    line-height: 73px;
    font-size: 53px;
    font-weight: bold;
}

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

.gambleRedBtn,
.gambleBlackBtn {
    position: absolute;
    top: -25px;
    width: 304px;
    height: 96px;
    line-height: 63px;
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px #000;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    padding-top: 36px;
}

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

.gambleBlackBtn {
    right: 7px;
    -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: -93px;
    -webkit-animation: teaseGambleBtnsGlow 1s infinite;
    animation: teaseGambleBtnsGlow 1s infinite;
}

.gambleBlackBtnMask {
    right: -93px;
    -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:hover:not(.noHover),
.gambleBlackBtn:hover:not(.noHover),
.gambleRedBtn:hover:not(.noHover) + .gambleRedBtnMask,
.gambleBlackBtn:hover:not(.noHover) + .gambleRedBtnMask,
.gambleRedBtn:active,
.gambleBlackBtn:active,
.gambleRedBtn._hover,
.gambleBlackBtn._hover,
.gambleRedBtn._hover + .gambleRedBtnMask,
.gambleBlackBtn._hover + .gambleBlackBtnMask {
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
}

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

.gambleRedBtn._disabled,
.gambleBlackBtn._disabled,
.gambleRedBtn._disabled:hover:not(.noHover),
.gambleBlackBtn._disabled:hover:not(.noHover),
.gambleRedBtn._disabled:active,
.gambleBlackBtn._disabled:active {
    line-height: 65px;
    color: #8d8d8d;
    cursor: default;
    -webkit-filter: none;
    filter: none;
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    position: absolute;
    top: 0;
    width: 504px;
    height: 268px;
    /*padding: 56px;*/
    /*margin: -93px 0 0 -107px;*/
    margin: -93px 0 0 0;
    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: 204px;
    height: 72px;
    line-height: 72px;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    text-shadow: 1px 1px 1px #ffffff;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}

.gambleHalfBtn {
    left: 80px;
}

.gambleCollectBtn {
    right: 80px;
}

.gambleHalfBtn:hover,
.gambleCollectBtn:hover,
.gambleHalfBtn._hover,
.gambleCollectBtn._hover,
.gambleHalfBtn:active,
.gambleCollectBtn:active {
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
}

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

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled,
.gambleHalfBtn._disabled:hover:not(.noHover),
.gambleCollectBtn._disabled:hover:not(.noHover),
.gambleHalfBtn._disabled:active,
.gambleCollectBtn._disabled:active {
    line-height: 75px;
    color: #8d8d8d;
    cursor: default;
    -webkit-filter: none;
    filter: none;
    text-shadow: 1px 1px 1px #d2d2d2;
}

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

.gambleCardTeaser {
    position: relative;
    top: -8px;
    width: 344px;
    height: 416px;
    margin: -60px -36px;
    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) scale(1);
    -moz-transform: rotateY(0deg) scale(1);
    -o-transform: rotateY(0deg) scale(1);
    -ms-transform: rotateY(0deg) scale(1);
    transform: rotateY(0deg) scale(1);
}

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

.gambleActualCard,
.gambleCardFront,
.gambleCardBack {
    position: absolute;
    top: 0;
    left: 41px;
    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) scale(1);
    -moz-transform: rotateY(0deg) scale(1);
    -o-transform: rotateY(0deg) scale(1);
    -ms-transform: rotateY(0deg) scale(1);
    transform: rotateY(0deg) scale(1);
    -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) scale(1);
    -ms-transform: rotateY(0deg) scale(1);
    z-index: 2;
}

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

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

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

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

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

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

.gamblePreviousCard .frame {
    position: absolute;
    top: -4px;
    left: -3px;
    width: 51px;
    height: 72px;
    z-index: -1;
}

.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: 192px;
    font-size: 28px;
    line-height: 28px;
    color: var(--color1);
    text-shadow: 1px 1px 4px #000000;
    font-weight: bold;
    z-index: 1;
}

.gambleAttempts strong {
    font-weight: bold;
    color: #ffffff;
}

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

/* GENERAL END */
/* BTNS START */
/****************** gambleBtns ********************/
.gamble .btn {
    background-image: url(../Gamble/Graphics/SpriteSheets/btns.png?_t=20250630220708);
    background-repeat: no-repeat;
    --blackBtn_ACTIVE: -507px -1px;
    --blackBtn_DIS: -507px -135px;
    --blackBtn_NORMAL: -507px -269px;
    --btnGlow: -1px -1px;
    --redBtn_ACTIVE: -1px -271px;
    --redBtn_DIS: -307px -403px;
    --redBtn_NORMAL: -1px -405px;
    --smallBtn_ACTIVE: -813px -1px;
    --smallBtn_DIS: -813px -75px;
    --smallBtn_NORMAL: -813px -149px;
}

/*******************************************************/
.gambleBlackBtn {
    background-position: var(--blackBtn_NORMAL);
}

.gambleBlackBtn:active {
    background-position: var(--blackBtn_ACTIVE);
}

.gambleBlackBtn._disabled {
    background-position: var(--blackBtn_DIS);
}

.gambleRedBtnMask,
.gambleBlackBtnMask {
    background-position: var(--btnGlow);
}

.gambleRedBtn {
    background-position: var(--redBtn_NORMAL);
}

.gambleRedBtn:active {
    background-position: var(--redBtn_ACTIVE);
}

.gambleRedBtn._disabled {
    background-position: var(--redBtn_DIS);
}

.gambleHalfBtn,
.gambleCollectBtn {
    background-position: var(--smallBtn_NORMAL);
}

.gambleHalfBtn:active,
.gambleCollectBtn:active {
    background-position: var(--smallBtn_ACTIVE);
}

.gambleHalfBtn._disabled,
.gambleCollectBtn._disabled {
    background-position: var(--smallBtn_DIS);
}

/* BTNS END */
/* FIELDS START */
/****************** gambleFields ********************/
.gamble .field {
    background-image: url(../Gamble/Graphics/SpriteSheets/fields.png?_t=20250630220708);
    background-repeat: no-repeat;
    --balanceWinField: -282px -62px;
    --doubleToField: -1px -62px;
    --gambleLogo: -1px -1px;
}

/*******************************************************/
.gambleValue {
    background-position: var(--balanceWinField);
}

.gambleValueBig {
    background-position: var(--doubleToField);
}

.gambleLogo {
    background-position: var(--gambleLogo);
}

/* FIELDS END */
/* CARDS START */
/****************** gambleCards ********************/
.gamble .card,
.gamble .card .frame {
    background-image: url(../Gamble/Graphics/SpriteSheets/cards.png?_t=20250630220708);
    background-repeat: no-repeat;
    --cardBack_CA: -1px -1px;
    --cardBack_DA: -195px -1px;
    --cardBack_HA: -1px -284px;
    --cardBack_joker: -1px -567px;
    --cardBack_SA: -195px -284px;
    --cardFront: -195px -567px;
    --previousCardBack_CA: -389px -1px;
    --previousCardBack_DA: -435px -1px;
    --previousCardBack_HA: -389px -68px;
    --previousCardBack_joker: -389px -135px;
    --previousCardBack_SA: -435px -68px;
    --previousCardFront: -435px -135px;
}

/*******************************************************/
.gambleCardBack._CA {
    background-position: var(--cardBack_CA);
}

.gambleCardBack._DA {
    background-position: var(--cardBack_DA);
}

.gambleCardBack._HA {
    background-position: var(--cardBack_HA);
}

.gambleCardBack._JR {
    background-position: var(--cardBack_joker);
}

.gambleCardBack._SA {
    background-position: var(--cardBack_SA);
}

.gambleCardFront {
    background-position: var(--cardFront);
}

.gambleCardTeaser {
    background-image: none !important;
}

.gamblePreviousCard .item._CA {
    background-position: var(--previousCardBack_CA);
}

.gamblePreviousCard .item._DA {
    background-position: var(--previousCardBack_DA);
}

.gamblePreviousCard .item._HA {
    background-position: var(--previousCardBack_HA);
}

.gamblePreviousCard .item._JR {
    background-position: var(--previousCardBack_joker);
}

.gamblePreviousCard .item._SA {
    background-position: var(--previousCardBack_SA);
}

.gamblePreviousCard .item {
    background-position: var(--previousCardFront);
}

/* CARDS END */
