:root {
  --bg: #05030a;
  --bg-2: #0a0612;
  --ink: #f4f0ff;
  --muted: #9a8fb5;
  --pink: #ff5cc8;
  --pink-2: #ff8ad6;
  --purple: #a259ff;
  --cyan: #5ce1ff;
  --card: rgba(20, 12, 34, 0.55);
  --line: rgba(162, 89, 255, 0.22);
  --glow: 0 0 24px rgba(255, 92, 200, 0.55);
  --radius: 20px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
@media (hover: none) { body, .kiss-btn, a { cursor: auto; } }

::selection { background: var(--pink); color: #120018; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0612; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--pink), var(--purple)); border-radius: 10px; }

a { color: var(--pink-2); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- background layers ---------- */
.aurora { position: fixed; inset: -20%; z-index: -3; filter: blur(70px); opacity: .55; pointer-events: none; }
.blob { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite; }
.b1 { background: radial-gradient(circle, #ff2fb0, transparent 62%); top: -8%; left: -6%; }
.b2 { background: radial-gradient(circle, #7a2bff, transparent 62%); bottom: -12%; right: -8%; animation-delay: -7s; }
.b3 { background: radial-gradient(circle, #16e0ff, transparent 62%); top: 30%; left: 45%; animation-delay: -13s; opacity: .7; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(9vw, 6vh) scale(1.15); }
  66% { transform: translate(-7vw, -5vh) scale(.9); }
}

#sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

.scanlines, .grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.scanlines {
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay; opacity: .5;
}
.grain {
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(2) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-3%,2%)} 100%{transform:translate(2%,-2%)} }

/* floating gifs injected by JS */
#floaters { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.floater { position: absolute; width: 90px; opacity: .38; filter: drop-shadow(0 0 12px rgba(255,92,200,.5)); animation: floaty linear forwards; will-change: transform; }
@keyframes floaty {
  from { transform: translateY(20px) rotate(-8deg) scale(.8); opacity: 0; }
  12% { opacity: .4; }
  88% { opacity: .4; }
  to { transform: translateY(-120px) rotate(10deg) scale(1.05); opacity: 0; }
}

/* ---------- cursor trail ---------- */
#trail { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.heart { position: absolute; font-size: 16px; color: var(--pink); text-shadow: 0 0 10px var(--pink); animation: pop .8s ease-out forwards; }
@keyframes pop { from { transform: translate(-50%,-50%) scale(.4); opacity: 1; } to { transform: translate(-50%,-160%) scale(1.1); opacity: 0; } }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(14px, 4vw, 48px);
  background: linear-gradient(rgba(5,3,10,.85), rgba(5,3,10,.35));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: 1px; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px var(--pink); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
.brand-name .pulse { animation: blink 1s steps(2) infinite; color: var(--pink); }
@keyframes blink { 50% { opacity: 0; } }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 14px; transition: .25s; }
.nav a:hover { color: var(--ink); background: rgba(162,89,255,.16); text-shadow: 0 0 10px var(--pink); }
.kiss-btn {
  border: 1px solid var(--pink); background: transparent; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-family: inherit;
  transition: .2s; box-shadow: inset 0 0 12px rgba(255,92,200,.15);
}
.kiss-btn:hover { background: var(--pink); color: #12000f; box-shadow: var(--glow); transform: translateY(-2px); }
.kiss-btn:active { transform: scale(.94); }

/* ---------- hero ---------- */
main { position: relative; z-index: 1; }
.hero { min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px 40px; }
.avatar-wrap { position: relative; width: 220px; height: 220px; display: grid; place-items: center; margin-bottom: 26px; }
.avatar-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(255,92,200,.6); animation: spin 12s linear infinite; }
.ring2 { inset: -28px; border-style: dotted; border-color: rgba(92,225,255,.5); animation-duration: 20s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.avatar { width: 200px; height: 200px; border-radius: 26px; box-shadow: 0 0 40px rgba(255,92,200,.5), 0 0 90px rgba(162,89,255,.35); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.status { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-family: var(--mono); color: #06121a; background: var(--cyan); padding: 5px 12px; border-radius: 999px; box-shadow: 0 0 18px var(--cyan); }

.name {
  font-size: clamp(52px, 12vw, 132px); margin: 0; line-height: .95;
  font-weight: 900; letter-spacing: 2px; position: relative;
  background: linear-gradient(100deg, var(--pink), var(--purple) 45%, var(--cyan) 75%, var(--pink));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hue 7s linear infinite;
  filter: drop-shadow(0 0 22px rgba(255,92,200,.55));
}
@keyframes hue { to { background-position: 300% 0; } }
.name::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--cyan);
  -webkit-background-clip: initial; background: none; mix-blend-mode: screen;
  transform: translate(2px, 0); opacity: .35; filter: blur(.5px);
  animation: glitch 3.4s infinite steps(1);
}
@keyframes glitch {
  0%,92%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  93% { clip-path: inset(10% 0 60% 0); transform: translate(-4px, 1px); }
  95% { clip-path: inset(50% 0 20% 0); transform: translate(5px,-1px); }
  97% { clip-path: inset(30% 0 40% 0); transform: translate(-3px,0); }
}
.handle { font-family: var(--mono); color: var(--muted); font-size: clamp(11px, 2.4vw, 15px); margin: 16px 0 6px; letter-spacing: .5px; word-break: break-all; }
.tagline { font-size: clamp(16px, 3.4vw, 22px); min-height: 1.6em; color: var(--ink); }
.caret { color: var(--pink); animation: blink 1s steps(2) infinite; }

.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.cta {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 800; color: #12000f;
  background: linear-gradient(100deg, var(--pink), var(--purple)); box-shadow: 0 8px 30px rgba(255,92,200,.4);
  transition: .2s; letter-spacing: .4px;
}
.cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 40px rgba(255,92,200,.6); }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.cta.ghost:hover { border-color: var(--pink); box-shadow: var(--glow); }

.marquee { width: 100vw; overflow: hidden; margin-top: 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.marquee-track { display: inline-flex; gap: 18px; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--muted); animation: slide 22s linear infinite; }
.marquee-track span:nth-child(odd) { color: var(--pink-2); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card {
  max-width: 1000px; margin: 40px auto; padding: clamp(20px, 4vw, 40px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 60px rgba(162,89,255,.06);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(255,92,200,.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  background-size: 200% 200%; animation: borderflow 6s linear infinite; pointer-events: none;
}
@keyframes borderflow { to { background-position: 200% 0; } }
.card h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 22px; letter-spacing: 1px; }
.hash { color: var(--pink); text-shadow: var(--glow); }
.muted { color: var(--muted); }
.center { text-align: center; }
.tiny { font-size: 12px; }

.about-grid { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.about-gif { border-radius: 16px; box-shadow: 0 0 30px rgba(162,89,255,.4); }
.about-text p { line-height: 1.7; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(162,89,255,.06); }
.facts span { color: var(--muted); font-family: var(--mono); font-size: 13px; }

.vibe-grid { display: grid; grid-template-columns: 1fr 200px; gap: 30px; align-items: center; }
.bar { display: grid; grid-template-columns: 110px 1fr 48px; align-items: center; gap: 12px; margin: 12px 0; font-size: 14px; }
.bar label { color: var(--muted); font-family: var(--mono); }
.bar i { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i::after {
  content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  box-shadow: 0 0 14px rgba(255,92,200,.7);
  animation: fill 1.6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .2s;
}
@keyframes fill { to { width: var(--v); } }
.bar b { text-align: right; color: var(--pink-2); font-family: var(--mono); }
.vibe-gif { border-radius: 16px; box-shadow: 0 0 30px rgba(255,92,200,.4); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-top: 18px; }
.tile {
  margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0c0716;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.tile img { width: 100%; height: 130px; object-fit: contain; background: radial-gradient(circle at 50% 40%, rgba(162,89,255,.18), transparent 70%); transition: transform .3s; }
.tile figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; padding: 6px; border-top: 1px solid var(--line); }
.tile:hover { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--pink); box-shadow: 0 14px 40px rgba(255,92,200,.4); }
.tile:hover img { transform: scale(1.08); }
.tile.hit { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translate(0)} 20%{transform:translate(-6px,2px) rotate(-3deg)} 60%{transform:translate(6px,-2px) rotate(3deg)} }

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.link {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px;
  align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(162,89,255,.06); color: var(--ink); transition: .22s;
}
.link .ico { grid-row: span 2; font-size: 26px; }
.link b { font-size: 15px; }
.link small { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.link:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: var(--glow); background: rgba(255,92,200,.1); }

.footer { text-align: center; padding: 40px 20px 60px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; }
.footer b { color: var(--pink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .nav { display: none; }
  .about-grid, .vibe-grid { grid-template-columns: 1fr; }
  .about-gif, .vibe-gif { max-width: 200px; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  #floaters, #trail { display: none; }
  .reveal { opacity: 1; transform: none; }
}
