/* Critical CSS for initial loading screen */
html, body, #root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #0A0A0B;
}

#initial-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #0A0A0B 0%, #111113 50%, #0A0A0B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease-out;
}

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

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.loader-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(233, 69, 96, 0.3);
}

.loader-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.loader-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(13, 148, 136, 0.15);
  border-top-color: #0D9488;
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748B;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

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