/* ==========================================================================
   Blind Reel — the title is the twist
   ========================================================================== */

:root {
  --bg: #08090c;
  --bg-soft: #0c0e13;
  --panel: #101319;
  --panel-2: #151922;
  --text: #f2eee4;
  --text-soft: #ddd8cc;
  --muted: #9c9b93;
  --muted-2: #8a8b85;
  --line: rgba(242, 238, 228, 0.12);
  --line-soft: rgba(242, 238, 228, 0.07);
  --amber: #f5c451;
  --amber-soft: rgba(245, 196, 81, 0.14);
  --coral: #ff7a59;
  --mint: #7fe7d4;
  --lilac: #b8a1ff;
  --sky: #7cc7ff;
  --rose: #ff9ec4;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --max: 1240px;
  --radius: 20px;
  --header-h: 76px;
  --filter-top: 76px;
  --scroll-pad: 108px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad, 108px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 800px at 78% -8%, rgba(245, 196, 81, 0.1), transparent 62%),
    radial-gradient(900px 700px at -12% 42%, rgba(127, 231, 212, 0.045), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(1200px 800px at 50% 110%, rgba(255, 122, 89, 0.04), transparent 60%);
}

::selection {
  background: var(--amber);
  color: #0a0b0e;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

.serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.025em;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber);
  color: #0a0b0e;
  font-size: 0.8rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: -0.15em;
}

/* Film grain --------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.048;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Scroll progress ---------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.6);
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #0a0b0e;
  box-shadow: 0 8px 24px rgba(245, 196, 81, 0.14);
}

.btn-primary:hover {
  background: #ffd36b;
  border-color: #ffd36b;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 196, 81, 0.22);
}

.btn-primary:active {
  transform: translateY(0) scale(0.985);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(242, 238, 228, 0.28);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.05rem 1.5rem;
  font-size: 0.9rem;
}

.btn-small {
  padding: 0.6rem 0.92rem;
  font-size: 0.76rem;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.text-btn .icon {
  width: 14px;
  height: 14px;
}

.text-btn:hover {
  color: var(--amber);
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 60;
  padding: 0 12px;
  transition: transform 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: calc(100% + 10px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.97) 0%, rgba(8, 9, 12, 0.82) 62%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  width: min(1320px, 100%);
  min-height: 58px;
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(242, 238, 228, 0.09);
  border-radius: 999px;
  background: rgba(11, 12, 16, 0.58);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(9, 10, 14, 0.97);
  border-color: rgba(242, 238, 228, 0.14);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 196, 81, 0.32);
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.06);
  color: var(--amber);
  transition: transform 0.5s var(--ease), background 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(45deg);
  background: rgba(245, 196, 81, 0.12);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.brand-text em {
  font-family: var(--serif);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
  max-width: 560px;
  overflow: hidden;
  visibility: visible;
  transition:
    max-width 0.36s var(--ease),
    opacity 0.26s ease,
    transform 0.36s var(--ease),
    visibility 0s linear 0s;
}

.header-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.header-nav a:hover {
  color: var(--text);
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* De-clutter on scroll: the section links fold away so the bar becomes just
   brand + progress + Surprise. Scrolling back up brings them home. */
.site-header.is-compact .header-nav {
  max-width: 0;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition:
    max-width 0.36s var(--ease),
    opacity 0.26s ease,
    transform 0.36s var(--ease),
    visibility 0s linear 0.36s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 108px;
}

.header-progress-label {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.header-progress-label b {
  color: var(--amber);
  font-weight: 800;
}

.header-progress-track {
  display: block;
  height: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.header-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  transition: width 0.5s var(--ease);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(54px, 8vw, 100px) 0 clamp(56px, 7vw, 92px);
}

.hero-glow {
  position: absolute;
  top: -280px;
  right: -180px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.16) 0%, rgba(255, 122, 89, 0.06) 38%, transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-copy > * {
  animation: riseIn 0.85s var(--ease) both;
}

.hero-copy > :nth-child(1) { animation-delay: 0.04s; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.22s; }
.hero-copy > :nth-child(4) { animation-delay: 0.32s; }
.hero-copy > :nth-child(5) { animation-delay: 0.42s; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.21em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 196, 81, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

.hero h1 {
  max-width: none;
  margin-top: 18px;
  font-size: clamp(3rem, 5.7vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero h1 .serif-accent,
.hero h1 .title-accent {
  font-size: 1.035em;
  line-height: 0.85;
}

.title-accent {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}

.title-accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -0.06em;
  height: 0.16em;
  background: var(--coral);
  opacity: 0.75;
  border-radius: 100%;
  transform: rotate(-1.6deg) scaleX(1);
  clip-path: polygon(0 45%, 18% 12%, 38% 52%, 62% 10%, 82% 45%, 100% 22%, 99% 78%, 76% 58%, 55% 92%, 33% 55%, 13% 88%, 1% 62%);
}

.hero-lede {
  max-width: 54ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.72;
  text-wrap: pretty;
}

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

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 3vw, 34px);
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats dt {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-stats dd {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  animation: visualIn 1.1s 0.2s var(--ease) both;
}

.orbit-text {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(470px, 100%);
  height: min(470px, 100%);
  transform: translate(-50%, -50%);
  color: rgba(242, 238, 228, 0.36);
  animation: spin 46s linear infinite;
  pointer-events: none;
}

.orbit-text text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 9.2px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.poster-stack {
  position: relative;
  width: min(310px, 78%);
  aspect-ratio: 2 / 3;
  transform: rotate(-5deg);
  animation: posterFloat 7s ease-in-out infinite;
}

.poster {
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

.poster-back {
  border: 1px solid rgba(242, 238, 228, 0.14);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 55%),
    #11141a;
  transform: rotate(8deg) translate(18px, -10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.poster-main {
  display: flex;
  flex-direction: column;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 81, 0.32);
  background:
    radial-gradient(120% 85% at 18% 0%, rgba(245, 196, 81, 0.28), transparent 56%),
    radial-gradient(110% 100% at 88% 100%, rgba(255, 122, 89, 0.22), transparent 60%),
    linear-gradient(160deg, #1b1f29 0%, #0b0d12 65%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.poster-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.poster-kicker,
.poster-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(242, 238, 228, 0.62);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.poster-kicker {
  padding: 0 2px 10px;
}

.poster-footer {
  padding: 10px 2px 0;
  border-top: 1px solid rgba(242, 238, 228, 0.1);
}

.poster-art {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(242, 238, 228, 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 196, 81, 0.13), transparent 52%),
    rgba(255, 255, 255, 0.018);
}

.poster-q {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(5.4rem, 10vw, 8.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--amber);
  opacity: 0.92;
  text-shadow: 0 0 60px rgba(245, 196, 81, 0.28);
  animation: qFloat 6s ease-in-out infinite;
}

.redact {
  position: absolute;
  z-index: 2;
  height: 7px;
  border-radius: 3px;
  background: rgba(242, 238, 228, 0.16);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.redact-1 {
  width: 58%;
  top: 17%;
  left: 12%;
  transform: rotate(-1.5deg);
}

.redact-2 {
  width: 44%;
  top: 23%;
  left: 22%;
  transform: rotate(1deg);
  opacity: 0.7;
}

.redact-3 {
  width: 52%;
  bottom: 17%;
  left: 16%;
  transform: rotate(-1deg);
  opacity: 0.55;
}

.poster-tag {
  position: absolute;
  bottom: 13%;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 5px 9px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  border-radius: 3px;
  background: rgba(8, 9, 12, 0.7);
  color: var(--amber);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.poster-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 238, 228, 0.14);
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.82);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.poster-chip .icon {
  width: 13px;
  height: 13px;
  color: var(--amber);
}

.chip-rating {
  --r: 5deg;
  top: 14%;
  right: -14%;
  transform: rotate(var(--r));
  animation: chipFloat 5.5s 0.4s ease-in-out infinite;
}

.chip-note {
  --r: -7deg;
  bottom: 12%;
  left: -13%;
  transform: rotate(var(--r));
  color: var(--amber);
  border-color: rgba(245, 196, 81, 0.3);
  animation: chipFloat 6.4s 0.9s ease-in-out infinite reverse;
}

/* Marquee ----------------------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.marquee-track i {
  color: var(--amber);
  font-size: 0.56rem;
  font-style: normal;
}

/* How it works ------------------------------------------------------------ */
.how {
  padding: clamp(64px, 8vw, 104px) 0 10px;
}

.how-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.how-head h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-card {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.how-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--amber);
}

.how-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
  color: var(--amber);
  opacity: 0.85;
}

.how-card h3 {
  margin-top: 18px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.how-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.how-card em {
  color: var(--text-soft);
}

/* Watchlist --------------------------------------------------------------- */
.watchlist {
  padding: clamp(46px, 5vw, 72px) 0 30px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.section-note {
  max-width: 34ch;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  text-align: right;
}

/* Filter bar -------------------------------------------------------------- */
.filter-shell {
  position: sticky;
  /* Recomputed by app.js from the real header height, so it follows the
     collapsing nav instead of guessing a breakpoint. */
  top: var(--filter-top, 76px);
  z-index: 40;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.93);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.segmented {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.52rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.seg-btn span {
  font-size: 0.6rem;
  font-weight: 800;
  opacity: 0.55;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.is-active {
  background: var(--text);
  color: #0a0b0e;
}

.seg-btn.is-active span {
  opacity: 0.55;
}

.progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 178px;
}

.progress-wrap > span:first-child {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}

.progress-track {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  transition: width 0.5s var(--ease);
}

.mood-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}

.mood-chip {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.mood-chip:hover {
  border-color: rgba(242, 238, 228, 0.26);
  color: var(--text);
}

.mood-chip.is-active {
  border-color: rgba(245, 196, 81, 0.5);
  background: var(--amber-soft);
  color: var(--amber);
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Grid & cards ------------------------------------------------------------ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  gap: 16px;
}

/* Paging: cards stay in the DOM (so reveals, filters and Surprise keep
   working) but only the first pages are painted. */
.card.is-paged-out {
  display: none;
}

/* See more --------------------------------------------------------------- */
.see-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.see-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px 13px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease);
}

.see-more:hover {
  border-color: rgba(245, 196, 81, 0.4);
  background: rgba(245, 196, 81, 0.07);
  transform: translateY(-2px);
}

.see-more-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.see-more-main strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.see-more-main small {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.see-more .icon {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.see-more-note {
  color: rgba(242, 238, 228, 0.28);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
}

.card {
  --accent: var(--amber);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(12, 14, 19, 0.55);
  transition:
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 11%, transparent), transparent 46%);
  transition: opacity 0.35s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(13, 15, 21, 0.7);
}

.card:hover::after {
  opacity: 0.7;
}

.card.is-revealed {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  background:
    radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(13, 15, 21, 0.82);
}

.card.is-revealed::after {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-type .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.card-type.is-series {
  color: var(--mint);
}

.card-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1;
  color: rgba(242, 238, 228, 0.28);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: -4px;
}

.tag {
  padding: 0.26rem 0.5rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
}

.story-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 238, 228, 0.34);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.card-story {
  color: var(--text-soft);
  font-size: 0.99rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.card-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reveal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

.reveal-btn .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reveal-btn .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: color 0.25s ease, transform 0.25s ease;
}

.reveal-btn .chev {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  transition: transform 0.3s var(--ease), color 0.25s ease;
}

.reveal-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0b0e;
  transform: translateY(-1px);
}

.reveal-btn:hover .icon,
.reveal-btn:hover .chev {
  color: #0a0b0e;
}

.reveal-btn:hover .chev {
  transform: translateX(2px);
}

.card.is-revealed .reveal-btn {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.card.is-revealed .reveal-btn .chev {
  transform: rotate(180deg);
}

/* Reveal panel */
.card-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.58s var(--ease);
}

.card.is-revealed .card-reveal {
  grid-template-rows: 1fr;
}

.reveal-inner {
  min-height: 0;
  overflow: hidden;
}

.reveal-content {
  padding-top: 17px;
  border-top: 1px dashed color-mix(in srgb, var(--accent) 22%, var(--line));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.08s, transform 0.5s var(--ease) 0.08s;
}

.card.is-revealed .reveal-content {
  opacity: 1;
  transform: none;
}

.reveal-kicker {
  color: var(--accent);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reveal-title {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.reveal-title .year {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.reveal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  background: var(--amber);
  color: #0a0b0e;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
}

.rating-badge .icon {
  width: 12px;
  height: 12px;
}

.rating-badge small {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.62;
  text-transform: uppercase;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.52rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.meta-item .icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.reveal-vibe {
  margin-top: 15px;
  padding-left: 12px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
  color: #ecd9a5;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.45;
}

.reveal-credits {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.reveal-credits b {
  color: var(--text-soft);
  font-weight: 700;
}

/* Where to watch */
.reveal-ott {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.ott-label {
  flex: 1 0 100%;
  color: rgba(242, 238, 228, 0.34);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ott-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ott-chip {
  padding: 0.26rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: color-mix(in srgb, var(--accent) 82%, #fff);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.ott-none {
  color: var(--muted-2);
  font-size: 0.66rem;
  font-style: italic;
}

.ott-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ott-link:hover {
  color: var(--amber);
}

.ott-link .icon {
  width: 11px;
  height: 11px;
}

/* Confetti */
.confetti {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 6px;
  height: 9px;
  border-radius: 1px;
  background: var(--c);
  opacity: 0;
  animation: confettiBurst 1s cubic-bezier(0.16, 0.72, 0.3, 1) forwards;
}

/* Skeleton loaders -------------------------------------------------------- */
.card-skeleton {
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(12, 14, 19, 0.55);
}

.card-skeleton .card-story {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty state */
.empty-state {
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border: 1px solid rgba(245, 196, 81, 0.35);
  border-radius: 50%;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.empty-state p {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Quote band -------------------------------------------------------------- */
.quote-band {
  position: relative;
  margin-top: clamp(50px, 7vw, 80px);
  padding: clamp(80px, 12vw, 150px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 320px at 50% 50%, rgba(245, 196, 81, 0.07), transparent 70%);
  overflow: hidden;
}

.quote-band::before {
  content: "“";
  position: absolute;
  top: -0.28em;
  left: 50%;
  transform: translateX(-55%);
  font-family: var(--serif);
  font-size: 24rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(245, 196, 81, 0.05);
  pointer-events: none;
}

.quote-band blockquote {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.quote-band blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.quote-band cite {
  display: block;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* CTA --------------------------------------------------------------------- */
.cta {
  padding: clamp(54px, 8vw, 90px) 0 0;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(245, 196, 81, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(760px 340px at 10% 0%, rgba(245, 196, 81, 0.18), transparent 62%),
    linear-gradient(135deg, #191c24 0%, #0c0e13 72%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.cta-card::before {
  content: "?";
  position: absolute;
  right: 10%;
  top: -0.38em;
  font-family: var(--serif);
  font-size: 20rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: rgba(245, 196, 81, 0.055);
  pointer-events: none;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cta-copy,
.cta-card .btn {
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 640px;
}

.cta-copy h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.cta-copy h2 .serif-accent {
  font-size: 1.04em;
}

.cta-copy p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-card .btn {
  flex: none;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  margin-top: clamp(56px, 8vw, 90px);
  padding: 46px 0 62px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 30px 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-links .icon {
  width: 14px;
  height: 14px;
}

.footer-fine {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.55;
}

.footer-fine p {
  margin: 0;
}

/* Toast & to top ---------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(245, 196, 81, 0.28);
  border-radius: 999px;
  background: rgba(12, 14, 19, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

.toast .icon {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 14, 19, 0.86);
  backdrop-filter: blur(14px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease), border-color 0.2s ease;
}

.to-top.is-show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* JS entrance ------------------------------------------------------------- */
.js .card {
  opacity: 0;
  transform: translateY(22px);
}

.js .card.is-visible {
  opacity: 1;
  transform: none;
}

.js .card.is-visible {
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--ease),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

/* Keyframes --------------------------------------------------------------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes visualIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 40px, 0) scale(1.08); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 196, 81, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(245, 196, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 196, 81, 0); }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes posterFloat {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-3.4deg) translateY(-12px); }
}

@keyframes qFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 5deg)); }
  50% { transform: translateY(-7px) rotate(var(--r, 5deg)); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes confettiBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rot)) scale(0.35);
  }
}

@keyframes cardPop {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

@keyframes pickGlow {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); }
  55% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 0%, transparent), 0 0 44px color-mix(in srgb, var(--accent) 28%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes pickNudge {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  60% { transform: translateY(2px); }
}

/* Collections and live shelf ---------------------------------------------- */
.tag-sector {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: color-mix(in srgb, var(--accent) 90%, #fff);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}

/* Each collection gets a fixed colour, so Hollywood / Bollywood / World stay
   recognisable no matter which accent the card was dealt. */
.tag-hollywood {
  --accent: var(--sky);
}

.tag-bollywood {
  --accent: var(--coral);
}

.tag-world {
  --accent: var(--mint);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.22rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--mint) 42%, transparent);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.live-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 2.2s ease-in-out infinite;
}

.card.is-picked {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  animation: pickNudge 0.9s var(--ease), pickGlow 3.1s ease-out;
}

.card-live {
  background:
    linear-gradient(180deg, rgba(127, 231, 212, 0.05), rgba(255, 255, 255, 0.008)),
    rgba(12, 14, 19, 0.55);
}

.live-band {
  padding: 74px 0 10px;
}

/* Bollywood, fresh — same shape as the live shelf, different accent. */
.bolly-band {
  padding: 74px 0 0;
}

.bolly-band .eyebrow {
  color: var(--coral);
}

.bolly-band .pulse-dot {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.12);
}

.bolly-band[hidden] {
  display: none;
}

.live-band[hidden] {
  display: none;
}

.live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.live-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.live-note {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.live-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  white-space: nowrap;
}

.live-status {
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Bored band -------------------------------------------------------------- */
.bored-band {
  position: relative;
  padding: clamp(54px, 7vw, 88px) 0 0;
}

.bored-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 64px);
  padding: clamp(28px, 4vw, 46px) clamp(22px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(680px 260px at 6% 0%, rgba(245, 196, 81, 0.12), transparent 66%),
    radial-gradient(520px 260px at 98% 112%, rgba(255, 122, 89, 0.08), transparent 62%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.bored-inner::after {
  content: "?";
  position: absolute;
  right: 30px;
  bottom: -6px;
  color: rgba(245, 196, 81, 0.055);
  font-family: var(--serif);
  font-size: clamp(150px, 17vw, 235px);
  font-style: italic;
  line-height: 0.95;
  pointer-events: none;
  user-select: none;
}

.bored-question,
.bored-answer {
  position: relative;
  z-index: 1;
}

.bored-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bored-question h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.bored-question h2 em {
  padding-right: 0.04em;
  color: var(--amber);
  font-style: italic;
}

.bored-answer {
  padding-left: clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.bored-answer p {
  max-width: 36ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.bored-answer p em {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.1em;
  font-style: italic;
}

.bored-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}

.bored-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.bored-link .icon {
  width: 13px;
  height: 13px;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .hero h1 {
    font-size: clamp(3rem, 6.2vw, 5.2rem);
  }

  .hero-visual {
    min-height: 480px;
  }

  .poster-stack {
    width: min(280px, 80%);
  }

  .orbit-text {
    width: min(420px, 100%);
    height: min(420px, 100%);
  }

  .header-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 8px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 0.72rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 46px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 9vw, 5.6rem);
  }

  .hero-visual {
    min-height: 420px;
    margin-top: 4px;
  }

  .poster-stack {
    width: min(250px, 58%);
  }

  .orbit-text {
    width: min(390px, 90%);
    height: min(390px, 90%);
  }

  .how-grid {
    gap: 26px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-note {
    max-width: 52ch;
    padding: 0;
    text-align: left;
  }

  .filter-shell {
    top: var(--filter-top, 66px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: var(--scroll-pad, 123px);
  }

  body {
    background-attachment: scroll;
  }

  /* Two-row header so the section links stay reachable on phones. */
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0;
    border-radius: 20px;
    padding: 7px 10px 7px 12px;
  }

  .header-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    max-height: 52px;
    justify-content: space-between;
    gap: 10px;
    margin: 5px 0 0;
    padding: 7px 2px 0;
    border-top: 1px solid var(--line-soft);
    transition:
      max-height 0.34s var(--ease),
      margin 0.34s var(--ease),
      padding 0.34s var(--ease),
      opacity 0.22s ease,
      border-color 0.34s ease,
      visibility 0s linear 0s;
  }

  /* Collapsed on mobile means the second row physically disappears, so the
     sticky filter follows it up via --filter-top. */
  .site-header.is-compact .header-nav {
    max-width: none;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    border-top-color: transparent;
    opacity: 0;
    transform: none;
    visibility: hidden;
    transition:
      max-height 0.34s var(--ease),
      margin 0.34s var(--ease),
      padding 0.34s var(--ease),
      opacity 0.22s ease,
      border-color 0.34s ease,
      visibility 0s linear 0.34s;
  }

  .header-nav a {
    font-size: 0.7rem;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.65rem, 11.4vw, 4.3rem);
    letter-spacing: -0.055em;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 18px;
    margin-top: 32px;
  }

  .hero-stats dd {
    font-size: 1.55rem;
  }

  .hero-visual {
    min-height: 350px;
  }

  .poster-stack {
    width: min(218px, 64%);
  }

  .orbit-text {
    width: min(320px, 96%);
    height: min(320px, 96%);
  }

  .poster-kicker,
  .poster-footer {
    font-size: 0.42rem;
  }

  .poster-tag {
    font-size: 0.4rem;
  }

  .poster-chip {
    padding: 6px 9px;
    font-size: 0.54rem;
  }

  .chip-rating {
    right: -6%;
  }

  .chip-note {
    left: -4%;
  }

  .marquee {
    padding: 10px 0;
  }

  .marquee-track {
    gap: 1.5rem;
  }

  .marquee-track span {
    font-size: 0.58rem;
  }

  .how {
    padding-top: 58px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-card {
    padding-top: 16px;
  }

  .how-card h3 {
    margin-top: 12px;
  }

  .watchlist {
    padding-top: 44px;
  }

  .section-head h2 {
    font-size: clamp(2.2rem, 9.6vw, 3.2rem);
  }

  .filter-shell {
    top: var(--filter-top, 115px);
    padding: 10px;
    border-radius: 16px;
  }

  .filter-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .segmented {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
  }

  .segmented::-webkit-scrollbar {
    display: none;
  }

  .seg-btn {
    flex: 0 0 auto;
    justify-content: center;
    padding: 0.55rem 0.72rem;
  }

  .progress-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .progress-wrap > span:first-child {
    flex: none;
  }

  .progress-track {
    flex: 1;
    width: auto;
  }

  .mood-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -10px;
    padding-right: 10px;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
  }

  .mood-row::-webkit-scrollbar {
    display: none;
  }

  .mood-chip {
    flex: 0 0 auto;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .live-band {
    padding-top: 54px;
  }

  .bored-band {
    padding-top: 42px;
  }

  .bored-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px 28px;
    border-radius: 20px;
  }

  .bored-question h2 {
    font-size: clamp(1.8rem, 7.6vw, 2.4rem);
  }

  .bored-answer {
    padding-left: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .bored-inner::after {
    right: -16px;
    bottom: -18px;
    font-size: 150px;
  }

  .live-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .live-actions {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .live-status {
    font-size: 0.6rem;
    white-space: normal;
  }

  .card {
    padding: 18px;
    border-radius: 17px;
  }

  .card-story {
    font-size: 0.96rem;
  }

  .quote-band {
    padding: 76px 0;
  }

  .quote-band blockquote p {
    font-size: clamp(1.65rem, 7.4vw, 2.4rem);
  }

  .cta {
    padding-top: 46px;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .cta-copy h2 {
    font-size: clamp(1.95rem, 8.6vw, 2.8rem);
  }

  .cta-card .btn {
    width: 100%;
  }

  .site-footer {
    margin-top: 56px;
    padding: 36px 0 50px;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .footer-fine {
    flex-direction: column;
    gap: 8px;
  }

  .toast {
    bottom: 16px;
    max-width: calc(100% - 32px);
    white-space: normal;
    text-align: left;
    line-height: 1.45;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 430px) {
  .header-inner {
    padding-left: 12px;
    gap: 10px;
  }

  .brand-text em {
    display: none;
  }

  .brand-text strong {
    font-size: 0.7rem;
  }

  /* Four section links have to survive a 320px viewport. */
  .header-nav {
    gap: 6px;
    padding-inline: 0;
  }

  .header-nav a {
    font-size: 0.64rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-progress {
    display: none;
  }

  #headerSurprise span {
    display: none;
  }

  #headerSurprise {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.6vw, 3.4rem);
  }

  .poster-stack {
    width: min(196px, 66%);
  }

  .orbit-text {
    width: min(290px, 100%);
    height: min(290px, 100%);
  }

  .chip-rating {
    right: -2%;
  }

  .chip-note {
    left: 0;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stats dt {
    font-size: 0.56rem;
  }

  .hero-stats dd {
    font-size: 1.4rem;
  }

  .reveal-title {
    font-size: 1.45rem;
  }
}

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .card {
    opacity: 1;
    transform: none;
  }

  .poster-stack {
    transform: rotate(-4deg);
  }
}

/* Background music toggle */
.music-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 70;
  background: rgba(12, 14, 19, 0.86);
  backdrop-filter: blur(14px);
}
.music-btn-anim .icon { animation: music-pulse 1.6s ease-in-out infinite; }
@keyframes music-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .music-btn-anim .icon { animation: none; }
}
