/* =========================
   RESET + BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background: #020409;
  color: #e5e7eb;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   GLOBAL PRELOADER
========================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #020409;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.loader-inner img {
  width: 64px;
  animation: pulse 1.6s ease-in-out infinite;
}

.loader-text {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.6);
}

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.4; transform: scale(0.95); }
}
