body {
  margin: 0;
  background: #fff;
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  user-select: none;
  transition: background 1s ease, color 1s ease;
  color: #000;
  position: relative;
}

#track-title-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background: rgba(0,0,0,0.85);
  color: white;
  font-size: 2.5vh;
  font-family: 'IBM Plex Mono', monospace;
  text-align: center;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  z-index: 9999;
}

#scene {
  width: 220px;
  height: 220px;
  perspective: 1000px;
  position: relative;
}

#cd-case {
  width: 220px;
  height: 220px;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: visible;
  cursor: pointer;
}

#cd-case img {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 0;
  left: 0;
  backface-visibility: visible;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
}

#background { z-index: 1; }
#case { z-index: 2; }
#cd { z-index: 3; pointer-events: auto; }

#message {
  margin-top: 20px;
  font-size: 2.2vh;
  max-width: 90vw;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease, color 1s ease;
  user-select: none;
  min-height: 3em;
  cursor: default;
}

/* Botones */
#skip-button, #back-button {
  margin-top: 10px;
  font-size: 1.8vh;
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.3s ease;
  user-select: none;
}

#skip-button:hover, #back-button:hover {
  opacity: 1;
}

#back-button {
  margin-top: 5px;
}

/* Brillo bíblico solo en #message cuando hover y track 3 */
/* Para que no brille si no es track 3, el JS solo permite hover en ese caso */
#message.biblical-glow:hover {
  animation: biblicalGlow 2.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes biblicalGlow {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.7),
      0 0 16px rgba(255, 255, 255, 0.5),
      0 0 24px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 16px rgba(255, 255, 255, 1),
      0 0 32px rgba(255, 255, 255, 0.7),
      0 0 48px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
  }
}
