.music-page-shell {
  width: min(100%, 82rem);
}

.music-index {
  max-width: 72rem;
}

.music-hero {
  max-width: 62rem;
  margin-bottom: 2.5rem;
}

.music-title {
  margin-bottom: 1rem;
}

.music-intro {
  max-width: 47rem;
  color: #b7c9ff;
  line-height: 1.75;
  font-weight: 100;
}

.music-intro-secondary {
  color: #ffcf9f;
  opacity: 0.9;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: start;
}

@media (max-width: 850px) {
  .album-grid {
    grid-template-columns: 1fr;
  }
}

.album-block {
  position: relative;
  min-height: 18rem;
  padding: 1.05rem;
  border: 1px solid rgba(47, 53, 82, 0.92);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(5, 9, 35, 0.95), rgba(2, 4, 26, 0.62)),
    rgba(5, 9, 35, 0.62);
  overflow: hidden;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.album-block::before {
  content: "";
  position: absolute;
  inset: -45% -28% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(57, 69, 247, 0.24), transparent 68%);
  opacity: 0.5;
  transition: opacity 240ms ease, transform 240ms ease;
}

.album-block::after {
  content: "";
  position: absolute;
  inset: auto auto -35% -20%;
  width: 17rem;
  height: 17rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 119, 200, 0.13), transparent 66%);
  opacity: 0;
  transition: opacity 240ms ease, transform 240ms ease;
}

.album-block:hover,
.album-block:focus-within {
  border-color: rgba(255, 179, 71, 0.62);
  box-shadow:
    0 0 34px rgba(57, 69, 247, 0.13),
    0 0 72px rgba(255, 119, 200, 0.07);
  transform: translateY(-2px);
}

.album-block:hover::before,
.album-block:focus-within::before {
  opacity: 0.75;
  transform: scale(1.07);
}

.album-block:hover::after,
.album-block:focus-within::after {
  opacity: 1;
  transform: scale(1.04);
}

.album-block-empty {
  grid-column: 1 / -1;
  min-height: 0;
  opacity: 0.82;
}

.album-head,
.album-story,
.track-list {
  position: relative;
  z-index: 1;
}

.album-head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.album-number {
  color: #ff77c8;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.album-title {
  margin: 0;
  color: #ffb347;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.album-story {
  max-width: 32rem;
  color: #aebee8;
  font-size: 0.86rem;
  line-height: 1.65;
  font-weight: 100;
}

.track-list {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: tracks;
}

.track {
  counter-increment: tracks;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  padding: 0.58rem 0.64rem;
  border: 1px solid rgba(47, 53, 82, 0.72);
  border-radius: 0.65rem;
  background: rgba(2, 4, 26, 0.42);
}

.track::before {
  content: counter(tracks, decimal-leading-zero);
  color: #6f7b9c;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.track a,
.track > span:first-child {
  color: #ffd59a;
  font-weight: 600;
}

.track span:last-child {
  grid-column: 2;
  color: #6f7b9c;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.track.is-sung {
  border-color: rgba(255, 179, 71, 0.38);
}

.track.is-sung:hover,
.track.is-sung:focus-within {
  background: rgba(255, 191, 128, 0.06);
  box-shadow: 0 0 24px rgba(255, 179, 71, 0.08);
}

.track.is-shadow {
  opacity: 0.42;
  filter: blur(0.1px);
}

.song-page {
  max-width: 52rem;
  font-weight: 100;
}

.song-title {
  margin: 0;
  color: #7fe0ff;
  font-size: clamp(2.6rem, 11vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-shadow:
    0 0 1px rgba(127, 224, 255, 0.75),
    0 0 36px rgba(57, 69, 247, 0.28);
}

.song-meta {
  color: #aebee8;
  line-height: 1.7;
  margin: 1.1rem 0 1rem;
  font-weight: 100;
}

.song-meta strong {
  color: #ffb347;
  font-weight: 400;
}

.spotify-block,
.audio-placeholder {
  margin: 1.4rem 0 2rem;
  padding: 0.4rem;
  border: 1px solid rgba(47, 53, 82, 0.86);
  border-radius: 1rem;
  background: rgba(5, 9, 35, 0.65);
  box-shadow: 0 0 42px rgba(57, 69, 247, 0.12);
}

.spotify-block iframe {
  display: block;
}

.audio-placeholder {
  color: #6f7b9c;
  font-size: 0.82rem;
  line-height: 1.65;
}

.song-page section {
  margin: 2.2rem 0;
}

.song-page h3 {
  margin: 0 0 0.8rem;
  color: #b7c9ff;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.song-page p {
  color: #ffbf80;
  line-height: 1.58;
  font-weight: 100;
}

.lyrics {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 179, 71, 0.5);
  color: #cfd6ea;
  line-height: 1.8;
}

.lyrics p {
  margin-bottom: 1rem;
  color: #cfd6ea;
  line-height: 1.35;
  font-weight: 100;
}

.song-nav {
  margin-top: 2.5rem;
  color: #6f7b9c;
  font-size: 0.78rem;
}
