.frame {
  height: 100vh;
  overflow-y: auto;
}

.div {
  height: 100%;
}

.overlap-group {
  background-size: 100% 100%;
  height: auto;
  width: 100%;
}

.imgbox {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.img1-wrapper {
  position: relative;
  line-height: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.img1 {
  width: 100%;
  display: block;
  z-index: 10;
}

.download-btns {
  position: absolute;
  left: 50%;
  top: 93%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 20;
}

.imgdownload {
  display: block;
  transform-origin: center;
  animation: btn-pulse 1.5s infinite;
}

.imgdownload-ios {
  width: 42vw;
  max-width: 210px;
}

.imgdownload-ad {
  width: 42vw;
  max-width: 210px;
}

@keyframes btn-pulse {
  0%,
  100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}
@keyframes btn-pulse2 {
  0%,
  100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}

.img2 {
  width: 100%;
  display: block;
  margin-top: 0;       /* 不再压到 img1 下面 */
  z-index: 1;
}

.footerbox1 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  padding-right: 10%;
}

.footerbox2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.img4 {
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 99;
  animation: rotate-animation 1.5s infinite;
}

.img5 {
  width: 100%;
  display: block;
}

.img6 {
  width: 28%;
  position: absolute;
  top: 35%;
  right: 15px;
  animation: btn-pulse2 1.5s infinite;
}

@media screen and (min-width: 480px) {
  .frame {
    display: flex;
    justify-content: center;
  }

  .overlap-group {
    width: 480px;
    height: auto;
  }

  .div {
    width: 480px;
  }

  .img1 {
    width: 480px;
    display: block;
  }

  .img2 {
    width: 100%;
    display: block;
    margin-top: 0;
  }

  .img4 {
    width: 50px;
  }

  .imgbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  @media screen and (max-width: 475px) {
    .download-btns {
      top: 55%;
      gap: 8px;
      flex-wrap: nowrap;
    }
  
    .imgdownload-ios,
    .imgdownload-ad {
      width: 36vw;
      max-width: 150px;
      flex-shrink: 0;
    }
  }
}

