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

:root {
  --fg: #e8e8e4;
  --muted: #a0a099;
  --accent: #93c5fd;
  --accent-hover: #bfdbfe;
  --link-bg: rgba(255, 255, 255, 0.08);
  --link-bg-hover: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.12);
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #0d0d10;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
}

/* ── Blob background ─────────────────────────────────────── */

.blobs {
  position: fixed;
  inset: -20%;          /* slightly oversized so blobs don't clip at edges */
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
}

.blob {
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  opacity: 0.55;
  will-change: background, transform;
}

/* Each blob cycles color, drifts toward center, and pulses in size */

.blob-1 { animation: shift-1 22s ease-in-out infinite alternate; }
.blob-2 { animation: shift-2 28s ease-in-out infinite alternate; }
.blob-3 { animation: shift-3 18s ease-in-out infinite alternate; }
.blob-4 { animation: shift-4 24s ease-in-out infinite alternate; }

@keyframes shift-1 {
  0%   { background: hsl(260, 80%, 35%); transform: translate(-50%,        -50%)        scale(1);    }
  50%  { background: hsl(200, 80%, 30%); transform: translate(calc(-50% + 28vw), calc(-50% + 22vh)) scale(1.3);  }
  100% { background: hsl(290, 70%, 28%); transform: translate(calc(-50% + 12vw), calc(-50% + 35vh)) scale(0.85); }
}

@keyframes shift-2 {
  0%   { background: hsl(180, 75%, 28%); transform: translate(-50%,        -50%)        scale(1);    }
  50%  { background: hsl(220, 80%, 35%); transform: translate(calc(-50% - 30vw), calc(-50% + 25vh)) scale(1.25); }
  100% { background: hsl(160, 70%, 25%); transform: translate(calc(-50% - 15vw), calc(-50% + 38vh)) scale(0.9);  }
}

@keyframes shift-3 {
  0%   { background: hsl(310, 70%, 32%); transform: translate(-50%,        -50%)        scale(1);    }
  50%  { background: hsl(340, 75%, 30%); transform: translate(calc(-50% + 25vw), calc(-50% - 28vh)) scale(1.2);  }
  100% { background: hsl(270, 80%, 35%); transform: translate(calc(-50% + 10vw), calc(-50% - 40vh)) scale(0.88); }
}

@keyframes shift-4 {
  0%   { background: hsl(140, 65%, 25%); transform: translate(-50%,        -50%)        scale(1);    }
  50%  { background: hsl(190, 75%, 28%); transform: translate(calc(-50% - 22vw), calc(-50% - 30vh)) scale(1.3);  }
  100% { background: hsl(120, 60%, 22%); transform: translate(calc(-50% - 8vw),  calc(-50% - 20vh)) scale(0.9);  }
}

/* ── Content sits above blobs ────────────────────────────── */

main {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tagline {
  font-size: clamp(1rem, 3vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.context {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  background: var(--link-bg);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.15s ease, color 0.15s ease;
}

nav a:hover {
  background: var(--link-bg-hover);
  color: var(--accent-hover);
}
