@font-face {
  font-family: 'Nimbus Mono';
  src: url('fonts/nimbusmono-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --surface: #0f0f0f;
  --border: #1e1e1e;
  --border-subtle: #161616;
  --text-primary: #e8e8e8;
  --text-secondary: #555;
  --text-muted: #333;
  --apple: #fc3c44;
  --spotify: #1db954;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Header */

header {
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}

header h1 {
  font-family: 'Nimbus Mono', monospace;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: #fff;
}

header p {
  font-family: 'Nimbus Mono', monospace;
  font-size: 1.25rem;
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

/* Main */

main {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.loading {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* Series */

.series-block {
  margin-bottom: 3rem;
}

.series-heading {
  font-family: 'Nimbus Mono', monospace;
  font-size: 1.25rem;
  font-weight: normal;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.episode-heading {
  font-family: 'Nimbus Mono', monospace;
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Songs */

.song-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.song-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.song-body {
  flex: 1;
  min-width: 0;
}

.song-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.song-title {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.song-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.song-description {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Streaming links */

.song-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

.link-apple,
.link-spotify {
  display: flex;
  color: inherit;
  text-decoration: none;
}

.link-apple svg {
  fill: #2a2a2a;
  transition: fill 0.15s;
}

.link-apple:hover svg {
  fill: var(--apple);
}

.link-spotify svg {
  fill: #2a2a2a;
  transition: fill 0.15s;
}

.link-spotify:hover svg {
  fill: var(--spotify);
}

/* Footer */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Mobile */

@media (max-width: 480px) {
  header { padding: 1.5rem 1rem; }
  main { padding: 1.5rem 1rem 3rem; }
}
