* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1d1d1f; background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 滚动动效：轻轻淡入 + 上浮，不抢戏 */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 顶部毛玻璃导航 */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav-in {
  max-width: 980px; margin: 0 auto; padding: 0 20px; height: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-size: 17px; font-weight: 600; color: #1d1d1f; text-decoration: none; }
.links a { margin-left: 22px; font-size: 13px; color: #1d1d1f; text-decoration: none; opacity: .85; }
.links a:hover { opacity: 1; color: #0066cc; }

/* 主视觉 */
.hero { text-align: center; padding: 84px 20px 76px; }
.avatar {
  width: 118px; height: 118px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
}
.hero h1 {
  margin-top: 30px; font-size: clamp(40px, 7.5vw, 64px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.12;
}
.grad {
  background: linear-gradient(90deg, #0090ff, #a259ff 55%, #ff6482);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { margin-top: 14px; font-size: clamp(17px, 3vw, 21px); color: #6e6e73; }

/* 区块 */
section { padding: 84px 20px; }
section.gray { background: #f5f5f7; }
section.dark { background: #000; color: #f5f5f7; }
.wrap { max-width: 980px; margin: 0 auto; }
.center { text-align: center; }
h2 { font-size: clamp(30px, 5vw, 42px); font-weight: 700; letter-spacing: -0.01em; }
.lead {
  margin: 20px auto 0; max-width: 660px;
  font-size: 18px; color: #424245; line-height: 1.85;
}
.lead-dark { margin: 16px auto 0; max-width: 660px; font-size: 18px; color: #a1a1a6; }

/* 爱好瓷砖 */
.tiles {
  margin-top: 44px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.tile { background: #fff; border-radius: 20px; padding: 30px 24px; }
.tile .icon { font-size: 38px; }
.tile h3 { margin-top: 14px; font-size: 20px; font-weight: 600; }
.tile p { margin-top: 8px; font-size: 14.5px; color: #6e6e73; line-height: 1.7; }

/* 视频 */
.video-box {
  margin: 44px auto 0; max-width: 880px;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: #000; box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.video-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 联系卡片 */
.cards {
  margin-top: 44px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: left;
}
.ccard { background: #161617; border-radius: 20px; padding: 26px 24px; }
.ccard h3 { font-size: 15px; font-weight: 600; color: #a1a1a6; }
.ccard p { margin-top: 10px; font-size: 16.5px; font-weight: 500; word-break: break-all; }
.ccard .dim { margin-top: 4px; font-size: 13.5px; font-weight: 400; color: #86868b; }
.ccard .dim.first { margin-top: 10px; }
.ccard a { color: #2997ff; text-decoration: none; }
.ccard a:hover { text-decoration: underline; }

/* 微信邀请码 */
.gate { margin-top: 12px; display: flex; gap: 8px; }
.gate input {
  flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px;
  border: 1px solid #424245; background: #1d1d1f; color: #f5f5f7;
  font-size: 14.5px; outline: none;
}
.gate input:focus { border-color: #2997ff; }
.gate button {
  padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: #0071e3; color: #fff; font-size: 14.5px; white-space: nowrap;
}
.gate button:hover { background: #0077ed; }
.ccard .err { margin-top: 8px; font-size: 13px; font-weight: 400; color: #ff6961; min-height: 18px; }

/* 友情链接 */
.flinks {
  margin-top: 40px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.flink {
  display: block; padding: 20px 22px; border-radius: 16px;
  background: #fff; color: #1d1d1f; text-decoration: none;
  font-size: 16.5px; font-weight: 500;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s;
}
.flink:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .09); color: #0066cc; }

footer {
  padding: 22px 20px 30px; text-align: center;
  font-size: 12.5px; color: #86868b; background: #f5f5f7;
}
