#root-loader {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #071827 0%, #0b2740 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

#root-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(186, 226, 245, 0.7);
  box-shadow: 0 18px 44px rgba(8, 149, 209, 0.22);
  margin-bottom: 18px;
}

.loader-text {
  color: white;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0;
}

.loader-subtitle {
  color: rgba(226, 243, 252, 0.82);
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0;
}

.loader-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #65d6ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 20px;
}

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