/* Initial loading screen - hides background until app loads */
#app-loader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.9) 100%),
    url('/images/mountain-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-out;
}
#app-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.05);
}
#app-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
