/* 家晓俱乐部官网 jyhx.cn
   色板：品牌橙 #e85b2a 为主场；黑猫的墨黑 #1a1210 做第二主色；
   小恐龙的薄荷绿只用在极少的点缀（状态点、扫码线）。 */
/* 标题字：思源黑体 Heavy（Noto Sans SC 900）子集，只含页面用到的字；改文案后要重新子集化 */
@font-face {
  font-family: "HS";
  src: url("/assets/hs.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --o: #e85b2a;
  --o-deep: #c8461a;
  --o-hot: #ff7a45;
  --ink: #1a1210;
  --ink-2: #5a4f4a;
  --ink-3: #9a8f8a;
  --peach: #fff1e9;
  --line: #efe4de;
  --mint: #8fe3c6;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.d { font-family: "HS", "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 900; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
/* text-wrap: balance 让中文标题在折行时尽量均分（避免「会玩，就边玩边 / 赚」这种
   单字孤行）。不支持的浏览器按普通换行处理，无副作用。 */
.h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12; text-wrap: balance; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--spring), background .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(26,18,16,.6); }
.btn--ink:hover { background: #000; }
.btn--orange { background: var(--o); color: #fff; box-shadow: 0 10px 28px -10px rgba(232,91,42,.8); }
.btn--orange:hover { background: var(--o-hot); }
.btn--glass { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--o-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line-light:hover { border-color: #fff; }
/* 顶栏：压在橙色首屏上是透明白字，滚动后变白底墨字 */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.bar__row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.bar__nav { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.bar__nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; opacity: .88; transition: background .2s, opacity .2s; }
.bar__nav a:hover { opacity: 1; background: rgba(255,255,255,.16); }
.bar.is-solid { background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.bar.is-solid .bar__nav a:hover { background: var(--peach); }
.bar.is-solid .brand img { box-shadow: none; }

/* ===== 首屏 ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 920px); padding: 120px 0 56px;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 78% 40%, #ff7c48 0%, var(--o) 45%, #d44c1d 100%);
  color: #fff;
}
.hero__grid { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; }
.hero__title { margin: 0; font-size: clamp(46px, 6.6vw, 100px); line-height: 1.08; letter-spacing: -.035em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .ln > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__sub { max-width: 30em; margin: 28px 0 0; font-size: 18px; color: rgba(255,255,255,.9); animation: fade .8s .35s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: fade .8s .45s both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 舞台：雷达环 + 环绕的游戏图标 + 恐龙和猫 */
.stage { position: relative; aspect-ratio: 1 / 1; width: min(100%, 600px); justify-self: end; --px: 0; --py: 0; }
.stage__ring { position: absolute; inset: 4%; transform: translate(calc(var(--px) * -10px), calc(var(--py) * -10px)); transition: transform .4s var(--ease); }
.stage__ring svg { width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; }
.stage__ring svg circle:nth-child(2) { stroke-dasharray: 3 7; }
.stage__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,255,255,.26), rgba(255,255,255,0) 22%);
  -webkit-mask: radial-gradient(circle, transparent 25%, #000 26%); mask: radial-gradient(circle, transparent 25%, #000 26%);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit { position: absolute; inset: 4%; margin: 0; padding: 0; list-style: none; animation: spin 48s linear infinite; }
.orbit li { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; }
.orbit li:nth-child(1) { transform: rotate(20deg) translateY(-340%) rotate(-20deg); }
.orbit li:nth-child(2) { transform: rotate(110deg) translateY(-340%) rotate(-110deg); }
.orbit li:nth-child(3) { transform: rotate(200deg) translateY(-340%) rotate(-200deg); }
.orbit li:nth-child(4) { transform: rotate(290deg) translateY(-340%) rotate(-290deg); }
.orbit img { width: 100%; height: 100%; object-fit: cover; border-radius: 26%; border: 3px solid #fff; box-shadow: 0 12px 28px -8px rgba(90,25,5,.55); animation: spin 48s linear infinite reverse; }
.stage__floor { position: absolute; left: 14%; right: 14%; bottom: 13%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90,25,5,.35), transparent); z-index: 0; }
.pet { position: absolute; z-index: 2; bottom: 15%; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .5s var(--ease); -webkit-tap-highlight-color: transparent; }
.pet img { width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(90,25,5,.3)); transform-origin: 50% 100%; }
.pet--dino { left: 8%; width: 45%; transform: translate(calc(var(--px) * 18px), calc(var(--py) * 10px)); }
.pet--cat { right: 9%; width: 38%; transform: translate(calc(var(--px) * 28px), calc(var(--py) * 14px)); }
@keyframes pop { 0% { transform: scale(.82, 1.12); } 60% { transform: scale(1.06, .95); } 100% { transform: none; } }
.pet--dino img { animation: bob 4.4s ease-in-out infinite; }
.pet--cat img { animation: bob 4.4s 1.1s ease-in-out infinite; }
.pet.is-pop img { animation: pop .55s var(--spring); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.stage__say {
  position: absolute; z-index: 3; left: 50%; top: 14%; margin: 0; padding: 10px 18px;
  border-radius: 18px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(90,25,5,.5);
  opacity: 0; transform: translate(-50%, 8px) scale(.9); transition: opacity .25s, transform .35s var(--spring);
  pointer-events: none;
}
.stage__say.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage__say::after { content: ""; position: absolute; bottom: -7px; left: var(--tail, 50%); width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
/* ===== 游戏 ===== */
/* 2026-10 重设计：大卡片网格 → 横向游戏 icon 墙。
   小方 icon + 名字在下，一排排下所有游戏，紧凑精致（WeGame/Steam 同款排法）。 */
.games { padding: 64px 0 56px; }
.deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 28px 20px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
.game-loading { grid-column: 1 / -1; padding: 40px 0; color: var(--ink-2); text-align: center; }

/* 单个游戏项：垂直堆叠 icon → 名字 → 平台 */
.gitem__link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; text-align: center;
}
.gitem__icon {
  /* contain 完整显示 logo（cover 会切掉带文字的游戏 logo 边缘）；
     深色底填补比例差异的留白，看起来仍是整齐的深色圆角方块 */
  width: 76px; height: 76px; border-radius: 20px; object-fit: contain;
  padding: 8px; box-sizing: border-box;
  background: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(26,18,16,.4);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.gitem__link:hover .gitem__icon {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 32px -12px rgba(232,91,42,.5);
}
.gitem__name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.gitem__plat {
  font-size: 12px; color: #c96a3a; font-weight: 600;
  padding: 1px 8px; border-radius: 999px; background: rgba(232,91,42,.12);
  margin-top: -4px;
}

/* ===== 两条路：找陪玩 / 当陪玩 ===== */
.paths { padding: 0 0 40px; }
.split { display: flex; gap: 20px; width: min(1360px, calc(100% - 40px)); margin: 0 auto; }
.side {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: 180px 56px 56px;
  transition: flex-grow .6s var(--ease);
}
.side--play { background: var(--peach); }
.side--join { background: var(--ink); color: #fff; }
.side--join::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(232,91,42,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(232,91,42,.18) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask: radial-gradient(90% 70% at 80% 0%, #000, transparent); mask: radial-gradient(90% 70% at 80% 0%, #000, transparent);
}
@media (hover: hover) and (min-width: 1025px) {
  .split:hover .side { flex-grow: .82; }
  .split .side:hover { flex-grow: 1.18; }
}
.side__pet { position: absolute; top: 24px; right: 36px; width: 150px; height: auto; transition: transform .6s var(--spring); }
.side:hover .side__pet { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
.side__body { max-width: 34em; }
.side__body h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: calc(100% - 150px); }
.side__lead { margin: 18px 0 0; font-size: 17px; color: var(--ink-2); }
.side--join .side__lead { color: rgba(255,255,255,.72); }
.flow { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.flow li { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(26,18,16,.1); }
.side--join .flow li { border-color: rgba(255,255,255,.12); }
.flow b { font-size: 17px; }
.flow span { color: var(--ink-2); }
.side--join .flow span { color: rgba(255,255,255,.7); }
.flow--num { counter-reset: s; }
.flow--num li { grid-template-columns: 40px 5.5em 1fr; }
.flow--num li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--o); color: #fff; font-weight: 800; font-size: 15px;
}
.side__note { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(232,91,42,.14); color: #ffc3a8; font-size: 14px; }
.side__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* ===== 入口 ===== */
.entry { padding: 110px 0 120px; }
.entry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.qr { margin: 0; display: flex; align-items: center; gap: 32px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qr figcaption b { display: block; font-size: 30px; line-height: 1.2; }
.qr figcaption span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.qr__code { position: relative; overflow: hidden; flex: none; width: 200px; aspect-ratio: 1; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.qr__code img { width: 100%; height: 100%; object-fit: contain; }
.qr--main { background: var(--o); color: #fff; box-shadow: 0 30px 60px -30px rgba(232,91,42,.9); }
.qr--main figcaption span { color: rgba(255,255,255,.88); }
.qr--main .qr__code { box-shadow: none; }
.qr__scan { position: absolute; left: 8px; right: 8px; top: 0; height: 3px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 14px 3px rgba(143,227,198,.8); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 6px; } 50% { top: calc(100% - 9px); } }
.web { position: relative; display: flex; align-items: center; gap: 22px; margin-top: 20px; padding: 18px 32px 18px 132px; min-height: 104px; border-radius: 24px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; transition: transform .4s var(--spring); }
.web:hover { transform: translateY(-3px); }
.web img { position: absolute; left: 26px; bottom: -14px; width: 88px; height: auto; transition: transform .5s var(--spring); }
.web:hover img { transform: translateY(-6px) rotate(-5deg); }
.web__txt { flex: 1; min-width: 0; }
.web__txt b { display: block; font-size: 22px; color: var(--o-hot); }
.web__txt span { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 15px; }
.web__go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--o); font-size: 22px; transition: transform .3s var(--ease); }
.web:hover .web__go { transform: translateX(4px); }

.foot { background: var(--o); color: #fff; overflow: hidden; }
/* 页脚大字：整字完整显示（不再下沉裁切）；龙和猫各自响应悬停，互不带动 */
.foot__band { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2.4vw; padding: 48px 0 28px; }
.foot__word { font-size: clamp(44px, 10.5vw, 160px); line-height: 1; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.foot__dino, .foot__cat { width: clamp(64px, 9.5vw, 150px); height: auto; transition: transform .5s var(--spring); }
.foot__dino:hover { transform: translateY(-10px) rotate(-6deg); }
.foot__cat:hover { transform: translateY(-10px) rotate(6deg); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.3); font-size: 14px; position: relative; z-index: 1; background: var(--o); }
.foot__co b { display: block; font-size: 15px; }
.foot__co span { color: rgba(255,255,255,.85); }
.foot__co a, .foot__links a { text-decoration: none; }
.foot__co a:hover, .foot__links a:hover { text-decoration: underline; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }

/* ===== 滚动显现（仅一次，JS 加 .is-in） ===== */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.side.rv { transition: opacity .8s var(--ease), transform .8s var(--ease), flex-grow .6s var(--ease); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero__row { grid-template-columns: 1fr; }
  .stage { justify-self: center; width: min(100%, 520px); margin-top: 8px; }
  .split { flex-direction: column; }
  /* 竖排时 flex-basis:0 + overflow:hidden 会把卡片压成只剩内边距 */
  .side { flex: none; }
  /* 卡片竖排后整行有 960px 宽，而 .side__body 的 34em(≈544px) 是为并排卡设计的，
     实测右侧会空出 380px，分隔线也在半途断掉。竖排时让正文吃满卡宽。 */
  .side__body { max-width: none; }
  .qr { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .bar__nav { display: none; }
  .bar__row { justify-content: space-between; height: 60px; }
  .brand { font-size: 18px; }
  .hero { padding: 92px 0 32px; min-height: 0; }
  .stage { width: calc(100% - 24px); }
  .orbit li { width: 13%; margin: -6.5% 0 0 -6.5%; }
  .hero__sub { font-size: 16px; margin-top: 20px; }
  .hero__actions .btn { flex: 1 1 0; padding: 0 14px; }
  .games { padding: 48px 0 40px; }
  .deck { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 20px 12px; margin-top: 28px; }
  .gitem__icon { width: 64px; height: 64px; border-radius: 16px; }
  .gitem__name { font-size: 13px; }
  .paths { padding-bottom: 80px; }
  .split { width: calc(100% - 24px); gap: 12px; }
  .side { padding: 150px 24px 32px; border-radius: 26px; }
  .side__pet { width: 116px; right: 16px; top: 18px; }
  /* ⚠️ 必须同时解除桌面端 max-width: calc(100% - 150px)。
     那条规则是为 150px 宠物图让位，手机端宠物缩到 116px 且这里又加了
     padding-right: 100px —— 两次让位叠加后，390px 屏上标题可用宽度只剩 68px，
     中文按字换行，标题变成「缺/个/队/友」竖排（320px 屏更只剩 38px）。 */
  .side__body h2 { max-width: none; padding-right: 104px; }
  .flow li { grid-template-columns: 1fr; gap: 2px; }
  .flow--num li { grid-template-columns: 40px 1fr; }
  .flow--num li span { grid-column: 2; }
  .side__act .btn { flex: 1 1 auto; }
  .entry { padding: 80px 0; }
  .entry__grid { grid-template-columns: 1fr; margin-top: 32px; gap: 12px; }
  .qr { flex-direction: row; align-items: center; gap: 18px; padding: 18px; border-radius: 22px; }
  .qr__code { width: 128px; padding: 8px; border-radius: 14px; }
  .qr figcaption b { font-size: 22px; }
  .qr figcaption span { font-size: 14px; margin-top: 6px; }
  .web { margin-top: 12px; padding: 16px 18px 16px 96px; min-height: 92px; border-radius: 22px; }
  .web img { left: 16px; width: 66px; }
  .web__txt b { font-size: 18px; }
  .web__txt span { font-size: 13px; }
  .web__go { width: 38px; height: 38px; font-size: 18px; }
  .foot__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ===== 2026-09-29 追加特效 ===== */

/* 滚动进度条：顶部 3px 墨条，随滚动横向铺开 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--o-hot), var(--o));
  box-shadow: 0 0 10px rgba(232, 91, 42, .5);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* 首屏指针光斑：跟随鼠标的柔和橙色高光 */
.hero__glow {
  position: absolute; left: 50%; top: 50%; width: 640px; height: 640px;
  margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,0) 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .3s; z-index: -1;
}
.hero__glow.is-on { opacity: 1; }

/* 导航项下划线：hover 时从左往右铺出 */
.bar__nav a { position: relative; }
.bar__nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: currentColor; opacity: .75;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .28s var(--ease);
}
.bar__nav a:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .progress i { transition: none; }
}

/* ===== 2026-09-29 首屏再加特效（用户要求"多加设计感和特效"） ===== */

/* 1) 首屏背景：一团缓慢漂移的暖橙高光，让底色"活"起来 */
.hero::before {
  content: ''; position: absolute; inset: -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 52% at 32% 42%, rgba(255, 138, 76, .55), rgba(255, 138, 76, 0) 68%);
  animation: hero-drift 14s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: translate(-5%, -4%) scale(1); }
  to   { transform: translate(6%, 5%) scale(1.14); }
}

/* 2) 首屏星光粒子：几颗小点忽明忽暗地往上飘 */
.sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sparkles i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  opacity: 0; box-shadow: 0 0 10px rgba(255,255,255,.9);
  animation: twinkle 4s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 10%; top: 32%; }
.sparkles i:nth-child(2) { left: 26%; top: 16%; width: 4px; height: 4px; animation-delay: 1.3s; }
.sparkles i:nth-child(3) { left: 43%; top: 24%; width: 8px; height: 8px; animation-delay: 2.2s; }
.sparkles i:nth-child(4) { left: 62%; top: 15%; width: 4px; height: 4px; animation-delay: .7s; }
.sparkles i:nth-child(5) { left: 78%; top: 34%; width: 5px; height: 5px; animation-delay: 1.9s; }
.sparkles i:nth-child(6) { left: 88%; top: 20%; width: 3px; height: 3px; animation-delay: 3s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.35); }
  50%      { opacity: .95; transform: translateY(-16px) scale(1); }
}

/* 3) 首屏底部「往下看」提示：一个小圆点向下滑 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 26px; height: 42px;
  margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.scroll-hint:hover { border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .sparkles i, .scroll-hint i { animation: none; }
  .sparkles i { opacity: .5; }
}

/* ===== 2026-09-29 炫酷交互：光标拖尾光晕 ===== */
.cursor-fx { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.cursor-fx i { position: absolute; left: 0; top: 0; border-radius: 50%; opacity: 0; transition: opacity .35s; }
.cursor-fx__dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--o); box-shadow: 0 0 0 5px rgba(232,91,42,.16), 0 0 20px rgba(232,91,42,.5); }
.cursor-fx__glow { width: 300px; height: 300px; margin: -150px 0 0 -150px; background: radial-gradient(circle, rgba(232,91,42,.14), rgba(232,91,42,0) 62%); }
.cursor-fx.is-on i { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-fx { display: none; } }
