/* ================= 全局 ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: Arial;
  color: #fff;
}

/* ================= PC端 ================= */
@media (min-width: 768px) {

  .pc-page {
    display: block;
    width: 100%;
    height: 100vh;
    position: relative;
  }

  .h5-page {
    display: none !important;
  }

  /* 背景 */
  .pc-bg {
    position: fixed;
    inset: 0;
    background: url('../images/pcBg2.webp') center/cover no-repeat;
  }

  /* PC客服 */
  .kf-pc {
    position: absolute;
    top: 40px;
    right: 180px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 20px;
    border-radius: 30px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.6);

    font-size: 18px;
    cursor: pointer;
    z-index: 10;
  }

  .kf-pc .kf-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .kf-pc img {
    width: 25px;
    height: 25px;
  }

  /* 下载区 */
  .download-box {
    position: absolute;
    left: 20%;
    top: 70%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 30px;
  }

  .qrcode {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 10px;
  }

  .btn-img {
    width: 230px;
  }
}

/* ================= H5端 ================= */
@media (max-width: 767px) {

  .pc-page {
    display: none !important;
  }

  .h5-page {
    display: block;
    padding-bottom: 120px; /* 防遮挡 */
  }

  /* 背景 */
  .h5-bg {
    position: fixed;
    inset: 0;
    background: url('../images/bg1.webp') center/cover no-repeat;
    z-index: -1;
  }

  /* banner */
  .top-banner img {
    width: 100%;
    padding: 10px;
  }

  /* Tabs */
  .tabs {
    display: flex;
    margin: 10px;
    background: rgba(0,0,0,0.6);
    border-radius: 30px;
    padding: 5px;
  }

  .tabs span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    color: #aaa;
    border-radius: 20px;
    transition: 0.3s;
  }

  .tabs .active {
    background: linear-gradient(90deg,#ff1493,#ff4db8);
    color: #fff;
  }

  /* 内容 */
  .tab-item {
    display: none;
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
  }

  .tab-item.active {
    display: block;
  }

  .tab-item img {
    width: 100%;
    display: block;
  }

  /* H5客服 */
  .kf-float {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.5);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    z-index: 999;
  }

  .kf-float img {
    width: 26px;
  }

  .kf-float span {
    font-size: 10px;
  }
}

/* ================= 底部悬浮 ================= */

/* 外层（悬浮） */
.bottom-wrap {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  z-index: 998;
}

/* 黑色底板 */
.bottom-bg {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 60px;
  background: rgba(0,0,0,0.8);
  z-index: 0;
}

/* 内容层 */
.bottom-bar {
  position: relative;
  width: 92%;
  margin: 0 auto;
  z-index: 1;

  transform: translateY(18px);

  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

/* VIP区域 */
.vip-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* GIF */
.vip-bg {
  width: 100%;
  display: block;
}

/* ================= 按钮（关键修复） ================= */

.btn-group {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* 极速下载 */
.btn-xz {
  position: absolute;

  left: 52%;
  transform: translateX(-10%);

  bottom: 10px;

  width: 90px;
}

/* 免费观看 */
.btn-gk {
  position: absolute;

  right: 0px;
  bottom: 10px;

  width: 90px;
}