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

/* 响应式设计 - 适配不同设备 */
@media screen and (max-width: 320px) {
  html {
    font-size: 85px;
  }
}

@media screen and (min-width: 375px) and (max-width: 413px) {
  html {
    font-size: 100px;
  }
}

@media screen and (min-width: 414px) {
  html {
    font-size: 110px;
  }
}

/* 解决iOS设备上的fixed定位问题 */
@supports (-webkit-touch-callout: none) {
  .container .content .btn_top,
  .container .content .btn_bottom,
  .container .kf {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* 按钮触摸反馈 */
.btn_01 img,
.btn_top img,
.btn_bottom img,
.kf img {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.btn_01 img:active,
.btn_top img:active,
.btn_bottom img:active,
.kf img:active {
  transform: scale(0.95);
}

html {
  font-size: 100px;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: #76406f;
  background-size: cover;
  overflow-x: hidden;
  touch-action: manipulation;
}

/* 修复某些Android设备上的点击延迟 */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
canvas {
  position: absolute;
  /*设置定位*/
  top: 0;
  left: 0;
  z-index: -6;
  opacity: 1;
}
.container {
  position: relative;
  width: 100%;
  max-width: 7.5rem;
  height: auto;
  margin: 0 auto;
  padding-bottom: 1.4rem;
}
.container .content {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  z-index: 99;
  height: auto;
}
.container .content .top_pic {
  position: relative;
  width: 7.5rem;
  height: 4.23rem;
  overflow: hidden;
  margin-top: 1.43rem;
}
.container .content .top_pic > img {
  width: 100%;
  height: 4.23rem;
  display: block;
}
.container .content .top_pic .bg {
  position: absolute;
  width: 7.5rem;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}
.container .content .top_pic .bg img {
  width: 100%;
  padding-top: 0;
}
.container .content .btn_01 {
  position: relative;
  width: 7.5rem;
  margin: 0 auto;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  display: flex;
  justify-content: space-around;
  background: linear-gradient(0deg, #f0a9f5, #f0a9f5);
}
.container .content .btn_01 img {
  display: block;
  width: 3rem;
  height: 0.7rem;
}
.container .content .pic_01 {
  position: relative;
  width: 7.5rem;
  margin: 0 auto;
}
.container .content .pic_01 img {
  width: 100%;
  display: block;
}
.container .content .pic_02 {
  position: relative;
  width: 6.86rem;
  height: 4.26rem;
  margin: 0 auto;
  margin-top: 0.3rem;
  background: url("/img/pic_02.png") no-repeat;
  background-size: contain;
}
.container .content .pic_02 .swiper-container {
  width: 6.11rem;
  height: 2.83rem;
  overflow: hidden;
  padding-top: 0.8rem;
}
.container .content .pic_02 .swiper-container .swiper-slide {
  width: 100%;
}
.container .content .pic_02 .swiper-container img {
  display: block;
  width: 100%;
}
.container .content .btn_top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 7.5rem;
  height: 1.43rem;
  margin: auto;
  z-index: 99;
}
.container .content .btn_top img {
  display: block;
  width: 100%;
}
.container .content .btn_bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 7.5rem;
  height: 1.43rem;
  margin: auto;
  z-index: 99;
}
.container .content .btn_bottom img {
  display: block;
  width: 100%;
}
.container .kf {
  position: fixed;
  display: block;
  top: 30%;
  right: 0.2rem;
  width: 1.5rem;
  z-index: 99;
  animation-name: scale;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  transform-origin: center;
  /* 适配小屏幕设备 */
  max-width: 15vw;
}
.container .kf img {
  width: 100%;
}
@keyframes scale {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(0.65);
  }
  to {
    transform: scale(1);
  }
}
