.wrapper {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

body {
  background: #ffcc00;
}

.header {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 0;
  /*margin-bottom: 66px;*/
  margin-bottom: 0;
}

.header__bg {
  width: 100%;
  /*position: absolute;*/
  top: 0px;
}

.header__logo {
  position: absolute;
  width: 100%;
  max-width: 130px;
  top: 5px;
}

main {
  height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;

  background: url(../img/bg-z.png);
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  overflow: visible;
  background-size: cover;
  background-position: 0 -80px;
}

.main__title {
  text-align: center;
  font-family: "Knewave";
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  color: #d82430;
  margin-bottom: 12px;
}

.main__subt {
  max-width: 410px;

  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 0 10px;
  text-align: center;

  color: #5c2100;
  margin-bottom: 25px;
}

.main__wheel {
  margin-top: 40px;
  max-width: 450px;
  margin-bottom: 80px;
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  transform: scale(1.1);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(1800deg);
  }
}

.wheel {
  position: relative;
  z-index: 1;
  animation-name: none;
  animation-duration: 17s;
  animation-timing-function: cubic-bezier(0.44, -0.205, 0, 1.13);
  max-width: 350px;
}

.main__wheel img {
  width: 100%;
}

.main__btn {
}

@keyframes scale {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.07);
  }
}

.main__button {
  position: relative;
  transition: all 0.3s;
  animation: scale 1s infinite alternate;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 47px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #df381d 0%, #cd030b 100%);
  padding: 20px 32px;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 8px 12px 0px #d51c2b80;
}

.main__button:hover {
  animation: none;
}

.wheel__arrow {
  max-width: 60px;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

.wheel__shadow {
  position: absolute;
  top: 60%;
  width: 600px;
  height: 521px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: radial-gradient(49.95% 50% at 49.94% 50%, #d7222bba 63%, #dc3e46b8 67%, #eb90951e 79%, #f6ccce0f 89%, #fcf1f100 96%, #ffffff00 100%);
  background-blend-mode: multiply;
}

.wheel__larrow {
  position: absolute;
  bottom: -8%;
  max-width: 40px;
  left: 0;
}

.wheel__rarrow {
  position: absolute;
  bottom: -6%;
  right: 0;
  max-width: 40px;
}

.popup-cont {
  background: #00000099;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100dvh;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  padding: 0 15px;
}

.popup {
  padding: 32px 24px;
  max-width: 460px;
  background: #fef538;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.pop__plastO {
  position: absolute;
  top: -15%;
  right: -10%;
}

.pop__plastF {
  position: absolute;
  bottom: -15%;
  left: -10%;
}

.popup-t {
  font-family: "Knewave";
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  color: #5c2100;
}

.popup-descr {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #5c2100;
}

.red-txt {
  color: #df381d;
  font-weight: 600;
}

.popup-btn {
  background: linear-gradient(180deg, #df381d 0%, #cd030b 100%);
  box-shadow: 0px 8px 12px 0px #d51c2b80;
  max-width: 161px;
  padding: 20px 32px;
  border-radius: 12px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  line-height: 19px;
  margin-top: 30px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  transition: all 0.3s;
  position: relative;
}
.popup-btn:hover {
  background: linear-gradient(180deg, #df381d 0%, #9d0005 100%);
}
.pop__gift {
  position: absolute;
  bottom: 0;
  right: 0;
}
.mobile {
  display: none;
}
.wheel__obvod {
  position: absolute;
  top: -8%;
  z-index: 1;
  left: -1%;
}
@media (max-width: 1500px) {
  main {
    height: 100%;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    background: url(../img/bg-z.png);
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    overflow: visible;
    background-size: cover;
    background-position: 0 30px;
  }
}

@media (max-width: 1300px) {
  main {
    height: 100%;
    display: flex;
    min-height: 120vh;
    flex-direction: column;
    align-items: center;
    background: url(../img/bg-z.png);
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    overflow: visible;
    background-size: cover;
    background-position: 0 30px;
  }
}

@media (max-width: 700px) {
  .wrapper {
    height: auto;
  }
  .wheel {
    position: relative;
    z-index: 1;
    animation-name: none;
    animation-duration: 17s;
    animation-timing-function: cubic-bezier(0.44, -0.205, 0, 1.13);
    max-width: 280px;
  }
  .wheel__obvod {
    position: absolute;
    top: -6.5%;
    z-index: 1;
    left: -1%;
  }
  main {
    height: auto;
    min-height: auto;
    background: url(../img/mob/bg.png);
    background-size: 100% 90%;
    background-position: bottom;
    background-repeat: no-repeat;
    padding-bottom: 60px;
  }
  .main__wheel {
    max-width: 351px;
  }
  .wheel__arrow {
    max-width: 46px;
  }
  .wheel__shadow {
    position: absolute;
    top: 55%;
    width: 450px;
    height: 521px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: radial-gradient(49.95% 50% at 49.94% 50%, #d7222bba 63%, #dc3e46b8 67%, #eb90951e 79%, #f6ccce0f 89%, #fcf1f100 96%, #ffffff00 100%);
    background-blend-mode: multiply;
  }
  .desk {
    display: none;
  }
  .mobile {
    display: block;
  }
  .header__logo {
    max-width: 105px;
    top: 5px;
  }
  .header {
  }
  .pop__plastO {
    position: absolute;
    top: -7%;
    right: -5%;
    max-width: 70px;
  }
  .pop__plastF {
    position: absolute;
    bottom: -7%;
    left: -5%;
    max-width: 70px;
  }
  .popup-descr {
    margin-bottom: 20dvh;
  }
  .pop__gift {
    max-width: 230px;
    width: 100%;
    z-index: 0;
  }
  .main__button {
    font-size: 20px;
    padding: 10px 32px;
  }
}
@media (max-height: 740px) and (max-width: 400px) {
  main {
    height: 110vh;
  }
}
