* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: transparent;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#subtitle-container {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 5%;
  pointer-events: none;
}

#subtitle-container.top { top: 5%; }
#subtitle-container.center { top: 50%; transform: translateY(-50%); }
#subtitle-container.bottom { bottom: 5%; }

#subtitle-text {
  max-width: 90%;
  text-align: center;
  line-height: 1.5;
  word-wrap: break-word;
  transition: opacity 0.3s ease;
}

/* Animation classes */
.fade-enter {
  animation: fadeIn 0.3s ease forwards;
}

.fade-exit {
  animation: fadeOut 0.3s ease forwards;
}

.slide-enter {
  animation: slideUp 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

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