/* 或者结合 CSS 变量 */
:root {
  --viewport-height: 1vh;
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 1dvh;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: calc(var(--viewport-height) * 100);
  background: #000;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #fff;
}

.page {
  position: relative;
  z-index: 0;
  width: 100vw;
  min-height: calc(var(--viewport-height) * 100);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

/* 针对支持 -webkit-fill-available 的浏览器（如 iOS Safari） */
@supports (-webkit-touch-callout: none) {
  .page {
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
  }
}

.page::after {
  content: var(--after-content, "loading...");
  position: absolute;
  inset: 0;
  width: fit-content;
  height: fit-content;
  color: #999999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(15px);
  transform: scale(1.1);
  background: #000;
}

.top-group {
  width: 100%;
  margin-top: 0px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  padding: 12px;
  align-items: center;
}

.top-group .logo-img {
  width: 34px;
  height: 34px;
  margin-right: 8px;
}

.top-group .title-text {
  width: calc(100vw - 150px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.top-group .title-text .logo {
  width: 90px;
  height: 14px;
  margin-bottom: 4px;
}

.top-group .title-text .prompt-box {
  width: calc(100% - 10px);
  display: flex;
  align-items: center;
}

.top-group .title-text .prompt-box .click_open-img {
  height: 10px;
  margin-left: 4px;
}

.top-group .title-text .prompt {
  width: fit-content;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 16px;
  font-size: 12px;
  color: #595959;
}

.top-group .button-text {
  overflow: hidden;
  max-width: 100%;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background-color: #f00000;
  border-radius: 17px;
  height: 34px;
  line-height: 34px;
  padding: 0 16px;
}

.content {
  position: relative;
  z-index: 2;
  min-height: calc(var(--viewport-height) * 100);
}

/* 针对支持 -webkit-fill-available 的浏览器（如 iOS Safari） */
@supports (-webkit-touch-callout: none) {
  .content {
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
  }
}

.cover-box {
  position: relative;
  width: 70vw;
  height: 105vw;
  max-height: 105vw;
  margin: 4vw auto;
  border-radius: 3vw;
}

.cover-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: fit-content;
  max-height: 105vw;
  object-fit: cover;
  border-radius: 3vw;
}

.cover-box .cover-paly-box {
  width: 14vw;
  height: 14vw;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-box .cover-paly-box .cover-paly {
  margin-left: 1vw;
  width: 5vw;
  height: 5vw;
}

.content-text {
  text-align: center;
  margin: 0 6vw;
  padding-bottom: calc(5vw + 50px);
}

.content-text .content-text-title {
  margin: 0 4vw 2vw;
  font-weight: bold;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 24px;
}

.content-text .content-text-desc {
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  word-break: break-all;
  line-height: 22px;
  text-align: left;
}

.text-ellipsis-2 {
  text-overflow: ellipsis;
  max-width: 100%;
  display:  -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.text-ellipsis-1 {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-ellipsis-4 {
  text-overflow: ellipsis;
  max-width: 100%;
  display:  -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

/* 给按钮添加模拟点击的缩放动画 */
@keyframes click-zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* 模拟手指点击的动画 */
@keyframes click-pointer {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.bottom-button {
  position: absolute;
  width: calc(100vw - 12vw);
  bottom: 5vw;
  left: 0;
  text-align: center;
  margin: 0 6vw;
  cursor: pointer;
}

.bottom-button .download-button {
  width: 100%;
  height: 44px;
  line-height: 44px;
  font-weight: bold;
  font-size: 16px;
  color: #FFFFFF;
  background-color: #f00000;
  border-radius: 22px;
  /* animation: click-zoom 1s infinite; */
}

.bottom-button .click-btn-img {
  position: absolute;
  right: 0;
  top: 40%;
  width: 50px;
  height: 50px;
  animation: click-pointer 1s infinite;
}
