/* Focus pulse for important buttons */
@keyframes focusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(229,9,20,0.4); }
  70%  { box-shadow: 0 0 0 16px rgba(229,9,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,9,20,0); }
}

.focused--pulse {
  animation: focusPulse 1.5s infinite;
}

/* Slide-in from bottom (detail screen) */
@keyframes slideInBottom {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.animate-slide-in-bottom {
  animation: slideInBottom 0.3s ease forwards;
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* Row enter stagger */
.category-row:nth-child(1) { animation: fadeIn 0.2s ease 0.0s forwards; opacity: 0; }
.category-row:nth-child(2) { animation: fadeIn 0.2s ease 0.07s forwards; opacity: 0; }
.category-row:nth-child(3) { animation: fadeIn 0.2s ease 0.14s forwards; opacity: 0; }
.category-row:nth-child(4) { animation: fadeIn 0.2s ease 0.21s forwards; opacity: 0; }
.category-row:nth-child(5) { animation: fadeIn 0.2s ease 0.28s forwards; opacity: 0; }
.category-row:nth-child(6) { animation: fadeIn 0.2s ease 0.35s forwards; opacity: 0; }

/* OSD hide transition */
.player-osd {
  transition: opacity 0.3s ease;
}
