@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;700;900&family=Fraunces:opsz,wght@9..144,600;9..144,900&family=Manrope:wght@400;500;800&family=Oswald:wght@500;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #f3f7ff;
  --soft-ink: rgba(210, 226, 244, 0.76);
  --line: rgba(163, 206, 239, 0.42);
  --display-font: 'DM Sans', sans-serif;
  --hollow-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 3l8 7 4-8 4 8 8-7-3 12 4 5-10-1 1 10-8-8-7 8 2-10-7 1 5-6z' fill='%23f3f7ff' stroke='%2307111f' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 15c2 2 6 2 8 0' fill='none' stroke='%2376b7d8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 4 3, auto;
}

* { box-sizing: border-box; cursor: var(--hollow-cursor); }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #ff168b;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

.stage {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, .24), transparent 34%),
    linear-gradient(115deg, #ff0066 0%, #ff7600 17%, #ffef00 34%, #00de7c 51%, #00a4ff 69%, #692dff 84%, #ff009b 100%);
}

.stage::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: conic-gradient(from 20deg at 50% 45%, #ff174f, #ff8b00, #fff200, #23db75, #00b8ff, #5634ff, #e900ff, #ff174f);
  filter: blur(30px) saturate(1.35);
  opacity: .72;
  animation: drift 18s ease-in-out infinite alternate;
}

.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 8, 34, .04), rgba(14, 5, 31, .28));
  pointer-events: none;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.color-orbit { position: absolute; z-index: 1; border-radius: 50%; filter: blur(1px); opacity: .5; border: 1px solid rgba(255,255,255,.58); box-shadow: inset 0 0 35px rgba(255,255,255,.1), 0 0 26px rgba(255,255,255,.12); }
.color-orbit--one { width: min(56vw, 700px); aspect-ratio: 1; top: -33%; right: -10%; background: rgba(255, 244, 0, .14); }
.color-orbit--two { width: min(42vw, 550px); aspect-ratio: 1; bottom: -30%; left: -12%; background: rgba(0, 194, 255, .16); }

.hero { position: relative; z-index: 3; width: min(86vw, 900px); text-align: center; transform: translateY(-2vh); }
.eyebrow, .footer-note, .controls label { font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow { margin: 0 0 1.1rem; font-size: clamp(.65rem, 1.2vw, .8rem); color: var(--soft-ink); }
h1 { margin: 0; font-family: var(--display-font); font-size: clamp(4.7rem, 16vw, 11.5rem); font-weight: 900; letter-spacing: -.08em; line-height: .82; color: #eff8ff; text-shadow: 0 0 12px rgba(139, 213, 244, .38), 0 5px 30px rgba(0, 0, 0, .45); transition: font-family .2s ease; }
.tagline { margin: 1.6rem 0 2.6rem; color: var(--soft-ink); font-size: clamp(1rem, 2vw, 1.3rem); }
.controls { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.controls label { font-size: .68rem; color: var(--soft-ink); }
.select-wrap { position: relative; }
select { appearance: none; min-width: 205px; padding: .85rem 2.5rem .85rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font: 500 .88rem 'DM Sans', sans-serif; cursor: pointer; outline: none; backdrop-filter: blur(14px); }
select:hover, select:focus-visible { background: rgba(255,255,255,.2); border-color: #fff; }
select option { color: #231035; background: #fff; }
.select-arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-53%); pointer-events: none; font-size: 1.05rem; }
.footer-note { position: absolute; z-index: 3; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; align-items: center; width: max-content; max-width: 90vw; color: rgba(255,255,255,.68); font-size: .62rem; }
.footer-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes drift { from { transform: rotate(-6deg) scale(1.05); } to { transform: rotate(8deg) scale(1.14); } }
@media (max-width: 600px) { .hero { transform: translateY(-5vh); } .controls { gap: .65rem; flex-direction: column; } .tagline { margin-bottom: 2rem; } .footer-note { bottom: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .stage::before { animation: none; } }

/* The dropdown stays dependency-free by mapping to locally available web fonts. */
.font-serif h1 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.09em; }
.font-mono h1 { font-family: 'DM Mono', monospace; letter-spacing: -.12em; }
.font-rounded h1 { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.1em; }
.font-condensed h1 { font-family: 'Oswald', Impact, sans-serif; font-weight: 700; letter-spacing: -.04em; }
