/* 基础变量，可由 JS 注入覆盖 */
:root {
  --brand: #ff6ea9;
  --text: #222222;
  --sub: #666666;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-bd: rgba(0, 0, 0, 0.08);
  --font-cn: 'Noto Sans SC', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-en: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --overlay-bg: rgba(255, 255, 255, 0.25);
  --text-weak: color-mix(in srgb, var(--text) 92%, transparent);
  --sub-weak: color-mix(in srgb, var(--sub) 88%, transparent);
}

/* 轻量 reset */
* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  margin: 0;
  color: var(--text-weak);
  font-family: var(--font-cn), var(--font-en), system-ui;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景与蒙层 */
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; background: #000; }
.bg { position: fixed; inset: 0; background-size: cover; background-position: center; filter: blur(var(--bg-blur, 0)); z-index: -4; }
body::before { content: ""; position: fixed; inset: 0; background: var(--overlay-bg); z-index: -1; }

/* 顶部胶囊导航与搜索 */
.topbar { position: fixed; top: 18px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; padding: 0 16px; }
.nav-capsule {
  display: inline-flex; gap: 4px; padding: 8px 14px; border-radius: 999px;
  background: var(--nav-bg); border: 1px solid var(--nav-bd);
  backdrop-filter: saturate(1.8) blur(10px);
}
.nav-capsule a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; color: var(--text-weak); text-decoration: none; font-size: 14px; }
.nav-capsule a:hover { background: rgba(0,0,0,0.04); }
.nav-capsule a.active { background: #fff; color: color-mix(in srgb, var(--brand) 92%, transparent); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }

.icon-btn { position: absolute; right: 24px; top: 0; width: 36px; height: 36px; border: 1px solid var(--nav-bd); border-radius: 50%; background: var(--nav-bg); backdrop-filter: saturate(1.8) blur(10px); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; color: var(--text-weak); }

/* 主体区 */
.hero { max-width: 1100px; min-height: calc(100vh - 160px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; justify-content: center; padding: 140px 24px 80px; }
.hero-text h1 { margin: 0 0 12px 0; font-size: 38px; line-height: 1.35; font-weight: 700; }
.hero-text h1 .name { color: color-mix(in srgb, var(--brand) 92%, transparent); }
.hero-text p.subtitle { margin: 6px 0 8px; color: var(--text-weak); font-size: 18px; }
.hero-text p.tagline { margin: 0 0 18px; color: var(--sub-weak); font-size: 13px; opacity: 0.75; }

/* 社交图标行 */
.socials { display: flex; gap: 10px; margin-top: 14px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--nav-bd); background: var(--nav-bg); backdrop-filter: saturate(1.8) blur(10px); display: grid; place-items: center; color: var(--text); text-decoration: none; }
.social-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.social-btn svg { width: 18px; height: 18px; }

/* 头像 */
.hero-avatar { display: grid; place-items: center; }
.hero-avatar img { width: 100%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.hero-avatar img.ring { outline: 8px solid rgba(255,255,255,0.8); outline-offset: -8px; }

/* 页脚 */
.page-footer { position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--sub-weak); font-size: 15px; padding: 0 16px; }

/* 响应式 */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 110px 16px 70px; min-height: calc(100vh - 140px); }
  .hero-text { order: 2; }
  .hero-avatar { order: 1; }
  .icon-btn { right: 16px; }
  .socials { justify-content: center; }
}


