body {
  margin: 0;
}

#loading-bg {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0, 1);
}

#loading-bg.loaded {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  animation: fadeInUp 0.6s ease both;
}

.loading-logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: logoPulse 2s ease-in-out infinite;
}

/* Progress bar container */
.loading-bar-track {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

/* Animated progress bar */
.loading-bar {
  width: 40%;
  height: 100%;
  background: #00A0F3;
  border-radius: 3px;
  animation: progressSlide 1.4s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    /* opacity: 0.75; */
    transform: scale(0.98);
  }
}

@keyframes progressSlide {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(500%);
  }
}
