:root {
  --bg: #0b0b10;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --accent-1: rgba(132, 90, 255, 0.30);
  --accent-2: rgba(255, 153, 102, 0.24);
  --accent-3: rgba(88, 166, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 30%, var(--accent-1), transparent 40%),
    radial-gradient(circle at 80% 70%, var(--accent-2), transparent 40%),
    var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100dvh;
  overflow: hidden;
}

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 20px 24px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 0;
}

.footer {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer a:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.landing-page {
  position: relative;
}

.landing-page .page {
  position: relative;
  z-index: 1;
}

.landing-page .brand {
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 4px;
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

.landing-page .content {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.12s;
  opacity: 0;
  transform: translateY(12px);
}

.landing-page .inner {
  max-width: 620px;
}

.landing-page h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.landing-page .sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.22s;
  opacity: 0;
  transform: translateY(10px);
}

.landing-page .footer {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateY(10px);
}

.landing-page .orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.8;
  animation: drift 16s ease-in-out infinite;
}

.landing-page .orb-1 {
  width: 220px;
  height: 220px;
  top: 10%;
  left: -70px;
  background: rgba(132, 90, 255, 0.16);
}

.landing-page .orb-2 {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: 12%;
  background: rgba(255, 153, 102, 0.13);
  animation-delay: -6s;
}

.landing-page .orb-3 {
  width: 180px;
  height: 180px;
  left: 55%;
  bottom: 20%;
  background: var(--accent-3);
  animation-delay: -10s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.05);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .landing-page .orb {
    animation: none;
  }
}
