:root {
  color-scheme: dark;
  --color-bg1: rgb(108, 0, 162);
  --color-bg2: rgb(0, 17, 82);
  --color1: 18, 113, 255;
  --color2: 221, 74, 255;
  --color3: 100, 220, 255;
  --color4: 200, 50, 50;
  --color5: 180, 180, 50;
  --color-interactive: 140, 100, 255;
  --circle-size: 80%;
  --blending: hard-light;
  --text: rgba(255, 255, 255, 0.94);
  --text-soft: rgba(255, 255, 255, 0.74);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #070015;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.gooey-wrapper {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.gradient-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
}

.gradient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 34%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(to bottom, rgba(4, 0, 20, 0.12), rgba(4, 0, 20, 0.46));
}

.gradient-bg svg {
  position: fixed;
  width: 0;
  height: 0;
}

.gradients-container {
  width: 100%;
  height: 100%;
  filter: url("#goo") blur(40px);
  transform: translateZ(0);
}

.blob {
  position: absolute;
  mix-blend-mode: var(--blending);
  opacity: 1;
  will-change: transform;
}

.g1 {
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
}

.g2 {
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.g3 {
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.g4 {
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.g5 {
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  background: radial-gradient(circle at center, rgba(var(--color5), 0.78) 0, rgba(var(--color5), 0) 50%) no-repeat;
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
}

.interactive {
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  opacity: 0.7;
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--text);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(42rem, 72vw);
  aspect-ratio: 1;
  border-radius: 999px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.055);
  filter: blur(48px);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.5);
}

h1 {
  margin: 0;
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.085em;
  text-wrap: balance;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.28),
    0 16px 70px rgba(35, 0, 80, 0.5);
}

.subtitle {
  margin: clamp(1.4rem, 3vw, 2.4rem) 0 0;
  font-size: clamp(1.35rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-soft);
  letter-spacing: -0.025em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.44);
}

@keyframes moveInCircle {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
  0% { transform: translateY(-50%); }
  50% { transform: translateY(50%); }
  100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
  0% { transform: translateX(-50%) translateY(-10%); }
  50% { transform: translateX(50%) translateY(10%); }
  100% { transform: translateX(-50%) translateY(-10%); }
}

@media (max-width: 680px) {
  :root {
    --circle-size: 110%;
  }

  .eyebrow {
    letter-spacing: 0.22em;
  }

  h1 {
    letter-spacing: -0.075em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g1,
  .g2,
  .g3,
  .g4,
  .g5 {
    animation: none;
  }

  .interactive {
    display: none;
  }
}
