/* ==================== 滚动入场 ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ==================== Hero 卷首入场 ==================== */
.hero-title,
.hero-motd-wrap,
.hero-seals,
.hero-address {
  opacity: 0;
  transform: translateY(16px);
}

.hero-content.ready .hero-title {
  animation: inkReveal 0.8s ease forwards;
}

.hero-content.ready .hero-motd-wrap {
  animation: inkReveal 0.8s ease 0.2s forwards;
}

.hero-content.ready .hero-seals {
  animation: inkReveal 0.8s ease 0.4s forwards;
}

.hero-content.ready .hero-address {
  animation: inkReveal 0.8s ease 0.6s forwards;
}

@keyframes inkReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title.no-anim { animation: inkReveal 0.6s ease forwards !important; }

/* ==================== 告示纸片悬浮 ==================== */
.notice-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ==================== 导航切换 ==================== */
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== 减少动效 ==================== */
@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; transform: none; }
  .hero-title, .hero-motd-wrap, .hero-seals, .hero-address {
    opacity: 1; transform: none; animation: none !important;
  }
}
