html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* plein écran */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* version portrait (mobile) */
@media (max-aspect-ratio: 3/4) {
  .hero {
    background-image: url("images/dos9.webp");
  }
}

/* version paysage (desktop / tablette) */
@media (min-aspect-ratio: 4/3) {
  .hero {
    background-image: url("images/dos16.webp");
  }
}

/* Texte overlay sur la hero */
.terminal-container {
 position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* texte s’empile du haut */
  padding-top: 47vh; /* commence à 35% de la hauteur de l’écran */
  padding-left: 30px;
  padding-right: 20px;
  pointer-events: none;
  box-sizing: border-box;
  color: #F5F2E9;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  z-index: 10;
}

/* Ligne visible */
.lyrics-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 2.5s infinite;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}


.main-button {
  position: fixed; 
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding:0.7rem 0.7rem;
  background-color: #5e6067;
  text-decoration: none;
  color: white;
  display: inline-block;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  z-index: 10; 
  }

 #playBtn, #pauseBtn {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: transparent;
  color: #000;
  font-size: 2rem;
  font-family: 'Courier New', monospace;
  border: 0px solid #000;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 0px;
}
#pauseBtn { display: none; }
