/* Goo Cursor — iridescent ferrofluid. Oil-slick liquid metal over a living aurora. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&display=swap");

:root{
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html, body{
  -webkit-tap-highlight-color: transparent; height: 100%; }

body{
  margin: 0;
  background: #05060a;
  color: #fff;
  font-family: var(--font-display);
  overflow: hidden;
  overscroll-behavior: none;
}

/* ---------- Living aurora ---------- */
.aurora{
  position: fixed;
  inset: -20%;
  z-index: 0;
  filter: blur(60px) saturate(1.3);
  pointer-events: none;
}

.aurora__blob{
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.55;
  will-change: transform;
}

.aurora__blob--1{
  background: radial-gradient(circle, #3b1f8f 0%, transparent 62%);
  top: -10%; left: -8%;
  animation: drift1 19s ease-in-out infinite;
}
.aurora__blob--2{
  background: radial-gradient(circle, #0e6b8a 0%, transparent 62%);
  bottom: -14%; right: -6%;
  animation: drift2 23s ease-in-out infinite;
}
.aurora__blob--3{
  background: radial-gradient(circle, #8a1633 0%, transparent 60%);
  top: 24%; right: 10%;
  animation: drift3 27s ease-in-out infinite;
}
.aurora__blob--4{
  background: radial-gradient(circle, #15806a 0%, transparent 60%);
  bottom: 6%; left: 14%;
  animation: drift1 31s ease-in-out infinite reverse;
}

@keyframes drift1{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(8vw, 6vh) scale(1.18); }
}
@keyframes drift2{
  0%,100%{ transform: translate(0,0) scale(1.1); }
  50%{ transform: translate(-7vw, -5vh) scale(0.92); }
}
@keyframes drift3{
  0%,100%{ transform: translate(0,0) scale(0.95); }
  50%{ transform: translate(-6vw, 8vh) scale(1.2); }
}

/* film grain for depth */
.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.7) 0.5px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ---------- Stage / goo ---------- */
.stage{
  position: fixed;
  inset: 0;
  z-index: 2;
  cursor: none;
  touch-action: none;
}

.goo-layer{
  position: absolute;
  inset: 0;
  filter: url(#goo);
  pointer-events: none;
  animation: hueShift 16s linear infinite;
}

@keyframes hueShift{
  from{ filter: url(#goo) hue-rotate(0deg); }
  to{ filter: url(#goo) hue-rotate(360deg); }
}

.goo-defs{ position: absolute; }

/* Iridescent oil-slick beads with a hot specular highlight. */
.blob{
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 70% 78%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%),
    conic-gradient(from 200deg at 50% 50%,
      #67e8f9, #818cf8, #c084fc, #f0abfc, #fda4af, #fcd34d, #6ee7b7, #67e8f9);
}

/* Splat droplets — brighter, hotter. */
.blob--hot{
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0) 30%),
    conic-gradient(from 160deg at 50% 50%,
      #fff1f2, #fda4af, #f472b6, #c084fc, #a78bfa, #fff1f2);
}

/* ---------- Tap ripples (crisp, above goo) ---------- */
.ripples{
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.ripple{
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 22px rgba(180, 220, 255, 0.6);
  animation: rippleOut 760ms cubic-bezier(0.16, 0.8, 0.3, 1) forwards;
}

@keyframes rippleOut{
  0%{ transform: scale(0.4); opacity: 0.9; }
  100%{ transform: scale(16); opacity: 0; border-color: rgba(180,220,255,0); }
}

/* ---------- Brand frame ---------- */
.frame{
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.frame__corner{
  position: absolute;
  font-size: clamp(0.58rem, 1.2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.frame__corner--tl{ top: clamp(18px, 3.5vw, 34px); left: clamp(18px, 3.5vw, 34px); }
.frame__corner--tr{ top: clamp(18px, 3.5vw, 34px); right: clamp(18px, 3.5vw, 34px); }
.frame__corner--bl{ bottom: clamp(18px, 3.5vw, 34px); left: clamp(18px, 3.5vw, 34px); }

.frame__corner a{
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.frame__corner a:hover{ color: #fff; border-bottom-color: #fda4af; }

.hint{
  position: fixed;
  left: 50%;
  top: clamp(40px, 8vh, 76px);
  transform: translateX(-50%);
  margin: 0;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: hintPulse 2.6s ease-in-out infinite;
  transition: opacity 600ms ease;
}

.hint.is-hidden{ opacity: 0; }

@keyframes hintPulse{
  0%, 100%{ opacity: 0.3; }
  50%{ opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce){
  .hint, .aurora__blob, .goo-layer{ animation: none; }
}
