/* Empêche tout scroll */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
  background: #000;
}

/* === BACKGROUND DAY/NIGHT === */
.bg-img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.85);
  transition: opacity 3s ease;
  z-index: 0;
}
#bgDay { opacity: 1; }
#bgNight { opacity: 0; }

/* === VIGNETTE NOIRE DOUCE === */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

/* === CENTRAGE DU CONTENU === */
.stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* === SLIDESHOW CONTAINER === */
.viewport {
  position: relative;
  width: 80vw;
  max-width: 1280px;
  height: 45vw;
  max-height: 720px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.4);
}

/* === IMAGES === */
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.3s ease;
  border-radius: 30px;
}
.slide-img.active {
  opacity: 1;
}

/* === LABEL DE LIEU === */
.group-label {
  position: absolute;
  top: 18px;
  left: 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(12,16,22,0.6);
  backdrop-filter: blur(6px);
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 5;
}
.group-label.show {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(9,12,18,0.65);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  color: #f0f0f0;
}
.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.2);
}
.hint {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* === LOGO === */
.logo-wrap {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spinLogo 7s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.25))
          drop-shadow(0 0 25px rgba(0,180,255,0.3));
}
@keyframes spinLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(255,255,255,0.9);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === CREDIT === */
.music-credit {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 12px;
  color: #ccc;
  opacity: 0.7;
}
