body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f2f3f8;
  color: #1e1e2d;
  transition: none !important;
}

.splash-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  animation: splash-pulse 2s ease-in-out infinite;
}

.splash-brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #0070ba 0%, #009ef7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.splash-loader span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #009ef7;
  animation: splash-bounce 1.4s ease-in-out infinite both;
}

.splash-loader span:nth-child(1) { animation-delay: -0.32s; }
.splash-loader span:nth-child(2) { animation-delay: -0.16s; }
.splash-loader span:nth-child(3) { animation-delay: 0s; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes splash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes splash-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

[data-bs-theme="dark"] .splash-screen {
  background-color: #151521;
}

[data-bs-theme="dark"] .splash-brand {
  background: linear-gradient(135deg, #009ef7 0%, #0070ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .splash-loader span {
  background-color: #009ef7;
}

#root {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
