:root {
  --g1x: 24%;
  --g1y: 30%;
  --g2x: 75%;
  --g2y: 40%;
  --g3x: 48%;
  --g3y: 72%;
  --pulse: 1;
  --text-main: #f3f7ff;
  --text-dim: #d5deff;
}

@font-face {
  font-family: "BannerSynth";
  src: url("/fonts/banner.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "TextSynth";
  src: url("/fonts/text.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "TextSynth", Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: #080b14;
  overflow: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.bg-orb {
  position: absolute;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(74px) saturate(118%);
  transform: translate(-50%, -50%) scale(var(--pulse));
  will-change: transform, left, top, opacity;
  transition:
    left 160ms linear,
    top 160ms linear,
    opacity 180ms linear,
    transform 180ms linear;
}

.orb-a {
  left: var(--g1x);
  top: var(--g1y);
  background: radial-gradient(circle at center, #5f6dff 0%, #8258ff 62%, #0000 78%);
  opacity: calc(0.55 + (var(--pulse) - 1) * 0.55);
}

.orb-b {
  left: var(--g2x);
  top: var(--g2y);
  background: radial-gradient(circle at center, #13c8ff 0%, #5b95ff 58%, #0000 77%);
  opacity: calc(0.45 + (var(--pulse) - 1) * 0.4);
}

.orb-c {
  left: var(--g3x);
  top: var(--g3y);
  background: radial-gradient(circle at center, #ff5dd7 0%, #b060ff 54%, #0000 74%);
  opacity: calc(0.35 + (var(--pulse) - 1) * 0.5);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 13, 0.2), rgba(3, 5, 13, 0.8)),
    radial-gradient(circle at 50% 22%, rgba(12, 16, 33, 0.1), rgba(3, 5, 10, 0.85) 78%);
}

.bg-noise {
  position: absolute;
  inset: -120px;
  opacity: 0.06;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.55) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255, 255, 255, 0.4) 0.5px, transparent 0.5px);
  background-size:
    3px 3px,
    4px 4px;
  background-position:
    0 0,
    1px 1px;
  filter: blur(0.5px);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px 20px 180px;
}

.banner-title {
  margin: 0;
  font-family: "BannerSynth", "TextSynth", sans-serif;
  font-size: clamp(4rem, 14vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: #f8fbff;
  text-shadow:
    0 0 15px rgba(150, 179, 255, 0.32),
    0 6px 34px rgba(0, 0, 0, 0.55);
}

.hero-copy {
  margin: 0 auto;
  max-width: min(640px, 80vw);
  color: var(--text-dim);
  font-size: clamp(1rem, 2.25vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.try-button {
  align-self: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 14px 28px;
  font-family: "TextSynth", sans-serif;
  font-size: 1rem;
  color: #f8fbff;
  background: rgba(16, 21, 37, 0.46);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.try-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(8, 18, 38, 0.4);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(21, 27, 48, 0.65);
}

.triangle {
  font-size: 0.9rem;
  transform: translateX(2px);
}

.player-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 28px;
  display: grid;
  place-items: center;
  padding: 0 14px;
}

.player-pill {
  width: min(760px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(140deg, rgba(15, 20, 34, 0.67), rgba(18, 28, 46, 0.42));
  backdrop-filter: blur(22px) saturate(132%);
  box-shadow:
    0 18px 44px rgba(2, 4, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.cover-button {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #6d7bff, #3a477d 70%);
  color: #f8fbff;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-fallback {
  font-size: 1.1rem;
  opacity: 0.94;
}

.play-state-glyph {
  position: absolute;
  right: 4px;
  bottom: 4px;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  line-height: 1;
  padding: 0 3px;
  background: rgba(1, 2, 4, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.track-meta {
  min-width: 0;
}

.track-title {
  margin: 0;
  color: #f0f4ff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.like-button {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.24), transparent 48%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.07);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 14px rgba(4, 8, 18, 0.34);
  transition:
    transform 130ms ease,
    box-shadow 130ms ease,
    background 130ms ease;
}

.like-button::before {
  content: "♡";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffc6e3;
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.like-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.2) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255, 255, 255, 0.14) 0.5px, transparent 0.5px);
  background-size:
    3px 3px,
    4px 4px;
  background-position:
    0 0,
    1px 1px;
  opacity: 0.22;
  pointer-events: none;
}

.like-button:hover {
  transform: scale(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(4, 8, 18, 0.42);
}

.like-button[data-active="true"] {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.33), transparent 52%),
    linear-gradient(150deg, rgba(255, 133, 194, 0.36), rgba(255, 86, 176, 0.2)),
    rgba(255, 82, 172, 0.22);
}

.like-button[data-active="true"]::before {
  content: "♥";
  color: #ff57b2;
}

.album-bubble {
  margin-bottom: 12px;
  width: min(620px, calc(100vw - 30px));
  align-self: end;
  justify-self: center;
  padding: 14px 16px;
  border-radius: 22px 22px 22px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(15, 23, 41, 0.7), rgba(14, 22, 37, 0.55));
  backdrop-filter: blur(18px) saturate(126%);
  color: #edf4ff;
  line-height: 1.45;
  white-space: pre-line;
  box-shadow: 0 10px 28px rgba(2, 8, 18, 0.36);
}

.player-pill.spoiler > * {
  filter: blur(9px);
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .hero {
    padding-bottom: 200px;
  }

  .player-pill {
    gap: 10px;
    padding-right: 10px;
  }

  .track-title {
    font-size: 0.95rem;
  }

  .album-bubble {
    font-size: 0.95rem;
  }
}
