.loading-screen {
  position: fixed;
  inset: 0;
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* VHS scanlines */
.loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.2) 0px,
      rgba(0,0,0,0.2) 1px,
      transparent 1px,
      transparent 2px
    );
  animation: vhs-flicker 0.15s infinite;
  pointer-events: none;
}

/* Title */
.loading-title {
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 25px;
  text-shadow: 0 0 12px #FFDF7E;
}

/* Loading bar */
.loading-bar {
  width: 320px;
  height: 14px;
  border: 2px solid #FFDF7E;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: #FFDF7E;
  animation: loading-progress 2.5s linear forwards;
}

/* Animations */
@keyframes loading-progress {
  to { width: 100%; }
}

@keyframes vhs-flicker {
  0% { opacity: 0.95; }
  50% { opacity: 1; }
  100% { opacity: 0.97; }
}
