/* Change these colors to give the entire artwork a new pink palette. */
:root {
  --pink-light: #ffd0e8;
  --pink-bright: #ff5cad;
  --pink-deep: #b81770;
  --ink: #8d0f59;
  --mouse-x: 0;
  --mouse-y: 0;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { overflow: hidden; font-family: Arial Black, Impact, system-ui, sans-serif; }

/* The whole screen is one colorful playground. */
.playground {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  cursor: crosshair;
  background: radial-gradient(circle at 49% 45%, #ffe0f0 0%, var(--pink-light) 31%, #ff9bcf 67%, #ff78bc 100%);
}
.playground::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -2;
  opacity: .38;
  background: repeating-radial-gradient(circle at 48% 53%, transparent 0 64px, rgba(255,255,255,.5) 65px 68px, transparent 69px 126px);
  transform: translate(calc(var(--mouse-x) * -12px), calc(var(--mouse-y) * -12px));
  transition: transform 180ms ease-out;
}
.background-glow {
  position: absolute;
  width: 70vmin;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff1f8;
  filter: blur(75px);
  opacity: .7;
  pointer-events: none;
}

/* The loose circles drift in response to the pointer. */
.orb {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset -12px -15px 22px rgba(159, 10, 91, .14), inset 12px 13px 22px rgba(255,255,255,.75), 0 20px 40px rgba(155, 10, 88, .12);
  transition: transform 280ms cubic-bezier(.18,.8,.25,1);
}
.orb-one { width: clamp(110px, 20vw, 290px); left: -5%; top: 7%; background: #ff65b0; transform: translate(calc(var(--mouse-x) * 26px), calc(var(--mouse-y) * 26px)); }
.orb-two { width: clamp(100px, 17vw, 220px); right: 4%; bottom: 4%; background: #ffb0d7; transform: translate(calc(var(--mouse-x) * -32px), calc(var(--mouse-y) * -32px)); }
.orb-three { width: clamp(50px, 8vw, 110px); right: 15%; top: 13%; background: #fff0f8; transform: translate(calc(var(--mouse-x) * 48px), calc(var(--mouse-y) * 48px)); }

/* Large, bold letters are the stars of the show. */
.letter-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .005em;
  margin: 0;
  padding: 0 .07em .1em;
  font-size: clamp(150px, 38vw, 620px);
  font-weight: 1000;
  line-height: .78;
  letter-spacing: -.085em;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 28px 1px rgba(146, 19, 93, .08));
}
.letter {
  display: inline-block;
  position: relative;
  background: linear-gradient(148deg, #fff0f8 0%, #ffb0d9 19%, var(--pink-bright) 47%, #ef318e 70%, var(--pink-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: clamp(2px, .5vw, 7px) var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(6px 7px 0 #fff1f8) drop-shadow(14px 17px 0 rgba(184,23,112,.45));
  will-change: transform;
  transition: transform 140ms cubic-bezier(.2,.8,.2,1), filter 150ms ease;
}
.letter-n { transform: translate(calc(var(--mouse-x) * -24px), calc(var(--mouse-y) * -28px)) rotate(calc(var(--mouse-x) * -7deg)); }
.letter-h { transform: translate(calc(var(--mouse-x) * 24px), calc(var(--mouse-y) * 28px)) rotate(calc(var(--mouse-x) * 7deg)); }

/* Tiny bursts appear briefly wherever the pointer travels. */
.sparkle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sparkle {
  position: absolute;
  width: var(--size, 14px);
  height: var(--size, 14px);
  background: var(--sparkle-color, #fff);
  clip-path: polygon(50% 0%, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  transform: translate(-50%, -50%);
  animation: pop 650ms ease-out forwards;
}
@keyframes pop {
  from { opacity: .9; transform: translate(-50%, -50%) scale(.3) rotate(0deg); }
  to { opacity: 0; transform: translate(calc(-50% + var(--drift-x)), calc(-50% + var(--drift-y))) scale(1.6) rotate(110deg); }
}
@media (max-width: 600px) {
  .letter-art { font-size: 42vw; }
  .orb-one { left: -18%; top: 12%; }
  .orb-two { right: -16%; bottom: 9%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sparkle { display: none; }
}
