:root {
  --bg: #0a0a12;
  --fg: #f5f5fa;
  --muted: #8a8aa0;
  --accent: #6c5ce7;
  --accent-2: #00d2ff;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  overflow: hidden;
  display: grid;
  place-items: center;
}

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

.stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 640px;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.title {
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.title span {
  display: block;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}

.subtitle {
  margin: 1.6rem auto 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.6;
}

.dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.4rem;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 1.4s ease-in-out infinite;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.foot {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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