@font-face {
  font-family: PureKid;
  src: url("../../../font/PureKid-Bold.ttf");
}

html {
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

html::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: PureKid;
  font-size: 0;
  width: 100vw;
  background: black;
  position: relative;
}
.root {
  width: 100vw;
  display: none;
}
header,
section {
  width: 100%;
}

img {
  margin-bottom: -1px;
  width: 100%;
}

header {
  position: relative;
  height: auto;
  z-index: 0;
}

section {
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  transform: translateY(150%);
  transition: all 0.2s ease-out;
}

footer.visible {
  transform: translateY(0);
}

footer > img:nth-child(2) {
  position: absolute;
  width: 46%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vip {
  position: absolute;
  width: 100vw;
  height: 133vw;
  left: 0;
  top: 0;
}
.vip_container {
  position: relative;
  width: 100vw;
  height: 132.5vw;
  overflow: hidden;
  margin-bottom: -1px;
}
[class^="vip_receive_button"] {
  display: block;
  width: 48.8%;
  height: 11.6%;
  margin: 114% auto;
  transform-origin: center;
  animation: hit 0.4s infinite alternate;
}
.vip_receive_button_bottom {
  margin: 0 auto 4%;
}

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

  100% {
    transform: scale(1.3);
  }

  /* to {
    transform: scale(0.9);
  } */
}

.vip_popup_container,
.receive_popup_visible,
.no_condition_popup {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}
.visible {
  visibility: visible;
}
.mask {
  width: 100%;
  height: 120vh;
  background: #000;
  opacity: 0.6;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}
.vip_content,
.no_condition_content {
  width: auto;
  width: 77vw;
  position: relative;
  z-index: 20;
}
.vip_content > img:nth-child(1),
.no_condition_content > img:nth-child(1) {
  position: relative;
  width: 100%;
}
.vip_content > img:nth-child(2) {
  position: absolute;
  width: 52.8%;
  bottom: 2.3%;
  left: 50%;
  transform: translateX(-50%);
}
.no_condition_content > img:nth-child(2) {
  position: absolute;
  width: 58%;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.vip_popup_container > img,
.receive_popup_visible > img,
.no_condition_popup > img:last-child {
  z-index: 30;
  margin-top: 2%;
  width: 13.3vw;
}
.receive_box {
  box-sizing: border-box;
  width: 88vw;
  height: 101.6vw;
  background: white;
  position: relative;
  z-index: 10;
  border-radius: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 17vw 0 10.7vw 0;
}

input {
  border: none;
  outline: none;
  font-size: 4.6vw;
}
.receive_box .input {
  height: 10.6vw;
  width: 68vw;
  position: relative;
  display: flex;
  align-items: end;
}
.input:nth-child(2) {
  margin-bottom: -5.3vw;
}
.input:nth-child(3) {
  position: relative;
}

.input::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #d8d8d8;
  position: absolute;
  left: 0;
  bottom: -1vw;
}
input::placeholder {
  font-family: PureKid;
  font-size: 3.7vw;
  line-height: 5.3vw;
  font-weight: 400;
  text-align: left;
  color: #999999;
  text-indent: 1vw;
}
.get_verify_code_button {
  width: 24vw;
  height: 10.7vw;
  border-radius: 5.3vw;
  line-height: 10.7vw;
  text-align: center;
  font-size: 3.2vw;
  font-weight: 400;
  position: absolute;
  right: 0;
  bottom: 0;
  background: #f7811f;
  color: #ffffff;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}
.receive_box .receive_now {
  width: 68vw;
  height: 16vw;
  border-radius: 8vw;
  font-family: PureKid;
  font-size: 5.3vw;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1.6px;
  background: #f7811f;
  color: #ffffff;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}
.receive_box .title {
  font-size: 7.2vw;
  font-weight: 700;
  line-height: 6.7vw;
  letter-spacing: 0.3px;
  text-align: center;
}
.receive_box .disable {
  background: #d4d4d4;
}

.toast_box {
  position: fixed;
  bottom: 60%;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.toast_box.show {
  opacity: 1;
}

.toast_box p {
  box-sizing: border-box;
  padding: 5.3vw 8.6vw;
  width: max-content;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 5.3vw;
  text-align: center;
  border-radius: 30px;
  opacity: 0.8;
}
.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  width: 10vw;
  height: 10vw;
  border: 1vw solid #40bffe;
  border-top-color: rgba(64, 191, 254, 0.2);
  border-right-color: rgba(64, 191, 254, 0.2);
  border-bottom-color: rgba(64, 191, 254, 0.2);
  border-radius: 100%;
  animation: circle infinite 0.75s linear;
}
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: absolute;
  width: 89vw;
  height: 79.4vw;
  background-image: url("../../../img/promotion/downloadBg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.close {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 6%;
  background: linear-gradient(180deg, #85b4fb 0%, #8c96eb 100%);
  border-radius: 30px;
  padding: 1.3vw 3vw;
  font-size: 4vw;
  color: #fff;
}

@media screen and (min-aspect-ratio: 1/1) {
  .vip_content,
  .no_condition_content {
    width: 60.83vh;
  }
  .vip_popup_container > img,
  .receive_popup_visible > img,
  .no_condition_popup > img:last-child {
    width: 10.5vh;
  }
  .receive_box {
    width: 69.3vh;
    height: 80vh;
    padding: 13.44vh 0 8.4vh 0;
  }
  input {
    font-size: 5.67vh;
    width: 100%;
  }
  .receive_box .title {
    font-size: 5.7vh;
    line-height: 5.25vh;
    letter-spacing: 0.3px;
  }
  .input:nth-child(2) {
    margin-bottom: -4.1vh;
  }
  .receive_box .input {
    height: 8.3vh;
    width: 53vh;
  }
  .receive_box .receive_now {
    width: 53.7vh;
    height: 12.64vh;
    border-radius: 6.32vh;
    font-size: 4.2vh;
  }
  input::placeholder {
    font-size: 2.9vh;
    line-height: 4.2vh;
    text-indent: 1vh;
  }
  .get_verify_code_button {
    width: 19vh;
    height: 8.5vh;
    border-radius: 4.2vh;
    line-height: 8.5vh;
    font-size: 2.5vh;
  }

  .toast_box p {
    padding: 4.1vh 6.8vh;
    font-size: 4.1vh;
    border-radius: 3vh;
  }
  .loading {
    width: 10vh;
    height: 10vh;
  }
  .modal-content {
    width: 70.3vh;
    height: 62.7vh;
  }
  .close {
    border-radius: 23.7vh;
    padding: 1.1vh 2.6vh;
    font-size: 3.16vh;
  }
}

@keyframes circle {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
