@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700;900&display=swap');

body {
  display: block;
  position: relative;
  text-align: center;
  word-break: break-word;
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  background-image: url(../img/main.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}

.content {
  max-width: 1310px;
  width: 100%;
  margin: auto;
  padding: 0 10px;
}

.header {
  padding: 32px;
}

.header__logo {
  max-width: 240px;
}

.main {
  position: relative;
  padding-bottom: 240px;
}

.wheel {
  overflow: hidden;
  position: relative;
}

.general-title {
  margin: 14px auto;
}

.wheel__content {
  display: inline-block;
  position: relative;
  padding: 0 32px 32px;
}

.wheel__shadow {
  position: absolute;
  top: -85px;
  left: 0;
}

.wheel__wrap {
  max-width: 595px;
  margin: 34px auto 0;
  position: relative;
  z-index: 1;
}

.wheel__wrap::after {
  content: '';
  position: absolute;
  width: calc(100% + 36px + 36px);
  height: calc(100% + 36px + 36px);
  bottom: -36px;
  left: -36px;
  background: url('../img/wheel-shadow.png') no-repeat center center / contain;
}

.wheel__image {
  position: relative;
  z-index: 1;
  -webkit-animation: wheel-idle 90s linear infinite forwards;
  animation: wheel-idle 90s linear infinite forwards;
}

.wheel__stopper {
  position: absolute;
  z-index: 10;
  top: -36px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: auto;
  max-width: 68px;
}

.wheel__button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.wheel__button:hover,
.wheel__button:focus {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

@-webkit-keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.wheel__image.first-spin {
  -webkit-animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__image.second-spin {
  -webkit-animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__image.last-spin {
  -webkit-animation: wheel-spin3 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin3 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

@-webkit-keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(1688deg);
    transform: rotate(1688deg);
  }
}

@keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(1688deg);
    transform: rotate(1688deg);
  }
}

.wheel__button {
  position: absolute;
  top: calc(50% - 180px / 2);
  right: calc(50% - 180px / 2);
  margin: auto;
  min-width: 180px;
  min-height: 180px;
  background: url('../img/wheel-button-background.png') no-repeat center center /
    contain;
  border-radius: 50%;
  z-index: 1;
  -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 1),
    0px 0px 25px 0px rgba(250, 0, 50, 1);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 1),
    0px 0px 25px 0px rgba(250, 0, 50, 1);
  -webkit-animation: button-glow 2s ease-in-out infinite forwards;
  animation: button-glow 2s ease-in-out infinite forwards;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.wheel__button:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@-webkit-keyframes button-glow {
  0% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
  50% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 50px 25px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 50px 25px rgba(250, 0, 50, 1);
  }
  100% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
}

@keyframes button-glow {
  0% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
  50% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 50px 25px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 50px 25px rgba(250, 0, 50, 1);
  }
  100% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
}

/* FOOTER  */
.footer {
  padding: 32px 28px;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  text-align: center;
}

.footer > div {
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
}

.footer > div + div {
  margin-top: 12px;
}

.footer__payment {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer__payment span {
  margin: 2px 3px;
}

.footer__copy {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* POPUP */
.popup {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  overflow: auto;
}

.popup.active {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.popup__content {
  padding: 160px 130px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1140px;
  min-height: 710px;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

.popup__content::after {
  content: '';
  position: absolute;
  width: 1140px;
  height: 710px;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-image: url(../img/popup-background.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -10;
}

.popup__text {
  margin-bottom: 12px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  background: -o-linear-gradient(73.02deg, #d9d9d9 19.83%, #ffffff 90.78%);
  background: linear-gradient(16.98deg, #d9d9d9 19.83%, #ffffff 90.78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.popup__text.small-text {
  font-size: 36px;
  line-height: 1.2;
  background: -o-linear-gradient(73.02deg, #959595 19.83%, #959595 90.78%);
  background: linear-gradient(16.98deg, #959595 19.83%, #959595 90.78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.popup__text.contrast-text {
  background: -o-linear-gradient(73.02deg, #01a87f 19.83%, #01a87f 90.78%);
  background: linear-gradient(16.98deg, #01a87f 19.83%, #01a87f 90.78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.popup__button {
  margin-top: 30px;
  padding: 19px 25px;
  position: relative;
  width: 100%;
  max-width: 320px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #ffffff;
  background: #fe6b01;
  border-radius: 26px;
  border-bottom: 4.5px solid #933d00;
}

.popup__button:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.main__audio {
  width: 0;
  opacity: 0;
  position: absolute;
  z-index: -100;
}
