@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Thin'), local('Montserrat-Thin'),
    url('../fonts/Montserrat-Thin.woff2') format('woff2'),
    url('../fonts/Montserrat-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat ExtraLight'), local('Montserrat-ExtraLight'),
    url('../fonts/Montserrat-ExtraLight.woff2') format('woff2'),
    url('../fonts/Montserrat-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Light'), local('Montserrat-Light'),
    url('../fonts/Montserrat-Light.woff2') format('woff2'),
    url('../fonts/Montserrat-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Regular'), local('Montserrat-Regular'),
    url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Medium'), local('Montserrat-Medium'),
    url('../fonts/Montserrat-Medium.woff2') format('woff2'),
    url('../fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
    url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
    url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Bold'), local('Montserrat-Bold'),
    url('../fonts/Montserrat-Bold.woff2') format('woff2'),
    url('../fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'),
    url('../fonts/Montserrat-ExtraBold.woff2') format('woff2'),
    url('../fonts/Montserrat-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: 
    local('Montserrat Black'), local('Montserrat-Black'),
    url('../fonts/Montserrat-Black.woff2') format('woff2'),
    url('../fonts/Montserrat-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}
a {
  text-decoration: none;
  color: inherit;
}

a:hover, a:active, a:focus {
  text-decoration: none;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #042104;
  overflow-x: hidden;
  margin: 0;
  line-height: 1.5;
}

html {
  font-size: .5208333333vw;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.heroes {
  display: none;
}

.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 6;
  background-color: #042104;
}

.wrapper {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  min-height: 108em;
  padding-top: 2.4rem;
  background: url('../img/bg.webp') 50% 0 no-repeat;
  background-size: 192em 108em;
}


[class^="coin"], [class*=" coin"] {
  pointer-events: none;
  position: absolute;
  animation: coin-float 5s ease-in-out .5s infinite;
}

.coin1 { width: 3.8rem; left: 93rem; top: 95rem; }
.coin2 { width: 7rem; left: 45rem; top: 8rem; }
.coin3 { width: 19.4rem; left: 157rem; top: 10rem; }
.coin4 { width: 11.1rem; left: 23rem; top: 22rem; }
.coin5 { width: 9.2rem; left: 169rem; top: 59rem; }
.coin6 { width: 15.2rem; left: 138rem; top: 91rem; }
.coin7 { width: 30.6rem; left: 11rem; top: 68rem; }

.copy {
  position: absolute;
  z-index: 5;
  width: 100%;
  text-align: center;
  top: 103rem;
  left: 0;
  color: #9cff04;
  font-size: 1.6em
}

.container {
  max-width: 134rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.logo {
  z-index: 11;
  display: block;
  max-width: 23.8rem;
  margin: 0 auto 1.6rem;
}

.logo__img {
  width: 100%;
  height: auto;
}





.heading {
  text-align: center;
  margin-bottom: 7rem;
}

.heading__line {
  display: block;
  color: #fff;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.heading__line--accent {
  display: block;
  color: #7bd008;
}


/* Колесо */
.wheel {
  position: relative;
  width: 56em;
  height: 56em;
  margin: 0 auto;
  padding-top: 3.7rem;
}

.wheel-img-part {
  position: absolute;
  pointer-events: none;
  background-size: 100% 100%;
}

.wheel-img-part__light {
  background-image: url("../img/wheel-light.png");
  width: 103%;
  height: 103%;
  z-index: 5;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  animation: blink .4s ease-in-out infinite;
}

.wheel-img-part__fire {
  background-image: url("../img/wheel-fire.png");
  width: 140%;
  height: 140%;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wheel-img-part__win {
  background-image: url("../img/wheel-win.png");
  width: 18em;
  height: 24.7em;
  z-index: 4;
  left: 50%;
  top: 3.5rem;
  transform: translateX(-50%);
}

.wheel-img-part__arrow {
  background-image: url("../img/wheel-arrow.png");
  width: 9.9em;
  height: 10.4em;
  z-index: 5;
  left: 50%;
  top: -1.3rem;
  transform: translateX(-50%);
}

.wheel-img-part__border {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.wheel__spinner {
  position: relative;
  z-index: 3;
  margin-left: 4.7rem;
  margin-top: .3rem;
  width: 47.3em;
  height: 47.7em;
  background-image: url('../img/wheel.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.spiner {
  background-image: url('../img/wheel.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.spinner--animated {
  animation: spinner 2s ease-in-out infinite;
}

.spinner--win {
  animation: spinTo1 3s ease-in-out forwards;
}

.spinner--win2 {
  animation: spinTo2 3s ease-in-out forwards;
}


.spiner__text {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4.5rem 0;
  box-sizing: border-box;
  transform: rotate(0deg);
}

.spiner__text--money {
  padding: 4rem 0;
  transform: rotate(90deg);
}

.spiner__bonus {
  max-width: 11rem;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  font-size: 3.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.spiner__bonus--mirror {
  transform: rotate(180deg);
}




.wheel__button {
  border: none;
  position: absolute;
  inset: 0;
  display: flex;
  margin: auto;
  z-index: 5;
  width: 13.1rem;
  height: 13.1rem;
  align-items: center;
  justify-content: center;
  background-image: url('../img/wheel-btn.png');
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: pulse 1.5s ease-in-out infinite;
  transition: all .2s ease;
  cursor: pointer;
}

.wheel__button-text {
  text-align: center;
  font-weight: 800;
  line-height: 1.1;
  font-size: 1.9rem;
  text-transform: uppercase;
  background: linear-gradient(0deg, #300200 -7.14%, #960600 68.57%);
  background-clip: text;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: #fdf406;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0)
}

.wheel__button:hover {
  filter: drop-shadow(0 0 2rem tomato);
}

.wheel__button:disabled {
  pointer-events: none;
}


.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(4, 32, 5, .9);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease-in-out;
}

.popup__coin {
  pointer-events: none;
  position: absolute;
}
.popup__coin1 { left: 9rem; top: -2rem; width: 17.1rem; }
.popup__coin2 { left: 66.7rem; top: 34rem; width: 9rem; }
.popup__coin3 { left: 12rem; top: 38rem; width: 9.1rem; }
.popup__coin4 { left: 67rem; top: 2rem; width: 16.7rem; }
.popup__coin5 { width: 5.7rem; left: 46rem; top: -1rem; }
.popup__coin6 { left: 6rem; top: 29rem; width: 4.2rem; }
.popup__coin7 { width: 2.1rem; left: 91rem; top: 5rem; }
.popup__coin8 { width: 2.6rem; right: 38rem; top: -3rem; }


.popup__bg {
  width: 100%;
  height: 100%;
}

.popup__inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 24rem;
  width: 94.2em;
  min-height: 48.3rem;
}

.popup__window {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 12rem;
  width: 100%;
  display: none;
  z-index: 2;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.popup__title {
  color: #fff;
  font-size: 4.8rem;
  max-width: 68rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin-block-end: 15px;
}

.popup__subtitle {
  font-family: 'Montserrat';
  max-width: 68rem;
  line-height: 1.2;
  font-size: 7.2rem;
  font-weight: 800;
  background: linear-gradient(184deg, #ffe300 -9.14%, #ff0101 137.93%);
  text-transform: uppercase;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  -webkit-text-stroke-width: 2.5px;
  -webkit-text-stroke-color: #fff;
}

.popup__button {
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  border: .4rem solid #529300;
  background: linear-gradient(0deg, #529300 0%, #9dd400 100%);
  box-shadow: 0px 0px 3rem 0px #a4dd06;
  width: 24.7rem;
  height: 6.8rem;
  color: #fff;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  border-radius: 4rem;
  line-height: 2.4rem;
  text-transform: uppercase;
  transition: all .2s ease;
  margin-top: 3.2rem;
  overflow: hidden;
  cursor: pointer;
}

.popup__button--binom {
  font-size: 1.8rem;
}



.popup__button::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f90;
  opacity: 0;
  border: .4rem solid #ffa149;
  box-shadow: 0px 0px 3rem 0px #f90;
  transition: all .2s ease;
}

.popup__button:hover {
  border: .4rem solid #ffa149;
  box-shadow: 0px 0px 3rem 0px #f90;
  color: #fff
}

.popup__button:hover::before {
  opacity: 1;
}

.popup__button::after {
  content: "";
  display: block;
  width: 3rem;
  height: 30rem;
  margin-left: 6rem;
  background: #fff;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b3ffffff", endColorstr="#b3ffffff", GradientType=0);
  position: absolute;
  left: -4rem;
  top: -15rem;
  z-index: 1;
  transform: rotate(45deg);
  transition: all .1s;
  animation-name: slideme;
  animation-duration: 3s;
  animation-delay: .05s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite
}

.popup__button span {
  z-index: 2;
}

.popup__show {
  opacity: 1;
  pointer-events: all;
}

.game {
  transition: all .2s ease;
}





/* 
@media(max-width: 1040px) {
  html {
    font-size: 1.1904761905vw;
  }
} */

@media(max-width: 620px) {
  html {
    font-size: 1.8181818182vw;
  }
  .popup__subtitle>span::before {
    text-shadow: 0px 1rem .3rem #000;
  }
  .popup__subtitle {
    max-width: 54rem;
    line-height: 1;
  }
  .coin1,
  .coin2,
  .coin3,
  .coin4,
  .coin5,
  .coin6,
  .coin7 {
    display: none;
  }
  .popup__fs>span::after {
    -webkit-text-stroke: .7rem #fff;
  }
  .heroes {
    display: block;
    position: absolute;
    pointer-events: none;
    left: 0;
    bottom: 0;
    width: 55em;
    z-index: 4;
  }
  .wheel__stand {
      top: 24rem
  }
  .heading__line {
    font-size: 3.4rem
  }
  .popup__bg {
      width: 100%
  }
  .wheel__button-text {
      font-size: 1.8rem
  }
  .lights {
      display: none
  }
  .wheel .wheel__bonus div {
      font-size: 2.3rem
  }
  .game {
      position: relative;
      z-index: 1
  }
  .title__main_upper>span {
      font-size: 4.5rem
  }

  .wheel .wheel__text {
    padding: 5rem 0;
  }
  .copy {
      top: unset;
      bottom: 3em
  }
  .wheel__spinner {
    margin-left: 4.3rem;
    margin-top: 0;
  }
  .bonuses__page {
      top: 36rem
  }
  .title__main {
      font-size: 5.8rem
  }
  .title__additional {
      font-size: 2.8rem
  }
  .lang_switcher_outer {
      top: 0;
      left: 90%
  }
  .lang_switcher_outer .lang_switcher .curr_lang {
      width: 2rem;
      padding-top: .4rem
  }
  .lang_switcher_outer i {
      right: -1em
  }
  .lang_switcher_outer p {
      display: none
  }
  .lang_list {
      width: 100%
  }

  .lang_list li {
      padding-left: 1.3em
  }

  .popup__fs>span {
    font-size: 6.2rem;
    line-height: 6.3rem;
  }
  .popup__fs {
    width: 90%;
    margin: 0 auto;
  }
  .wrapper {
    padding-top: 3rem;
    height: 125em;
    min-height: auto;
    background: url('../img/bg-mob.webp') 50% 0 no-repeat;
    background-size: 55em auto;
  }

  .popup__title {
    font-size: 3.9rem;
    max-width: 53rem;
    margin-block-end: 10px;
  }
  .popup__window {
    top: 6rem
  }
  .popup__btn {
    width: 30.7rem;
    height: 7.5rem;
    margin-top: 2.2rem
  }
  .popup__subtitle>span {
    font-size: 6.2rem;
    line-height: 6.3rem
  }
  .popup__coin1 {
    left: 4rem;
    top: -6rem
  }
  .popup__coin5 {
    left: 37rem;
    top: -2rem
  }
  .popup__coin2 {
    left: 55.7rem;
    top: 29rem
  }
  .popup__coin8 {
    right: 32rem;
    top: -5rem
  }
  .popup__coin3 {
    left: 14rem;
    top: 32rem
  }
  .popup__coin4 {
    left: 56rem;
    top: -2rem
  }
  .popup__inner {
    width: 140%;
  }
  .popup__subtitle {
    flex-direction: column
  }
  .title__main_upper>div>span {
    font-size: 4.5rem;
    line-height: 5.6rem
  }
  .wheel {
    font-size: 90%
  }
  .popup {
    font-size: 95%
  }
}

.hide {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.05)
  }
  100% {
    transform: scale(1)
  }
}

@keyframes slideme {
  0% {
    left: -30px;
    margin-left: 0px
  }
  30% {
    left: 110%;
    margin-left: 80px
  }
  100% {
    left: 110%;
    margin-left: 80px
  }
}

@keyframes coin-scale1 {
  0% {
    transform: translateY(0rem) scale(1)
  }
  50% {
    transform: translateY(-1rem) scale(0.9)
  }
  100% {
    transform: translateY(0rem) scale(1)
  }
}

@keyframes coin-scale2 {
  0% {
    transform: translateY(0rem) scale(1)
  }
  50% {
    transform: translateY(1rem) scale(1.1)
  }
  100% {
    transform: translateY(0rem) scale(1)
  }
}

@keyframes coin-scale3 {
  0% {
    transform: translateY(0rem) scale(1) rotate(-15deg)
  }
  50% {
    transform: translateY(1rem) scale(1.1) rotate(-15deg)
  }
  100% {
    transform: translateY(0rem) scale(1) rotate(-15deg)
  }
}

@keyframes coin-scale4 {
  0% {
    transform: translateX(0rem) scale(1)
  }
  50% {
    transform: translateX(1rem) scale(0.9)
  }
  100% {
    transform: translateX(0rem) scale(1)
  }
}

@keyframes coin-scale5 {
  0% {
    transform: translateY(0rem) scaleX(-1) rotate(18deg)
  }
  50% {
    transform: translateY(-1.5rem) scaleX(-1) rotate(18deg)
  }
  100% {
    transform: translateY(0rem) scaleX(-1) rotate(18deg)
  }
}

@keyframes blick {
  0%,
  100% {
    opacity: 1
  }
  50% {
    opacity: 0
  }
}

@keyframes spinner {
  0% {
      transform: rotate(-40deg)
  }
  50% {
      transform: rotate(-30deg)
  }
  100% {
      transform: rotate(-40deg)
  }
}

@keyframes spinTo1 {
  0% {
      transform: rotate(-40deg)
  }
  70% {
      transform: rotate(903deg)
  }
  80% {
      transform: rotate(894deg)
  }
  100% {
      transform: rotate(899deg)
  }
}

@keyframes spinTo2 {
  0% {
      transform: rotate(-40deg)
  }
  70% {
      transform: rotate(815deg)
  }
  80% {
      transform: rotate(805deg)
  }
  100% {
      transform: rotate(810deg)
  }
}