* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05040a;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
}

img {
  border-style: none;
  display: block;
}

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

.app {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 750px;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background: #151020;
}

.bg-roll {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  object-fit: cover;
  animation: bgSlide 10s linear infinite;
  will-change: transform;
}

.mask {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
}

.top-wrap,
.action-wrap {
  width: 100%;
}

.logo img,
.main-title img,
.button-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.room {
  border: 1px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
}

.room p:first-child {
  font-size: 18px;
  line-height: 1.45;
}

.room p:last-child {
  font-size: 12px;
  line-height: 1.4;
  color: #ddd5d5;
}

.btn {
  border: 0;
  margin-left: auto;
  margin-right: auto;
  background-image: linear-gradient(to right, #7464ff, #b40ce4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleDrew 2.5s ease-in-out infinite;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn.download-busy {
  opacity: 0.92;
}

.button-art {
  pointer-events: none;
}

.sr-download-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.backup-row {
  width: 85vw;
  max-width: 570px;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.backup-row a,
.backup-row button {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  padding: 8px 12px;
  font-size: 13px;
}

.lang-switch,
.floating-cta,
.contact-button,
.announce {
  display: none !important;
}

.modal,
.full-mask {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.68);
  padding: 24px;
}

.modal-card,
.full-mask > div {
  position: relative;
  width: min(88vw, 360px);
  border-radius: 8px;
  background: #fff;
  color: #202030;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.modal-card h3,
.full-mask h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.modal-card p,
.full-mask p {
  font-size: 14px;
  line-height: 1.7;
  color: #55576a;
}

.modal-x {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 26px;
  cursor: pointer;
}

.modal-button,
.modal-link {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(to right, #7464ff, #b40ce4);
  font-size: 15px;
  cursor: pointer;
}

.modal-link {
  margin-top: 8px;
  color: #4b456c;
  background: transparent;
}

@keyframes scaleDrew {
  0% { transform: scale(1); }
  25% { transform: scale(1.08); }
  50% { transform: scale(1); }
  75% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes bgSlide {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-100% + 100vh)); }
}

@media screen and (min-width: 750px) {
  .mask {
    padding: 50px 0;
  }

  .logo {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .main-title {
    width: 380px;
    height: 254px;
    margin: 0 auto;
  }

  .room {
    width: 480px;
    margin: 0 auto;
    padding: 5px 0;
  }

  .room p:first-child {
    font-size: 19px;
  }

  .btn {
    margin-top: 25px;
    width: 570px;
    height: 70px;
    background-image: linear-gradient(to right, #595296, #323761);
  }

  .button-art {
    width: 180px;
    height: 36px;
  }
}

@media screen and (max-width: 750px) {
  .mask {
    padding: 8vw 0;
  }

  .logo {
    width: 50vw;
    height: 50vw;
    margin: 2vw auto;
  }

  .main-title {
    width: 60vw;
    height: 36vw;
    margin: 0 auto;
  }

  .room {
    width: 85vw;
    padding: 1vw 0;
  }

  .room p:first-child {
    font-size: 18px;
  }

  .room p:last-child {
    transform: scale(0.8);
  }

  .btn {
    margin-top: 4vw;
    width: 85vw;
    height: 14vw;
  }

  .button-art {
    width: 24vw;
    height: 6vw;
  }
}
