#loader {
  position: fixed;
  inset: 0;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-logo {
  width: 160px;
  margin-bottom: 20px;
  animation: fadeIn 1.2s ease-in-out infinite alternate;
}

.loader-text {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

@keyframes fadeIn {
  from { opacity: 0.6; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}