* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    /* Standard syntax */
}

*:focus-visible {
    outline: none;
}

@font-face {
    font-family: GarageShockCondensed;
    src: url(../fonts/GarageShockCondensed.ttf);
}

@font-face {
    font-family: DarumadropOne;
    src: url(../fonts/DarumadropOne.ttf);
}

@font-face {
    font-family: Gemstone;
    src: url(../fonts/Gemstone.ttf);
}

@font-face {
    font-family: Rubik;
    src: url(../fonts/Rubik.ttf);
}

input,
input:before,
input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

body {
    overflow: hidden;
    background-color: black;
}

.game-div {
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
}

.game {
    position: relative;
    width: 2370px;
    height: 1220px;
    color: rgba(255, 255, 255, 1);

    --strokegrad: linear-gradient(0deg, #441563 0%, #c78bef 100%);
}

.mobileGameContent {
    width: 756px;
    height: 1344px;
    left: calc((100% - 756px) / 2);
    top: -65px;
    border-radius: 7%;
    margin: auto;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    position: absolute;
}
.none,
.hide {
    display: none !important;
}

.canvas canvas {
    position: relative;
    margin-left: 0;
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    left: calc((100% - 680px) / 2);
    top: 2px;
    right: 0;
    margin: auto;
    /* border: 2px red solid; */
    /* pointer-events: none; */
}

.canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#game {
    width: 2370px;
    height: 100%;
    position: relative;
}

.game.mobile {
    margin: 0 auto;
    position: relative;
}

.game.mobile .canvas canvas {
    left: 0 !important;
    right: 0;
    margin: auto;
}

.game.mobile .gameContent {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: none !important;
    border-radius: 0 !important;
}

.GameParent {
    position: absolute;
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    width: 100%;
    height: 1344px;
    /* width: 836px;
    height: 410px; */
    box-sizing: border-box;
    /* background-image: url(./assets/Images/background.png); */
    /* background-repeat: no-repeat; */
    /* background-position-y: -66px; */
    /* background-position-x: center; */
    /* overflow: hidden; */
}

.loader-div {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #000000;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -75px;
    width: 154px;
    height: 72px;
    background: url(./assets/Images/logo.png) no-repeat center / cover;
}

.loader-bar {
    background-color: rgb(70, 70, 70);
    width: 178px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 90px 0 0 -89px;
    border-radius: 1px;
}

.loader-bar div {
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
    left: 0;
    top: -1px;
    width: 0;
    height: 4px;
    border-radius: 2px;
}
.loader-text {
    width: 178px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 105px 0 0 -89px;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
}
.header-info {
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    height: 72px;
}
.header-buttons {
    display: flex;
    column-gap: 38px;
    align-items: center;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-direction: column;
    position: relative;
    z-index: 1;
    height: calc(100% - 72px);
}

.main-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.balance {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.wallet {
    background: url(./assets/Images/wallet.png);
    width: 41px;
    height: 39px;
}

.balance-value {
    color: #000;
    font-family: DarumadropOne;
    font-size: 32px;
    font-weight: 400;
}

.balance-value::after {
    content: attr(data-currency);
    color: #ff4081;
    font-family: DarumadropOne;
    font-size: 32px;
    font-weight: 400;
}

.coeff span {
    text-align: center;
    min-width: 80px;
    display: inline-block;
}

.coeff .dot {
    min-width: 26px !important;
}

.coeff-parent {
    display: flex;
    justify-content: center;
    position: absolute;
    color: #ffd600;
    text-align: center;
    text-shadow:
        0 6.317px 0 #ff4081,
        2.106px 9.827px 2.948px #000;
    -webkit-text-stroke-width: 5px;
    -webkit-text-stroke-color: #000;
    font-family: GarageShockCondensed;
    font-size: 160px;
    font-weight: 700;
}

.coeff-parent.exploded {
    color: #ff4081;
    text-shadow:
        0 9px 0 #871111,
        3px 14px 4.2px #000;
    -webkit-text-stroke-width: 5px;
    -webkit-text-stroke-color: #871111;
}

.coeff-parent.win {
    color: #449348;
    text-shadow:
        0 9px 0 #31cf39,
        3px 14px 4.2px #000;
    -webkit-text-stroke-width: 5px;
    -webkit-text-stroke-color: #035807;
}

.coeff-X {
    font-size: 90px;
    font-weight: 700;
    line-height: 3;
}

.betAmount {
    display: flex;
    column-gap: 5px;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
    font-family: DarumadropOne;
    font-size: 34px;
    font-weight: 400;
    position: relative;
    top: 10px;
}

.currency {
    color: #ff4081;
}

.currency::after {
    content: attr(data-currency);
    color: #ff4081;
}

.volume {
    background: url(./assets/Images/volume.png) no-repeat;
    width: 42px;
    height: 42px;
    cursor: pointer;
}
/* 
.volume:hover {
    background: url(./assets/Images/volumehover.png) no-repeat;
} */

.volume.active {
    background: url(./assets/Images/soundOn.png) no-repeat;
}

/* .volume.active:hover {
    background: url(./assets/Images/turnOnSoundHover.png) no-repeat;
} */

/* Toggle container */

.sound,
.music {
    width: 42px;
    height: 42px;
}

.sound[data-sound="true"] {
    background-image: url(./assets/Images/soundOn.png);
}
.music[data-music="true"] {
    background-image: url(./assets/Images/musicOn.png);
}
.sound[data-sound="false"] {
    background-image: url(./assets/Images/soundOff.png);
}
.music[data-music="false"] {
    background-image: url(./assets/Images/musicOff.png);
}
.sound-menu-popup {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0px;
    top: 92px;
    row-gap: 40px;
}

.sound-menu-popup.active {
    display: flex;
}

.autoplay,
.autoCashout {
    background: url(./assets/Images/autoplayButton.png);

    width: 34px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autoplay-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-self: center;
}

.autoplay-outer,
.autoCashout-outer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 5px;
    padding: 7px 5px 6px 10px;
}

.autobet-text {
    color: #fff;
    font-family: DarumadropOne;
    font-size: 20px;
    font-weight: 400;
}

.check {
    width: 34px;
    height: 38px;
    position: absolute;
    background-image: url(./assets/Images/autoplayButtonChecked.png);
    display: none;
}

.autoplay[data-autoplay="true"] .check,
.autoplay-help[data-autoplay="true"] .check,
.autoCashout[data-autoCashout="true"] .check {
    display: block;
}

.menu {
    background: url(./assets/Images/menu.png) no-repeat;
    width: 42px;
    height: 46px;
    cursor: pointer;
}

.columnTop {
    z-index: 1;
    height: max-content;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 45px;
    justify-content: flex-start;
    font-size: 18px;
}

.columnTop.sesionTime {
    align-items: flex-start;
    width: 110px;
}

.columnTop.red {
    align-items: flex-end;
    /* width: 70px; */
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.icon-div {
    width: 33.3%;
    height: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
/* Removed unused old game grid styles (sheriffGrid, sunGrid, freespins) */

.win-popup-wrapper {
    position: absolute;
    display: none;
    width: 100%;
    bottom: 120%;
    z-index: 4;
    animation: slideOut 4s ease-out;
    opacity: 1;
}

@keyframes slideOut {
    0% {
        bottom: 120%;
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    100% {
        bottom: 170%;
        opacity: 0;
    }
}

.win-popup {
    background-image: url(./assets/Images/winPopup.png);
    height: 119px;
    width: 309px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: auto;
    row-gap: 17.5px;

    color: #fff;
    text-align: center;
    font-family: Rubik;
    font-size: 29.484px;
    font-weight: 900;
}

.won-amount {
    font-size: 22.113px;
    font-weight: 700;
}

.won-currency::after {
    content: attr(data-currency);
    position: relative;
    font-size: 22.113px;
    font-weight: 400;
    left: 5px;
}

/* Removed unused freespins/gift spin popup styles */

/* error */

.errors {
    width: 0;
    height: 0;
}

.error-popup {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(24, 17, 13, 0.8);
    z-index: 6;
    cursor: default;
}

.error-popup.active {
    display: block;
}

.error-popup-content {
    width: 716px;
    padding: 10px 10px 30px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    background-color: rgba(47, 40, 37, 1);
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.error-popup-content p {
    font-size: 28px;
    line-height: 33px;
    text-align: center;
}

.errorX {
    align-self: flex-end;
}

.error-reload {
    background: linear-gradient(0deg, #469d10 4.17%, #7fea3d 100%);
    color: rgba(24, 17, 13, 1);
    cursor: pointer;
    width: 280px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    border-radius: 40px;
    margin-top: 40px;
}

.not-enough-money {
    background-image: url(./assets/Images/lessMoney.png);
    width: 293px;
    height: 59px;
    position: relative;
    left: calc((100% - 265px) / 2);
    bottom: -730px;
    z-index: 3;
    visibility: hidden;
}

.not-enough-money span {
    font-size: 14px;
    color: rgb(255, 255, 255);
    width: 223px;
    left: 54px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
}

.wonColor {
    color: rgb(40, 148, 40);
}

/* change history tab for small device */

.cars-chat {
    background-image: url(./assets/Images/chatIcon.png);
    width: 64px;
    height: 60px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.cars-history {
    background-image: url(./assets/Images/clock.png);
    width: 70px;
    height: 70px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.bet-button-container {
    display: flex;
    align-items: center;
    column-gap: 47px;
    margin: 35px 0 25px 0;
}

.bet-button {
    background-image: url(./assets/Images/betButton.png);
    cursor: pointer;
    width: 450px;
    height: 163px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bet-button .collect,
.bet-button .noBet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bet-button.noBet .collect {
    display: none;
}

.bet-button.collect .noBet {
    display: none;
}

.bet-button.collect {
    background-image: url(./assets/Images/betButtonCollect.png);
}

.bet-button.disable {
    background-image: url(./assets/Images/betButtonDisabled.png);
    cursor: auto;
    pointer-events: none;
}

.bet-button-text,
.bet-accepted-collect {
    color: #fff;
    text-align: center;
    text-shadow: 0 5.615px 0 #000;
    -webkit-text-stroke-width: 2.11px;
    -webkit-text-stroke-color: #000;
    font-family: DarumadropOne;
    font-size: 67px;
    font-weight: 400;
    position: relative;
    top: -20px;
}

.bet-intput-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
    margin-top: 25px;
}

.bet-amount-text {
    color: #fff;
    text-align: center;
    font-family: DarumadropOne;
    font-size: 34px;
    font-weight: 400;
}

.bet-input-container,
.autoplay-bet-input-container,
.autoplay-multiplier-input-container {
    background: url(./assets/Images/betInputContainer.png);

    width: 235px;
    height: 62px;
    display: flex;
    align-items: center;
    background-size: cover;
}

.autoplay-bet-input-container {
    pointer-events: all;
    opacity: 1;
}

.autoplay-bet-input-container,
.autoplay-multiplier-input-container {
    height: 48px;
    width: 184px;
}

.bet-values-conatiner {
    display: flex;
    flex-direction: column;
    row-gap: 31.5px;
}

.bet-input,
.autoplay-bet-input,
.autoplay-multiplier-input {
    background: none;
    border: none;
    width: 100%;
    height: 100%;
    font-size: 15px;
    padding-top: 8px;
    padding-bottom: 9px;
    box-sizing: border-box;
    text-align: center;
    font-size: 28px;
    font-family: DarumadropOne;
    font-weight: 400;
    line-height: normal;
    color: rgba(255, 255, 255, 1);
}

.autoplay-bet-input,
.autoplay-multiplier-input {
    font-size: 22px;
}

.bet-input:focus,
.autoplay-bet-input:focus,
.autoplay-multiplier-input:focus {
    outline: none;
}

.bet-value,
.autoplay-bet-value {
    background: url(./assets/Images/betValue.png);
    width: 155px;
    height: 55px;
    display: flex;
    justify-content: center;

    color: #fff;
    text-align: center;
    font-family: DarumadropOne;
    font-size: 28.077px;
    font-weight: 400;
}

.betting-options-container,
.howToPlay-betting-options-container {
    /* visibility: hidden; */
    width: 653px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.main-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.betting-option,
.howToPlay-betting-option {
    width: 207px;
    height: 160px;
}

.l1,
.l2,
.l3 {
    background-image: url(./assets/Images/side.png);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: cover;
    width: 179px;
    height: 191px;

    color: #fff;
    text-align: center;
    font-family: Gemstone;
    font-size: 90px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.l1.active,
.l2.active,
.l3.active {
    background-image: url(./assets/Images/sideActive.png);
    color: #000;
    filter: drop-shadow(0 0 50px #ffd600);
}

.l1.exploded,
.l2.exploded,
.l3.exploded {
    background-image: url(./assets/Images/sideExploded.png);
    cursor: auto;
}

.close-icon {
    background: url(./assets/Images/close.png);
    cursor: pointer;
    width: 80px;
    height: 79px;
    display: block;
    position: absolute;
    top: -37px;
    right: -5px;
}

.help-betting-options-container {
    background: url(./assets/Images/helpBettingOption.png);
    width: 698px;
    height: 172px;
}

.betting-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.betting-wrapper {
    width: 727px;
    height: 125px;
    margin-bottom: 25px;
}

.betting-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bet-accepted {
    font-size: 22px;
    font-weight: 400;
}

.bet-accepted-winning {
    background: url(./assets/Images/collectContainer.png);
    width: 392px;
    height: 64px;
    top: 30%;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    position: absolute;
    display: none;
}

.collectAmount {
    color: #000;
    font-family: DarumadropOne;
    font-size: 34px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    height: 60px;
}

.collectAmount.bet {
    position: relative;
    top: 10px;
}

.collectCurrency {
    color: #ff4081;
    font-size: 34px;
    font-weight: 400;
}

.betting-started {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.betting-left {
    display: flex;
    align-items: center;
    column-gap: 40px;
}
