/* ============================================================
   杨陈美慧 · 个人作品集 — 夜晚模式（星空主题）
   Design System
   ============================================================ */
:root {
  --bg: #030614;
  --bg-alt: rgba(122, 162, 247, .055);
  --card: rgba(16, 27, 66, .94);
  --ink: #f0eff8;
  --ink-soft: #a7adc6;
  --ink-faint: #6f75a0;
  --line: rgba(122, 162, 247, .22);
  --accent: #7aa2f7;
  --accent-soft: #a3c2ff;
  --accent-tint: rgba(122, 162, 247, .18);
  --gold: #ffd166;
  --gold-soft: #ffe9a8;
  --gold-tint: rgba(255, 209, 102, .12);
  --warm: #ff9e6d;
  --warm-tint: rgba(255, 158, 109, .12);
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 12px;
  --shadow-card: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 44px -18px rgba(0, 0, 0, .75);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, .45), 0 30px 60px -18px rgba(0, 0, 0, .95);
  --serif: "Fraunces", "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #2a2107; }

/* 自定义星星光标（精确指针设备） */
@media (pointer: fine) {
  * { cursor: none !important; }
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- 全局星空背景 ---------- */
.starfield {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.starfield .sf {
  position: absolute; border-radius: 50%;
  background: #fff;
  animation: sf-twinkle var(--d, 4s) ease-in-out var(--dl, 0s) infinite;
}
.starfield .sf.gold { background: var(--gold); }
@keyframes sf-twinkle {
  0%, 100% { opacity: var(--o, .5); transform: scale(1); }
  50% { opacity: .1; transform: scale(.6); }
}

/* ---------- 鼠标星星 & 残影画布 ---------- */
.cursor-star {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 30px; height: 30px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, .9));
  transition: opacity .3s;
  will-change: transform;
}
.cursor-star.on { opacity: 1; }
.cursor-star svg {
  width: 100%; height: 100%;
  animation: cursor-spin 6s linear infinite;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4);
}
.cursor-star.grow svg { transform: scale(1.7); }
@keyframes cursor-spin { to { rotate: 360deg; } }

.trail-canvas {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
}
@media (pointer: coarse) {
  .cursor-star, .trail-canvas { display: none; }
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--accent-soft));
  z-index: 1000; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(255, 209, 102, .8);
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 900;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(1160px, 94%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 22px;
  background: rgba(12, 22, 52, .78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(122, 162, 247, .22);
  border-radius: 999px;
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6);
  transition: box-shadow .3s;
}
.nav.scrolled .nav-inner { box-shadow: 0 8px 34px -10px rgba(0, 0, 0, .85); }

.nav-logo { display: flex; align-items: baseline; gap: 8px; }
.logo-mark {
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  letter-spacing: .04em; color: var(--ink);
}
.logo-mark::after { content: "."; color: var(--gold); }
.logo-sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(139, 128, 246, .12); }
.nav-links a.active { color: var(--gold); background: var(--gold-tint); }
.nav-links a.nav-cta {
  margin-left: 8px;
  color: #2a2107; background: linear-gradient(120deg, var(--gold), #ffb347);
  padding: 9px 20px; font-weight: 600;
  transition: transform .25s, box-shadow .25s;
}
.nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(255, 209, 102, .5); }
.nav-links a.nav-cta.active { color: #2a2107; background: linear-gradient(120deg, var(--gold), #ffb347); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px; border-radius: 10px;
}
.nav-burger span {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}
.hero-inner {
  width: min(1160px, 92%); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr .9fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}

/* ---------- 梦幻 Hero 场景 ---------- */
.hero-scene {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 35% at 75% 18%, rgba(122, 162, 247, .16), transparent 55%),
    radial-gradient(ellipse 60% 30% at 20% 22%, rgba(163, 126, 235, .12), transparent 50%),
    radial-gradient(ellipse 90% 30% at 50% 100%, rgba(46, 90, 190, .26), transparent 60%),
    linear-gradient(180deg, #02030a 0%, #050a1d 55%, #07102f 100%);
}

/* 悬挂的照片月亮 */
.hero-photo-moon {
  position: relative;
  width: 520px; height: 680px;
  display: flex; justify-content: center;
  margin-top: -250px;
  z-index: 3;
}
.hpm-pivot {
  position: relative;
  width: 320px; height: 420px;
  transform-origin: 50% 0;
  will-change: transform;
}
.hpm-line {
  position: absolute; left: 50%; top: 0;
  width: 1.5px; height: 80px; transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 233, 168, 0), rgba(255, 233, 168, .55));
}
.hpm-line::before {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 10px rgba(255, 233, 168, .9);
}
.hpm-moon {
  position: absolute; left: 0; bottom: 0;
  width: 300px; height: 300px; border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 233, 168, .35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 22px 60px -18px rgba(0, 0, 0, .55),
    0 0 60px -12px rgba(255, 209, 102, .28);
  cursor: pointer;
  animation: moon-breathe 4.5s ease-in-out infinite;
}
.hpm-moon img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
.hpm-star {
  position: absolute; top: 20px; right: 16px;
  width: 48px; height: 48px;
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, .9));
  animation: star-pulse 2.5s ease-in-out infinite;
}

/* 环绕标签 */
.hpm-orbit {
  position: absolute; left: 0; right: 0; top: 80px; bottom: 0;
  pointer-events: none;
  animation: orbit-sway 6s ease-in-out infinite alternate;
}
.hpm-tag {
  position: absolute;
  left: 50%; top: 50%;
  --angle: 0deg;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(16, 27, 66, .82);
  border: 1px solid rgba(130, 170, 255, .28);
  color: var(--gold-soft);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255,255,255,.06);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s;
  pointer-events: auto;
  z-index: 5;
}
.hpm-tag i {
  display: inline-block; width: 10px; height: 10px;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.hpm-tag:hover,
.hpm-tag:focus-visible {
  background: rgba(255, 209, 102, .14);
  border-color: var(--gold);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, .35),
    0 0 24px rgba(255, 209, 102, .35),
    0 10px 24px -10px rgba(0, 0, 0, .6);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle))) scale(1.12);
}
.tag-985 { --angle: -135deg; }
.tag-ixd { --angle: -45deg; }
.tag-aigc { --angle: 165deg; }

/* 照片交互 — 星星微粒 */
.hpm-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}
.hpm-particle {
  position: absolute;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: .9;
  filter: drop-shadow(0 0 4px rgba(255, 233, 168, .9));
  animation: hpm-particle-fall var(--dur, 1s) ease-in forwards;
}
@keyframes hpm-particle-fall {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  18% { transform: translate(calc(var(--drift, 0) * .18), calc(var(--fall, 100px) * .18)) scale(1.25); opacity: 1; }
  45% { transform: translate(calc(var(--drift, 0) * .45), calc(var(--fall, 100px) * .45)) scale(.95); opacity: .95; }
  100% { transform: translate(var(--drift, 0), var(--fall, 100px)) scale(.3); opacity: 0; }
}

/* 月光呼吸粒子：向四周散发 */
.hpm-particle.hpm-particle-out {
  animation: hpm-particle-out var(--dur, 1.2s) cubic-bezier(.1,.55,.35,1) forwards;
}
@keyframes hpm-particle-out {
  0% { transform: translate(0, 0) scale(.3); opacity: 0; }
  22% { transform: translate(calc(var(--ox, 40px) * .22), calc(var(--oy, 0px) * .22)) scale(1.15); opacity: .95; }
  100% { transform: translate(var(--ox, 40px), var(--oy, 0px)) scale(.15); opacity: 0; }
}
@keyframes moon-breathe {
  0%, 100% {
    border-color: rgba(255, 233, 168, .3);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .06),
      0 22px 60px -18px rgba(0, 0, 0, .55),
      0 0 60px -12px rgba(255, 209, 102, .26);
  }
  50% {
    border-color: rgba(255, 233, 168, .6);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .1),
      0 22px 60px -18px rgba(0, 0, 0, .55),
      0 0 96px -4px rgba(255, 233, 168, .5),
      0 0 34px -6px rgba(255, 233, 168, .35);
  }
}

@keyframes star-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(8deg); }
}
@keyframes orbit-sway {
  0% { transform: rotate(-1.5deg); }
  100% { transform: rotate(1.5deg); }
}

/* 纸船 */
.paper-boat-wrap {
  position: absolute; bottom: 8%; right: 2%;
  width: min(620px, 58vw);
  z-index: 3;
  animation: boat-bob 5.5s ease-in-out infinite;
}
.paper-boat-img {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, .55));
}
@keyframes boat-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 船周围湖水波纹 */
.boat-ripples {
  position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 90px; pointer-events: none;
}
.boat-ripples span {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scaleY(.32);
  border: 2px solid rgba(139, 178, 255, .65);
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(139, 178, 255, .45));
  animation: ripple-expand 5.5s ease-out infinite;
}
.boat-ripples span:nth-child(1) { width: 50px; height: 50px; animation-delay: 0s; }
.boat-ripples span:nth-child(2) { width: 120px; height: 120px; animation-delay: .8s; }
.boat-ripples span:nth-child(3) { width: 190px; height: 190px; animation-delay: 1.6s; }
.boat-ripples span:nth-child(4) { width: 260px; height: 260px; animation-delay: 2.4s; }
.boat-ripples span:nth-child(5) { width: 330px; height: 330px; animation-delay: 3.2s; }
.boat-ripples span:nth-child(6) { width: 400px; height: 400px; animation-delay: 4s; }
.boat-ripples span:nth-child(7) { width: 470px; height: 470px; animation-delay: 4.8s; }
@keyframes ripple-expand {
  0% { transform: translate(-50%, -50%) scale(.35) scaleY(.32); opacity: 0; }
  12% { opacity: .85; }
  100% { transform: translate(-50%, -50%) scale(1.85) scaleY(.32); opacity: 0; }
}

/* 水面与倒影 */
.water {
  position: absolute; bottom: 0; left: 0; right: 0; height: 22%;
  pointer-events: none; z-index: 2;
}
.water-waves {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
  animation: wave-sway 10s ease-in-out infinite alternate;
}
@keyframes wave-sway {
  0% { transform: translateX(-6px); }
  100% { transform: translateX(8px); }
}
.water-stars {
  position: absolute; inset: 0;
}
.water-stars .ws {
  position: absolute;
  width: var(--s, 3px); height: var(--s, 3px);
  background: var(--gold);
  border-radius: 50%;
  transform: scaleY(.35);
  opacity: var(--o, .5);
  animation: water-shimmer var(--d, 3s) ease-in-out var(--dl, 0s) infinite;
}
@keyframes water-shimmer {
  0%, 100% { opacity: var(--o, .5); }
  50% { opacity: .15; }
}

/* 远山剪影 */
.mountains {
  position: absolute; bottom: 0; left: 0; right: 0; height: 110px;
  background: linear-gradient(180deg, transparent, #02030a 90%);
  clip-path: polygon(
    0% 100%, 0% 55%, 8% 40%, 15% 58%, 22% 32%, 30% 50%,
    40% 25%, 50% 45%, 60% 18%, 72% 42%, 82% 28%, 90% 48%,
    96% 35%, 100% 55%, 100% 100%
  );
  opacity: .8; z-index: 1;
}

/* ---------- 闪烁星星 ---------- */
.tw {
  position: absolute;
  width: var(--s, 12px); height: var(--s, 12px);
  background: var(--gold-soft);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: twinkle var(--d, 3s) ease-in-out var(--dl, 0s) infinite;
  filter: drop-shadow(0 0 6px rgba(255, 233, 168, .9));
  z-index: 2;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: .2; transform: scale(.55) rotate(30deg); }
}

.hero-hello {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: .1em;
  color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px;
  background: rgba(12, 22, 52, .82); border: 1px solid var(--line);
  margin-bottom: 26px;
}
.hello-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4cd97b;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 217, 123, .5); }
  50% { box-shadow: 0 0 0 7px rgba(76, 217, 123, 0); }
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900; line-height: 1.08; letter-spacing: .02em;
}
.hero-en {
  display: block;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 400; font-style: italic; letter-spacing: .12em;
  color: var(--ink-faint); margin-top: 10px;
}
.hero-role {
  margin-top: 22px; font-size: 19px; color: var(--ink-soft);
}
.hero-role strong { color: var(--ink); font-weight: 700; }
.hero-role i { color: var(--gold); font-style: normal; margin: 0 4px; }
.hero-intro { margin-top: 18px; max-width: 560px; font-size: 15.5px; color: var(--ink-soft); }
.accent-text { color: var(--gold); font-weight: 500; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  padding: 7px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, color .25s;
}
.tag:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }

.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold), #ffb347);
  color: #2a2107; font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(255, 209, 102, .45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(255, 209, 102, .6); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 44px; margin-top: 48px;
  padding-top: 30px; border-top: 1px dashed var(--line);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--gold);
  line-height: 1.1;
}
.stat-label { font-size: 13px; color: var(--ink-faint); }

/* 右侧悬挂照片月亮 */
.hero-right { display: flex; justify-content: center; align-items: center; }

.scroll-down {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--ink-faint); padding: 12px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12, 22, 52, .72);
  animation: bounce-down 2.2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce-down {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ============================================================
   跑马灯
   ============================================================ */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #141936, #1d2450 50%, #141936);
  border-top: 1px solid rgba(139, 128, 246, .2);
  border-bottom: 1px solid rgba(139, 128, 246, .2);
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  font-family: var(--serif); font-style: italic;
  font-size: 17px; letter-spacing: .08em;
  color: rgba(255, 233, 168, .85);
  padding-right: 20px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Section 通用
   ============================================================ */
.section { padding: 110px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-kicker {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  font-size: 14px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 48px); font-weight: 900;
  letter-spacing: .02em;
}
.section-desc { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   工作经历 · 双栏排版（参考图布局）
   ============================================================ */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.experience-intro { position: sticky; top: 110px; }
.experience-intro .section-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  color: var(--ink-faint); text-transform: uppercase;
}
.experience-intro .section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.28;
  margin-top: 18px;
}
.experience-intro > p {
  margin-top: 24px;
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.85;
}
.experience-highlight {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(255, 209, 102, .12);
  border: 1px solid rgba(255, 209, 102, .32);
  color: var(--ink);
}
.experience-highlight p {
  margin: 0;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.7;
}

.experience-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.exp-tl-line {
  position: absolute; left: 22px; top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, rgba(255, 209, 102, .45), rgba(255, 209, 102, .12));
}
.exp-tl-card {
  position: relative;
  margin-left: 64px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.exp-tl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 209, 102, .4);
}
.exp-tl-num {
  position: absolute; left: -64px; top: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1.5px solid rgba(255, 209, 102, .5);
  color: var(--gold); font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg), 0 0 22px rgba(255, 209, 102, .25);
}
.exp-tl-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px;
}
.exp-tl-date {
  font-size: 12px; font-weight: 500;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.exp-tl-tag {
  font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: #0d1430; border: 1px solid var(--line);
  color: var(--ink-soft);
}
.exp-tl-title { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.exp-tl-desc {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.7; margin-bottom: 16px;
}
.exp-tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tl-tags span {
  font-size: 11.5px; color: var(--ink-faint);
  padding: 5px 12px; border-radius: 999px;
  background: #0d1430; border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .experience-grid { grid-template-columns: 1fr; gap: 60px; }
  .experience-intro { position: static; }
  .exp-tl-line { left: 18px; }
  .exp-tl-card { margin-left: 52px; }
  .exp-tl-num { left: -52px; width: 36px; height: 36px; font-size: 12px; }
}
@media (max-width: 560px) {
  .exp-tl-card { padding: 22px 24px; }
  .exp-tl-title { font-size: 18px; }
  .exp-tl-desc { font-size: 13px; }
}

/* ============================================================
   作品集
   ============================================================ */
.filter-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 10px 22px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  transition: all .3s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(120deg, var(--gold), #ffb347);
  color: #2a2107; border-color: transparent; font-weight: 600;
}

.projects-carousel {
  position: relative;
  width: 100%;
  padding: 20px 0 70px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.projects-carousel.dragging { cursor: grabbing; }
.projects-carousel img { -webkit-user-drag: none; user-select: none; }
.projects-grid {
  position: relative;
  height: 520px;
  perspective: 1200px;
  transform-style: preserve-3d;
  max-width: 100%;
  margin: 0 auto;
}

.project-card {
  position: absolute;
  left: 50%; top: 0;
  width: min(380px, 72vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .55s cubic-bezier(.2,.9,.3,1.1), box-shadow .4s, opacity .55s, border-color .4s;
  display: flex; flex-direction: column;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.project-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 209, 102, .35);
}
.project-card.hidden { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(130, 170, 255, .35);
  background: rgba(12, 22, 52, .78);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, transform .3s;
}
.carousel-btn:hover {
  background: rgba(26, 40, 92, .92);
  border-color: var(--gold-soft);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0;
  background: rgba(130, 170, 255, .35);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

@media (max-width: 860px) {
  .carousel-btn { display: none; }
}

.project-cover {
  position: relative;
  height: 230px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform .35s ease;
}

/* --- 封面 · vivo 年报 --- */
.cover-vivo {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #101a4a 0%, #26379c 55%, #4559d6 100%);
  padding: 18px;
  overflow: hidden;
}
.cover-vivo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 14px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .45));
  transition: transform .4s;
}
.project-card:hover .cover-vivo img { transform: scale(1.04); }
.cover-phone {
  position: relative; z-index: 2;
  width: 118px; height: 196px;
  background: #fff; border-radius: 20px;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.65);
  transform: rotate(-4deg);
  transition: transform .4s;
}
.project-card:hover .cover-phone { transform: rotate(0) translateY(-6px); }
.ph-notch {
  width: 40px; height: 5px; border-radius: 4px;
  background: #dcd8d0; margin: -6px auto 0;
}
.ph-head { font-size: 9px; font-weight: 700; color: #3550c9; text-align: center; letter-spacing: .05em; }
.ph-chart {
  flex: 1; display: flex; align-items: flex-end; gap: 6px;
  padding: 4px 6px; background: #f2f4ff; border-radius: 10px;
}
.ph-chart i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, #3550c9, #8b80f6);
  animation: bar-grow 1.2s cubic-bezier(.2,.9,.3,1.2) both;
}
.ph-chart i:nth-child(2) { animation-delay: .08s } .ph-chart i:nth-child(3) { animation-delay: .16s }
.ph-chart i:nth-child(4) { animation-delay: .24s } .ph-chart i:nth-child(5) { animation-delay: .32s }
.ph-chart i:nth-child(6) { animation-delay: .4s }
@keyframes bar-grow { from { height: 5px; } }
.ph-mbti {
  font-size: 9px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #ff9e6d, #f76b8a);
  border-radius: 8px; text-align: center; padding: 6px 0;
}
.ph-rows { display: flex; flex-direction: column; gap: 5px; }
.ph-rows span {
  height: 7px; border-radius: 4px; background: #eee9e1;
}
.ph-rows span:nth-child(2) { width: 75%; } .ph-rows span:nth-child(3) { width: 55%; }
.cover-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-1 { width: 90px; height: 90px; top: -22px; right: 32px; background: radial-gradient(circle at 35% 35%, #9fb4ff, #5b74e8); opacity: .85; }
.orb-2 { width: 46px; height: 46px; bottom: 26px; left: 44px; background: radial-gradient(circle at 35% 35%, #ffc59e, #f76b8a); opacity: .9; }
.orb-3 { width: 70px; height: 70px; top: 18px; right: -14px; background: radial-gradient(circle at 35% 35%, #c7b9f8, #8b80f6); opacity: .6; }
.cover-star {
  position: absolute; width: 20px; top: 34px; left: 58px;
  animation: spin-slow 9s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- 封面 · Artioo 网页 --- */
.cover-artioo { background: linear-gradient(160deg, #2b2660, #3d3585); }
.cover-browser {
  width: 78%; height: 78%;
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 44px -14px rgba(0, 0, 0, .6);
  overflow: hidden;
  transform: translateY(6px);
  transition: transform .4s;
  display: flex; flex-direction: column;
}
.project-card:hover .cover-browser { transform: translateY(0); }
.br-bar {
  display: flex; gap: 5px; padding: 10px 12px;
  background: #f4f2fa; border-bottom: 1px solid #e9e5f5;
}
.br-bar i { width: 8px; height: 8px; border-radius: 50%; }
.br-bar i:nth-child(1) { background: #ff8f7a; }
.br-bar i:nth-child(2) { background: #ffd48a; }
.br-bar i:nth-child(3) { background: #9be3a5; }
.br-hero {
  position: relative;
  flex: 1; height: auto; min-height: 0;
  background: #0d1028;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.br-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  transition: transform .5s;
}
.project-card:hover .br-hero img { transform: scale(1.04); }
.br-cards { display: flex; gap: 8px; padding: 12px; }
.br-cards div {
  flex: 1; height: 52px; border-radius: 8px;
  background: linear-gradient(180deg, #f6f4fd, #ece8fa);
  border: 1px solid #e9e4f6;
}
.br-cards div:nth-child(2) { background: linear-gradient(180deg, #fff4ec, #ffe4d3); border-color: #ffe4d3; }
.br-cards div:nth-child(3) { background: linear-gradient(180deg, #eefaf0, #ddf2e2); border-color: #ddf2e2; }

/* --- 封面 · V-Art App --- */
.cover-vart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #5b4ed0, #7a6cf0 55%, #9b8ff8);
  padding: 18px;
  overflow: hidden;
}
.cover-vart img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 14px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .45));
  transition: transform .4s;
}
.project-card:hover .cover-vart img { transform: scale(1.04); }

.ph-posters { flex: 1; display: flex; gap: 7px; }
.poster {
  flex: 1; border-radius: 10px; padding: 8px;
  display: flex; align-items: flex-end;
  color: #fff; font-size: 8.5px; font-weight: 700; line-height: 1.3;
}
.p1 { background: linear-gradient(160deg, #f76b8a, #ff9e6d); min-height: 100%; }
.p2 { background: linear-gradient(160deg, #3d3568, #6a5ae0); margin-top: 14px; }

/* --- 封面 · 绘本书系 --- */
.cover-book { background: linear-gradient(150deg, #3d3055, #54406e); }
.cover-book-obj.cover-book-fold { width: 200px; height: 132px; perspective: 900px; }
.fold-stack {
  position: absolute; left: 5px; top: 5px;
  width: 100%; height: 100%;
  border-radius: 4px;
  background: #c8bca8;
  box-shadow:
    2px 2px 0 #c8bca8,
    4px 4px 0 #bfb39f,
    6px 6px 0 #b5a996,
    8px 8px 0 #ab9f8d;
  z-index: 1;
}
.fold-page { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; background: #fff; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,.7,.3,1); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .55); }
.fold-page img { position: absolute; top: 0; width: 200%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; backface-visibility: hidden; }
.fold-l img { left: 0; }
.fold-r img { left: -100%; }
.fold-l { left: 0; border-radius: 4px 2px 2px 4px; transform: rotateY(9deg); transform-origin: right center; z-index: 2; }
.fold-r { left: 50%; border-radius: 2px 4px 4px 2px; transform: rotateY(-9deg); transform-origin: left center; z-index: 3; }
.fold-l::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(0,0,0,0) 30%); }
.fold-r::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 30%); }

.project-card:hover .cover-book-obj { transform: rotate(0) translateY(-4px); }
.cover-book-obj {
  position: relative; width: 150px; height: 110px;
  transform: rotate(-3deg);
  transition: transform .4s;
}
.project-card:hover .cover-book-obj { transform: rotate(0) translateY(-4px); }
.bk-page {
  position: absolute; top: 0; width: 74px; height: 104px;
  background: #fff; border-radius: 6px 10px 10px 6px;
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, .55);
}
.bk-p1 {
  left: 0; transform: skewY(6deg);
  background: linear-gradient(120deg, #fff, #fdeede);
}
.bk-p1::after {
  content: ""; position: absolute; inset: 12px 10px;
  background:
    radial-gradient(circle 12px at 40% 35%, #ffd9a8 98%, transparent),
    radial-gradient(circle 8px at 65% 60%, #f2b98a 98%, transparent),
    linear-gradient(#e8c8a0 2px, transparent 2px) 0 76%/100% 8px no-repeat,
    linear-gradient(#e8c8a0 2px, transparent 2px) 0 88%/70% 8px no-repeat;
  border-radius: 4px;
}
.bk-p2 {
  right: 0; transform: skewY(-6deg);
  border-radius: 10px 6px 6px 10px;
  background: linear-gradient(240deg, #fff, #fdeede);
}
.bk-p2::after {
  content: ""; position: absolute; inset: 12px 10px;
  background:
    radial-gradient(circle 14px at 55% 30%, #c7b9f8 98%, transparent),
    linear-gradient(#e8c8a0 2px, transparent 2px) 0 62%/100% 8px no-repeat,
    linear-gradient(#e8c8a0 2px, transparent 2px) 0 74%/80% 8px no-repeat,
    linear-gradient(#e8c8a0 2px, transparent 2px) 0 86%/60% 8px no-repeat;
  border-radius: 4px;
}
.bk-spine {
  position: absolute; left: 50%; top: -4px; transform: translateX(-50%);
  width: 14px; height: 112px; border-radius: 6px;
  background: linear-gradient(#c99a5e, #a1743f);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .5);
}
.cover-quote {
  position: absolute; bottom: 16px; width: 100%; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: #e8cfa8; letter-spacing: .06em;
}

/* --- 封面 · 毛绒玩偶 --- */
.cover-plush { background: linear-gradient(150deg, #4a3550, #61415e); }
.plush { position: absolute; }
.plush svg { width: 100%; height: 100%; }
.plush-1 { width: 96px; top: 22px; left: 30px; animation: chip-float 5s ease-in-out infinite; }
.plush-2 { width: 84px; top: 60px; right: 34px; animation: chip-float 6s ease-in-out .8s infinite; }
.plush-3 { width: 74px; bottom: 42px; left: 44%; animation: chip-float 5.5s ease-in-out 1.6s infinite; }
.cover-quote-light { color: #f0c9c4; }

/* --- 封面 · 电商 --- */
.cover-ecom { background: linear-gradient(150deg, #4a2c33, #6b3a3a); overflow: hidden; }
.cover-ecom img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 14px;
  transition: transform .4s;
}
.project-card:hover .cover-ecom img { transform: scale(1.04); }
.ecom-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; width: 78%; height: 74%;
}
.ecom {
  border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  color: #fff; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .5);
  transition: transform .35s;
}
.project-card:hover .ecom:nth-child(odd) { transform: translateY(-4px); }
.project-card:hover .ecom:nth-child(even) { transform: translateY(4px); }
.ecom b { font-family: var(--serif); font-size: 15px; letter-spacing: .05em; }
.ecom span { font-size: 11px; opacity: .92; }
.e1 { grid-row: span 2; background: linear-gradient(160deg, #ff7a59, #e84e6f); }
.e2 { background: linear-gradient(160deg, #f76ba0, #b25ae0); }
.e3 { background: linear-gradient(160deg, #f0a56a, #e0703d); }
.e4 { background: linear-gradient(160deg, #7a6cf0, #4e46b8); }

/* --- 卡片内容 --- */
.project-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cat { font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px; }
.cat-ui { color: #a99ff9; background: rgba(139, 128, 246, .15); }
.cat-intern { color: #ffb98a; background: var(--warm-tint); }
.cat-aigc { color: #d9a3f5; background: rgba(210, 90, 240, .14); }
.cat-visual { color: #7fd6a4; background: rgba(80, 200, 140, .12); }
.time { font-size: 12.5px; color: var(--ink-faint); }
.project-title { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.35; }
.project-desc {
  margin-top: 10px; font-size: 14px; color: var(--ink-soft); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.project-tags span {
  font-size: 12px; color: var(--ink-soft);
  padding: 5px 12px; border-radius: 999px;
  background: #0d1430; border: 1px solid var(--line);
}

/* ============================================================
   技能与爱好
   ============================================================ */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.skill-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .35s, box-shadow .35s;
}
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.skill-cat {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  color: var(--gold); margin-bottom: 24px;
}
.skill-bars { display: flex; flex-direction: column; gap: 20px; }
.sb-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.sb-head span:last-child { color: var(--ink-faint); font-size: 12.5px; }
.sb-track {
  height: 8px; border-radius: 99px; background: #0a1030;
  overflow: hidden;
  border: 1px solid rgba(122, 162, 247, .18);
}
.sb-track i {
  display: block; height: 100%; width: var(--w);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-soft), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s cubic-bezier(.2,.9,.3,1) .2s;
}
.reveal.visible .sb-track i { transform: scaleX(1); }

.skill-card-hobby { background: linear-gradient(160deg, #11183a, #192255); }
.hobby-list { display: flex; flex-direction: column; gap: 20px; }
.hobby { display: flex; align-items: flex-start; gap: 16px; }
.hobby-icon {
  flex: 0 0 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-tint); color: var(--gold);
}
.hobby strong { font-size: 15.5px; display: block; }
.hobby span { font-size: 13px; color: var(--ink-faint); }

/* 自我评价 */
.quote-card {
  position: relative; margin-top: 34px;
  background: linear-gradient(140deg, #232a5e, #161b38);
  border: 1px solid rgba(139, 128, 246, .25);
  color: #e9e7f5;
  border-radius: var(--radius-l);
  padding: 44px 52px;
  overflow: hidden;
}
.quote-card p {
  font-family: var(--serif); font-size: 19px; line-height: 2;
  position: relative; z-index: 1;
}
.quote-mark { position: absolute; top: 24px; left: 28px; color: var(--gold); }
.quote-card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, .22), transparent 70%);
}

/* ============================================================
   教育背景
   ============================================================ */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.edu-card {
  display: flex; gap: 24px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 34px;
  box-shadow: var(--shadow-card);
  transition: transform .35s, box-shadow .35s;
}
.edu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.edu-badge {
  flex: 0 0 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: #fff; background: linear-gradient(150deg, var(--accent-soft), var(--accent));
  box-shadow: 0 10px 22px -8px rgba(112,100,228,.55);
}
.edu-badge-2 { background: linear-gradient(150deg, #ffb98a, #f07850); box-shadow: 0 10px 22px -8px rgba(240,120,80,.5); }
.edu-logo {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 18px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -8px rgba(112,100,228,.25);
  transition: transform .25s, box-shadow .25s;
}
.edu-card:hover .edu-logo { transform: scale(1.08); box-shadow: 0 12px 26px -8px rgba(112,100,228,.4); }
.edu-main { flex: 1; }
.edu-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.edu-top h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; }
.edu-tag {
  font-size: 11.5px; font-weight: 600; color: var(--gold);
  background: var(--gold-tint); border-radius: 6px;
  padding: 2px 8px; vertical-align: 3px; margin-left: 6px;
}
.edu-tag-2 { color: #ffb98a; background: var(--warm-tint); }
.edu-date { font-size: 12.5px; color: var(--ink-faint); }
.edu-major { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.edu-courses { margin-top: 12px; font-size: 13.5px; color: var(--ink-faint); }
.edu-courses b { color: var(--ink-soft); }

/* 荣誉 */
.honors {
  margin-top: 34px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 34px 38px;
  box-shadow: var(--shadow-card);
}
.honors-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  color: var(--ink); margin-bottom: 22px;
}
.honors-title svg { color: var(--gold); }
.honor-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.honor {
  font-size: 13.5px; font-weight: 500; color: #e8c987;
  padding: 9px 18px; border-radius: 999px;
  background: var(--gold-tint);
  border: 1px solid rgba(255, 209, 102, .3);
  transition: transform .25s, box-shadow .25s;
}
.honor:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -8px rgba(255, 209, 102, .45); }

/* ============================================================
   联系我
   ============================================================ */
.contact {
  position: relative;
  z-index: 10;
  padding: 130px 0 540px;
}
.ball-pit { position: relative; z-index: 1; }
.contact-card {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 80px 40px;
  box-shadow: var(--shadow-card), 0 0 80px -30px rgba(139, 128, 246, .4);
}
.contact-deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 260px at 12% 8%, rgba(139,128,246,.18), transparent 70%),
    radial-gradient(420px 260px at 88% 92%, rgba(255,209,102,.14), transparent 70%);
}
.contact-card > * { position: relative; }
.contact-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; line-height: 1.3;
  margin: 14px 0 18px;
}
.contact-title em {
  font-style: italic; color: var(--gold);
  font-weight: 400;
}
.contact-desc { color: var(--ink-soft); max-width: 460px; margin: 0 auto 40px; }

/* 微信二维码（与邮箱、电话同排） */
.contact-qr {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  padding: 22px 32px;
  background: #0b1130; border: 1px solid var(--line);
  border-radius: 20px; text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-qr:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.qr-frame {
  width: 116px; height: 116px;
  padding: 8px; border-radius: 18px;
  background: #0b1130;
  border: 1px solid rgba(255, 209, 102, .35);
  box-shadow:
    0 14px 34px -12px rgba(0, 0, 0, .45),
    0 0 24px -8px rgba(255, 209, 102, .25),
    inset 0 0 0 1px rgba(255, 209, 102, .12);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.qr-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 14px;
}
.contact-qr:hover .qr-frame {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, .55),
    0 0 30px -6px rgba(255, 209, 102, .45),
    inset 0 0 0 1px rgba(255, 209, 102, .18);
}
.qr-tip {
  margin-top: 14px; font-size: 13px; color: var(--gold);
  letter-spacing: .08em;
}

.contact-links {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.contact-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 22px 32px;
  background: #0b1130; border: 1px solid var(--line);
  border-radius: 20px; text-align: center;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.ci-icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.35);
}
.ci-mail { background: linear-gradient(135deg, #7aa2f7, #5c7cfa); }
.ci-phone { background: linear-gradient(135deg, #ffd166, #ffb347); }
.contact-item:hover .ci-icon { transform: scale(1.1) rotate(-4deg); }
.ci-text span { display: block; font-size: 12px; color: var(--ink-faint); margin-bottom: 3px; }
.ci-text b { font-size: 15.5px; font-weight: 600; }

/* 复制成功提示 */
.copy-tip {
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.92);
  padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), #ffb347);
  color: #2a2107; font-size: 12.5px; font-weight: 700;
  white-space: nowrap; pointer-events: none;
  opacity: 0;
  box-shadow: 0 10px 24px -8px rgba(255, 209, 102, .55);
  transition: opacity .22s, transform .22s;
  z-index: 20;
}
.copy-tip.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.copy-tip::after {
  content: ""; position: absolute; bottom: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; border-radius: 2px;
  background: #ffb347;
}
.contact-note { margin-top: 42px; font-size: 13px; letter-spacing: .14em; color: var(--ink-faint); }

/* ============================================================
   底部星星弹球
   ============================================================ */
.ball-pit {
  position: relative;
  height: min(72vh, 640px);
  padding: 0;
  margin-top: calc(-1 * min(72vh, 640px));
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(122, 162, 247, .14), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0a1130 55%, #090c1e 100%);
}
.ball-pit-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  touch-action: pan-y;
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #090c1e; color: rgba(236, 234, 246, .6); padding: 34px 0; position: relative; z-index: 1; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-left { display: flex; align-items: baseline; gap: 14px; font-size: 13.5px; }
.footer .logo-mark { color: var(--ink); }
.footer-right { font-size: 12.5px; letter-spacing: .06em; color: rgba(236, 234, 246, .35); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--gold), #ffb347); color: #2a2107;
  box-shadow: 0 14px 30px -10px rgba(255, 209, 102, .5);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: all .35s;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ============================================================
   悬浮星星音乐播放器
   ============================================================ */
.star-player {
  position: fixed; left: 28px; bottom: 28px; z-index: 810;
  display: flex; align-items: center; gap: 12px;
}
.star-player-btn {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(16, 27, 66, .92), rgba(26, 40, 92, .92));
  border: 1px solid rgba(255, 209, 102, .45);
  color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05),
    0 14px 30px -10px rgba(0, 0, 0, .6),
    0 0 26px -6px rgba(255, 209, 102, .35);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.star-player-btn svg { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(255, 209, 102, .7)); }
.star-player-btn:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--gold);
  box-shadow:
    0 18px 34px -10px rgba(0, 0, 0, .65),
    0 0 34px -4px rgba(255, 209, 102, .55);
}
.star-player.playing .star-player-btn {
  animation: sp-star-bounce 1.6s ease-in-out infinite;
  border-color: var(--gold);
}
@keyframes sp-star-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-6deg); }
  75% { transform: translateY(-2px) rotate(6deg); }
}

/* 播放时的音符粒子 */
.sp-note {
  position: absolute;
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
}
.sp-note-1 { top: -6px; right: 2px; }
.sp-note-2 { bottom: -4px; left: 0; }
.star-player.playing .sp-note { animation: sp-note-float 1.8s ease-out infinite; }
.star-player.playing .sp-note-2 { animation-delay: .9s; }
@keyframes sp-note-float {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translate(10px, -18px) rotate(14deg); }
}

/* 展开面板 */
.star-player-panel {
  min-width: 210px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(16, 27, 66, .92);
  border: 1px solid rgba(130, 170, 255, .25);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .65);
  backdrop-filter: blur(14px);
  opacity: 0; transform: translateX(-10px);
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.star-player:hover .star-player-panel,
.star-player:focus-within .star-player-panel,
.star-player.playing .star-player-panel {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.sp-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sp-title b { font-size: 13px; color: var(--ink); }
.sp-title span { font-size: 10.5px; color: var(--ink-faint); letter-spacing: .04em; }
.sp-progress {
  margin-top: 8px;
  height: 4px; border-radius: 999px;
  background: rgba(130, 170, 255, .18);
  cursor: pointer;
  overflow: hidden;
}
.sp-progress-bar {
  width: 0%; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #ffb347);
  box-shadow: 0 0 8px rgba(255, 209, 102, .6);
  transition: width .25s linear;
}
.sp-time {
  margin-top: 5px;
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* 提示 toast */
.sp-toast {
  position: fixed; left: 28px; bottom: 96px; z-index: 820;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(16, 27, 66, .95);
  border: 1px solid rgba(255, 209, 102, .4);
  color: var(--ink-soft);
  font-size: 12.5px;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .65);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
  max-width: 300px;
}
.sp-toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 560px) {
  .star-player { left: 16px; bottom: 16px; }
  .star-player-btn { width: 48px; height: 48px; }
  .star-player-panel { min-width: 180px; }
}


/* ============================================================
   Reveal 动画
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1020px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skill-card-hobby { grid-column: span 2; }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-right { order: -1; }
  .hero-photo-moon { width: 380px; height: 520px; margin-top: -40px; }
  .hpm-pivot { width: 260px; height: 340px; }
  .hpm-line { height: 70px; }
  .hpm-moon { width: 260px; height: 260px; }
  .hpm-tag { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle))); }
  .hpm-tag:hover { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle))) scale(1.1); }
  .paper-boat-wrap { width: min(480px, 72vw); bottom: 10%; right: 2%; }
  .boat-ripples { width: 90%; height: 50px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: calc(100% + 12px); right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(23, 28, 58, .97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: 22px;
    padding: 14px; min-width: 190px;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: all .3s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { text-align: center; padding: 11px 16px; }
  .nav-links a.nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-burger { display: flex; }

  .edu-grid { grid-template-columns: 1fr; }
  .edu-logo { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 16px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card-hobby { grid-column: auto; }
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 28px; }
  .quote-card { padding: 36px 28px; }
  .contact-card { padding: 60px 24px; }
}

@media (max-width: 560px) {
  .projects-grid { height: 460px; }
  .project-card { width: min(320px, 78vw); }
  .hero-name { font-size: 46px; }
  .hero-stats { flex-wrap: wrap; }
  .marquee { transform: rotate(-1.2deg) scale(1.08); }
  .contact-item { width: 100%; }
  .contact-qr { width: 100%; }
  .hero-photo-moon { width: 320px; height: 440px; margin-top: -30px; }
  .hpm-pivot { width: 220px; height: 300px; }
  .hpm-line { height: 55px; }
  .hpm-moon { width: 220px; height: 220px; }
  .hpm-star { width: 34px; height: 34px; top: 12px; right: 10px; }
  .hpm-tag { font-size: 10px; padding: 6px 10px; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))); }
  .hpm-tag:hover { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))) scale(1.08); }
  .paper-boat-wrap { width: min(340px, 88vw); bottom: 8%; right: 0; }
  .boat-ripples { width: 90%; height: 40px; }
  .ball-pit { height: min(60vh, 460px); margin-top: calc(-1 * min(60vh, 460px)); }
  .contact { padding-bottom: 380px; }
}

/* ===== 卡片点击展开预览 ===== */
.cover-vi {
  background: #f4f5f7;
  display: flex; align-items: center; justify-content: center;
}
.cover-vi video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cover-vi img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.card-expand-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 14, 32, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.card-expand-backdrop.show { opacity: 1; pointer-events: auto; }
body.card-expanded { overflow: hidden; }
.project-card.expanded {
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  border-radius: 18px;
  cursor: zoom-out;
}

/* VI 全景图查看器 */
.vi-viewer {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 10, 24, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .35s;
  cursor: zoom-out; padding: 24px;
}
.vi-viewer.show { opacity: 1; }
.vi-viewer img {
  max-width: 94vw; max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  transform: scale(.96); transition: transform .35s;
}
.vi-viewer.show img { transform: scale(1); }

/* ===== 图片灯箱（长图宽度适配屏幕） ===== */
.img-lightbox-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  background: rgba(5, 9, 22, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.img-lightbox-overlay.show {
  opacity: 1; pointer-events: auto;
}
body.img-lightbox-open { overflow: hidden; }

.img-lightbox-close {
  position: fixed; top: 16px; right: 16px; z-index: 1210;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(20, 25, 45, .72);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.img-lightbox-close:hover { background: rgba(40, 48, 80, .9); transform: scale(1.06); }

.img-lightbox-loader {
  position: fixed; top: 50%; left: 50%; z-index: 1205;
  transform: translate(-50%, -50%) scale(.9);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.img-lightbox-loader.show { opacity: 1; }
.img-lightbox-loader span {
  display: block; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: #ffd166;
  animation: imgLbSpin .9s linear infinite;
}
@keyframes imgLbSpin { to { transform: rotate(360deg); } }

.img-lightbox-scroll {
  width: 100vw;
  min-height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 0 32px;
  box-sizing: border-box;
}
.img-lightbox-img {
  width: 100%; height: auto;
  max-width: 100vw;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.05), opacity .35s;
}
.img-lightbox-overlay.show .img-lightbox-img {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (min-width: 860px) {
  .img-lightbox-img { max-width: min(720px, 80vw); }
  .img-lightbox-scroll { padding: 70px 0 48px; }
}
@media (min-width: 1280px) {
  .img-lightbox-img { max-width: min(900px, 70vw); }
}
