body,
html {
  margin: 0;
  padding: 0;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.hover-container {
  position: relative;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 = 9/16 = 0.5625 */
  max-height: 100vh;
  max-width: 177.78vh;
  /* 16:9 inverse = 16/9 = 1.7778 */
  margin: 0 auto;
  overflow: hidden;
  background-color: black;
  cursor: pointer;
}


/* Vidéos limitées au conteneur */
.hover-container video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#video-front {
  display: block;
}

/* === Bouton tentaculaire === */
#toggle-button.tentacle-btn {
  position: absolute;
  bottom: 3%;
  right: 3%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: black;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 10;
}

#toggle-button.tentacle-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #222;
}

#toggle-button.tentacle-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 20px 5px rgba(0, 255, 255, 0.2);
  animation: pulsate 2s infinite ease-in-out;
}


.sound-btn {
  position: absolute;
  bottom: 3%;
  right: 3%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: black;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sound-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 10px 3px rgba(0, 200, 255, 0.4);
  animation: pulsate-blue 2s infinite ease-in-out;
  z-index: -1;
}

@keyframes pulsate-blue {
  0%, 100% {
    box-shadow: 0 0 10px 3px rgba(0, 200, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 18px 6px rgba(0, 200, 255, 0.6);
  }
}

.icon-sound {
  width: 16px;
  height: 16px;
  fill: white;
}
