:root {
  color-scheme: dark;
  --bg: #090a0d;
  --panel: #15171d;
  --panel-strong: #20232b;
  --text: #f6f1ea;
  --muted: #b4b0a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #55f0c4;
  --accent-2: #ff6a5f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 12%, rgba(85, 240, 196, 0.14), transparent 28rem),
    linear-gradient(135deg, rgba(255, 106, 95, 0.13), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  padding: 24px 0;
}

.brand {
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

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

.site-nav a,
.header-link,
footer a,
.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero,
.hub-hero {
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  padding: 36px 0 64px;
}

.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.8fr);
  gap: 56px;
}

.hub-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 44px;
}

.hero-copy h1,
.hub-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p,
.hub-hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #06100d;
}

.button.compact {
  min-height: 42px;
  padding: 0 14px;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.player-card iframe {
  display: block;
}

.hero-playlist-card {
  overflow: hidden;
  border: 1px solid rgba(85, 240, 196, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #b50000 0%, #8d0000 56%, #670000 100%);
  box-shadow: 0 28px 90px rgba(85, 240, 196, 0.12);
}

.mini-player-top {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px;
}

.mini-player-top img {
  width: 128px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.mini-player-top h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.mini-player-top p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.save-link {
  display: inline-block;
  margin-top: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.track-preview-list {
  margin: 0;
  padding: 18px 26px 22px;
  list-style: none;
  background: rgba(0, 0, 0, 0.16);
}

.track-preview-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  color: #ffffff;
}

.track-preview-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.track-preview-list strong,
.track-preview-list em {
  display: block;
  font-style: normal;
}

.track-preview-list strong {
  font-size: 18px;
}

.track-preview-list em,
.track-preview-list time {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.mini-player-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 26px 26px;
}

.intent-section,
.copy-section,
.method-section,
.related-section,
.featured-playlists {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.intent-section h2,
.copy-section h2,
.section-heading h2,
.related-section h2,
.featured-playlists h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.status {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.text-muted {
  color: var(--muted);
  font-size: 14px;
}

.related-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.embed-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-strong), rgba(21, 23, 29, 0.72));
}

.embed-panel-copy {
  padding: 24px;
}

.embed-panel-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.embed-panel-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.homepage-track-list {
  margin: 0;
  padding: 8px 24px 24px;
  list-style: none;
}

.homepage-track-list li {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.homepage-track-list strong,
.homepage-track-list em {
  display: block;
  font-style: normal;
}

.homepage-track-list strong {
  font-size: 18px;
  line-height: 1.2;
}

.homepage-track-list em,
.homepage-track-list time {
  color: var(--muted);
  font-size: 14px;
}

.future-panel {
  min-height: 220px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.intent-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(21, 23, 29, 0.72));
}

.intent-grid h3 {
  margin: 0;
  font-size: 20px;
}

.intent-grid p,
.copy-section p,
footer {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.copy-section p {
  max-width: 760px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

@media (max-width: 820px) {
  .hero,
  .hub-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 28px;
  }

  .hero-copy h1,
  .hub-hero h1 {
    font-size: 48px;
  }

  .hero-copy p,
  .hub-hero p {
    font-size: 18px;
  }

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

  .embed-grid,
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .mini-player-top {
    grid-template-columns: 96px 1fr;
    padding: 20px;
  }

  .mini-player-top img {
    width: 96px;
  }

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

@media (max-width: 460px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

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

  .hero-copy h1 {
    font-size: 40px;
  }

  .mini-player-top {
    grid-template-columns: 1fr;
  }
}
