@import url('/utils/css/settings-popup.css');
@import url('/utils/css/sure-popup.css');
@import url('/utils/css/paytable-popup.css');
@import url('/utils/css/desktop-template.css');
@import url('/utils/css/dark-bg-popup-desktop.css');
@import url('/utils/css/tooltip-desktop.css');
@import url('/utils/css/loading-popup.css');
@import url('/utils/css/slot-play-block.css');
@import url('/css/desktop/shop.css');
@import url('/utils/css/rules-popup-desktop.css');
@import url('/utils/css/token-expired-popup.css');


body {
   background-image: url('/resourses/images/bg_slots_desktop.png');
   background-size: cover;
}
#container {
   height: 100%;
   position: static;
   display: block;
}

.navbar {
   justify-content: space-between;
   z-index: 3;
   background-color: transparent;
}
.settins-coincounter {
   display: flex;
   gap: 16px;
}
.navbar .close-popup-btn {
   position: static;
   padding: 6px;
}
.navbar .close-btn-wrapper {
   position: static;
}
.money-block {
   width: auto;
}


.content {
   width: 100%!important;
   height: 100%;
   margin-top: 0;
   /* padding-top: 67px; */
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   position: relative;
}

.scene-container {
   position: absolute;
   left: 0;
   top: 0;
}

/***upper block***/

.upper-block {
   position: absolute;
   display: flex;
   justify-content: center;
   top: 0;
   left: 0;
   width: 100%;
   padding-top: 91px;
   z-index: 2;
}
.upper-block-wrapper {
   width: 600px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.upper-block  .close-btn-wrapper {
   position: static;
}
.close-popup {
}
.close-popup-btn {
}
.loading-popup {
   width: 100%;
   left: 0;
}
.loading-content {
   max-width: 292px;
}
/***lower block***/

.lower-block {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   display: flex;
   justify-content: center;
   z-index: 2;
}

.lower-block-container {
   padding: 24px 24px 40px!important;
   max-width: 600px!important;
   width: auto;
   height: auto;
   margin: 0 auto;
   justify-content: center!important;
   gap: 24px!important;
}
.bet-btns-container {
   display: flex;
   flex-direction: column;
   gap: 24px;
}

.pay-contayner,
.max-contayner {
   width: 99px;
   height: 40px;
   margin-bottom: 0;
}
.pay-contayner button,
.max-contayner button {
   width: 100%;
   height: 100%;
   font-size: 14px;
   font-style: normal;
   font-weight: 700;
   color: var(--white);
}

.bet-res-container {
   max-width: 285px!important;
   width: 285px;
}
.bet-res-container h4 {
   font-size: 24px!important;
}
.win {
   width: 100%;
   padding: 8px 16px;
   border-radius: 100px;
}
.body2 {
}
.bet {
}
.bet-res {
   padding: 8px 16px;
}
#plus-bet , 
#minus-bet  {
   padding: 8px 12px;
}
#minus-bet {
   border-radius: 120px 0 0 120px;
}
#plus-bet {
   border-radius: 0 120px 120px 0;
}
#plus-bet img, 
#minus-bet img {
   width: 24px;
}
.start-container {
   width: 100px;
   height: 100px;
}
.start-container button {
   width: 100%!important;
   height: 100%!important;
   font-size: 28px!important;
   font-style: normal;
   font-weight: 700;
   line-height: 32px;
   color: var(--white);
}
.game-data-block {
   position: absolute;
   bottom: 16px;
   right: 16px;
   display: flex;flex-direction: column;
   gap: 16px;
   z-index: 3;
}
.popup-settings .dark-popup-content {
   width: 368px;
   max-width: 368px;
}
.popup-paytable {
   opacity: 1;
}
#popup-back {
   background-color: var(--buttons-primary-normal);
}
.popup-paytable .dark-popup-content {
   width: 394px;
}
.sure-popup .popup-big-button-wrapper {
   aspect-ratio: 4.225;
}
.sure-popup p {
   margin: 0 auto 24px;
   width: 80%;
}
.popup-settings .is-sound {
   gap: 40px;
}
.popup-settings .is-sound p {
   font-size: 16px;
   font-weight: 600;
   line-height: 18px;
}
.is-sound-item {
   gap: 24px;
}
.popup-settings h4 {
   font-size: 24px;
   font-weight: 500;
   line-height: 24px;
   margin-bottom: 16px;
}
.popup-settings .popup-big-button-wrapper{
   width: 73.75%;
   aspect-ratio: 5.9;
   margin: 0 auto;
}

.paytable-content {
   height: auto;
   padding-bottom: 0;
}

.type-block {
   display: block;
}
.buy-coins-popup .dark-popup-content {
   width: 769px;
   padding: 16px;
}
.type-items-block {
   height: 50vh;
}
.type-items-block {
   margin: 24px 0 0;
   padding: 8px 16px 0;
   border-radius: 5px;
   border: 1px solid var(--blue-shades-50);
   background-color: #1D1E32;
}
.banner-coins {
   border-radius: 11px;
   box-shadow: 0px 12px 18px 3px rgba(1, 2, 26, 0.49);
}
.banner-coins p {
   font-weight: 900;
}
.emoji-popup .dark-popup-content {
   max-height: 425px;
}
.emoji-container {
   display: flex;
   flex-wrap: wrap;
   border-radius: 5px;
   border: 1px solid var(--blue-shades-50);
   background: var(--blue-shades-800);
   padding: 12px;
   height: 338px;
   overflow-y: scroll;
   margin-bottom: 100px;
   scrollbar-width: none;
}
.emoji-container::-webkit-scrollbar{
   width: 0;
}
.emoji-popup-title {
   font-size: 24px;
   font-style: normal;
   font-weight: 500;
   line-height: 24px;
   text-align: center;
   margin-bottom: 16px;
}
.emoji-item {
   width: 33.33%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}
.emoji-label {
   font-size: 14px;
   font-weight: 400;
   line-height: 15px;
   margin-bottom: 18px;
   text-align: center;
}

.top-menu {
   display: flex;
   width: 100%;
   justify-content: space-between;
   position: absolute;
   top: 50px;
   padding: 16px;
}

.autoplay-button {
   width: 44px;
   height: 44px;
   border-radius: 100px;
   background: #323232B2;
   color: var(--white);
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   cursor: pointer;
   overflow: hidden;
   font-size: 12px;
   display: none;
}

/* Білий індикатор-дуга */
.autoplay-spinner {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0;
   width: 44px;
   height: 44px;
   /* прихована за замовчуванням */
   transform-origin: center center;
   pointer-events: none;
}

/* Анімація */
@keyframes rotate {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

.autoplay-button.active {
   display: flex;
}

/* Активний стан */
.autoplay-button.spin .autoplay-spinner {
   opacity: 1;
   animation: rotate 1s linear infinite;
}

.timer-bonus {
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.bonusbet-button {
   display: flex;
   justify-content: center;
   align-items: center;
   background-image: url('/resourses/images/bg_progresbar_bonusbet.png');
   background-size: cover;
   width: 44px;
   height: 44px;
   position: relative;
   display: none;
}

.bonusbet-button img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   width: 44px;
   height: 44px;
   /* прихована за замовчуванням */
   transform-origin: center center;
   pointer-events: none;
}


/***no money popup***/

.no-money-popup {
}

.no-money-popup .dark-popup-content {
   width: 368px;
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
   padding: 0;
}

.no-money-popup-picture {
   height: 154px;
   border-radius: 20px 20px 0 0;
   padding: 40px 25% 0;
   background-color: var(--blue-shades-50);
   background-image: url("/resourses/images/bg_no_money.jpg");
   background-size: cover;
   width: 100%;
}

.no-money-popup-info {
   padding: 24px;
}

.no-money-popup .subtitle1 {
   font-size: 20px;
   font-style: normal;
   font-weight: 700;
   line-height: 22px;
   padding: 0 0 8px;
   text-align: center;
}

.no-money-popup-text {
   font-size: 16px;
   font-style: normal;
   font-weight: 400;
   line-height: 21px;
   text-align: center;
   padding-bottom: 24px;
}

.no-money-popup-info.popup-big-button-wrapper {
   width: 236px;
}

.result-type-image {
   width: 30%;
   margin-top: -8%;
   margin-bottom: -8%;
}

@media (max-width:1024px) {
   .result-type-image {
      width: 80%;
      margin-top: -25%;
      margin-bottom: -25%;
   }
}