/* =========================
   全局重置
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont,
               "PingFang SC", "Helvetica Neue", Arial;
}

html, body {
  height: 100%;
  color: #fff;
  overflow-x: hidden;
}

/* =========================
   Header / 导航栏
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 107px;            /* 桌面端 */
  width: auto;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

/* =========================
   导航
========================= */
nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

nav a {
  margin-left: 32px;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}

nav a:hover {
  opacity: 1;
}

nav .btn {
  padding: 8px 20px;
  border: 1px solid #fff;
  border-radius: 24px;
}

/* =========================
   Hero 全屏视频
========================= */
section.hero {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  z-index: -1;
  overflow: hidden;
}

section.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* =========================
   SEO 隐藏内容（不占位）
========================= */
.seo-intro {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   移动端适配（完整增强版）
========================= */
@media (max-width: 768px) {

  /* Header */
  header {
    height: 64px;
    padding: 0 12px;
  }

  /* Logo 放大 */
  .logo img {
    height: 40px;               /* 移动端放大 */
  }

  /* 导航横向滚动 */
  nav {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    margin-left: 0;
    font-size: 13px;
    flex-shrink: 0;
    line-height: 1.2;
  }

  nav .btn {
    padding: 6px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* =========================
     使用條款 / 私隱政策
     拆成上下两行
  ========================= */
  nav a[href*="privacy"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0;               /* 隐藏原文字 */
    line-height: 1.2;
  }

  nav a[href*="privacy"]::before {
    content: "使用條款";
    font-size: 13px;
  }

  nav a[href*="privacy"]::after {
    content: "私隱政策";
    font-size: 12px;
    opacity: 0.8;
  }
}
