/* init */
body,
div,
main,
p,
input {
  margin: 0;
  padding: 0;
}
/* common */
html {
  font-size: 10vw;
}
h3 {
  font-weight: normal;
}
[v-cloak] {
  display: none;
}
/* variables */
.book-font {
  font-family: 'Avenir Book';
}
.heavy-font {
  font-family: 'Avenir Heavy';
}
@keyframes scale {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1.1);
  }
}
/* app */
.app {
  position: relative;
  font-size: 0;
  background-repeat: repeat-y;
  background-size: contain;
  font-family: 'Avenir Book';
}
.app .lang-link {
  position: absolute;
  top: 0.5333rem;
  left: 50%;
  margin-left: calc(0.4267rem - 50%);
  z-index: 1;
  font-size: 0.3467rem;
  color: #fff;
}
.app .main {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .main-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.7467rem;
  text-align: center;
}
.app .main-btn button,
.app .main-btn .btn-link {
  width: 6.0933rem;
  height: 1.6667rem;
  font-size: 0.72rem;
  color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  font-family: 'Avenir Heavy';
}
.app .main-btn button {
  border: 0;
}
.app .main-btn button:disabled {
  opacity: 0.6;
}
.app .main-btn .btn-link {
  display: inline-block;
  line-height: 1.6667rem;
  text-decoration: none;
}
.app .main-btn img {
  height: 1.6667rem;
}
.app .mac-container {
  position: relative;
}
.app .rule-btn {
  position: absolute;
  top: 0.5333rem;
  left: 50%;
  margin-left: calc(50% - 3.8133rem);
  padding: 0.1333rem 0;
  border: 0;
  width: 3.3867rem;
  font-size: 0.3467rem;
  color: #320047;
  background-color: #bd6de4;
  border-radius: 0.1733rem;
}
.app .mac-product {
  position: absolute;
  top: 7.12rem;
  left: 50%;
  z-index: 1;
  margin-left: -0.8533rem;
  width: 2.1333rem;
  animation: name duration timing-function delay iteration-count direction fill-mode;
  animation: 0.5s linear 0s infinite alternate scale;
}
.app .mac-form {
  padding-top: 12.56rem;
  text-align: center;
}
.app .mac-form-label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.4rem;
  color: #fff;
  font-family: 'Avenir Book';
}
.app .mac-form-input-group {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 0.9867rem 0.32rem;
  padding: 0.08rem 0.4267rem;
  background-color: #fff9dd;
  border-radius: 0.3467rem;
}
.app .mac-form-input {
  flex: 1 1 auto;
}
.app .mac-form-input input {
  border: 0;
  width: 100%;
  text-align: center;
  font-size: 0.64rem;
  background-color: #fff9dd;
  outline: none;
}
.app .mac-form-separator {
  flex: 1 1 auto;
}
.app .mac-form-separator::after {
  content: ':';
  font-size: 0.64rem;
}
.app .mac-form-link {
  font-size: 0.4rem;
  color: #fff;
  text-decoration: underline;
}
.app .mac-form-tip {
  padding: 0.4267rem 0;
  font-size: 0.2133rem;
  color: #fff;
}
.app .great-container {
  padding-top: 8.4rem;
}
.app .great-tip1 {
  margin: 0 0.8rem 0.64rem;
  padding: 0.5333rem 0.8667rem;
  border: 1px solid #fff;
  line-height: 0.5333rem;
  font-size: 0.2933rem;
  color: #fff;
  border-radius: 0.4267rem;
}
.app .great-tip2 {
  margin: 0 1rem;
  line-height: 0.8rem;
  font-size: 0.3733rem;
  color: #fff;
  font-family: 'Avenir Heavy';
}
.app .popup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.85);
}
.app .popup-btn {
  text-align: center;
}
.app .popup-btn button,
.app .popup-btn a {
  width: 6.0933rem;
  height: 1.6667rem;
  font-size: 0.6rem;
  color: #fff;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  font-family: 'Avenir Heavy';
}
.app .popup-btn button {
  border: 0;
}
.app .popup-btn button:disabled {
  opacity: 0.6;
}
.app .popup-btn a {
  display: inline-block;
  line-height: 1.6667rem;
  text-decoration: none;
}
.app .popup-win {
  position: relative;
  width: 8.28rem;
  height: 10.6rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-win .popup-btn {
  position: absolute;
  bottom: 0.7467rem;
  width: 100%;
}
.app .popup-prize {
  position: absolute;
  top: 0.16rem;
  left: -0.72rem;
  width: 9.7733rem;
}
.app .popup-bravo {
  position: absolute;
  top: 4.6rem;
  left: 50%;
  margin-left: -3.4rem;
  width: 6.8rem;
  animation: 0.5s linear 0s infinite alternate scale;
}
.app .popup-form {
  position: relative;
  padding-top: 1.44rem;
  width: 8.28rem;
  height: 9.8933rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-form-group {
  display: flex;
  position: relative;
  margin-bottom: 0.5333rem;
  padding: 0 0.6667rem;
}
.app .popup-form-group label {
  flex: 0 0 auto;
  margin-right: 0.32rem;
  font-size: 0.32rem;
  color: #fff;
  white-space: nowrap;
}
.app .popup-form-input {
  flex: 1 1 auto;
}
.app .popup-form-input + span {
  display: block;
  position: absolute;
  top: 0.4rem;
  left: 0.6667rem;
  font-size: 0.32rem;
  color: #dc3545;
}
.app .popup-form-input input {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #aea7b7;
  outline: none;
  color: #fff;
  font-size: 0.32rem;
}
.app .popup-form-tip {
  margin: 0.5333rem 0 0.72rem;
  padding: 0 0.6667rem;
  text-align: center;
  font-size: 0.32rem;
  color: #fff;
}
.app .popup-continue {
  position: relative;
  width: 8.28rem;
  height: 10.6rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-continue .popup-btn + div {
  margin-top: 0.4rem;
}
.app .popup-continue-tip {
  margin: 0 1.28rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.6667rem;
  color: #fff;
}
.app .popup-close {
  position: absolute;
  bottom: -1.28rem;
  left: 50%;
  display: block;
  margin-left: -0.36rem;
  width: 0.72rem;
  height: 0.72rem;
}
.app .popup-close img {
  width: 100%;
}
.app .popup-fail {
  position: relative;
  width: 8.28rem;
  height: 10.6rem;
  text-align: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-fail-img {
  margin-top: 1.76rem;
  width: 2.9333rem;
}
.app .popup-fail-tip {
  margin: 0.96rem 1.4667rem 1.12rem;
  line-height: 0.6667rem;
  font-size: 0.5333rem;
  color: #fff;
}
.app .popup-rule {
  position: relative;
  width: 8.28rem;
  height: 8.44rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-rule-tip {
  margin: 0.8rem 0.72rem 0;
  line-height: 0.6667rem;
  font-size: 0.3733rem;
  color: #fff;
}
.app .popup-rule-qrcode {
  display: flex;
  align-items: center;
  margin: 0.48rem 0.96rem 0;
}
.app .popup-rule-qrcode img {
  width: 50%;
}
.app .popup-rule-qrcode span {
  display: block;
  padding-left: 0.8rem;
  line-height: 0.5333rem;
  font-size: 0.3733rem;
  color: #fff;
}
.app .popup-video {
  position: relative;
  width: 8.28rem;
  height: 12.1333rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-video-title {
  text-align: center;
  font-size: 0.5333rem;
  color: #fff;
  font-family: 'Avenir Heavy';
}
.app .popup-video-content {
  margin: 0 0.6rem;
  line-height: 0.48rem;
  font-size: 0.32rem;
  color: #fff;
}
.app .popup-video-content span {
  display: block;
  text-align: center;
}
.app .popup-video-content img {
  width: 4.32rem;
}
.app .popup-video-content a {
  color: #fff;
}
.app .popup-unfit {
  position: relative;
  width: 8.28rem;
  height: 8.44rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-unfit-tip {
  margin: 1.6rem 0.8rem 0.96rem;
  text-align: center;
  line-height: 0.64rem;
  font-size: 0.48rem;
  color: #fff;
  font-family: 'Avenir Heavy';
}
.app .popup-played {
  display: flex;
  align-items: center;
  position: relative;
  width: 8.28rem;
  height: 8.44rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.app .popup-played-tip {
  margin: 0 0.72rem;
  text-align: center;
  line-height: 0.72rem;
  font-size: 0.64rem;
  color: #fff;
  font-family: 'Avenir Heavy';
}
[lang="ar"] .app .popup-rule-qrcode span {
  padding-left: 0;
  padding-right: 0.8rem;
}
[lang="ar"] .app .popup-form-group label {
  margin-left: 0.32rem;
  margin-right: auto;
}
[lang="ar"] .app .popup-form-input + span {
  left: auto;
  right: 0.6667rem;
}
@media screen and (min-width: 751px) {
  html {
    font-size: 16px;
  }
  .app {
    margin: 0 auto;
    max-width: 750px;
  }
  .app .lang-link {
    top: 40px;
    margin-left: -343px;
    font-size: 26px;
  }
  .app .main-btn {
    margin-top: 56px;
  }
  .app .main-btn button,
  .app .main-btn .btn-link {
    width: 457px;
    height: 125px;
    font-size: 54px;
  }
  .app .main-btn .btn-link {
    line-height: 125px;
  }
  .app .main-btn img {
    height: 125px;
  }
  .app .rule-btn {
    top: 40px;
    margin-left: 89px;
    padding: 10px 54px;
    width: 254px;
    font-size: 26px;
    border-radius: 13px;
  }
  .app .mac-product {
    top: 534px;
    margin-left: -64px;
    width: 160px;
  }
  .app .mac-form {
    padding-top: 942px;
  }
  .app .mac-form-label {
    margin-bottom: 24px;
    font-size: 30px;
  }
  .app .mac-form-input-group {
    margin: 0 74px 24px;
    padding: 6px 32px;
    border-radius: 26px;
  }
  .app .mac-form-input input {
    font-size: 48px;
  }
  .app .mac-form-separator::after {
    font-size: 48px;
  }
  .app .mac-form-link {
    font-size: 30px;
  }
  .app .mac-form-tip {
    padding: 32px 0;
    font-size: 16px;
  }
  .app .great-container {
    padding-top: 630px;
  }
  .app .great-tip1 {
    margin: 0 60px 48px;
    padding: 40px 65px;
    line-height: 40px;
    font-size: 22px;
    border-radius: 32px;
  }
  .app .great-tip2 {
    margin: 0 75px;
    line-height: 60px;
    font-size: 28px;
  }
  .app .popup-btn button,
  .app .popup-btn a {
    width: 457px;
    height: 125px;
    font-size: 45px;
  }
  .app .popup-btn a {
    line-height: 125px;
  }
  .app .popup-win {
    width: 621px;
    height: 795px;
  }
  .app .popup-win .popup-btn {
    bottom: 56px;
  }
  .app .popup-prize {
    top: 12px;
    left: -54px;
    width: 733px;
  }
  .app .popup-bravo {
    top: 345px;
    margin-left: -255px;
    width: 510px;
  }
  .app .popup-form {
    padding-top: 108px;
    width: 621px;
    height: 742px;
  }
  .app .popup-form-group {
    margin-bottom: 40px;
    padding: 0 50px;
  }
  .app .popup-form-group label {
    margin-right: 24px;
    font-size: 24px;
  }
  .app .popup-form-input + span {
    top: 30px;
    left: 50px;
    font-size: 24px;
  }
  .app .popup-form-input input {
    font-size: 24px;
  }
  .app .popup-form-tip {
    margin: 40px 0 54px;
    padding: 0 50px;
    font-size: 24px;
  }
  .app .popup-continue {
    width: 621px;
    height: 795px;
  }
  .app .popup-continue .popup-btn + div {
    margin-top: 30px;
  }
  .app .popup-continue-tip {
    margin: 0 96px;
    padding: 150px 0;
    font-size: 50px;
  }
  .app .popup-close {
    bottom: -96px;
    margin-left: -27px;
    width: 54px;
    height: 54px;
  }
  .app .popup-fail {
    width: 621px;
    height: 795px;
  }
  .app .popup-fail-img {
    margin-top: 132px;
    width: 220px;
  }
  .app .popup-fail-tip {
    margin: 72px 110px 84px;
    line-height: 50px;
    font-size: 40px;
  }
  .app .popup-rule {
    width: 621px;
    height: 633px;
  }
  .app .popup-rule-tip {
    margin: 60px 54px 0;
    line-height: 50px;
    font-size: 28px;
  }
  .app .popup-rule-qrcode {
    margin: 36px 72px 0;
  }
  .app .popup-rule-qrcode span {
    padding-left: 60px;
    line-height: 40px;
    font-size: 28px;
  }
  .app .popup-video {
    width: 621px;
    height: 910px;
  }
  .app .popup-video-title {
    font-size: 40px;
  }
  .app .popup-video-content {
    margin: 0 45px;
    line-height: 36px;
    font-size: 24px;
  }
  .app .popup-video-content img {
    width: 324px;
  }
  .app .popup-unfit {
    width: 621px;
    height: 633px;
  }
  .app .popup-unfit-tip {
    margin: 120px 60px 72px;
    line-height: 48px;
    font-size: 36px;
  }
  .app .popup-played {
    width: 621px;
    height: 633px;
  }
  .app .popup-played-tip {
    margin: 0 54px;
    line-height: 54px;
    font-size: 48px;
  }
  [lang="ar"] .app .popup-rule-qrcode span {
    padding-right: 60px;
  }
  [lang="ar"] .app .popup-form-group label {
    margin-left: 24px;
  }
  [lang="ar"] .app .popup-form-input + span {
    right: 50px;
  }
}
