/* ============================================================
   杜奕君 · 18岁生日网站 — DeepSeek × Mac 高级极简主题
   近黑深蓝 + 柔和蓝紫光球 + 极细大字号 + 克制留白
   ============================================================ */

:root {
  --bg: #060910;
  --accent: #6ea8fe;
  --accent-2: #8b7cf8;
  --text: #f2f4f8;
  --text-dim: rgba(242, 244, 248, .5);
  --line: rgba(255, 255, 255, .12);
  --card-bg: rgba(255, 255, 255, .045);
  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

.hidden { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(64, 100, 200, .14), transparent 60%),
    radial-gradient(900px 600px at 5% 110%, rgba(120, 90, 220, .09), transparent 60%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 氛围层：柔和光球 ---------- */
.aurora {
  position: fixed;
  z-index: 0;
  width: 64vmax;
  height: 64vmax;
  border-radius: 50%;
  pointer-events: none;
  opacity: .5;
}
.aurora.a1 {
  top: -24vmax;
  left: -18vmax;
  background: radial-gradient(circle at center, rgba(80, 120, 230, .22), transparent 62%);
  animation: auroraDrift1 32s ease-in-out infinite alternate;
}
.aurora.a2 {
  bottom: -28vmax;
  right: -22vmax;
  background: radial-gradient(circle at center, rgba(150, 110, 240, .16), transparent 62%);
  animation: auroraDrift2 40s ease-in-out infinite alternate;
}
@keyframes auroraDrift1 { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes auroraDrift2 { to { transform: translate(-8vmax, -5vmax) scale(1.1); } }

.shooting-star {
  position: fixed;
  z-index: 0;
  top: 12%;
  left: 62%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, .55);
  opacity: 0;
  animation: shoot 11s linear infinite;
}
.shooting-star::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .8), transparent);
  transform: translateY(-50%);
}
@keyframes shoot {
  0%, 15% { opacity: 0; transform: translate(0, 0) rotate(-35deg); }
  16% { opacity: .9; }
  20% { opacity: 0; transform: translate(-44vw, 28vw) rotate(-35deg); }
  100% { opacity: 0; transform: translate(-44vw, 28vw) rotate(-35deg); }
}

/* ---------- 画布与弹幕层 ---------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

#danmaku-layer {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.danmaku {
  position: absolute;
  top: 10%;
  left: 0;
  white-space: nowrap;
  font-size: clamp(14px, 3.4vw, 20px);
  font-weight: 400;
  color: rgba(244, 247, 255, .92);
  text-shadow: 0 1px 12px rgba(4, 6, 16, .8), 0 0 24px rgba(110, 168, 254, .3);
  transform: translateX(100vw);
  animation: danmakuMove linear forwards;
  will-change: transform;
}
@keyframes danmakuMove {
  to { transform: translateX(calc(-100% - 100vw)); }
}

/* ---------- 主内容 ---------- */
#page {
  position: relative;
  z-index: 4;
  max-width: 720px;
  margin: 0 auto;
  padding: max(56px, env(safe-area-inset-top)) 18px 60px;
}

/* ---------- 主视觉（Mac 极简） ---------- */
.hero { text-align: center; padding: 9vh 0 3.5vh; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(242, 244, 248, .4);
  margin-bottom: 20px;
  animation: fadeUp 1.2s var(--ease) both;
}

.neon-title { margin-bottom: 16px; }

.neon-title .l1 {
  display: block;
  font-weight: 200;
  font-size: clamp(2.6rem, 11vw, 4.8rem);
  letter-spacing: .22em;
  text-indent: .22em;
  color: var(--text);
  text-shadow: 0 0 60px rgba(110, 168, 254, .18);
  animation: fadeUp 1.2s .1s var(--ease) both;
}

.neon-title .l2 {
  display: block;
  font-weight: 300;
  font-size: clamp(1rem, 4.2vw, 1.6rem);
  letter-spacing: .52em;
  text-indent: .52em;
  color: rgba(242, 244, 248, .62);
  animation: fadeUp 1.2s .22s var(--ease) both;
}

.date-line {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .3em;
  color: rgba(242, 244, 248, .38);
  margin-bottom: 34px;
  animation: fadeUp 1.2s .32s var(--ease) both;
}
.date-line::before,
.date-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35));
}
.date-line::before { right: calc(100% + 14px); }
.date-line::after { left: calc(100% + 14px); transform: scaleX(-1); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 按钮（克制幽灵风） ---------- */
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: rgba(242, 244, 248, .78);
  font-size: 14px;
  font-family: var(--font);
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .25s, background .25s, color .25s, box-shadow .3s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  box-shadow: 0 8px 30px rgba(3, 5, 14, .5);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, #7db4ff, #6a8bff 60%, #8b7cf8);
  border: none;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 6px 26px rgba(110, 168, 254, .35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8cc0ff, #7a9aff 60%, #9d90ff);
  color: #fff;
  box-shadow: 0 10px 36px rgba(110, 168, 254, .5);
}

/* ---------- 卡片（玻璃发丝边） ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-top: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(2, 4, 12, .4);
  animation: fadeUp .9s var(--ease) both;
}

.card-title {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .06em;
  color: rgba(242, 244, 248, .9);
  margin-bottom: 14px;
}

.hint { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }

/* ---------- 寄语 ---------- */
.letter p { margin-bottom: 11px; color: var(--text); }
.letter .sign {
  text-align: right;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: .06em;
}

/* ---------- AI 想说的话 ---------- */
.ai-letter {
  border-left: 2px solid rgba(110, 168, 254, .35);
  padding-left: 18px;
  margin-left: 2px;
}
.ai-letter p b { color: var(--accent); font-weight: 500; }
.ai-letter .sign { font-style: italic; }

/* ---------- 留言表单 ---------- */
#wish-form { display: flex; flex-direction: column; gap: 12px; }

#wish-form input, #wish-form textarea {
  width: 100%;
  background: rgba(8, 11, 24, .55);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s, box-shadow .25s;
}
#wish-form input:focus, #wish-form textarea:focus {
  border-color: rgba(110, 168, 254, .65);
  box-shadow: 0 0 0 3px rgba(110, 168, 254, .12);
}
#wish-form textarea { resize: vertical; min-height: 96px; }

#wish-form .btn-primary { padding: 13px; font-size: 15px; }

/* ---------- 祝福墙 ---------- */
.wall-head { display: flex; align-items: center; justify-content: space-between; }
.badge {
  font-size: 12px;
  font-weight: 400;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(110, 168, 254, .1);
  color: var(--accent);
  border: 1px solid rgba(110, 168, 254, .3);
}

.wall-list { list-style: none; margin-top: 6px; }
.wall-item {
  padding: 12px 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  animation: riseIn .5s var(--ease) both;
}
.wall-item:last-child { border-bottom: none; }
.wall-item .w-name { color: var(--accent); font-weight: 500; font-size: 14px; }
.wall-item .w-text { margin-top: 2px; word-break: break-word; }
.wall-item .w-time { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

.empty { color: var(--text-dim); text-align: center; padding: 16px 0; font-size: 14px; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 页脚 ---------- */
.foot {
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(242, 244, 248, .35);
  letter-spacing: .3em;
}

/* ---------- 弹窗（毛玻璃） ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 7, 16, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }

.modal-box {
  position: relative;
  width: min(92vw, 460px);
  max-height: 88vh;
  overflow-y: auto;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(80, 120, 230, .12), transparent 70%),
    rgba(13, 16, 30, .96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 30px 100px rgba(2, 4, 12, .7);
  transform: scale(.95) translateY(8px);
  transition: transform .35s var(--ease);
}
.modal.open .modal-box { transform: scale(1) translateY(0); }
.modal-box h3 {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 12px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 17px;
  cursor: pointer;
  padding: 6px;
}
.modal-close:hover { color: #fff; }

/* ---------- 转盘 ---------- */
.wheel-wrap { position: relative; width: min(78vw, 300px); margin: 0 auto 14px; }
.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 22px;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(110, 168, 254, .7);
  pointer-events: none;
}
#wheel-canvas {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(110, 168, 254, .2);
}

.result {
  margin-top: 12px;
  min-height: 24px;
  font-weight: 500;
  color: var(--accent);
  font-size: 17px;
}

/* ---------- 刮刮乐 ---------- */
.scratch-wrap {
  position: relative;
  width: min(84vw, 360px);
  height: 170px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(110, 168, 254, .35);
  background: radial-gradient(circle at 30% 20%, #1c2350, #0b0e22);
}
#scratch-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: #cfe0ff;
  font-weight: 500;
  font-size: 19px;
  text-shadow: 0 0 18px rgba(110, 168, 254, .5);
  text-align: center;
}
#scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

/* ---------- 吹蜡烛 ---------- */
.cake-wrap { width: min(84vw, 340px); margin: 0 auto 12px; }
#cake-canvas {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: radial-gradient(circle at 50% 20%, #1a2048, #0a0d1e);
  cursor: pointer;
  touch-action: manipulation;
}

/* ---------- 接祝福 / 红包雨 ---------- */
.catch-wrap { width: min(84vw, 320px); margin: 0 auto 8px; }
#catch-canvas, #redpacket-canvas {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(110, 168, 254, .25);
  cursor: pointer;
  touch-action: none;
}
.catch-bar {
  display: flex;
  justify-content: space-between;
  width: min(84vw, 320px);
  margin: 0 auto 12px;
  font-size: 14px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- 好运签 ---------- */
.tube {
  position: relative;
  width: min(60vw, 200px);
  height: 92px;
  margin: 6px auto 18px;
  background: linear-gradient(180deg, #3b4a8f, #2a3568 55%, #1d2550);
  border-radius: 22px 22px 12px 12px;
  border: 1px solid rgba(110, 168, 254, .4);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, .35), 0 8px 28px rgba(80, 120, 230, .25);
}
.stick {
  position: absolute;
  bottom: 64px;
  left: 50%;
  width: 7px;
  height: 52px;
  border-radius: 4px;
  transform-origin: bottom center;
  background: linear-gradient(180deg, #f0f4ff, #c3d2f5);
  border: 1px solid rgba(80, 100, 160, .5);
}
.stick.s1 { transform: translateX(-30px) rotate(-14deg); }
.stick.s2 { transform: translateX(-16px) rotate(-6deg); }
.stick.s3 { transform: translateX(-1px) rotate(0deg); }
.stick.s4 { transform: translateX(12px) rotate(7deg); }
.stick.s5 { transform: translateX(26px) rotate(15deg); }

.tube.shaking { animation: tubeShake .9s ease-in-out; }
@keyframes tubeShake {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-8deg); }
  30% { transform: rotate(7deg); }
  45% { transform: rotate(-6deg); }
  60% { transform: rotate(5deg); }
  75% { transform: rotate(-3deg); }
}

.fortune-card {
  margin-top: 14px;
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(110, 168, 254, .08);
  border: 1px solid rgba(110, 168, 254, .3);
  animation: riseIn .5s var(--ease) both;
}
.fortune-title {
  font-size: 19px;
  font-weight: 600;
  color: #cfe0ff;
  text-shadow: 0 0 16px rgba(110, 168, 254, .5);
  margin-bottom: 6px;
}
.fortune-text { font-size: 15px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 8vh;
  transform: translate(-50%, 20px);
  z-index: 40;
  background: rgba(14, 17, 32, .96);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 12px 40px rgba(2, 4, 12, .6), 0 0 24px rgba(110, 168, 254, .12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 微信内打开提示条 ---------- */
.wx-tip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: rgba(160, 60, 70, .94);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.wx-tip b { color: #ffe9a8; }
.wx-tip.hidden { display: none; }

/* ---------- 倒计时主页（DeepSeek 式高级开场） ---------- */
#waiting {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(6, 9, 16, .94), rgba(10, 8, 22, .96));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#waiting.hidden { display: none; }

/* 柔和光球 */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb.o1 {
  width: 56vmin;
  height: 56vmin;
  top: -14vmin;
  left: -10vmin;
  background: radial-gradient(circle at center, rgba(90, 130, 240, .30), transparent 62%);
  animation: orbDrift1 20s ease-in-out infinite alternate;
}
.orb.o2 {
  width: 50vmin;
  height: 50vmin;
  bottom: -16vmin;
  right: -10vmin;
  background: radial-gradient(circle at center, rgba(140, 110, 245, .22), transparent 62%);
  animation: orbDrift2 26s ease-in-out infinite alternate-reverse;
}
@keyframes orbDrift1 { to { transform: translate(6vmin, 5vmin) scale(1.15); } }
@keyframes orbDrift2 { to { transform: translate(-6vmin, -4vmin) scale(1.12); } }

.waiting-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
}

/* DeepSeek 式 Logo 光球 */
.orb-logo {
  width: 84px;
  height: 84px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(190, 215, 255, .95), rgba(110, 168, 254, .8) 42%, rgba(90, 110, 230, .35) 70%, transparent 72%);
  box-shadow: 0 0 60px rgba(110, 168, 254, .5), 0 0 140px rgba(110, 168, 254, .25);
  animation: logoFloat 6s ease-in-out infinite;
}
.orb-logo span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9), transparent 55%);
  opacity: .5;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.cd-title {
  font-weight: 200;
  font-size: clamp(1.1rem, 4.4vw, 1.8rem);
  letter-spacing: .3em;
  text-indent: .3em;
  color: rgba(242, 244, 248, .85);
  margin-bottom: 40px;
  animation: fadeUp 1.1s .15s var(--ease) both;
}

.cd-digits {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 3vw, 22px);
  margin-bottom: 36px;
}
.cd-cell { text-align: center; }
.cd-cell b {
  display: block;
  font-weight: 200;
  font-size: clamp(2.8rem, 14vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  color: var(--text);
  text-shadow: 0 0 40px rgba(110, 168, 254, .3);
  animation: digitBreathe 3.6s ease-in-out infinite;
}
.cd-cell span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(242, 244, 248, .4);
}
.cd-sep {
  font-weight: 200;
  font-size: clamp(1.4rem, 6vw, 2.6rem);
  color: rgba(242, 244, 248, .3);
  margin-top: .35em;
  animation: digitBreathe 3.6s ease-in-out infinite;
}

.cd-date {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .42em;
  color: rgba(242, 244, 248, .6);
  margin-bottom: 10px;
}
.cd-note { color: var(--text-dim); font-size: 12px; letter-spacing: .12em; }

@keyframes digitBreathe {
  0%, 100% { opacity: .88; }
  50% { opacity: 1; }
}

.waiting-actions { margin-top: 42px; }
.waiting-tip {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .08em;
}

/* ---------- 生日限定玩法 ---------- */
.birthday-only { display: none !important; }
body.birthday-on .birthday-only { display: inline-block !important; }

.btn-limit {
  background: linear-gradient(135deg, #8f7bff, #6a5ae0);
  border: none;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 0 18px rgba(139, 124, 248, .4);
  animation: limitPulse 1.8s ease-in-out infinite;
}
.btn-limit:hover { box-shadow: 0 0 30px rgba(139, 124, 248, .6); color: #fff; }
@keyframes limitPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(139, 124, 248, .35); }
  50% { box-shadow: 0 0 26px rgba(110, 168, 254, .6); }
}

.limit-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .15em;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
   个人主页：导航 / 分区 / 倒计时卡片 / 照片墙 / Lightbox
   ============================================================ */

/* 锚点跳转避开固定导航 */
section[id], div[id] { scroll-margin-top: 76px; }

/* ---------- 顶部导航 ---------- */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px calc(10px + env(safe-area-inset-top));
  background: rgba(6, 9, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(242, 244, 248, .85);
}
.nav-links { display: flex; gap: 18px; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  color: rgba(242, 244, 248, .55);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

/* ---------- Hero 滚动提示 ---------- */
.hero-scroll {
  margin-top: 34px;
  font-size: 18px;
  color: rgba(242, 244, 248, .35);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(7px); opacity: .8; }
}

/* ---------- 分区头部 ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* ---------- 倒计时小卡片 ---------- */
.cd-widget {
  text-align: center;
  padding: 18px 12px 8px;
}
.cd-widget-title {
  font-size: 13px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: rgba(242, 244, 248, .5);
  margin-bottom: 12px;
}
.cd-widget-digits {
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.cd-widget-digits b {
  display: inline-block;
  min-width: 1.6em;
  font-weight: 200;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-shadow: 0 0 30px rgba(110, 168, 254, .35);
  margin: 0 2px;
}
.cd-widget-note {
  font-size: 12px;
  color: rgba(110, 168, 254, .8);
  letter-spacing: .06em;
}
.birthday-actions { margin-top: 14px; }

/* ---------- 照片墙 ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.photo-cell {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  outline: none;
}
.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease), filter .4s;
}
.photo-cell:hover img { transform: scale(1.05); }
.photo-cell.broken::after {
  content: "图片加载失败";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-dim);
}
.photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(180deg, transparent, rgba(4, 6, 16, .75));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.photo-cell:hover .photo-cap { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 12, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .7);
}
#lb-caption {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(242, 244, 248, .7);
  letter-spacing: .06em;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(242, 244, 248, .7);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}
.lb-close:hover { color: #fff; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(242, 244, 248, .6);
  font-size: 44px;
  cursor: pointer;
  padding: 10px 16px;
  z-index: 2;
}
.lb-nav:hover { color: #fff; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

@media (max-width: 480px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .danmaku, .neon-title .l1, .neon-title .l2, .eyebrow,
  .cd-cell b, .cd-sep, .aurora, .shooting-star, .orb, .orb-logo,
  .hero-scroll, .photo-cell img { animation: none !important; }
}
