/* === Keyframes === */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Reveal on Scroll === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal.active .stat-card,
.reveal.active .music-card,
.reveal.active .gallery-item,
.reveal.active .link-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.reveal.active .stat-card:nth-child(1),
.reveal.active .music-card:nth-child(1),
.reveal.active .gallery-item:nth-child(1),
.reveal.active .link-card:nth-child(1) { animation-delay: 0.1s; }

.reveal.active .stat-card:nth-child(2),
.reveal.active .music-card:nth-child(2),
.reveal.active .gallery-item:nth-child(2),
.reveal.active .link-card:nth-child(2) { animation-delay: 0.2s; }

.reveal.active .stat-card:nth-child(3),
.reveal.active .music-card:nth-child(3),
.reveal.active .gallery-item:nth-child(3),
.reveal.active .link-card:nth-child(3) { animation-delay: 0.3s; }

.reveal.active .stat-card:nth-child(4),
.reveal.active .music-card:nth-child(4),
.reveal.active .gallery-item:nth-child(4),
.reveal.active .link-card:nth-child(4) { animation-delay: 0.4s; }

.reveal.active .gallery-item:nth-child(5) { animation-delay: 0.5s; }
.reveal.active .gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* Hero animations */
.hero-content {
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-name {
  /* static - no animation */
}

/* Hero text entrance */
.hero-text-back {
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-text-front {
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-bottom {
  animation: fadeInUp 0.8s ease 1s both;
}
