:root {
  --bg: #0d0d0f;
  --bg-secondary: #17171b;
  --text: #f0eff4;
  --text-muted: #6b6880;
  --accent: #7c5cfc;
  --accent-hover: #6c4ff0;
  --border: rgba(240, 239, 244, 0.08);
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: drift 22s ease-in-out infinite alternate;
}

.orb--a {
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.16) 0%, transparent 70%);
}

.orb--b {
  bottom: -260px;
  left: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.10) 0%, transparent 70%);
  animation-delay: -11s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.06); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  opacity: 0.5;
}

.shmup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

@media (min-width: 1024px) {
  .shmup {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shmup {
    display: none;
  }
}

/* ---------- Content ---------- */

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100dvh;
  padding: 1.5rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

h1 .highlight {
  background: linear-gradient(125deg, var(--accent) 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 92, 252, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.destination {
  margin-top: 1.25rem;
  font-family: ui-monospace, 'SF Mono', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

/* ---------- Motion & responsiveness ---------- */

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
}

@media (max-width: 640px) {
  .orb--a, .orb--b {
    width: 380px;
    height: 380px;
  }
}
