:root {
  --bg: #071018;
  --bg-soft: rgba(9, 18, 28, 0.82);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f3f7fb;
  --muted: #a8b4c1;
  --accent: #7cf7d4;
  --accent-2: #ff7a8a;
  --accent-3: #5ca8ff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 247, 212, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(92, 168, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 122, 138, 0.12), transparent 25%),
    linear-gradient(180deg, #08111b 0%, #09131d 45%, #050a10 100%);
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  opacity: 0.4;
}

.site-header,
.site-footer,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 10;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.page-shell {
  padding: 32px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 180px);
}

.hero-copy,
.hero-card,
.feature,
.song-card,
.note-card,
.content-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.eyebrow,
.card-label,
.song-status {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-copy h1,
.content-header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.hero-text,
.section-intro,
.hero-card p,
.feature p,
.song-card p,
.note-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  background:
    linear-gradient(160deg, rgba(124, 247, 212, 0.12), transparent 38%),
    linear-gradient(335deg, rgba(255, 122, 138, 0.14), transparent 45%),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-art,
.section-art {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-art-link {
  display: block;
  text-decoration: none;
}

.hero-art-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 20px;
}

.intro-art {
  width: min(100%, 520px);
  display: block;
  border-radius: 24px;
  height: auto;
  max-height: none;
  object-fit: contain;
  align-self: center;
}

.hero-art {
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: none;
  object-fit: cover;
}

.section-art {
  width: min(100%, 560px);
  height: auto;
  object-fit: cover;
  margin: 18px auto 0;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.quick-facts {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.feature-grid,
.song-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.song-list {
  grid-template-columns: 1fr;
}

.feature,
.song-card,
.note-card,
.content-header {
  padding: 24px;
}

.feature span {
  color: var(--accent-3);
  font-weight: 700;
}

.content-header {
  margin-bottom: 18px;
}

.available-now-card,
.local-tracks-card {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.available-now-header,
.local-tracks-header {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.available-now-header .section-intro,
.local-tracks-header .section-intro {
  max-width: 70ch;
  margin-bottom: 0;
}

.available-now-header h2,
.local-tracks-header h2 {
  color: var(--text);
}

.song-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  scroll-margin-top: 96px;
}

.song-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.song-thumb {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.song-card h2,
.song-card h3 {
  margin-bottom: 8px;
}

.content-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.song-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  width: 100%;
}

.music-group {
  display: grid;
  gap: 18px;
}

.local-track-card {
  align-items: stretch;
}

.local-track-card audio {
  display: none;
}

.local-track-heading {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 18px;
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-title {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.track-wave {
  position: relative;
  display: grid;
  grid-template-columns: repeat(28, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  width: min(100%, 560px);
  height: 54px;
  padding: 10px 0 0;
}

.track-wave-fill {
  position: absolute;
  inset: 10px auto 0 0;
  height: 54px;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 247, 212, 0.22), rgba(124, 247, 212, 0.6));
  filter: blur(0.5px);
  opacity: 0.9;
  transition: width 90ms linear;
  pointer-events: none;
}

.track-wave-bar {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 999px;
  align-self: end;
  position: relative;
  z-index: 1;
  background: rgba(168, 180, 193, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.track-play-button {
  appearance: none;
  border: 1px solid rgba(124, 247, 212, 0.5);
  background: rgba(124, 247, 212, 0.06);
  color: var(--accent);
  border-radius: 999px;
  min-width: 104px;
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.track-play-button:hover {
  background: rgba(124, 247, 212, 0.12);
  border-color: rgba(124, 247, 212, 0.7);
  transform: translateY(-1px);
}

.track-play-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.track-play-button[aria-pressed="true"] {
  background: rgba(124, 247, 212, 0.16);
  border-color: rgba(124, 247, 212, 0.9);
  box-shadow: 0 0 0 1px rgba(124, 247, 212, 0.12) inset;
}

.platform-link {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.platform-link:hover {
  background: rgba(124, 247, 212, 0.12);
  border-color: rgba(124, 247, 212, 0.28);
}

.platform-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.platform-spotify .platform-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle fill='black' cx='12' cy='12' r='11'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M6.5 10.2c3.8-1.4 7.7-1.2 11.3.2'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M7.4 14c3-1 6.2-.9 9.1.2'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M8.4 16.8c2.1-.6 4.4-.5 6.3.1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle fill='black' cx='12' cy='12' r='11'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M6.5 10.2c3.8-1.4 7.7-1.2 11.3.2'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M7.4 14c3-1 6.2-.9 9.1.2'/%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M8.4 16.8c2.1-.6 4.4-.5 6.3.1'/%3E%3C/svg%3E");
}

.platform-apple-music .platform-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.8 2.8c.2 1.4-.2 2.8-1.1 3.8-.8.9-2 1.4-3.2 1.3-.1-1.3.4-2.6 1.2-3.5.9-1 2.1-1.6 3.1-1.6z'/%3E%3Cpath fill='black' d='M16.2 8.1c-1.1 0-2.1.6-2.7 1.2-.8.8-1.5 2.1-1.5 3.8 0 1.9 1.1 3.8 2.8 3.8.8 0 1.3-.2 1.9-.4.5-.2 1.1-.4 1.7-.4.7 0 1.2.2 1.7.4-.7 1.8-2.3 4.6-4.6 4.6-1.1 0-1.8-.3-2.5-.5-.6-.2-1.1-.4-1.9-.4-.9 0-1.4.2-2.1.4-.7.2-1.5.5-2.5.5C5.5 21.1 3 16.8 3 12.5c0-3.5 2.2-5.3 4.3-5.3 1 0 1.8.3 2.5.5.6.2 1.1.4 1.8.4.6 0 1.1-.2 1.7-.4.8-.2 1.6-.6 2.9-.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.8 2.8c.2 1.4-.2 2.8-1.1 3.8-.8.9-2 1.4-3.2 1.3-.1-1.3.4-2.6 1.2-3.5.9-1 2.1-1.6 3.1-1.6z'/%3E%3Cpath fill='black' d='M16.2 8.1c-1.1 0-2.1.6-2.7 1.2-.8.8-1.5 2.1-1.5 3.8 0 1.9 1.1 3.8 2.8 3.8.8 0 1.3-.2 1.9-.4.5-.2 1.1-.4 1.7-.4.7 0 1.2.2 1.7.4-.7 1.8-2.3 4.6-4.6 4.6-1.1 0-1.8-.3-2.5-.5-.6-.2-1.1-.4-1.9-.4-.9 0-1.4.2-2.1.4-.7.2-1.5.5-2.5.5C5.5 21.1 3 16.8 3 12.5c0-3.5 2.2-5.3 4.3-5.3 1 0 1.8.3 2.5.5.6.2 1.1.4 1.8.4.6 0 1.1-.2 1.7-.4.8-.2 1.6-.6 2.9-.6z'/%3E%3C/svg%3E");
}

.platform-youtube .platform-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='black' x='2' y='5.5' width='20' height='13' rx='4'/%3E%3Cpath fill='white' d='M10 9.2l5.1 2.8-5.1 2.8V9.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='black' x='2' y='5.5' width='20' height='13' rx='4'/%3E%3Cpath fill='white' d='M10 9.2l5.1 2.8-5.1 2.8V9.2z'/%3E%3C/svg%3E");
}

.note-card {
  margin-top: 18px;
}

.site-footer {
  padding: 0 0 32px;
  color: var(--muted);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer-copy {
  max-width: 70%;
}

.site-footer-copyright {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero,
  .feature-grid,
  .song-list {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    flex-direction: column;
    gap: 12px;
  }

  .song-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .song-heading {
    width: 100%;
  }

  .local-track-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .track-wave {
    width: 100%;
  }

  .track-wave-fill {
    height: 100%;
  }

  .track-play-button {
    min-width: 92px;
  }

  .song-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 20px, 1120px);
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-copy,
  .site-footer-copyright {
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }

  .hero-copy h1,
  .content-header h1 {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }
}
