* {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  min-height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  min-height: 100%;
  position: relative;
  font-family: "Kantumruy Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  overflow-x: hidden;
  --bg-pos-x: 50%;
  --bg-pos-y: 50%;
}

body::before {
  content: "";
  position: fixed;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  width: 110%;
  height: 110%;
  background-image: url("../img/bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--bg-pos-x) var(--bg-pos-y);
  z-index: -1;
}

@media (max-width: 600px) {
  body::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 0 0;
    background-image: url("../img/bg_mob.webp");
  }
}
.text_wrapper {
  display: inline-block;
  position: relative;
}
.text_wrapper::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  z-index: 0;

  color: transparent;
  -webkit-background-clip: text;
  background: linear-gradient(
    180deg,
    #ffff52 13.12%,
    #e3b200 37.7%,
    #ffff52 72.11%,
    #e3b200 87.49%
  );
  -webkit-text-stroke: 8px transparent;
  background-clip: text;
}
.text {
  padding: 5px;
  background: linear-gradient(
    180deg,
    #ed4141 10.34%,
    #810404 41.41%,
    #ca0101 77.16%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.button {
  display: flex;
  padding: 10px 16px;
  justify-content: center;
  align-items: center;

  border-radius: 99px;
  border: 6px solid #facc53;
  background: linear-gradient(90deg, #d42566 0%, #9d040f 100%);

  font-size: 35.143px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 560px) {
  .button {
    font-size: 25.048px;
  }
}

.btn_text_wrapper {
  display: inline-block;
  position: relative;
}

.btn_text_wrapper::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 5px;
  z-index: 0;
  -webkit-background-clip: text;
  -webkit-text-stroke: 6px #752100;
  background-clip: text;
}
.btn_text {
  padding: 0 5px;
  background: linear-gradient(90deg, #faeaaf 0%, #eec269 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1205px;
  height: 100%;
  margin: 0 auto;
  padding-bottom: 130px;
  position: relative;
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }
}

.header {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  padding-top: 40px;
}

@media (max-width: 870px) {
  .header {
    flex-direction: column;
    margin-bottom: 22px;
    padding-top: 35px;
  }
}

.title {
  align-self: flex-end;
  width: 100%;
  max-width: 503px;
  font-size: clamp(35px, 9vw, 64px);
  line-height: 125%;
  padding: 0 0 5px;
}

@media (max-width: 870px) {
  .title {
    align-self: center;
    margin-right: 0;
    text-align: center;
    line-height: 100%;
  }
}

.logo {
  width: clamp(195px, 50vw, 350px);
  height: auto;

  position: relative;
  left: -10px;
}

.logo img {
  width: 100%;
}
@media (max-width: 870px) {
  .logo {
    align-self: center;
    left: 0;
  }
}
.section_wheel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 837px;
  margin-bottom: 56px;
  position: relative;
}

@media (max-width: 560px) {
  .section_wheel {
    margin-bottom: 61px;
  }
}

.wheel_title {
  width: 100%;
  max-width: 299px;
  padding: 12px;

  position: relative;
  border-radius: 20.591px;
  border: 0.794px solid #9b74ff;
  color: #fdde6a;
  font-size: 18px;
  font-style: italic;
  z-index: 1;

  img {
    position: absolute;
    left: -1px;
    top: -1px;
    width: 101%;
    height: auto;
  }

  p {
    position: relative;
    z-index: 99;
  }
}

.wheel_title_mob_bg {
  display: none;
}

@media (max-width: 870px) {
  .wheel_title {
    max-width: 400px;
    align-self: center;
    margin-bottom: 60px;
    text-align: center;
  }
  .wheel_title_bg {
    display: none;
  }
  .wheel_title_mob_bg {
    display: block;
  }
}

@media (max-width: 560px) {
  .wheel_title {
    margin-bottom: 40px;
    padding: 3px 14px;
    max-width: 244px;
    font-size: 14px;
  }
}

.wheel_wrapper {
  width: 550px;
  height: 550px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 870px) {
  .wheel_wrapper {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 560px) {
  .wheel_wrapper {
    width: 329px;
    height: 329px;
  }
}

.wheel_wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #3c3cff;
  filter: blur(15.54px);
  animation: scale 2s linear infinite;
  z-index: -1;
}
.wheel_wrapper_active::after {
  animation: scale 1s linear infinite;
}

.wheel_arrow {
  background: url("../img/wheel_arrow.svg") 50% no-repeat;
  background-size: 100%;
  width: 13%;
  height: 13%;
  position: absolute;
  left: 50%;
  top: 3%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.wheel_arrow_active {
  animation: upDown 2s linear infinite;
}

.wheel_layout {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../img/wheel.webp") 50% 0 no-repeat;
  background-size: 100%;
}

.wheel_layout_active {
  animation: spinToWin 4s linear;
}

.wheel {
  width: 100%;
  padding-top: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 1;
}
@media (max-width: 560px) {
  .wheel {
    padding-top: 8px;
  }
}

.wheel_lights {
  width: 78%;
  height: 78%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("../img/wheel_lights.svg") 50% 0 no-repeat;
  background-size: 100%;
  z-index: 1;

  animation: pulsar 2s linear infinite;
}

.wheel_lights_active {
  animation: pulsar 0.5s linear infinite;
}

.spin {
  background: url("../img/spin.webp") 50% no-repeat;
  background-size: 100%;
  width: 24%;
  height: 24%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  animation: scale 1s linear infinite;
}

.spin_disable {
  pointer-events: none;
  animation: none;
}

.section_steps {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 811px;
  height: 490px;
  gap: 46px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

@media (max-width: 870px) {
  .section_steps {
    max-width: 600px;
    height: auto;
    margin-bottom: 80px;
  }
}
@media (max-width: 560px) {
  .section_steps {
    max-width: 380px;
    gap: 57px;
    margin-bottom: 80px;
  }
}

.steps {
  display: flex;
  margin-top: 107px;
}

@media (max-width: 870px) {
  .steps {
    flex-direction: column;
    width: 60%;
    margin-top: 50px;
  }
}

@media (max-width: 560px) {
  .steps {
    width: 46%;
    margin-top: 38px;
  }
}

.step {
  display: flex;
}

@media (max-width: 870px) {
  .step {
    flex-direction: column;
    align-items: center;
  }
}

.step_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step_number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 11px;

  color: #fff;
  background: linear-gradient(180deg, #02bcfe 0%, #045bec 100%);
  border-radius: 50%;

  font-size: 55px;
}

@media (max-width: 560px) {
  .step_number {
    width: 50.2px;
    height: 50.2px;
    margin-bottom: 7.7px;

    font-size: 37px;
  }
}

.step_text {
  color: #fdde6a;

  font-size: 20.537px;
  font-style: italic;
}

@media (max-width: 560px) {
  .step_text {
    font-size: 14px;
  }
}

.step_arrow {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto 24px;
}

@media (max-width: 870px) {
  .step_arrow {
    margin: 24px auto;
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .step_arrow {
    width: 16.252px;
    height: 16.252px;
    margin: 16px auto;
  }
}

.phone {
  position: absolute;
  top: -15px;
  right: -100px;
  width: 100%;
  max-width: 470px;
  height: 537px;
}

@media (max-width: 870px) {
  .phone {
    top: 0;
    right: 0;
    left: 74%;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 560px) {
  .phone {
    max-width: 322px;
    height: auto;
    top: 3%;
  }

  .phone img {
    transform: rotate(4deg);
  }
}

.phone img {
  width: 100%;
  height: 100%;
}

.bonus_button {
  width: 381px;
  height: 90px;
  margin-left: 68px;
  animation: scaleWithoutTranslate 1s linear infinite;
}

@media (max-width: 870px) {
  .bonus_button {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .bonus_button {
    width: 268px;
    height: 65px;
  }
}

.section_cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 15px;
  position: relative;
  z-index: 1;
}

@media (max-width: 560px) {
  .section_cards {
    gap: 27px;
  }
}

.cards_title {
  text-align: center;
  font-size: 40px;
  color: #fff;
}

@media (max-width: 560px) {
  .cards_title {
    font-size: 32px;
  }
}

.cards {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
@media (max-width: 870px) {
  .cards {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.card_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 385px;
  min-width: 250px;
  padding: 26px 9px;

  border-radius: 16px;
  border: 6px solid #1e117e;
  background: linear-gradient(180deg, #02bcfe 0%, #045bec 100%);
}

@media (max-width: 560px) {
  .card_item {
    padding: 22.509px 8.255px;
    border-radius: 14.255px;
    border: 5.345px solid #1e117e;
  }
}

.card_image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 59px;
  margin-bottom: 17px;
  position: relative;

  background-color: #fff;
  border-radius: 50%;

  img {
    position: absolute;
  }
}

.card_image_1 {
  width: 100px;
  top: -14px;
  transform: rotate(-26deg);
}

.card_image_2 {
  width: 93px;
  top: -8px;
  transform: rotate(13deg);
}

.card_image_3 {
  width: 82px;
  top: 0px;
  transform: rotate(-4deg);
}

@media (max-width: 560px) {
  .card_image {
    width: 54px;
    height: 54px;
    margin-bottom: 13px;
  }
  .card_image_1 {
    width: 90px;
    top: -12px;
  }

  .card_image_2 {
    width: 85px;
    top: -8px;
  }

  .card_image_3 {
    width: 75px;
    top: 0px;
  }
}

.card_title {
  margin-bottom: 24px;
  font-size: 16px;
  font-style: italic;

  color: #faeaaf;
  background: linear-gradient(90deg, #faeaaf 0%, #eec269 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 560px) {
  .card_title {
    font-size: 14.255px;
  }
}

.card_text {
  text-align: center;
  color: #faeaaf;
  background: linear-gradient(90deg, #faeaaf 0%, #eec269 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 16px;
  font-style: italic;
  line-height: 121%;
}
@media (max-width: 560px) {
  .card_text {
    font-size: 14.255px;
  }
}

.card_text span {
  padding: 0 2px;
  background-color: #d12462;
  border-radius: 6px;
}

.button_play {
  display: none;
}

@media (max-width: 560px) {
  .button_play {
    display: flex;
    width: 236px;
    height: 64px;
    margin-top: 42px;
  }
}

.modal {
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  overflow: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.modal_show {
  visibility: visible;
  opacity: 1;
}

.modal_wrapper {
  display: flex;
  flex-direction: column;
  width: 805px;
  height: 842px;
  margin: 50px auto;
  gap: 42px;
  position: relative;
  background: url("../img/modal_bg.webp") 50% 0 no-repeat;
  background-size: 100%;
}

.modal_title {
  width: 264px;
  height: 148px;
  background: url("../img/modal_title.webp") 50% 0 no-repeat;
  background-size: 100%;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal_btn {
  width: 300px;
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: scale 1s linear infinite;
}

.modal_icon_1 {
  width: 40%;
  position: absolute;
  top: 55%;
  left: -12%;
  transform: rotate(-10deg);
}

.modal_icon_2 {
  width: 37%;
  position: absolute;
  top: 43%;
  right: -10%;
  transform: scale(-1) rotate(-18deg);
}
@media (max-width: 870px) {
  .modal_wrapper {
    width: 650px;
    height: 685px;
  }

  .modal_title {
    width: 230px;
    height: 130px;
  }

  .modal_btn {
    top: 70%;
  }
}

@media (max-width: 700px) {
  .modal_wrapper {
    width: 500px;
    height: 555px;
  }

  .modal_title {
    width: 170px;
    height: 110px;
    top: 47%;
  }

  .modal_btn {
    width: 240px;
    top: 64%;
    font-size: 30px;
  }
}

@media (max-width: 520px) {
  .modal_wrapper {
    width: 350.431px;
    height: 366.538px;
    margin: 150px auto;
  }

  .modal_title {
    width: 135.927px;
    height: 91px;
    top: 54%;
  }

  .modal_btn {
    width: 147.581px;
    height: 37px;
    top: 70%;
    top: 70%;
    font-size: 17.208px;
    border: 2.938px solid #facc53;
  }

  .modal_icon_1 {
    width: 37%;
    left: -8%;
  }
  .modal_icon_2 {
    top: 44%;
  }
}

.icon {
  position: absolute;
}

.icon_1 {
  width: 150.457px;
  opacity: 0.5;
  top: 130px;
  left: 7.5%;
  transform: scaleX(-1);
}
@media (max-width: 1290px) {
  .icon_1 {
    left: -2%;
    top: 180px;
  }
}
@media (max-width: 560px) {
  .icon_1 {
    display: none;
  }
}

.icon_2 {
  width: 17%;
  top: 17%;
  right: 9%;
}

@media (max-width: 870px) {
  .icon_2 {
    width: 20%;
    top: 16%;
    right: 0%;
  }
}
@media (max-width: 560px) {
  .icon_2 {
    opacity: 0.5;
    width: 26.5%;
    top: 12.9%;
    right: -5%;
  }
}

.icon_3 {
  width: 15%;
  bottom: 49.8%;
  left: 8.3%;
  transform: rotate(180deg);
  opacity: 0.5;
}

@media (max-width: 870px) {
  .icon_3 {
    left: 0;
    bottom: 60%;
  }
}

@media (max-width: 560px) {
  .icon_3 {
    width: 24%;
    left: -5%;
    bottom: 68.4%;
  }
}

.icon_4 {
  width: 116px;
  top: 63.3%;
  right: 0;
  opacity: 0.5;
}
@media (max-width: 1100px) {
  .icon_4 {
    display: none;
  }
}

.icon_5 {
  width: 21.5%;
  top: 1387px;
  left: 1.3%;
}

@media (max-width: 870px) {
  .icon_5 {
    top: 960px;
    left: 74%;
  }
}

@media (max-width: 560px) {
  .icon_5 {
    width: 150px;
    top: 648px;
    left: 66%;
    transform: rotate(-14deg);
    opacity: 0.5;
  }
}

@keyframes scale {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.025);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes scaleWithoutTranslate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spinToWin {
  0% {
    transform: rotate(-3deg);
  }
  45% {
    transform: rotate(370deg);
  }
  70% {
    transform: rotate(340deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulsar {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes upDown {
  0% {
    transform: translate(-50%, -55%);
  }
  25% {
    transform: translate(-50%, -70%);
  }
  50% {
    transform: translate(-50%, -60%);
  }
  75% {
    transform: translate(-50%, -70%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

