#loader {
  position: fixed;
  inset: 0;
  background: #020617;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-content img {
  width: 180px;
  height: 180px;
  max-width: 180px;
  max-height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0; 
  filter: drop-shadow(0 0 25px rgba(29, 78, 216, 0.5)); 
  animation: pulseLogo 2s ease-in-out infinite;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(29, 78, 216, 0.15); 
  border-radius: 50%;
  border-top-color: #2563eb;
  box-shadow: 0 0 15px rgba(29, 78, 216, 0.45); 
  animation: spin 0.8s linear infinite;
  margin: 20px auto 15px;
}

#hint {
  font-size: 15px; 
  opacity: 0.9;
  max-width: 320px;
  margin: 0 auto;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@keyframes spin {
  to { 
    transform: rotate(360deg); 
  }
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(29, 78, 216, 0.4));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.75));
  }
}
