/* Y2K City – early-2000s homepage energy: chrome, candy plastics, glitter. No build step. */
:root {
  --sky-1: #9fe3ff;
  --sky-2: #ffc3e6;
  --sky-3: #e1d2ff;
  --ink: #1f1b3a;
  --ink-soft: #4b4570;
  --pink: #ff7eb6;
  --blue: #5ec8ff;
  --lilac: #b69cff;
  --mint: #8ef0c4;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe8f5 35%, #9fb0c8 50%, #e9eff8 65%, #ffffff 100%);
  --holo: linear-gradient(115deg, #ffd6f2, #c9f0ff 25%, #e6d9ff 45%, #d7fff1 65%, #fff2c9 85%, #ffd6f2);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80, 60, 160, 0.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: linear-gradient(160deg, var(--sky-1) 0%, var(--sky-3) 45%, var(--sky-2) 100%);
}
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: transparent;
}
a { color: inherit; }

/* ---------- background ---------- */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.stars {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 120px 80px, #fff, transparent 60%),
    radial-gradient(2px 2px at 200px 160px, #fff8, transparent 60%),
    radial-gradient(1px 1px at 60px 200px, #fff, transparent 60%),
    radial-gradient(2.5px 2.5px at 260px 40px, #fff, transparent 60%);
  background-size: 300px 240px;
  animation: twinkle 6s ease-in-out infinite alternate, drift 120s linear infinite;
  opacity: 0.8;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 0.95; } }
@keyframes drift { to { transform: translate(300px, 240px); } }

.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 40%, rgba(182,156,255,0.25) 65%, rgba(94,200,255,0.12));
  box-shadow: inset 0 0 22px rgba(255,255,255,0.65), 0 0 30px rgba(255,255,255,0.25);
  animation: float 14s ease-in-out infinite;
}
.b1 { width: 140px; height: 140px; left: 5%; top: 20%; }
.b2 { width: 80px; height: 80px; right: 9%; top: 14%; animation-delay: -3s; }
.b3 { width: 220px; height: 220px; right: -50px; top: 58%; animation-delay: -6s; }
.b4 { width: 60px; height: 60px; left: 18%; top: 78%; animation-delay: -9s; }
.b5 { width: 110px; height: 110px; left: 52%; top: 88%; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.construction, .topbar, main, .footer { position: relative; z-index: 1; }

/* ---------- under construction stripe ---------- */
.construction {
  overflow: hidden; white-space: nowrap; font-weight: 900; font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--ink); padding: 5px 0;
  background: repeating-linear-gradient(-45deg, #ffe46b 0 18px, #ffd02e 18px 36px);
  border-bottom: 2px solid rgba(31,27,58,0.25);
}
.construction span { display: inline-block; padding-left: 100%; animation: ticker 28s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- logo section ---------- */
.logo-section {
  display: flex; justify-content: center; padding: 24px 16px 12px;
  background: transparent;
}
.logo-link {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border-radius: 14px; transition: transform 0.15s ease, filter 0.15s ease;
  padding: 8px;
}
.logo-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 6px 12px rgba(80, 60, 160, 0.3));
}
.logo-main {
  height: 140px; width: auto; display: block;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 12px 16px;
}
.topbar nav {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.social-links {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.social-btn {
  display: inline-block; padding: 8px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 900; font-size: 0.9rem; border: 2px solid;
  transition: transform 0.12s ease, filter 0.12s ease;
  position: relative;
}
.social-btn::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 40%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.15));
  pointer-events: none;
}
.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1) saturate(1.15);
}
.social-btn.tiktok {
  background: linear-gradient(180deg, #1a1a1a 0%, #000 48%, #0d0d0d 52%, #1a1a1a 100%);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4), inset 0 -2px 6px rgba(255,255,255,0.2);
}
.social-btn.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  box-shadow: 0 4px 10px rgba(200,50,120,0.3), inset 0 -2px 6px rgba(255,255,255,0.3);
}

/* glossy aqua pill (the classic 2001 button) */
.pill, .btn.aqua {
  position: relative; text-decoration: none; font-weight: 900;
  border-radius: 999px; border: 1px solid rgba(40,90,160,0.45);
  background: linear-gradient(180deg, #d8f3ff 0%, #8fd8ff 48%, #49b6f5 52%, #8fe2ff 100%);
  box-shadow: 0 4px 10px rgba(30,90,170,0.3), inset 0 -2px 6px rgba(255,255,255,0.6);
  color: #0e2a52; text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.pill::before, .btn.aqua::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 45%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.15));
  pointer-events: none;
}
.btn.aqua.pink {
  border-color: rgba(170,40,110,0.45);
  background: linear-gradient(180deg, #ffe0f0 0%, #ffa6d2 48%, #ff6fb1 52%, #ffb3d9 100%);
  color: #4a0f2e; box-shadow: 0 4px 10px rgba(200,50,120,0.3), inset 0 -2px 6px rgba(255,255,255,0.6);
}
.pill { padding: 7px 15px; font-size: 0.92rem; }
.pill:hover, .btn.aqua:hover { transform: translateY(-2px); filter: brightness(1.05) saturate(1.1); }
.btn.aqua { display: inline-block; padding: 13px 26px; }

/* ---------- hero ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 20px 0 30px; }
.eyebrow {
  font-family: "Michroma", sans-serif; text-transform: uppercase; letter-spacing: 0.35em;
  font-size: 0.78rem; color: var(--ink-soft); margin: 0 0 6px;
}
.wordmark {
  position: relative; display: inline-block;
  font-family: "Michroma", sans-serif; font-weight: 400;
  font-size: clamp(3rem, 14vw, 8.2rem); line-height: 1.05; margin: 0;
  background: var(--chrome); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px rgba(70, 60, 140, 0.55);
  filter: drop-shadow(0 5px 0 rgba(182,156,255,0.7)) drop-shadow(0 9px 0 rgba(255,126,182,0.45)) drop-shadow(0 16px 26px rgba(80,60,160,0.3));
}
/* moving shine across the chrome letters */
.wordmark::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.95) 50%, transparent 60%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0; animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }

.tagline { font-size: clamp(1.05rem, 2.6vw, 1.35rem); max-width: 560px; margin: 18px auto 0; color: var(--ink-soft); }
.tagline strong { color: var(--ink); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.hud { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.lcd {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 20px; border-radius: 12px; min-width: 200px;
  background: linear-gradient(180deg, #2a2550, #1a1736); color: #b9ffcf;
  border: 2px solid rgba(255,255,255,0.6); box-shadow: var(--shadow), inset 0 0 14px rgba(0,0,0,0.6);
}
.lcd-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: #a7b0e6; }
.lcd-digits { font-family: "VT323", monospace; font-size: 2rem; letter-spacing: 0.12em; line-height: 1; text-shadow: 0 0 8px rgba(140,255,180,0.8); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; margin: 22px calc(50% - 50vw); width: 100vw;
  background: linear-gradient(90deg, var(--pink), var(--lilac), var(--blue), var(--mint), var(--pink));
  background-size: 200% 100%; animation: holo-shift 10s linear infinite;
  color: #fff; font-weight: 900; padding: 10px 0; text-shadow: 0 1px 2px rgba(31,27,58,0.35);
  border-top: 2px solid rgba(255,255,255,0.8); border-bottom: 2px solid rgba(255,255,255,0.8);
}
.marquee-track { display: inline-flex; animation: scroll 40s linear infinite; }
.marquee-track span { padding-right: 2rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes holo-shift { to { background-position: 200% 0; } }

/* ---------- windows ---------- */
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-top: 10px; }
.wide { grid-column: span 1; }
@media (min-width: 821px) {
  #places { grid-column: 1; }
  .player { grid-column: 2; align-self: start; }
  #merch, #follow { grid-column: 1 / -1; }
}
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

.win {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.62); border: 2px solid rgba(255,255,255,0.95);
  box-shadow: var(--shadow), 0 0 0 1px rgba(110,90,190,0.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.win-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; background: var(--holo); background-size: 200% 100%;
  animation: holo-shift 12s linear infinite; border-bottom: 1px solid rgba(110,90,190,0.25);
}
.win-title { font-family: "Michroma", sans-serif; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink); }
.win-btns { display: flex; gap: 6px; }
.win-btns i {
  width: 13px; height: 13px; border-radius: 50%; display: block;
  background: radial-gradient(circle at 35% 30%, #fff, #ffb3d9 45%, #ff5fa8);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.2);
}
.win-btns i:nth-child(2) { background: radial-gradient(circle at 35% 30%, #fff, #ffe9a6 45%, #ffc93a); }
.win-btns i:nth-child(3) { background: radial-gradient(circle at 35% 30%, #fff, #b9f7dd 45%, #43d69a); }
.win-body { padding: 22px clamp(16px, 3.5vw, 32px); }
.win h2 { font-family: "Michroma", sans-serif; font-weight: 400; font-size: clamp(1.1rem, 2.8vw, 1.5rem); margin: 0 0 10px; }
.win p { line-height: 1.6; color: var(--ink-soft); margin: 0 0 10px; max-width: 70ch; }
.blink-soft { font-weight: 900; color: var(--pink) !important; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* buddy list */
.buddy-head { font-weight: 900; color: var(--ink) !important; margin-bottom: 8px !important; }
.buddies { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.buddies li { display: grid; grid-template-columns: 14px auto; column-gap: 8px; align-items: center; }
.buddies b { font-size: 0.95rem; }
.buddies em { grid-column: 2; font-size: 0.8rem; color: var(--ink-soft); }
.status { width: 11px; height: 11px; border-radius: 50%; }
.status.on { background: #3ddc84; box-shadow: 0 0 6px #3ddc84; }
.status.away { background: #ffc93a; box-shadow: 0 0 6px #ffc93a; }

/* places */
.places { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.places li {
  display: flex; align-items: center; gap: 10px; font-weight: 800;
  padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.95);
  transition: transform 0.15s ease;
}
.places li:hover { transform: translateY(-2px) rotate(-0.5deg); }
.icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem;
  background: radial-gradient(circle at 30% 25%, #fff, var(--c) 70%); box-shadow: 0 3px 8px rgba(0,0,0,0.12), inset 0 -2px 4px rgba(0,0,0,0.1);
}

/* music player */
.player {
  border-radius: 26px 26px 18px 18px; padding: 14px;
  background: linear-gradient(160deg, #e9eef7, #b8c4d8 45%, #f4f7fc 60%, #aab6cc);
  border: 2px solid #fff; box-shadow: var(--shadow), inset 0 2px 0 #fff;
}
.player-screen {
  border-radius: 12px; padding: 12px; background: #1a1736; color: #b9ffcf;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.7); font-family: "VT323", monospace;
}
.np { display: block; font-size: 0.95rem; color: #a7b0e6; letter-spacing: 0.15em; text-transform: uppercase; }
.track { display: block; font-size: 1.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 6px rgba(140,255,180,0.7); }
.eq { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: 8px; }
.eq i { flex: 1; background: linear-gradient(0deg, #3ddc84, #ffe46b, #ff6fb1); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.2s } .eq i:nth-child(3) { animation-delay: -0.5s } .eq i:nth-child(4) { animation-delay: -0.1s }
.eq i:nth-child(5) { animation-delay: -0.7s } .eq i:nth-child(6) { animation-delay: -0.3s } .eq i:nth-child(7) { animation-delay: -0.6s } .eq i:nth-child(8) { animation-delay: -0.4s }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.player-btns { display: flex; justify-content: space-around; margin-top: 12px; }
.player-btns span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem;
  background: var(--chrome); border: 1px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* merch */
.merch-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.merch-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; font-weight: 900;
  border-radius: 16px; background: var(--holo); background-size: 200% 100%; animation: holo-shift 9s linear infinite;
  border: 2px solid #fff; box-shadow: 0 6px 14px rgba(80,60,160,0.15);
}
.merch-ico { font-size: 2rem; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.15)); }
.fine { font-size: 0.82rem; text-align: center; margin: 14px auto 0 !important; }
.merch .win-body, .follow .win-body { text-align: center; }
.merch p, .follow p { margin-left: auto; margin-right: auto; }

/* 88x31 badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 6px; }
.badge {
  width: 88px; height: 31px; display: grid; place-items: center; text-align: center;
  font-family: "VT323", monospace; font-size: 0.85rem; line-height: 0.95; letter-spacing: 0.02em; padding: 0 3px; box-sizing: border-box; overflow: hidden;
  border: 2px outset #fff; color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}
.b-a { background: linear-gradient(90deg, #5ec8ff, #b69cff); }
.b-b { background: #1a1736; color: #b9ffcf; }
.b-c { background: linear-gradient(90deg, #ff7eb6, #ffb3d9); }
.b-d { background: repeating-linear-gradient(90deg, #3ddc84 0 6px, #2bb56c 6px 12px); }
.b-e { background: linear-gradient(90deg, #ffc93a, #ff9e7a); animation: pulse 1.4s steps(2) infinite; }

/* footer */
.footer { text-align: center; padding: 24px 16px 40px; color: var(--ink-soft); font-size: 0.9rem; }
.webring { font-family: "VT323", monospace; font-size: 1.25rem; color: var(--ink); }
.webring { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; }
.webring b, .webring span { white-space: nowrap; }
@media (max-width: 480px) { .webring { font-size: 1.05rem; } }

/* glitter cursor trail (created by script.js) */
.sparkle {
  position: fixed; z-index: 50; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: radial-gradient(circle, #fff 0 20%, transparent 21%),
              conic-gradient(from 0deg, transparent 0 40deg, #fff 45deg, transparent 50deg 130deg, #fff 135deg, transparent 140deg 220deg, #fff 225deg, transparent 230deg 310deg, #fff 315deg, transparent 320deg);
  filter: drop-shadow(0 0 3px var(--c, #ff7eb6));
  animation: sparkle 0.8s ease-out forwards;
}
@keyframes sparkle { to { transform: translateY(14px) scale(0.2) rotate(90deg); opacity: 0; } }

@keyframes y2k-float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(15px); }
  100% { transform: translateY(-100vh) translateX(0); }
}

@keyframes y2k-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}
