.loading-screen {
  position: fixed;
  inset: 0;
  background: 
    linear-gradient(292deg, rgba(0, 13, 63, 0.95) 0%, rgba(31, 0, 25, 0.95) 100%);
  background-size: cover, contain;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out;
  will-change: opacity;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateZ(0);
}

.lottie-container {
  width: 400px; /* Set your logo size */
  height: 400px;
  margin-bottom: 20px;
}

.loading-text {
  color: white;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  letter-spacing: 2px;
  animation: textPulse 2s infinite;
  will-change: opacity;
}
#lottie-background {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  transform: translate(-50%, -50%);
  z-index: -1;
}

@media (max-width: 768px) {
  #lottie-background {
    display: none;
  }
}
@keyframes loadingPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
