/* history-style.css - 现代化历程页面样式 */

/* 页面加载动画 */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f5ff 0%, #e8e4ff 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.dark-theme .page-loader {
  background: linear-gradient(135deg, #1a1b2e 0%, #2a2b3e 100%);
}

.loader-content {
  text-align: center;
  animation: fadeInUp 0.6s ease;
}

.loader-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.loader-cube {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff8eb7, #a6e3e9);
  border-radius: 16px;
  margin: 0 auto;
  animation: loadingRotate 2s infinite var(--ease-bounce);
  box-shadow: 0 10px 30px rgba(255, 142, 183, 0.3);
}

.loader-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 142, 183, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.loader-text {
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 600;
  animation: loadingPulse 1.5s infinite alternate;
}

@keyframes loadingRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 主题切换按钮 */
.theme-controls {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
}

.theme-toggle {
  width: 56px;
  height: 56px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
}

.dark-theme .theme-toggle {
  background: rgba(26, 27, 46, 0.9);
  color: var(--color-primary);
}

.theme-toggle:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 12px 40px rgba(255, 142, 183, 0.3);
}

/* 悬浮主页按钮 */
.floating-home-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1001;
}

.home-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 8px 32px rgba(255, 142, 183, 0.3);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.home-btn:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 142, 183, 0.4);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* 悬浮一键到顶按钮 */
.floating-scroll-top-btn {
  position: fixed;
  bottom: 8rem;
  left: 2rem;
  z-index: 1001;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.floating-scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-top-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 142, 183, 0.3);
}

/* 历程页面导航栏 - 与主页面保持一致 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.dark-theme .navbar {
  background: rgba(26, 27, 46, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
}

.nav-logo i {
  color: var(--color-primary);
  font-size: 1.8rem;
}

.logo-bubble {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: bubbleFloat 3s infinite ease-in-out;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(255, 142, 183, 0.1);
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 142, 183, 0.1);
  border: 1px solid rgba(255, 142, 183, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 142, 183, 0.1);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dark-theme .mobile-menu {
  background: rgba(26, 27, 46, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-weight: 600;
}

.mobile-nav-link:hover {
  background: rgba(255, 142, 183, 0.1);
  color: var(--color-primary);
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-weight: 600;
  width: 100%;
}

.mobile-theme-toggle:hover {
  background: rgba(255, 142, 183, 0.1);
  color: var(--color-primary);
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

.dark-theme .mobile-menu-divider {
  background: rgba(255, 255, 255, 0.1);
}

/* 英雄区域 */
.history-hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 20px 60px rgba(255, 142, 183, 0.3);
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 142, 183, 0.1), rgba(166, 227, 233, 0.1));
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* 时间轴区域 */
.timeline-section {
  padding: 4rem 0;
  position: relative;
}

.timeline-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.controls-right {
  display: flex;
  gap: 0.5rem;
}

/* 时间轴容器 */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-primary),
    var(--color-secondary),
    transparent
  );
  z-index: 1;
}

.timeline-items {
  position: relative;
  z-index: 2;
}

/* 时间轴项目 */
.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-spring);
}

.timeline-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-marker {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.marker-dot {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--color-primary);
  transition: all 0.3s ease;
}

.timeline-item:hover .marker-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px var(--color-primary);
}

.marker-line {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.timeline-item.left .marker-line {
  right: -30px;
}

.timeline-item.right .marker-line {
  left: -30px;
}

.timeline-content {
  flex: 0 0 calc(50% - 60px);
  padding: 0 2rem;
}

.timeline-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 142, 183, 0.1);
  border-radius: var(--radius-full);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.dark-theme .timeline-card {
  background: rgba(26, 27, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border-color: var(--color-primary);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.timeline-card:hover .card-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.timeline-card:hover .image-overlay {
  opacity: 1;
}

.view-image-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.view-image-btn:hover {
  background: white;
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.meta-item i {
  color: var(--color-primary);
  font-size: 1rem;
}

.card-description {
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* 加载和错误状态 */
.timeline-loading, .timeline-error, .timeline-empty {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.timeline-loading i, .timeline-error i, .timeline-empty i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.timeline-loading h3, .timeline-error h3, .timeline-empty h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.timeline-loading p, .timeline-error p, .timeline-empty p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  line-height: 1.6;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.retry-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  margin-top: 1.5rem;
}

.retry-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 142, 183, 0.4);
}

/* 历程总结 */
.history-summary {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(255, 142, 183, 0.05), rgba(166, 227, 233, 0.05));
}

.summary-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .summary-card {
  background: rgba(26, 27, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 15px 40px rgba(255, 142, 183, 0.3);
}

.summary-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summary-content {
  font-size: 1.3rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.summary-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 142, 183, 0.3);
}

/* 图片查看器 */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.image-viewer.active {
  display: flex;
}

.viewer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.viewer-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 90%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: scaleIn 0.3s ease;
}

.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.viewer-info h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.viewer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.viewer-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.viewer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.viewer-image-container {
  position: relative;
  max-width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.viewer-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
}

.viewer-prev, .viewer-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.viewer-prev:hover, .viewer-next:hover {
  background: white;
  transform: scale(1.1);
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .theme-controls {
    top: 1rem;
    right: 1rem;
  }
  
  .theme-toggle {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  
  .floating-home-btn {
    bottom: 1rem;
    left: 1rem;
  }
  
  .home-btn {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
  
  .floating-scroll-top-btn {
    bottom: 6rem;
    left: 1rem;
  }
  
  .scroll-top-btn {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .timeline-controls {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  
  .controls-right {
    justify-content: center;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }
  
  .timeline-content {
    flex: 1;
    padding: 0;
    margin-left: 60px;
    margin-top: 1rem;
  }
  
  .timeline-item.right .timeline-content {
    margin-left: 60px;
  }
  
  .marker-line {
    display: none;
  }
  
  .card-image {
    height: 200px;
  }
  
  .card-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .summary-card {
    padding: 3rem 2rem;
  }
  
  .summary-title {
    font-size: 2rem;
  }
  
  .summary-content {
    font-size: 1.1rem;
  }
  
  .summary-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .action-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .filter-btn, .refresh-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .summary-card {
    padding: 2rem 1.5rem;
  }
  
  .summary-title {
    font-size: 1.8rem;
  }
}