/* ═══ 分割线 ═══ */
.divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-warm), transparent);
  margin: 0 auto;
  opacity: 0.4;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1), opacity 1.2s ease;
}
.divider.visible {
  width: 80px;
  opacity: 0.7;
}

/* ═══ 下滑提示 ═══ */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}
.scroll-hint.show {
  opacity: 0.6;
}
.scroll-hint svg {
  animation: hint-bounce 2s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%,100%{ transform: translateY(0); opacity: 0.4; }
  50%{ transform: translateY(6px); opacity: 1; }
}

/* ═══ 粒子画布 ═══ */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 6;
  pointer-events: none;
}

/* ═══ 宣言逐行 ═══ */
.manifesto-line {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2.4;
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16,1,0.3,1);
  min-height: 36px;
}
.manifesto-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.manifesto-line[data-line="2"] { transition-delay: 0.4s; }
.manifesto-line[data-line="3"] { transition-delay: 0.8s; }

/* 打字机光标 */
.manifesto-line.typing::after {
  content: '|';
  color: var(--glow-warm);
  animation: blink-cursor 0.8s ease infinite;
  margin-left: 2px;
}
@keyframes blink-cursor {
  0%,100%{ opacity: 1; }
  50%{ opacity: 0; }
}

/* ═══ 涟漪 ═══ */
.ripple {
  position: fixed;
  border-radius: 50%;
  border: 1px solid var(--glow-warm-50);
  pointer-events: none;
  z-index: 8;
  transform: translate(-50%,-50%);
  animation: ripple-out 1s ease forwards;
}
@keyframes ripple-out {
  from { width: 0; height: 0; opacity: 0.6; }
  to { width: 200px; height: 200px; opacity: 0; }
}

/* ═══ 标题逐字呼吸 ═══ */
.title-char {
  display: inline-block;
  opacity: 0.3;
  animation: char-breathe calc(var(--total-chars, 9) * 0.8s) ease-in-out infinite;
  animation-delay: calc((var(--char-index, 0) - var(--total-chars, 9)) * 0.8s);
}
@keyframes char-breathe {
  0% { opacity: 0.8; text-shadow: 0 0 12px var(--glow-warm-20), 0 0 24px var(--glow-warm-08); }
  11% { opacity: 0.3; text-shadow: none; }
  89% { opacity: 0.3; text-shadow: none; }
  100% { opacity: 0.8; text-shadow: 0 0 12px var(--glow-warm-20), 0 0 24px var(--glow-warm-08); }
}

/* ═══ 卡片内光跟随 ═══ */
.tilt-card {
  position: relative;
  overflow: hidden;
}
.tilt-card .card-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-warm-08), transparent 70%);
  pointer-events: none;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.tilt-card:hover .card-glow {
  opacity: 1;
}
.tilt-card > * {
  position: relative;
  z-index: 1;
}


/* ═══ 页面心跳 ═══ */
@keyframes heartbeat {
  0%,100% { opacity: 1; }
  50% { opacity: 0.97; }
}
body {
  animation: heartbeat 6s ease-in-out infinite;
}

/* ═══ 聚光灯 ═══ */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(circle 120px at var(--sx,50%) var(--sy,50%), transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.spotlight-overlay.active { opacity: 1; }

/* ═══ Toast ═══ */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease,
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ═══ 支持者信息 ═══ */
.supporter-info {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--glow-warm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  text-align: center;
  font-weight: 300;
  min-height: 18px;
  visibility: hidden;
}
.supporter-info.show {
  opacity: 0.7;
  transform: translateY(0);
  visibility: visible;
}

/* ═══ 卡片阴影呼吸 ═══ */
@keyframes shadow-breathe {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(245,200,122,0.03); }
}
.glass { animation: shadow-breathe 6s ease-in-out infinite; }

/* ═══ 城市天际线 ═══ */
.city-skyline {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  filter: blur(1.5px);
}


/* ═══ 城市舞台 ═══ */
.stage-body {
  margin-top: 32px;
  text-align: center;
}
.stage-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2.2;
  margin-bottom: 24px;
}
.stage-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.stage-card {
  padding: 28px 24px;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.stage-card.reveal { transform: translateY(20px) scale(0.98); }
.stage-card.reveal.visible { transform: translateY(0) scale(1); }
.stage-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: var(--glow-warm);
}
.stage-card-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2.1;
  font-weight: 300;
}

/* ═══ 未来一晚 ═══ */
.night-timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 80px;
}
.night-timeline::before {
  content: '';
  position: absolute;
  left: 52px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--glow-warm-30), transparent);
}
.night-item {
  position: relative;
  padding-bottom: 40px;
}
.night-item:last-child { padding-bottom: 0; }
.night-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--glow-warm-40);
  background: var(--sky-deep);
  transition: all 0.6s ease;
}
.night-item.visible::before {
  background: var(--glow-warm);
  border-color: var(--glow-warm);
  box-shadow: 0 0 10px var(--glow-warm-40);
}
.night-time {
  position: absolute;
  left: -80px; top: 0;
  width: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--glow-warm);
  text-align: right;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.6s ease;
}
.night-item.visible .night-time { opacity: 1; transform: translateX(0); }
.night-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2.1;
}

/* ═══ 发起说明 ═══ */
.why-body {
  margin-top: 40px;
  text-align: center;
}
.why-text {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 2.4;
  margin-bottom: 32px;
}
.why-text:last-child { margin-bottom: 0; }

/* ═══ 还没发生的 ═══ */
.not-yet-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.not-yet-item {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  padding: 14px 16px 14px 18px;
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  transition: background 0.6s ease;
}
.not-yet-item.visible {
  background: rgba(255,255,255,0.04);
}
.not-yet-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--glow-warm), transparent);
  opacity: 0.5;
}
.not-yet-prefix {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 1px;
  margin-right: 4px;
}
.not-yet-text {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.8;
}
.not-yet-item .not-yet-glow {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--glow-warm-soft), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}
.not-yet-item.visible .not-yet-glow {
  opacity: 1;
  animation: notYetPulse 4s ease-in-out infinite;
}
@keyframes notYetPulse {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateY(-50%) scale(1.3); }
}
.not-yet-caption {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 2px;
}

/* ═══ 页脚 ═══ */
.footer {
  position: relative;
  overflow: hidden;
}

/* ═══ 特效画布 ═══ */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 7;
  pointer-events: none;
}

/* ═══ 卡片 3D 悬浮 ═══ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tilt-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(245,200,122,0.05);
}


/* ═══ 彩蛋弹窗 ═══ */
.secret-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: secret-in 0.6s ease;
}
.secret-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}
@keyframes secret-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.secret-box {
  max-width: 360px;
  margin: 0 24px;
  padding: 40px 32px;
  text-align: center;
}
.secret-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 2.2;
  font-weight: 300;
  margin-bottom: 28px;
}
.secret-close {
  display: inline-block;
  padding: 10px 28px;
  background: var(--glow-warm-10);
  border: 1px solid var(--glow-warm-30);
  border-radius: 100px;
  color: var(--glow-warm);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}
.secret-close:hover {
  background: var(--glow-warm-20);
  border-color: var(--glow-warm-50);
}
.secret-close:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

