@charset "utf-8";
@import url(./var.css);

/* 动画 */
@keyframes debounce {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

.page {
  background-image: url('../images/bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.head-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 1.5rem;
  position: relative;
  z-index: 10;
}

.logo {
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom:0.15rem ;
}

.logo-title {
  font-size: 0.32rem;
  font-weight: 800;
  color: #333;
}

.wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 70vh;
  padding-bottom: 1rem;
}

/*.logo-wrap {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-self: center;*/
/*  margin: 0.56rem 0 0.4rem;*/
/*}*/

/*.logo {*/
/*  width: 0.88rem;*/
/*  height: 0.88rem;*/
/*}*/

/*.logo-title {*/
/*  font-size: 0.32rem;*/
/*  font-weight: 800;*/
/*  color: #333;*/
/*  margin-left: 0.2rem;*/
/*}*/

.download-button {
  width: 4.22rem;
  height: 0.9rem;
  border-radius: 0.45rem;
  background: linear-gradient(to bottom, #00d2ff, #3a7bd5);
  margin-top: 0.08rem;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #ffffff;
  font-size: 0.32rem;
  cursor: pointer;
}

.download-button:active {
  opacity: 0.7;
}

.download-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.version-text {
  font-size: 0.24rem;
  color: #333;
  font-weight: 500;
}

.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding-bottom: 0.1rem;
}

.entry-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding-bottom: 0.4rem;
}

.entry-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.8rem;
  height: 0.9rem;
  border-radius: 0.45rem;
  background: linear-gradient(to bottom, #00d2ff, #3a7bd5);
  color: #ffffff;
  font-size: 0.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              0 6px 12px rgba(0, 0, 0, 0.1);
}

.entry-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.8rem;
  height: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 0.45rem;
  overflow: hidden;
}

.download-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.download-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iphone-btn {
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 
              0 6px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}


/* 响应式调整 - 在小屏幕上缩小按钮间距 */
@media (max-width: 320px) {
  .download-buttons {
    gap: 0.2rem;
  }
  .download-btn {
    width: 2.5rem;
  }
  .entry-buttons {
    gap: 0.2rem;
  }
  .entry-btn {
    width: 2.5rem;
  }
}


.company {
  font-size: 0.28rem;
  font-weight: 500;
  color: #999999;
}

.policy {
  margin: .2rem 0;
  font-size: 0.24rem;
  font-weight: 800;
  color: #1F1B37;
  text-decoration: underline;
}

/* 已安装提示 */
.open-tips {
  margin-top: 0.4rem;
  font-size: 0.3rem;
  font-weight: bold;
  line-height: 0.42rem;
  /* color: #fb4545; */
  color: white;
  display: none;
  cursor: pointer;
}

.open-tips.show {
  display: block;
}

.browser-tips {
  font-size: 0.24rem;
  margin-top: 0.4rem;
  color: #999999;
  letter-spacing: 0.04rem;
  display: none;
  text-align: center;
}
.browser-tips.show {
  display: block;
}

/* 微信环境提示 */

.tips {
  display: none;
  position: fixed;
  top: 0.16rem;
  right: 0.16rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 0.12rem;
  padding: 0.08rem 0.2rem;
  color: #fff;
  font-size: 0.26rem;
}
.tips::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: -0.15rem;
  right: 0.22rem;
  display: block;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
  border-width: 0 0.16rem 0.16rem 0.16rem;
}

.tips.show {
  display: block;
}

.tips.ani {
  animation: debounce 1s;
}

/* swiper */
.app-swiper {
  width: 100%;
}

.app-swiper img, .app-swiper video {
  width: 100%;
}

.swiper-pagination-placeholder {
  height: 0.8rem;
  background: #fff;
}
