*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b0d1a;
  --text: #f4f5fb;
  --muted: #a3a8c3;
  --accent-1: #7c5cff;
  --accent-2: #00d4ff;
  --accent-3: #ff5ca8;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(ellipse at top, #1a1f3d 0%, var(--bg) 60%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
  max-width: 760px;
  animation: fade-up 1s ease-out both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc34d;
  box-shadow: 0 0 0 0 rgba(255, 195, 77, 0.7);
  animation: pulse 1.8s infinite;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.subtitle {
  margin-top: 20px;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
}

#dots {
  display: inline-block;
  width: 1.5em;
  text-align: left;
}

.progress {
  margin: 36px auto 0;
  width: min(320px, 100%);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 1.5s ease-out;
}

footer {
  position: fixed;
  bottom: 20px;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.7;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 195, 77, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 195, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 195, 77, 0); }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
