body.loading {
  overflow: unset;
}
body,html{
    overflow-x: hidden;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-out, visibility 0.8s;
}

#loader-logo {
  width: 120px;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.8s ease-out;
  will-change: transform, opacity;
}

.progress-container {
  position: absolute;
  bottom: 60px;
  width: 100px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff8c00 0%, #007bff 100%);
  animation: fillBar 1.0s ease-in-out forwards;
}

@keyframes fillBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

body.loaded #loader-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.loaded #loader-logo {
  transform: scale(60);
  opacity: 0;
}

body.loaded .progress-container {
  opacity: 0;
}

body.loaded {
  overflow: auto;
}

