:root {
  --bg: #08090d;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f7f3ea;
  --muted: #b9b1a6;
  --pink: #ff3d8b;
  --green: #9cff6e;
  --blue: #78ddff;
  --amber: #ffd166;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 61, 139, 0.22), transparent 28rem),
    radial-gradient(circle at 84% 2%, rgba(120, 221, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, #11131b 0%, var(--bg) 45%, #0c0d10 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 33vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(8, 9, 13, 0.45), rgba(8, 9, 13, 0.85)),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 38px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 40%, rgba(156, 255, 110, 0.18), transparent 20rem),
    linear-gradient(105deg, transparent 0 52%, rgba(255, 209, 102, 0.12) 52% 62%, transparent 62%);
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 7px 7px;
  mix-blend-mode: overlay;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark__disc {
  width: 2.15rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: conic-gradient(from 40deg, var(--pink), var(--amber), var(--green), var(--blue), var(--pink));
  box-shadow: 0 0 30px rgba(255, 61, 139, 0.45);
}

.brand-mark__disc::after {
  content: "";
  display: block;
  width: 34%;
  aspect-ratio: 1;
  margin: 33%;
  border-radius: 999px;
  background: #07080d;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__tag, .back-link, .play-all-link, .eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link, .play-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.06);
}

.play-all-link {
  color: #101116;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0.85rem 2rem rgba(120, 221, 255, 0.18);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 38rem) minmax(15rem, 35rem);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem) 4rem;
}

.logo-lockup {
  position: relative;
  isolation: isolate;
}

.logo-lockup__pulse {
  position: absolute;
  left: -1rem;
  top: 0.2rem;
  z-index: -1;
  width: clamp(5rem, 12vw, 10rem);
  aspect-ratio: 1;
  border: 2px solid rgba(156, 255, 110, 0.45);
  border-radius: 40% 60% 55% 45%;
  transform: rotate(-14deg);
}

h1, h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.07em;
}

.logo-lockup h1 {
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0.08em 0.06em 0 rgba(255, 61, 139, 0.25);
}

.hero__content p, .album-hero__content p {
  max-width: 42rem;
  margin: 0;
  color: #d8d0c5;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.waveform {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: 1rem;
  display: flex;
  align-items: end;
  gap: 0.35rem;
  height: 4rem;
}

.waveform span {
  display: block;
  width: 0.5rem;
  height: calc(18% + var(--i, 1) * 9%);
  border-radius: 999px;
  background: linear-gradient(var(--green), var(--pink));
}

.waveform span:nth-child(2n) { height: 70%; background: linear-gradient(var(--blue), var(--amber)); }
.waveform span:nth-child(3n) { height: 42%; }

.page-shell {
  width: min(92rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.album-grid, .track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.15rem;
}

.album-card, .track-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.album-card:hover, .track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 255, 110, 0.45);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.38);
}

.album-card__poster {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #111;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.album-card__body, .track-card__info {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.album-card strong, .track-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.album-card small, .track-card small {
  color: var(--muted);
}

.album-hero {
  min-height: 20rem;
  background:
    linear-gradient(130deg, rgba(8, 9, 13, 0.9), rgba(8, 9, 13, 0.48)),
    radial-gradient(circle at 78% 12%, rgba(255, 61, 139, 0.28), transparent 24rem),
    radial-gradient(circle at 18% 76%, rgba(120, 221, 255, 0.18), transparent 26rem);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.album-hero__content {
  width: min(92rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.album-hero__content h1 {
  max-width: 68rem;
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
}

.track-grid {
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}

.track-card {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.player-modal[hidden] { display: none; }

.player-modal__panel {
  position: relative;
  width: min(80vw, 72rem);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 1.25rem;
  background: #000;
  box-shadow: 0 2rem 8rem rgba(0,0,0,0.7);
}

.player-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.player-modal__close {
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  z-index: 1;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #101116;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 760px) {
  .hero__content { grid-template-columns: 1fr; padding-bottom: 5rem; }
  .nav { align-items: flex-start; }
  .nav__tag { display: none; }
  .album-grid, .track-grid { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
  .section-heading { display: block; }
  .player-modal__panel { width: 94vw; }
}
