/* =============================================================================
   blog.css — shared stylesheet for KaraokeParty's static blog
   =============================================================================
   Hand-authored, standalone, deliberately NOT part of the Vite/Tailwind
   build. This file lives in public/blog/ and is copied verbatim to
   dist/blog/ — its filename never changes across deploys, so blog pages
   never break due to a main-app rebuild changing a hashed CSS filename.

   Colours mirror the app's dark theme + primary gradient (pink/purple),
   so the blog feels like part of KaraokeParty rather than a bolted-on
   generic blog.
   ============================================================================= */

:root {
  --bg: #0a0612;
  --card: #1a1025;
  --border: #2a2035;
  --text: #f4f2f8;
  --text-muted: #a8a0b8;
  --primary: #f472b6;
  --primary-2: #a78bfa;
  --gradient: linear-gradient(135deg, #f472b6, #a78bfa);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 6, 18, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.header-cta {
  color: var(--text);
  background: var(--gradient);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

main {
  padding: 40px 0 80px;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  font-weight: 600;
}

p { margin: 0 0 16px; color: var(--text); }
p.lede { font-size: 17px; color: var(--text-muted); }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

a { color: var(--primary-2); }
a:hover { color: var(--primary); }

.post-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}

.cta-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  margin: 44px 0 20px;
}

.cta-block h3 { margin-top: 0; }
.cta-block p { color: var(--text-muted); }

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 999px;
  margin-top: 8px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.post-list a.post-title {
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.post-list a.post-title:hover { color: var(--primary); }

.post-list .post-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer.site-footer a { color: var(--text-muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link:hover { color: var(--text); }
