/* css/transitions.css — Scene and act transitions */

.scene-fade-out {
  animation: fade-out 0.4s ease forwards;
}

.scene-fade-in {
  animation: fade-in 0.4s ease forwards;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Act transition — full screen overlay that fades in and out */
.act-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.act-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}
