/* Reel Raid HQ. Colors come from the logo: pink #ff2e93 to orange #ff8a00 on near black. */
:root {
  --bg: #0b0714;
  --bg-2: #140c22;
  --panel: #1a1029;
  --line: #2e2140;
  --text: #f3eef9;
  --muted: #b9adc9;
  --pink: #ff2e93;
  --orange: #ff8a00;
  --link: #ff7aa8;
  --grad: linear-gradient(135deg, var(--pink), var(--orange));
  --radius: 14px;
  --wrap: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: #ffb36b; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); color: var(--text); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(11, 7, 20, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.01em; font-size: 1.1rem; }
.brand img { border-radius: 8px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); background: var(--panel); }

/* hero */
.hero { padding: 48px 0 24px; text-align: center; background: radial-gradient(60rem 22rem at 50% -6rem, rgba(255, 46, 147, 0.16), transparent 70%); }
.hero-logo { margin: 0 auto 12px; border-radius: 28px; width: 96px; height: 96px; }
.eyebrow { color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; margin: 0; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.12; margin: 0.4em 0 0.3em; letter-spacing: -0.015em; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); max-width: 40rem; margin: 0 auto; font-size: 1.12rem; }
.cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 24px 0 0; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--grad); color: #160712; font-weight: 800; text-decoration: none; }
.btn:hover { color: #160712; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--pink); }

/* text */
main { padding-bottom: 48px; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 1.8em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.prose { max-width: 46rem; }
.prose p, .prose li { color: #e6def0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; border-left: 4px solid var(--pink); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p { margin: 0.3em 0; }
.prose code { background: var(--panel); padding: 0.1em 0.35em; border-radius: 6px; font-size: 0.92em; }
.prose pre { background: var(--panel); padding: 14px; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.2em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; color: var(--text); transition: border-color 0.15s; }
.card a:hover { border-color: var(--pink); }
.card-kicker { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); }
.card-title { font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.card-desc { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.related { margin-top: 48px; }

/* clips */
.clips { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.clip { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.clip-media { aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.clip-media iframe, .yt { width: 100%; height: 100%; border: 0; }
.yt { position: relative; padding: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #160712; }
.clip-link { font-weight: 800; }
.clip-body { padding: 12px 16px 16px; }
.clip-body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.clip-body p { margin: 0.3em 0; font-size: 0.93rem; }
.clip-credit { color: var(--muted); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.tag-ad { border-color: var(--orange); color: var(--orange); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); }
.empty p { margin: 0; }

/* callouts used in markdown via blockquote */
.prose blockquote strong:first-child { color: var(--orange); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 28px 0 36px; font-size: 0.92rem; color: var(--muted); }
.disclaimer { max-width: 48rem; margin: 0 0 16px; }
.disclaimer strong { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; }
.footer-links a, .follow a { color: var(--muted); }
.footer-links a:hover, .follow a:hover { color: var(--text); }
.small { font-size: 0.85rem; margin: 8px 0 0; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 32px; }
  .hero-logo { width: 128px; height: 128px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
