/* public/css/loader.css */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #08080f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#loader .loader-ring {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,213,79,0.15);
  border-top-color: #ffd54f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#loader .loader-text {
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(232,230,225,0.4);
  letter-spacing: 0.06em;
}
#loader .loader-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}
