:root {
  --bg-primary: #12141a;
  --bg-secondary: #1a1f35;
  --bg-tertiary: #1e2338;
  --bg-glow: rgba(56, 189, 248, 0.05);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.5);
  --accent-muted: rgba(6, 182, 212, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --bg-color: var(--bg-primary);
  --accent-color: var(--accent);
}

html,
body {
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
  width: 100%;
  overflow: hidden;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#root {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
  width: 100%;
}

#global-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  color: #fff;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#global-boot-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.wf-boot-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wf-boot-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: boot-logo-fade-in 0.8s ease-out;
}

.wf-boot-logo {
  animation: boot-logo-scale 0.8s ease-out;
}

.wf-boot-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: boot-path-loop 1.8s ease-in-out infinite;
}

.wf-boot-progress-track {
  height: 4px;
  width: 96px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  animation: boot-progress-fade-in 0.3s ease-out 0.2s both;
}

.wf-boot-progress-fill {
  height: 100%;
  width: 58%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  animation: boot-progress-loop 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes boot-logo-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes boot-logo-scale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes boot-path-loop {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.66;
  }

  35% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  65% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -100;
    opacity: 0.66;
  }
}

@keyframes boot-progress-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes boot-progress-loop {
  0% {
    transform: translateX(-90%);
    opacity: 0.55;
  }

  50% {
    opacity: 0.95;
  }

  100% {
    transform: translateX(95%);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  #global-boot-overlay * {
    animation: none !important;
    transition: none !important;
  }

  #global-boot-overlay .wf-boot-path {
    stroke-dashoffset: 0 !important;
  }

  #global-boot-overlay .wf-boot-progress-fill {
    width: 100% !important;
    transform: translateX(0) !important;
  }
}
