:root {
  --navy: #102554;
  --navy-deep: #08152f;
  --cream: #ead28f;
  --violet: #5939ca;
  --magenta: #ff42d6;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--navy); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 16%, rgba(78, 61, 171, .12), transparent 36rem),
    linear-gradient(180deg, #132b61 0%, #102554 56%, #0a1838 100%);
  font-family: "Courier New", Courier, monospace;
}

.fx { position: fixed; inset: 0; pointer-events: none; }
.fx-starfield {
  z-index: 0;
  background-image: url("assets/pixel-starry-sky.gif");
  background-size: cover;
  background-position: center;
  opacity: .72;
}
.fx-starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19,43,97,.18) 0%, rgba(16,37,84,.10) 45%, rgba(10,24,56,.26) 100%),
    radial-gradient(circle at 50% 18%, rgba(255,66,214,.08), transparent 32rem);
}
.fx-grid {
  z-index: 0;
  opacity: .05;
  background-image:
    linear-gradient(rgba(234,210,143,.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,210,143,.16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}
.fx-glow {
  z-index: 0;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .10;
}
.glow-a { left: -12rem; top: -8rem; background: var(--violet); }
.glow-b { right: -14rem; bottom: -10rem; background: var(--magenta); }

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) 24px 28px;
  display: grid;
  place-items: center;
}

.hero {
  width: min(100%, 980px);
  min-height: calc(100svh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.artist-logo {
  position: relative;
  z-index: 3;
  width: min(76vw, 720px);
  height: auto;
  margin: 0 0 clamp(-54px, -4.3vw, -32px);
  filter: drop-shadow(0 8px 0 rgba(1, 7, 25, .18));
  user-select: none;
  pointer-events: none;
}

.portrait-wrap {
  position: relative;
  width: min(48vw, 590px);
  min-width: 360px;
  z-index: 2;
}
.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 3% -3% -3% 3%;
  border-radius: 26px;
  background: rgba(84, 48, 202, .24);
  filter: blur(15px);
  z-index: -1;
}
.portrait {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  filter: saturate(1.03) contrast(1.01);
}

.socials {
  margin-top: clamp(20px, 2vw, 34px);
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.3vw, 16px);
  align-items: center;
  justify-items: center;
}
.social-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}
.social-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.24));
}
.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-7px) scale(1.04);
  filter: brightness(1.08);
  outline: none;
}
.social-button:active { transform: translateY(-2px) scale(.98); }
.social-button.is-coming-soon { cursor: default; }
.social-button.is-coming-soon img { opacity: .78; }
.social-button.is-coming-soon:hover { transform: translateY(-4px); }

.tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 5px);
  white-space: nowrap;
  padding: 7px 9px;
  border: 1px solid rgba(234,210,143,.42);
  background: rgba(8,21,47,.95);
  color: #f2dea0;
  font-size: 11px;
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
  transition: .16s ease;
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.social-button:hover .tooltip,
.social-button:focus-visible .tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.microcopy {
  margin: 20px 0 0;
  font-size: 11px;
  letter-spacing: .23em;
  opacity: .56;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  transform: translate(-50%, 20px);
  padding: 10px 13px;
  border: 1px solid rgba(234,210,143,.35);
  background: rgba(8,21,47,.94);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .05em;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .page-shell { padding: 26px 16px 24px; }
  .hero { min-height: calc(100svh - 50px); justify-content: center; }
  .artist-logo {
    width: min(95vw, 680px);
    margin-bottom: -28px;
  }
  .portrait-wrap {
    width: min(86vw, 520px);
    min-width: 0;
  }
  .socials {
    width: min(92vw, 520px);
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 14px;
    margin-top: 18px;
  }
  .social-button { width: min(100%, 112px); }
  .tooltip { display: none; }
  .microcopy { margin-top: 14px; font-size: 9px; }
}

@media (max-width: 420px) {
  .artist-logo { margin-bottom: -18px; }
  .socials { gap: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .fx-starfield { background-image: none; opacity: 0; }
}
