:root {
  --bg: #0e1015;
  --bg-soft: #151821;
  --panel: rgba(22, 25, 34, 0.92);
  --panel-2: #202533;
  --panel-3: #2a3040;
  --text: #f6f7fb;
  --muted: #b8bfcc;
  --soft: #8992a6;
  --line: #343b4d;
  --accent: #d8dcff;
  --accent-strong: #88ded6;
  --accent-warm: #f2c06b;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(135deg, rgba(136, 222, 214, 0.10), transparent 38%),
    linear-gradient(315deg, rgba(242, 192, 107, 0.08), transparent 34%),
    linear-gradient(180deg, #10131a 0%, var(--bg) 46%, #090a0f 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 75%);
}

a {
  color: var(--accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero,
.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 60px var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.cover-frame {
  display: grid;
  gap: 12px;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #11131a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.cover-label {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 12px;
  text-align: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

.artist {
  margin-top: 12px;
  color: var(--muted);
  font-size: 20px;
}

.description {
  max-width: 66ch;
  margin: 18px 0 0;
  color: #dde2eb;
  line-height: 1.58;
}

.quick-links,
.player-controls,
.track-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links {
  margin-top: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.site-brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn {
  padding: 10px 16px;
}

.mini-btn {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.btn:hover,
.mini-btn:hover,
.track-card:hover,
.download-card:hover {
  border-color: var(--accent-strong);
}

.btn:hover,
.mini-btn:hover {
  background: var(--panel-3);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: #f2f5ff;
  background: #f2f5ff;
  color: #11131a;
}

.btn.primary:hover {
  background: #ffffff;
}

.section {
  margin-top: 28px;
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 16px;
}

.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.main-player {
  display: grid;
  gap: 14px;
}

.now-playing {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  font-weight: 700;
}

.now-playing span {
  color: var(--accent-warm);
}

audio {
  width: 100%;
}

.playlist,
.download-grid,
.embed-grid {
  display: grid;
  gap: 14px;
}

.playlist {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-card,
.download-card,
.embed-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.track-card,
.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 148px;
  padding: 16px;
}

.track-card.active {
  border-color: var(--accent-strong);
  background:
    linear-gradient(145deg, rgba(136, 222, 214, 0.18), transparent 58%),
    var(--panel-2);
}

.track-number,
.download-type {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-title,
.download-title {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.embed-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.embed-card {
  overflow: hidden;
}

.embed-card.full {
  grid-column: 1 / -1;
}

.embed-card h3 {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.embed-consent {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(136, 222, 214, 0.10), transparent 58%),
    var(--panel-2);
  text-align: center;
}

.embed-consent.youtube {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.embed-consent-copy {
  display: grid;
  gap: 12px;
  max-width: 58ch;
}

.embed-consent-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.embed-consent-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.embed-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #08090d;
}

.youtube-frame {
  aspect-ratio: 16 / 9;
  height: auto;
}

.hidden-data {
  display: none;
}

.empty-note {
  margin: 0;
  color: var(--muted);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.release-card {
  display: grid;
  align-content: space-between;
  min-height: 172px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.release-card:hover {
  border-color: var(--accent-strong);
  background: var(--panel-3);
  transform: translateY(-1px);
}

.release-card-title {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.release-card-meta {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-card-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.legal-content {
  max-width: 84ch;
}

.legal-content h2 {
  margin-top: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #dde2eb;
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

footer {
  padding: 28px 0 8px;
  color: var(--soft);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.redirect {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.redirect-panel {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-align: center;
}

@media (max-width: 940px) {
  .hero,
  .playlist,
  .download-grid,
  .embed-grid,
  .release-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1160px);
    padding-top: 10px;
  }

  .hero,
  .section {
    padding: 16px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .site-nav-links {
    justify-content: flex-start;
  }
}

.hero-plain {
  grid-template-columns: 1fr;
}

.hero-plain .hero-copy {
  max-width: 84ch;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.legal-content {
  max-width: none;
}

.legal-content > p,
.legal-content > ul {
  max-width: 84ch;
}