html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: system-ui, sans-serif;
  color: #fff;
}

.screen--loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
}

.loader-content {
  width: 80vw;
  text-align: center;
}

.loader-title {
  font-size: 5vw;
  margin-bottom: 3vh;
  color: #f4a7b9;
  font-weight: 700;
}

.loader-bar {
  width: 100%;
  height: 2vh;
  background: rgba(255,255,255,0.1);
  border-radius: 1vh;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff5533, #f9a2b4);
  transition: width 0.3s ease;
}

.loader-percent {
  margin-top: 2vh;
  font-size: 4vw;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}


.screen--loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
  z-index: 9999;
}

#loaderScreen.hidden {
  opacity: 0;
  pointer-events: none;
}
