* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.85;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

#root-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a6e 0%, #5865f2 60%, #7c3aed 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 20px;
}

#root-splash .splash-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: logoPulse 2s ease-in-out infinite;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.1);
}

#root-splash .splash-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  animation: fadeUp 0.5s ease forwards;
}

#root-splash .splash-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin: 0 0 32px;
  animation: fadeUp 0.7s ease forwards;
}

/* Shimmer bar */
#root-splash .splash-bar {
  width: 160px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.1) 75%);
  animation: shimmer 1.5s infinite;
}
