body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;

  /* Curseur personnalisé en forme d'anneau */
}
.scene-container {
  height: 100vh;
  width: 100vw;
  position: relative;
}
.navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
}
.nav-button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}
.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.room-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 100;
  font-weight: bold;
}
.instructions {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 100;
}

/* Style pour les flèches directionnelles */
.direction-arrows {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}
.arrow {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.arrow:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.9);
}
.arrow svg {
  width: 24px;
  height: 24px;
  fill: #333;
}
.arrow-forward {
  top: 50%;
  left: 50%;
}
.arrow-backward {
  bottom: 20%;
  left: 50%;
}
.arrow-left {
  top: 50%;
  left: 20%;
}
.arrow-right {
  top: 50%;
  right: 20%;
}
.hidden {
  display: none;
}
#custom-cursor {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Important - permet de cliquer à travers */
  z-index: 9999;
}
