:root {
  --ink: #e8e4dc;
  --muted: rgba(232, 228, 220, 0.62);
  --void: #07080c;
}

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

html, body {
  height: 100%;
  background: var(--void);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  overflow: hidden;
}

body {
  min-height: 100dvh;
}

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

main {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 8vw 10vh;
  text-align: center;
  pointer-events: none;
}

.mark {
  letter-spacing: 0.62em;
  font-weight: 300;
  font-size: 0.78rem;
  text-indent: 0.62em;
  color: var(--muted);
  margin-bottom: 2.4rem;
}

.orb {
  position: relative;
  width: min(42vw, 280px);
  height: min(42vw, 280px);
  margin-bottom: 3.2rem;
  animation: drift 18s ease-in-out infinite;
}

.sphere {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff7ea 0%, transparent 18%),
    radial-gradient(circle at 68% 72%, #1a1028 0%, transparent 42%),
    radial-gradient(circle at 40% 42%,
      #ff4d6d 0%,
      #ff8a3d 16%,
      #f4d35e 30%,
      #7dffb3 46%,
      #4cc9f0 62%,
      #7b6cff 78%,
      #c77dff 100%);
  box-shadow:
    inset -18px -22px 40px rgba(8, 6, 16, 0.55),
    inset 10px 12px 24px rgba(255, 255, 255, 0.28),
    0 0 80px rgba(124, 108, 255, 0.28);
  filter: saturate(1.15);
  animation: breathe 7.4s ease-in-out infinite;
}

.sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(255,255,255,0.55), transparent 28%);
  mix-blend-mode: screen;
}

.halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 160, 255, 0.18), transparent 68%);
  filter: blur(8px);
  animation: breathe 7.4s ease-in-out infinite reverse;
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(232, 228, 220, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.r1 {
  width: 128%;
  height: 128%;
  animation: spin 48s linear infinite;
  border-color: rgba(255, 180, 120, 0.22);
}

.r2 {
  width: 158%;
  height: 46%;
  border-color: rgba(120, 210, 255, 0.28);
  animation: spin 36s linear infinite reverse;
}

.r3 {
  width: 46%;
  height: 168%;
  border-color: rgba(180, 140, 255, 0.22);
  animation: spin 52s linear infinite;
}

.line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.45;
  max-width: 38rem;
  letter-spacing: 0.01em;
}

.domain {
  margin-top: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  color: var(--muted);
  font-weight: 300;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 640px) {
  .orb {
    width: 200px;
    height: 200px;
    margin-bottom: 2.4rem;
  }
  .line {
    font-size: 1.28rem;
  }
}
