/* Branded pre-boot loader, shown until Flutter renders its first frame. */
body {
  margin: 0;
  padding: 0;
  background-color: #0D0F13;
  overflow: hidden;
}

#loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: radial-gradient(circle at 50% 0%, #3F424B, #0D0F13);
  transition: opacity 0.4s ease-out;
}

#loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 0 2rem;
  box-sizing: border-box;
  padding: 2rem;
  background-color: rgba(63, 66, 75, 0.4);
  border-radius: 16px;
}

.loader-logo {
  width: 140px;
  margin-bottom: 24px;
}

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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