:root {
  --ink: #1a1523;
  --muted: #5c5568;
  --paper: #0f0d14;
  --card: #1a1622;
  --line: #2e2838;
  --accent: #c4b5fd;
  --accent-2: #f0ab8c;
  --live: #f43f5e;
  --free: #34d399;
  --gift: #fbbf24;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: #f5f0ea;
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 15% -10%, rgba(91,61,138,0.45), transparent 55%),
    radial-gradient(600px 360px at 100% 0%, rgba(196,92,38,0.2), transparent 50%),
    var(--paper);
}
a { color: var(--accent); }
main { max-width: 1100px; margin: 0 auto; padding: 0.5rem 1.25rem 3rem; }
.site-top { max-width: 1100px; }
.site-foot { max-width: 1100px; }
.hero h1 {
  font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 600; letter-spacing: -0.03em; margin: 0.25rem 0 0.5rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--live); margin: 0;
}
.pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--live);
  box-shadow: 0 0 0 0 rgba(244,63,94,0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,63,94,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(244,63,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); }
}
.lede { color: #b7aec8; max-width: 36rem; margin: 0 0 1.25rem; font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.chip {
  border: 1px solid var(--line); background: transparent; color: #cfc6df;
  font: inherit; font-weight: 600; font-size: 0.82rem;
  padding: 0.45rem 0.85rem; border-radius: 999px; cursor: pointer;
}
.chip.on { background: #fff; color: var(--ink); border-color: #fff; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: #5b3d8a; transform: translateY(-2px); }
.thumb {
  aspect-ratio: 16/10;
  background: #2a2435 center/cover no-repeat;
  position: relative;
}
.badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.25rem 0.45rem; border-radius: 6px; color: #fff;
}
.badge.live { background: var(--live); }
.badge.free { background: #065f46; }
.badge.donation { background: #92400e; }
.badge.practice { background: #4c1d95; }
.card-body { padding: 0.9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.card .meta { margin: 0; font-size: 0.82rem; color: #9b91ad; }
.card .actions { margin-top: auto; padding-top: 0.65rem; display: flex; gap: 0.4rem; }
.btn {
  border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 0.85rem; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
}
.btn.primary { background: #fff; color: var(--ink); flex: 1; }
.btn.ghost { background: rgba(255,255,255,0.08); color: #fff; }
.yt-optional {
  font-size: 0.75rem;
  font-weight: 650;
  color: #9b91ad;
  text-decoration: none;
  align-self: center;
  padding: 0.35rem 0.2rem;
}
.yt-optional:hover { color: #fff; text-decoration: underline; }
.player-dock {
  margin-bottom: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.player-frame { aspect-ratio: 16/9; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1rem;
}
.player-meta h2 { margin: 0; font-size: 1.05rem; }
.player-meta p { margin: 0.2rem 0 0; color: #9b91ad; font-size: 0.85rem; }
.site-foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
@media (max-width: 640px) {
  .player-meta { flex-direction: column; align-items: stretch; }
}
