/* ============================================================
   77CLUB 官网样式 —— 单屏首页：视频背景 + 半透明下载卡
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #17233d;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== 单屏系统 ===== */
.screen {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

/* ===== 顶部导航（通栏，LOGO 与菜单推向两侧） ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 45, 100, 0.06);
  box-shadow: 0 2px 18px rgba(20, 45, 100, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: block; flex-shrink: 0; }
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* LOGO 为白字透明底，白色导航条上反转为深色 */
  filter: invert(1);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #33415e;
  white-space: nowrap; /* 手机端严禁菜单项折行 */
  transition: color 0.2s ease;
}
.nav-menu a:hover { color: #2f7bff; }

/* ===== 右下角悬浮联系 ===== */
.float-contact {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 65;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(20, 45, 100, 0.16);
  transition: transform 0.25s ease;
}
.float-contact:hover { transform: translateY(-3px); }
.float-contact img { width: 32px; height: 32px; object-fit: contain; }

/* ===== 第 1 屏：视频背景 + 半透明下载卡片 ===== */
.s-hero { background: #ffffff; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-download {
  position: absolute;
  left: 50%;
  bottom: 13vh;
  transform: translateX(-50%);
  z-index: 5;
}
.download-card {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 24px 40px 26px;
  text-align: center;
  box-shadow: 0 14px 44px rgba(31, 58, 122, 0.16);
}
.download-title {
  font-size: 22px;
  font-weight: 800;
  color: #16233f;
  letter-spacing: 2px;
}
.download-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #5a6b8c;
}
.platforms {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.platform-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dfe6f3;
  color: #2b3a5c;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(31, 58, 122, 0.08);
  transition: all 0.22s ease;
}
.platform-btn:hover {
  border-color: #2f7bff;
  color: #2f7bff;
  transform: translateY(-2px);
}
/* 悬停弹出的二维码 */
.qr-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  background: #ffffff;
  border: 1px solid #e8edf7;
  border-radius: 12px;
  padding: 12px 12px 8px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 36px rgba(20, 40, 90, 0.18);
  transition: all 0.25s ease;
}
.qr-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #ffffff;
}
.qr-tooltip img {
  width: 132px;
  height: 132px;
  display: block;
}
.qr-tooltip em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #5a6b8c;
  margin-top: 6px;
}
.platform-btn:hover .qr-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ===== 底部黑色 footer 条（单行横排） ===== */
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 16px 24px;
  background: #11151c;
  color: #9aa5ba;
  font-size: 12px;
  line-height: 1;
}
.site-footer a { color: #9aa5ba; transition: color 0.2s ease; }
.site-footer a:hover { color: #2f7bff; }
.sf-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .navbar { padding: 0 20px; }
  .nav-menu { gap: 22px; }
}
@media (max-width: 600px) {
  /* ---- 导航：压缩高度，菜单不折行 ---- */
  .navbar { height: 50px; padding: 0 12px; }
  .logo-img { height: 26px; }
  .nav-menu { gap: 12px; }
  .nav-menu a { font-size: 12px; }

  /* ---- 悬浮按钮缩小 ---- */
  .float-contact { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .float-contact img { width: 26px; height: 26px; }

  /* ---- 下载卡：贴紧 footer 之上，整体缩小 ---- */
  .hero-download {
    width: calc(100vw - 24px);
    bottom: 108px; /* 预留 footer 两行高度 */
  }
  .download-card { padding: 14px 12px 16px; border-radius: 12px; }
  .download-title { font-size: 17px; letter-spacing: 1px; }
  .download-sub { font-size: 11px; }
  .platforms { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .platform-btn { padding: 9px 10px; font-size: 12px; gap: 5px; border-radius: 8px; justify-content: center; }
  .platform-btn svg { width: 16px; height: 16px; }
  .qr-tooltip img { width: 108px; height: 108px; }

  /* ---- footer：小字紧凑，最多两行 ---- */
  .site-footer {
    padding: 8px 10px;
    gap: 5px 10px;
    font-size: 10px;
    line-height: 1.6;
  }
  .sf-sep { height: 10px; }
}
@media (max-width: 380px) {
  .navbar { padding: 0 10px; }
  .logo-img { height: 22px; }
  .nav-menu { gap: 8px; }
  .nav-menu a { font-size: 11px; }
  .platform-btn { padding: 8px 8px; }
}

/* ===== 无障碍：减少动效 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
