@charset "UTF-8";
#app {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 100vh;
}

.bg {
  position: relative;
  text-align: center;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  /* .download{
    width:56vw;
  } */
}

.bg img {
  max-width: 100%;
}

.bg .header {
  padding: 6.4vw 4.267vw;
  display: flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  flex-direction: row;
  flex-wrap: wrap;
}

.bg .header-abs {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 101;
  text-align: center;
  width: 100%;
}

.bg .header .logo1 {
  width: 35.467vw;
}

.bg .download {
  width: 56vw;
  height: 18.933vw;
  background: url("../images/btn_bg1.png") no-repeat center center;
  background-size: 56vw auto;
  padding-bottom: 2vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  flex-direction: row;
  flex-wrap: wrap;
}

.bg .download i {
  display: inline-block;
  width: 5.333vw;
  height: 5.333vw;
  background: url("../images/download_icon.png") no-repeat center center;
  background-size: 5.333vw auto;
  margin-right: 2.667vw;
}

.bg .download span {
  font-weight: bold;
  font-size: 4.267vw;
  color: #FFFFFF;
  line-height: 5.067vw;
}

.bg .text-module {
  max-width: 100%;
  display: block;
  margin: 1.333vw 0 0;
  padding: 0 2vw;
  text-align: center;
}

.bg .text-module .text {
  line-height: 11vw;
  font-weight: bolder;
  color: #fff;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}

.bg .text-module .text1 {
  font-size: 10vw;
}

.bg .text-module .text2 {
  font-size: 8.533vw;
}

/* page1 start */
.bg1 {
  background: url("../images/page1_bg.webp") no-repeat top center;
  background-size: cover;
}

.bg1 .download {
  margin: 5vw auto;
}

.bg1 .page-center {
  position: relative;
  margin-top: 9.867vw;
  font-size: 0;
}

.bg1 .page-center .p1-img1 {
  width: 100%;
}

.bg1 .page-center .p1-img2 {
  width: 43vw;
  position: absolute;
  top: -24.5vw;
  left: 0;
  animation: heartBeat 4s ease-in-out infinite both;
}

.bg1 .page-center .p1-img3 {
  position: absolute;
  top: 11.733vw;
  right: 8vw;
  width: 32.8vw;
  animation: swing 1s ease-in-out infinite both;
}

.bg1 .p1-img4 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 74.667vw;
}

/* page1 end */
/* page2 start */
.bg2 {
  background: linear-gradient(to bottom, #AE58CD, #6755FA);
}

.bg2 .bg-transparent {
  position: fixed;
  /* 固定背景图片 */
  top: 0;
  left: 0;
  width: 200%;
  /* 宽度设置为200%以实现无缝滚动 */
  height: 100%;
  background: url("../images/page2_bg.png") no-repeat left top;
  background-size: cover;
  animation: scrollBackground 10s linear infinite;
}

.bg2 .content {
  position: relative;
}

.bg2 .page2_side {
  position: absolute;
  top: 0;
  right: 0;
  width: 25.6vw;
}

.bg2 .page-center {
  padding: 6.133vw 2.933vw 0;
}

.bg2 .page-center .p2-1 {
  max-width: 100%;
  animation: swing2 1s linear infinite both;
}

.bg2 .logo2 {
  width: 32.8vw;
  display: block;
  margin: -12vw auto 4vw;
}

.bg2 .page-download {
  position: relative;
  text-align: center;
  margin-bottom: 8vw;
}

.bg2 .page-download .click {
  position: absolute;
  bottom: -30px;
  left: calc(50% + 50px);
  width: 31.2vw;
  animation: heartBeat 2s ease-in-out infinite both;
}

/* page2 end */
/* page3 start */
.bg3 {
  background: url("../images/page3_bg.webp") no-repeat center top;
  background-size: 100% auto;
  overflow: hidden;
}

.bg3 .ok-img {
  position: absolute;
  right: 7.2vw;
  top: 56vw;
  width: 32.8vw;
  animation: swing 1s ease-in-out infinite both;
}

.bg3 .balloon-img {
  position: absolute;
  left: -5vw;
  top: 35%;
  width: 55.733vw;
  z-index: 9;
  animation: floatAnimation 2s ease-in-out infinite;
}

.bg3 .chun-img {
  width: 16vw;
  position: absolute;
  width: 100%;
  top: 50%;
  right: 0;
}

.bg3 .mask {
  background: linear-gradient(to bottom, rgba(145, 76, 218, 0) 0, #914CDA 100%);
  height: 100%;
  position: absolute;
  height: 50vh;
  width: 100vw;
  bottom: 0;
  right: 0;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: left;
  flex-direction: column;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding-bottom: 9.867vw;
}

.bg3 .mask .logo2 {
  width: 30.133vw;
}

.bg3 .mask .img1 {
  position: absolute;
  bottom: 24.8vw;
  right: 2.133vw;
  width: 32.533vw;
}

.bg3 .mask .download {
  animation: zoom 1.5s linear infinite;
}

/* page3 end */
/* page4 start */
.bg4 {
  background: url("../images/page4_bg.webp") no-repeat center top;
  background-size: cover;
  padding-bottom: 20vw;
}

.bg4 .text-module .text1 {
  text-transform: uppercase;
  text-shadow: 0px 2px 7px #8436D5;
}

.bg4 .page-center {
  position: relative;
  padding: 0 4.8vw 0 7vw;
}

.bg4 .page-center .img-abs {
  position: absolute;
}

.bg4 .page-center .ok-img {
  right: -1.5vw;
  top: 13vw;
  width: 32.8vw;
  animation: swing 1s ease-in-out infinite both;
}

.bg4 .page-center .img3 {
  top: -7vw;
  left: 0;
  width: 24vw;
  transform: rotate(-5deg);
  animation: move1 3s ease-in-out infinite both;
}

.bg4 .page-center .img2 {
  left: 9vw;
  bottom: 14vw;
  width: 26.4vw;
  transform: rotate(-5deg);
  animation: heartBeat2 3s infinite ease-in-out both;
}

.bg4 .page-center .star-img-xl {
  width: 14.4vw;
  right: 13.067vw;
  top: 0;
  animation: blink 1.5s infinite ease-in-out both;
}

.bg4 .page-center .star-img-l {
  width: 13.333vw;
  right: 6.667vw;
  bottom: 11.733vw;
  animation: blink 1.5s infinite 0.5s ease-in-out both;
}

.bg4 .page-center .star-img-m {
  width: 8vw;
  right: 17.333vw;
  bottom: 13.333vw;
  animation: blink 1.5s infinite 0.2s ease-in-out both;
}

.bg4 .page-center .star-img-s {
  width: 9.067vw;
  left: 14.933vw;
  top: 30vw;
  animation: blink 1.5s infinite ease-in-out both;
}

.bg4 .download {
  position: absolute;
  bottom: 9vw;
  left: 50%;
  transform: translate(-50%, 0);
}

/* page4 end */
/* page5 start */
.bg5 {
  background: url("../images/page5_bg.webp") no-repeat center top;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: left;
  flex-direction: column;
  flex-wrap: wrap;
}

.bg5 .text-module .text1 {
  text-transform: uppercase;
  text-shadow: 0px 2px 7px #8436D5;
}

.bg5 .page-center {
  position: relative;
  padding: 0 1.2vw 0 0.8vw;
  font-size: 0;
}

.bg5 .page-center .img-abs {
  position: absolute;
}

.bg5 .page-center .ok-img {
  right: -1.5vw;
  top: -10vw;
  width: 32.8vw;
  animation: swing 1s ease-in-out infinite both;
}

.bg5 .page-center .love-img {
  width: 78vw;
  left: 50%;
  bottom: 9.867vw;
  margin-left: -39vw;
  animation: zoom 1.5s infinite ease-in-out both;
}

.bg5 .download {
  width: 50.133vw;
  height: 19.467vw;
  background: url("../images/page5_btn.png") no-repeat center center;
  background-size: 50.133vw auto;
  padding-bottom: 4vw;
  margin: 4vw auto 0;
}

/* page5 end */
@keyframes blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.5);
  }
}

@keyframes move1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  14% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  42% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes heartBeat2 {
  0% {
    -webkit-transform: rotate(-5deg) scale(1);
    transform: rotate(-5deg) scale(1);
  }
  14% {
    -webkit-transform: rotate(-5deg) scale(1.1);
    transform: rotate(-5deg) scale(1.1);
  }
  28% {
    -webkit-transform: rotate(-5deg) scale(1);
    transform: rotate(-5deg) scale(1);
  }
  42% {
    -webkit-transform: rotate(-5deg) scale(1.1);
    transform: rotate(-5deg) scale(1.1);
  }
  70% {
    -webkit-transform: rotate(-5deg) scale(1);
    transform: rotate(-5deg) scale(1);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  40% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
  60% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
  }
  80% {
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
  }
  to {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes swing2 {
  25% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
  }
  50% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  75% {
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
  }
  to {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes scrollBackground {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
    /* 向左移动50%的宽度 */
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes zoom {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}
