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

body {
  overflow: hidden;
  background: #000;
  font-family: 'Georgia', serif;
  cursor: pointer;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#film {
  display: block;
  width: 100%;
  height: 100%;
}

#overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.5s ease;
}

#overlay.hidden {
  opacity: 0;
}

#title {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-shadow: 0 0 40px rgba(255, 200, 100, 0.8),
               0 0 80px rgba(255, 150, 50, 0.4);
  animation: titlePulse 3s ease-in-out infinite;
}

#subtitle {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  animation: subtitleFade 2s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 40px rgba(255, 200, 100, 0.8), 0 0 80px rgba(255, 150, 50, 0.4); }
  50% { text-shadow: 0 0 60px rgba(255, 200, 100, 1), 0 0 120px rgba(255, 150, 50, 0.7); }
}

@keyframes subtitleFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

#scene-text {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.15em;
  text-align: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  pointer-events: none;
  max-width: 80%;
}

#scene-text.visible {
  opacity: 1;
}

#controls {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.8rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#controls.visible {
  opacity: 1;
  pointer-events: auto;
}

#controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

#controls button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}
