/* Instant loading screen — rendered before any JS loads */
body { margin: 0; background: #000; }
#app-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#app-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
#app-loader img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #D4AF37;
  box-shadow: 0 0 40px rgba(212,175,55,0.3);
  animation: loader-float 2s ease-in-out infinite;
}
#app-loader .loader-ring {
  width: 130px;
  height: 130px;
  border: 3px solid transparent;
  border-top-color: #D4AF37;
  border-radius: 50%;
  position: absolute;
  animation: loader-spin 1.2s linear infinite;
}
#app-loader .loader-text {
  margin-top: 24px;
  color: #D4AF37;
  font-family: 'Tajawal', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}
@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes loader-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
