:root {
  --bg-deep: #030305;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --brand: #f6a400;
  --green: #1db954;
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-deep);
  background-image: radial-gradient(circle at 50% 0%, rgba(26, 29, 53, 0.6) 0%, rgba(3, 3, 5, 0) 70%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 80px;
  position: relative;
  z-index: 1;
}

header { padding: 16px 0 32px; }

.site-header-inner { display: flex; flex-direction: column; gap: 16px; }

.header-top-row { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.brand-text span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--glass-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.crumbs a:hover { color: #fff; }

.sotd-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.lede {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero-index { text-align: center; margin: 12px 0 36px; }
.hero-index .lede { margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin: 4px 0 12px;
}

.hero:not(:has(.cover-frame)) {
  grid-template-columns: minmax(0, 1fr);
}

.cover-frame {
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: #111;
}

.cover {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(26px, 2.5vw, 34px);
  margin: 0 0 12px;
}

.pull {
  margin: 2px 0 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  background: var(--glass-bg);
  border-radius: 0 14px 14px 0;
  font-size: 16px;
  line-height: 1.45;
}

.curator {
  margin: 0 0 16px;
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-btn-spotify {
  background: var(--green);
  color: #04140a;
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.22);
}

.hero-btn-spotify:hover { background: #1ed760; }

.hero-btn-submit {
  background: var(--brand);
  color: #1a1000;
  box-shadow: 0 8px 24px rgba(246, 164, 0, 0.22);
}

.hero-btn-submit:hover { background: #ffb31a; }

.playlist-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 164, 0, 0.12);
  border: 1px solid rgba(246, 164, 0, 0.4);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.playlist-badge:hover { background: rgba(246, 164, 0, 0.2); }

.review p { margin-bottom: 14px; color: #e7e7ee; font-size: 16px; }
.review p:last-child { margin-bottom: 0; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.pill {
  font-size: 12px;
  color: #ddd;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 4px 10px;
}

.card, .sotd-cta, .post-card, .lyrics, .artist-box, .playlist-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 18px 0;
}

.card h2, .lyrics h2, .artist-box h2, .playlist-card h2, .sotd-cta h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.lyrics ol { margin-left: 18px; color: #ddd; }
.lyrics li { margin: 6px 0; }

.embed {
  margin: 12px 0 4px;
  border-radius: 12px;
  overflow: hidden;
}

.embed iframe { display: block; width: 100%; border: 0; }

.short-card {
  width: 100%;
  max-width: 340px;
  margin: 28px auto;
  padding: 14px 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
}

.short-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.01em;
}

.short-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.short-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.artist-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.artist-list a { color: var(--brand); font-weight: 600; }
.artist-list a:hover { color: #fff; }

.playlist-card {
  display: block;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.playlist-card:hover { transform: translateY(-2px); border-color: rgba(246, 164, 0, 0.45); }
.playlist-card p { color: var(--text-muted); }
.playlist-card strong { color: #fff; }

.sotd-cta { text-align: center; background: rgba(29, 185, 84, 0.06); border-color: rgba(29, 185, 84, 0.25); }
.sotd-cta p { color: var(--text-muted); margin-bottom: 14px; }
.sotd-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #04140a;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 8px 30px rgba(29, 185, 84, 0.28);
}
.sotd-cta-btn:hover { background: #20c85a; }
.sotd-code { margin-top: 12px !important; font-size: 13px; }
.sotd-code span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.pager a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  min-height: 78px;
}
.pager a:hover { border-color: rgba(255, 255, 255, 0.22); }
.pager .next { text-align: right; }
.pager small { display: block; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.pager strong { display: block; margin-top: 4px; font-size: 14px; overflow-wrap: anywhere; }

.post-list { display: flex; flex-direction: column; gap: 12px; }
.post-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.post-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.18); }
.post-card > div { min-width: 0; }
.post-card img {
  width: 92px;
  height: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.post-card h2 { font-size: 18px; margin-bottom: 4px; overflow-wrap: anywhere; }
.post-card p { color: var(--text-muted); font-size: 14px; }
.post-card time { color: var(--brand); font-size: 12px; font-weight: 700; }

footer {
  border-top: 1px solid var(--glass-border);
  margin-top: 48px;
  padding-top: 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-bottom: 12px; }
.footer-links a:hover { color: #fff; }
.disclaimer { max-width: 560px; margin: 10px auto 0; font-size: 11px; color: #666; }

.empty {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 10px 10px;
}

@media (max-width: 760px) {
  .page { padding: 16px 16px 64px; }
  h1, .hero h1 { font-size: 28px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
  }
  .cover-frame { width: min(320px, 100%); }
  .hero-copy { width: 100%; }
  .hero-actions { width: 100%; }
  .hero-btn { flex: 1 1 140px; }
  .post-card { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .post-card img { width: 84px; height: 84px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .header-top-row { justify-content: center; }
  .site-nav a { padding: 7px 10px; }
}
