/* index.css — 首页专用样式 */

/* Hero 区域背景光晕动画 */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-glow {
  animation: glow-pulse 6s ease-in-out infinite;
}

/* Skill 卡片进入动画 */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.skill-card {
  animation: fade-up 0.3s ease-out both;
}

/* 为每张卡片依次延迟入场 */
.skill-card:nth-child(1) { animation-delay: 0ms; }
.skill-card:nth-child(2) { animation-delay: 40ms; }
.skill-card:nth-child(3) { animation-delay: 80ms; }
.skill-card:nth-child(4) { animation-delay: 120ms; }
.skill-card:nth-child(5) { animation-delay: 160ms; }
.skill-card:nth-child(6) { animation-delay: 200ms; }
.skill-card:nth-child(7) { animation-delay: 240ms; }
.skill-card:nth-child(8) { animation-delay: 280ms; }
.skill-card:nth-child(9) { animation-delay: 320ms; }