html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f4f4f4;
  font-family: 'Roboto', Arial, sans-serif;
}

.container {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}

/* Carrousel plein écran amélioré */
#missionCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-inner .carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 1.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.carousel-inner .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-in-out;
}

.carousel-inner .carousel-item.active img {
  animation: smoothZoom 8s infinite alternate ease-in-out;
}

/* SUPPRESSION DE L'OVERLAY GRIS */
/* Le bloc .carousel-inner::before a été entièrement supprimé */

@keyframes smoothZoom {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.12);
  }
}

/* Contrôles du carrousel améliorés mais discrets */
.carousel-control-prev,
.carousel-control-next {
  opacity: 0.2;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.7;
}

/* Icône de main améliorée */
.hand-container {
  position: fixed;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.2), transparent 80%);
  box-shadow: 0 0 20px 5px rgba(0, 122, 255, 0.5), 
              inset 0 0 15px rgba(255, 255, 255, 0.3);
  animation: pulseGlow 2s infinite ease-in-out;
  cursor: pointer;
}

.hand-container::before {
  content: '';
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  border-radius: 50%;
  background: conic-gradient(
    transparent 70%, 
    rgba(0, 122, 255, 0.6), 
    transparent 100%
  );
  animation: spinLight 8s infinite linear;
  filter: blur(10px);
  z-index: -1;
  opacity: 0.7;
}

.hand-container::after {
  content: 'Toucher pour commencer';
  position: absolute;
  bottom: -2.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  animation: fadeInOut 1.5s infinite alternate;
}

@keyframes fadeInOut {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.5);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 122, 255, 0.7);
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes spinLight {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#handPointer {
  font-size: 5.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 122, 255, 0.8), 
               0 0 20px rgba(0, 122, 255, 0.6);
  cursor: pointer;
  z-index: 2;
  animation: pulseIcon 1.5s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

#handPointer:hover {
  transform: scale(1.3);
  color: #a0d0ff;
  transition: all 0.3s ease-in-out;
}

/* Adaptation pour différentes tailles d'écrans */
@media (max-width: 992px) {
  #handPointer {
    font-size: 5rem;
  }
  
  .hand-container {
    width: 10rem;
    height: 10rem;
  }
  
  .hand-container::after {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  #handPointer {
    font-size: 4.5rem;
  }
  
  .hand-container {
    width: 9rem;
    height: 9rem;
  }
  
  .hand-container::after {
    font-size: 1.2rem;
    bottom: -2rem;
  }
}

@media (max-width: 576px) {
  #handPointer {
    font-size: 4rem;
  }
  
  .hand-container {
    width: 8rem;
    height: 8rem;
  }
  
  .hand-container::after {
    font-size: 1rem;
    bottom: -1.8rem;
  }
}