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

}

body {
  background: #f5ebdc;
}

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

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

}

.header__logo {
  position: relative;
  width: 100%;
  max-width: 250px;
}

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 .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 .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%;
}

.xdsoft_datetimepicker.xdsoft_noselect.xdsoft_ {
  -webkit-text-size-adjust: 100%;
  --wp--preset--font-size--normal: 16px;
  --wp--preset--font-size--huge: 42px;
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4/3;
  --wp--preset--aspect-ratio--3-4: 3/4;
  --wp--preset--aspect-ratio--3-2: 3/2;
  --wp--preset--aspect-ratio--2-3: 2/3;
  --wp--preset--aspect-ratio--16-9: 16/9;
  --wp--preset--aspect-ratio--9-16: 9/16;
  --wp--preset--color--black: #000000;
  --wp--preset--color--cyan-bluish-gray: #abb8c3;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--pale-pink: #f78da7;
  --wp--preset--color--vivid-red: #cf2e2e;
  --wp--preset--color--luminous-vivid-orange: #ff6900;
  --wp--preset--color--luminous-vivid-amber: #fcb900;
  --wp--preset--color--light-green-cyan: #7bdcb5;
  --wp--preset--color--vivid-green-cyan: #00d084;
  --wp--preset--color--pale-cyan-blue: #8ed1fc;
  --wp--preset--color--vivid-cyan-blue: #0693e3;
  --wp--preset--color--vivid-purple: #9b51e0;
  --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);
  --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);
  --wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);
  --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);
  --wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
  --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);
  --wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);
  --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);
  --wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);
  --wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);
  --wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);
  --wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 36px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
  --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);
  --wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);
  font-weight: 400;
  text-align: left;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 18px;
  line-height: 1.2;
  box-shadow: 0 5px 15px -5px rgba(0,0,0,0.506);
  background: #fff;
  border-bottom: 1px solid #bbb;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  color: #333;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  padding: 8px;
  padding-left: 0;
  padding-top: 2px;
  z-index: 9999;
  box-sizing: border-box;
  user-select: none;
  display: none;
  position: absolute;
  left: 496px;
  top: 978.594px;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-button {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  width: 120px;
  text-align: center;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  width: 120px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-content div {
  padding: 8px;
  text-align: center;
  cursor: pointer;
}
.dropdown-content div:hover {
  background-color: #007bff;
  color: white;
}

@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;
    padding-top: 3.5vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .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{
    min-height: auto;
    background: url(../img/mob/bg.png);
    background-size: 100% 90%;
    background-position: bottom;
    background-repeat: no-repeat;
    padding-bottom: 60px;
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .main__wheel{
    max-width: 351px;
    margin-top: 20px;
    margin-bottom: 40px;
    transform: scale(0.9);
  }
  .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: 180px;
}
.header{
  margin-bottom: 50px;
}
.pop__plastO {
  position: absolute;
  top: -7%;
  right: -5%;
  max-width: 70px;
}
.pop__plastF {
  position: absolute;
  bottom: -7%;
  left: -5%;
  max-width: 70px;
}
.pop__gift{
  max-width: 230px;
  width: 100%;
  z-index: 0;
}
.main__button{
  font-size: 20px;
  padding: 10px 32px;
}
.main__title {
  font-size: 36px;
  margin-bottom: 8px;
}
.main__subt {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 15px;
  padding: 0 20px;
}
}

/* Дополнительные медиа-запросы для очень маленьких экранов */
@media(max-width: 480px){
  .main__wheel{
    max-width: 300px;
    transform: scale(0.8);
    margin-top: 15px;
    margin-bottom: 30px;
  }
  .wheel {
    max-width: 240px;
  }
  .main__title {
    font-size: 32px;
  }
  .main__subt {
    font-size: 13px;
    padding: 0 15px;
  }
  .main__button{
    font-size: 18px;
    padding: 8px 24px;
  }
}

@media(max-width: 360px){
  .main__wheel{
    max-width: 280px;
    transform: scale(0.75);
  }
  .wheel {
    max-width: 220px;
  }
  .main__title {
    font-size: 28px;
  }
  .main__subt {
    font-size: 12px;
    padding: 0 10px;
  }
  .main__button{
    font-size: 16px;
    padding: 6px 20px;
  }
}

@media(max-height:740px) and (max-width:400px){
main{
  height: auto;
  min-height: 100vh;
}
.main__wheel{
  margin-top: 10px;
  margin-bottom: 20px;
}
}