.logoReveal {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  z-index: 9999;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.logoReveal.fadingOut {
  opacity: 0;
}

.playerWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lottiePlayer {
  width: 100%;
  max-width: 3000px;
  height: 100vh;
  opacity: 1;
  transform: scale(1.2) translate(0);
  animation: fadeIn 1s ease-in forwards;
}

/* Target the Player's internal container to ensure proper centering */
.lottiePlayer > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.lottiePlayer svg,
.lottiePlayer canvas {
  margin: auto;
  display: block;
}

/* Logo Entry Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 500px) {
  .lottiePlayer {
    transform: scale(2.5) translate(0);
  }
}
