/* Bounce Patrol landing site — generated, do not edit in /site */
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/nunito-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Display face for titles — KG Red Hands (commercial license on file, BP server) */
@font-face {
  font-family: 'KG Red Hands';
  src: url('/fonts/kg-red-hands.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Single dark theme site-wide (owner call, Jul 17): saturated YouTube-style
   thumbnails read as vibrant on a dark ground and garish on white — same
   reason every streaming service is dark. */
:root {
  --bg: #101b28; --panel: #17232f; --ink: #eef3f8; --muted: #9db0c0;
  --accent: #19a9e0; --accent-deep: #4cc7ee; --line: #26343f;
  --night: #101b28; --night-card: #17232f; --night-line: #26343f;
  --night-ink: #eef3f8; --night-muted: #9db0c0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
a:focus-visible, .card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner {
  max-width: 1020px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { display: flex; align-items: center; gap: 10px; font-family: 'KG Red Hands', 'Nunito', sans-serif; font-size: 1.2rem; color: var(--ink); }
.wordmark img { border-radius: 7px; }
.topbar-cta { font-weight: 700; font-size: .92rem; }

main { flex: 1; }
.content { max-width: 1020px; width: 100%; margin: 0 auto; padding: 32px 24px 64px; }
nav { margin-bottom: 20px; }
.btn-back { font-weight: 700; font-size: .92rem; }

.hero { padding: 24px 0 40px; max-width: 640px; }
.hero h1 { font-family: 'KG Red Hands', 'Nunito', sans-serif; font-weight: 400; font-size: 2.7rem; line-height: 1.15; text-wrap: balance; margin-bottom: 10px; }
.hero p { color: var(--muted); margin-bottom: 24px; max-width: 60ch; }

.episode { max-width: 680px; }
.episode .thumb {
  width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--line); display: block; margin-bottom: 24px;
}
.episode h1 { font-family: 'KG Red Hands', 'Nunito', sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1.15; text-wrap: balance; }
.episode.center { text-align: center; padding-top: 48px; margin: 0 auto; }
.episode.center .lede { color: var(--muted); margin-top: 8px; }
.meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li, .chip {
  display: inline-block; background: var(--panel); border-radius: 999px;
  padding: 3px 12px; font-size: .8rem; font-weight: 700; color: var(--muted);
}
.chip-free { background: #12351f; color: #7ed69f; }
.desc { margin-top: 16px; max-width: 65ch; }
.desc p { color: var(--muted); margin-bottom: 10px; }
.cta { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.episode.center .cta { justify-content: center; }
.btn-primary {
  background: var(--accent); color: #fff; font-weight: 800;
  padding: 12px 28px; border-radius: 999px;
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-open { font-weight: 700; font-size: .95rem; }

.catalogue { background: var(--night); padding: 40px 0 30px; }
.catalogue-inner { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.row { margin-bottom: 30px; }
.row h2 { font-family: 'KG Red Hands', 'Nunito', sans-serif; font-weight: 400; font-size: 1.55rem; margin-bottom: 12px; color: var(--night-ink); }
.row-wrap { position: relative; }
.row-scroller {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 10px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.row-scroller::-webkit-scrollbar { display: none; }
.row-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--night-line); background: rgba(23,35,47,.94);
  color: var(--night-ink); font-size: 24px; line-height: 1; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.row-nav:hover { border-color: var(--accent); color: var(--accent); }
.row-nav.prev { left: -16px; }
.row-nav.next { right: -16px; }
/* arrows are a pointer affordance — touch users swipe */
@media (hover: hover) and (pointer: fine) {
  .row-nav { display: flex; }
  .row-nav[hidden] { display: none; }
}
/* Bare-artwork tiles (the streaming-service pattern): rounded thumbnail,
   plain title below, no card box. */
.card { flex: 0 0 232px; scroll-snap-align: start; color: var(--night-ink); }
.card:hover { color: var(--night-ink); }
.card img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block;
  border-radius: 12px; border: 1px solid var(--night-line);
  filter: saturate(.88); /* calm the YouTube-CTR palette a notch */
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover img { border-color: var(--accent); transform: translateY(-2px); }
.card-title { display: block; padding: 9px 2px 0; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.card .chip { font-size: .68rem; padding: 1px 8px; vertical-align: 2px; background: #12351f; color: #7ed69f; }

.badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badges img { display: block; }
.platforms { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 10px; }

.store-band { background: var(--panel); border-top: 1px solid var(--line); margin-top: auto; }
.store {
  max-width: 1020px; margin: 0 auto; padding: 36px 24px;
  display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.store-app { display: flex; gap: 16px; align-items: flex-start; flex: 1 1 420px; max-width: 560px; }
.store-icon { border-radius: 22%; flex-shrink: 0; border: 1px solid var(--line); }
.store-app h3 { font-weight: 800; margin-bottom: 4px; }
.store-app p { color: var(--muted); font-size: .9rem; }
.store-get { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
