@charset "UTF-8";
:root {
  color-scheme: dark;
  --pp-night: #080d24;
  --pp-surface: #101a3a;
  --pp-surface-raised: #172148;
  --pp-border: #5d4b9b;
  --pp-yellow: #ffc83d;
  --pp-coral: #e9424a;
  --pp-lavender: #aa97ff;
  --pp-cyan: #37d7e7;
  --pp-cream: #fff1c9;
  --pp-text: #fffdf7;
  --pp-muted: #c4c3da;
  --pp-display: "Fredoka", "Trebuchet MS", sans-serif;
  --pp-body: "Nunito Sans", Arial, sans-serif;
  --pp-shell: 1440px;
  --pp-radius-sm: 12px;
  --pp-radius-card: 20px;
  --pp-radius-pill: 999px;
  --pp-shadow: 0 20px 56px rgb(0 0 0 / 28%);
  --pp-transition: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--pp-night); color: var(--pp-text); font: 500 16px/1.6 var(--pp-body); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(ellipse at 82% 8%, rgb(83 53 135 / 13%), transparent 34%), radial-gradient(ellipse at 12% 45%, rgb(27 79 133 / 12%), transparent 38%); content: ""; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { background: var(--pp-yellow); color: var(--pp-night); }
:focus-visible { outline: 3px solid var(--pp-lavender); outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 8px; background: var(--pp-yellow); color: var(--pp-night); font-weight: 900; }
.page-shell { width: min(calc(100% - 80px), var(--pp-shell)); margin-inline: auto; }
.site-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); min-height: 88px; padding: 12px max(40px, calc((100vw - var(--pp-shell)) / 2)); border-bottom: 1px solid rgb(170 151 255 / 16%); background: rgb(8 13 36 / 88%); backdrop-filter: blur(18px); transition: background var(--pp-transition), box-shadow var(--pp-transition); }
.is-home .site-header { margin-bottom: -88px; border-color: transparent; background: linear-gradient(180deg, rgb(8 13 36 / 76%), transparent); }
.is-home .site-header.is-scrolled { border-color: rgb(170 151 255 / 16%); background: rgb(8 13 36 / 94%); box-shadow: 0 10px 30px rgb(0 0 0 / 18%); }
.brand { display: block; flex: 0 0 clamp(168px, 17vw, 245px); }
.brand img { width: 100%; height: 64px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); white-space: nowrap; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--pp-muted); font-weight: 800; transition: color var(--pp-transition); }
.primary-nav a::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; border-radius: 2px; background: var(--pp-yellow); content: ""; transform: scaleX(0); transform-origin: left; transition: transform var(--pp-transition); }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--pp-cream); }
.primary-nav a:hover::after { transform: scaleX(1); }
.header-search, .hero-search, .search-main { display: flex; align-items: center; gap: 10px; border: 1px solid rgb(170 151 255 / 38%); border-radius: var(--pp-radius-pill); background: rgb(18 22 57 / 84%); color: var(--pp-lavender); }
.header-search { flex: 1; min-width: 170px; max-width: 410px; min-height: 48px; margin-left: auto; padding: 0 8px 0 16px; }
.header-search > span, .hero-search > span, .search-main > span { flex: none; font-size: 27px; line-height: 1; }
.header-search input, .hero-search input, .search-main input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--pp-text); }
.header-search input::placeholder, .hero-search input::placeholder, .search-main input::placeholder { color: #aaa4c9; }
.header-search button, .hero-search button { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: var(--pp-yellow); color: var(--pp-night); font-size: 21px; font-weight: 900; cursor: pointer; transition: transform var(--pp-transition), filter var(--pp-transition); }
.header-search button:hover, .hero-search button:hover { filter: brightness(1.08); transform: translateX(2px); }
.header-favorites { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 1px solid rgb(170 151 255 / 30%); border-radius: var(--pp-radius-pill); color: var(--pp-cream); font-weight: 800; white-space: nowrap; }
.header-favorites > span:first-child { color: var(--pp-coral); font-size: 23px; }
.favorite-count { display: grid; min-width: 21px; height: 21px; place-items: center; padding-inline: 4px; border-radius: 50%; background: var(--pp-yellow); color: var(--pp-night); font-size: 12px; font-weight: 900; }
.icon-button, .mobile-menu, .mobile-tabbar { display: none; }
main { min-height: 55vh; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 11px 22px; border: 1px solid var(--pp-yellow); border-radius: var(--pp-radius-pill); background: var(--pp-yellow); box-shadow: 0 8px 24px rgb(255 200 61 / 13%); color: var(--pp-night); font-weight: 900; line-height: 1.2; text-align: center; transition: transform var(--pp-transition), box-shadow var(--pp-transition), filter var(--pp-transition); cursor: pointer; }
.button:hover { box-shadow: 0 12px 28px rgb(255 200 61 / 24%); filter: brightness(1.06); transform: translateY(-2px); }
.button--outline { border-color: var(--pp-border); background: rgb(16 26 58 / 38%); box-shadow: none; color: var(--pp-cream); }
.button--outline:hover { border-color: var(--pp-lavender); background: rgb(170 151 255 / 13%); }
.button--glass { border-color: rgb(255 241 201 / 45%); background: rgb(8 13 36 / 35%); box-shadow: none; color: var(--pp-cream); backdrop-filter: blur(8px); }
.button--small { min-height: 44px; padding: 9px 18px; }
.eyebrow { margin: 0 0 8px; color: var(--pp-yellow); font-size: 12px; font-weight: 900; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-star { display: inline-block; margin-right: 6px; color: var(--pp-coral); font-size: 17px; }
.lede { max-width: 660px; margin: 14px 0 0; color: var(--pp-muted); font-size: clamp(17px, 1.6vw, 20px); }

/* Home hero */
.home-hero { position: relative; isolation: isolate; display: flex; min-height: min(760px, 92vh); align-items: center; overflow: hidden; background: var(--pp-night); }
.home-hero::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, #080d24 0%, rgb(8 13 36 / 93%) 25%, rgb(8 13 36 / 63%) 51%, rgb(8 13 36 / 18%) 100%), linear-gradient(0deg, #080d24 0%, transparent 27%, rgb(8 13 36 / 16%) 100%); content: ""; }
.home-hero__scene { position: absolute; z-index: -2; inset: 0; background-position: center 54%; background-size: cover; opacity: 1; transition: opacity 1100ms ease-in-out; }
.home-hero__scene--cinema { background-image: url("/assets/brand/hero-cinema.webp"); }
.home-hero__scene--featured { background-image: var(--featured-backdrop); opacity: 0; }
.home-hero.is-featured .home-hero__scene--cinema { opacity: .06; }
.home-hero__scene--featured.is-active { opacity: 1; }
.home-hero__content { position: relative; z-index: 1; padding-block: 170px 95px; }
.home-hero h1 { max-width: 760px; margin: 0; color: var(--pp-cream); font: 700 clamp(48px, 6vw, 84px)/.96 var(--pp-display); letter-spacing: -.035em; text-wrap: balance; }
.home-hero h1 span { display: block; color: var(--pp-yellow); }
.home-hero__signature { margin: 20px 0 25px; color: var(--pp-cream); font-size: clamp(18px, 2vw, 23px); font-weight: 800; }
.hero-search { width: min(100%, 540px); min-height: 58px; padding: 0 9px 0 19px; border-color: rgb(170 151 255 / 55%); background: rgb(11 13 42 / 87%); box-shadow: 0 14px 44px rgb(0 0 0 / 22%); }
.hero-search input { font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-film-note { position: absolute; right: max(40px, calc((100vw - var(--pp-shell)) / 2)); bottom: 72px; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px dashed rgb(255 241 201 / 58%); border-radius: 8px; color: var(--pp-cream); font-size: 10px; font-weight: 900; letter-spacing: .12em; transform: rotate(-4deg); }
.hero-film-note b { color: var(--pp-yellow); font-size: 18px; }
.mood-section { display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; align-items: center; gap: 28px; padding-block: 36px 44px; border-bottom: 1px solid rgb(170 151 255 / 15%); }
.mood-intro h2 { margin: 0; color: var(--pp-cream); font: 600 clamp(23px, 2.5vw, 32px)/1.1 var(--pp-display); }
.mood-list { display: flex; flex-wrap: wrap; gap: 10px; }
.mood-chip { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 17px; border: 1px solid rgb(170 151 255 / 58%); border-radius: var(--pp-radius-pill); background: rgb(170 151 255 / 7%); color: var(--pp-cream); font-weight: 800; transition: color var(--pp-transition), border-color var(--pp-transition), background var(--pp-transition), transform var(--pp-transition); }
.mood-chip:hover { border-color: var(--pp-yellow); background: rgb(255 200 61 / 10%); color: var(--pp-yellow); transform: translateY(-2px); }
.mood-chip span { color: var(--pp-lavender); font-size: 14px; }

/* Rails and cards */
.rail-section { padding-block: 44px 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.section-heading h2, .mood-intro h2, .editorial-band h2, .content-section h2 { margin: 0; color: var(--pp-cream); font: 600 clamp(28px, 3.4vw, 42px)/1.08 var(--pp-display); letter-spacing: -.02em; text-wrap: balance; }
.rail-controls { display: flex; align-items: center; gap: 16px; }
.text-link { color: var(--pp-lavender); font-weight: 900; white-space: nowrap; }
.text-link span { color: var(--pp-yellow); }
.text-link:hover { color: var(--pp-yellow); }
.rail-arrows { display: flex; gap: 7px; }
.rail-arrows button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--pp-border); border-radius: 50%; background: var(--pp-surface); color: var(--pp-cream); font-size: 19px; cursor: pointer; transition: border-color var(--pp-transition), background var(--pp-transition); }
.rail-arrows button:hover { border-color: var(--pp-yellow); background: var(--pp-surface-raised); }
.rail-track { display: grid; grid-auto-columns: minmax(150px, 1fr); grid-auto-flow: column; gap: 16px; overflow-x: auto; padding: 3px 2px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--pp-border) transparent; scrollbar-width: thin; }
.rail-track > * { scroll-snap-align: start; }
.movie-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 17px; }
.movie-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.movie-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgb(170 151 255 / 24%); border-radius: var(--pp-radius-card); background: linear-gradient(145deg, rgb(25 31 72 / 97%), rgb(13 19 46 / 99%)); box-shadow: 0 8px 22px rgb(0 0 0 / 16%); transition: border-color var(--pp-transition), box-shadow var(--pp-transition), transform var(--pp-transition); }
.movie-card:hover { z-index: 1; border-color: rgb(170 151 255 / 76%); box-shadow: var(--pp-shadow); transform: translateY(-4px); }
.movie-card__link { display: block; height: 100%; }
.movie-card__poster-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: linear-gradient(145deg, #28214e, #101a3a); }
.movie-card__poster { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.2,.7,.2,1); }
.movie-card:hover .movie-card__poster { transform: scale(1.035); }
.movie-card__no-poster { display: grid; width: 100%; height: 100%; place-items: center; color: var(--pp-yellow); font: 700 54px/1 var(--pp-display); }
.movie-card__rating { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 4px 10px; border: 1px solid rgb(255 200 61 / 35%); border-radius: var(--pp-radius-pill); background: rgb(8 13 36 / 88%); color: var(--pp-yellow); font-size: 13px; font-weight: 900; backdrop-filter: blur(8px); }
.movie-card__details { display: block; min-height: 88px; padding: 11px 13px 14px; }
.movie-card__type { display: block; margin-bottom: 4px; color: var(--pp-muted); font-size: 12px; font-weight: 700; }
.movie-card__type span { color: var(--pp-coral); }
.movie-card__details strong { display: -webkit-box; overflow: hidden; color: var(--pp-text); font: 700 16px/1.25 var(--pp-display); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.movie-card__favorite { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgb(255 253 247 / 32%); border-radius: 50%; background: rgb(8 13 36 / 78%); color: var(--pp-cream); font-size: 23px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: color var(--pp-transition), background var(--pp-transition), transform var(--pp-transition); }
.movie-card__favorite:hover, .movie-card__favorite[aria-pressed="true"] { background: var(--pp-coral); color: white; transform: scale(1.06); }
.movie-card__favorite[aria-pressed="true"] span, .favorite-toggle[aria-pressed="true"] span { font-size: 0; }
.movie-card__favorite[aria-pressed="true"] span::after { content: "♥"; font-size: 18px; }
.favorite-toggle[aria-pressed="true"] span::after { content: "♥"; }
.empty-state { display: grid; justify-items: center; padding: 55px 22px; border: 1px dashed rgb(170 151 255 / 40%); border-radius: var(--pp-radius-card); background: rgb(16 26 58 / 45%); text-align: center; }
.empty-state h2, .empty-state h3 { margin: 6px 0; color: var(--pp-cream); font: 600 27px/1.15 var(--pp-display); }
.empty-state p { max-width: 540px; margin: 4px 0 20px; color: var(--pp-muted); }
.empty-state__icon { color: var(--pp-yellow); font-size: 44px; }
.empty-state--inline { padding: 26px; }
.empty-state--inline h3 { font-size: 19px; }
.editorial-band { position: relative; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: clamp(25px, 5vw, 70px); margin-block: 76px 94px; padding: clamp(30px, 5vw, 62px); overflow: hidden; border: 1px solid rgb(170 151 255 / 30%); border-radius: 30px; background: radial-gradient(ellipse at 15% 100%, rgb(233 66 74 / 18%), transparent 42%), linear-gradient(125deg, #121a42, #151036 75%); }
.editorial-band::after { position: absolute; right: -30px; bottom: -130px; width: 300px; height: 300px; border: 1px solid rgb(170 151 255 / 15%); border-radius: 50%; content: ""; box-shadow: 0 0 0 24px rgb(170 151 255 / 3%), 0 0 0 48px rgb(170 151 255 / 3%); }
.editorial-band__ticket { display: grid; width: 132px; height: 172px; align-content: center; justify-items: center; gap: 13px; border: 2px dashed rgb(255 241 201 / 55%); border-radius: 15px; color: var(--pp-cream); text-align: center; transform: rotate(-7deg); }
.editorial-band__ticket span { font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.editorial-band__ticket b { color: var(--pp-yellow); font-size: 42px; }
.editorial-band h2 { max-width: 650px; font-size: clamp(30px, 4vw, 48px); }
.editorial-band p:not(.eyebrow) { max-width: 620px; color: var(--pp-muted); }
.editorial-band__mascot { position: relative; z-index: 1; font-size: clamp(52px, 7vw, 92px); filter: drop-shadow(0 12px 22px rgb(0 0 0 / 30%)); transform: rotate(10deg); }

/* Catalog, search, detail, person, empty */
.listing-intro { padding-block: 70px 32px; }
.listing-intro h1, .search-page h1, .favorites-page h1, .person-banner h1, .empty-state h1 { margin: 0; color: var(--pp-cream); font: 700 clamp(40px, 5.5vw, 68px)/.98 var(--pp-display); letter-spacing: -.03em; text-wrap: balance; }
.result-count { margin: 20px 0 0; color: var(--pp-muted); }
.result-count strong { color: var(--pp-yellow); }
.catalogue { padding-bottom: 86px; }
.filter-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 28px; padding: 18px; border: 1px solid rgb(170 151 255 / 23%); border-radius: var(--pp-radius-card); background: rgb(16 26 58 / 70%); }
.filter-panel label { display: grid; flex: 1 1 130px; gap: 5px; color: var(--pp-muted); font-size: 12px; font-weight: 800; }
.filter-panel select, .filter-panel input, .mobile-menu input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid rgb(170 151 255 / 34%); border-radius: 10px; background: #0c1431; color: var(--pp-text); }
.clear-filters { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 8px; color: var(--pp-lavender); font-weight: 800; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 35px; color: var(--pp-muted); }
.pagination strong { color: var(--pp-yellow); }
.pagination .button { min-height: 44px; }
.search-page, .favorites-page { padding-block: 78px 90px; }
.search-main { width: min(100%, 780px); min-height: 68px; margin: 28px 0 52px; padding: 0 11px 0 20px; border-radius: 17px; background: var(--pp-surface); }
.search-main input { min-height: 56px; font-size: 18px; }
.search-main .button { min-height: 46px; }
.favorites-page .movie-grid { margin-top: 28px; }
.detail-banner { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, #080d24 5%, rgb(8 13 36 / 86%) 55%, rgb(8 13 36 / 72%)), var(--detail-backdrop) center 35% / cover, var(--pp-night); }
.detail-banner::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--pp-night), transparent 40%); content: ""; }
.detail-banner__inner { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); align-items: end; gap: clamp(32px, 6vw, 88px); padding-block: 68px 58px; }
.detail-poster { width: 100%; max-height: 450px; border: 1px solid rgb(255 241 201 / 22%); border-radius: 22px; box-shadow: 0 24px 60px rgb(0 0 0 / 42%); object-fit: cover; }
.detail-copy { max-width: 800px; padding-bottom: 14px; }
.detail-copy h1 { margin: 5px 0 8px; color: var(--pp-cream); font: 700 clamp(42px, 6vw, 76px)/.98 var(--pp-display); letter-spacing: -.035em; text-wrap: balance; }
.detail-genres { margin: 0; color: var(--pp-lavender); font-weight: 800; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.detail-facts > span { display: inline-flex; min-height: 38px; align-items: center; padding: 6px 13px; border: 1px solid rgb(170 151 255 / 34%); border-radius: var(--pp-radius-pill); background: rgb(8 13 36 / 55%); color: var(--pp-muted); font-size: 14px; font-weight: 800; }
.detail-facts .rating { gap: 5px; border-color: rgb(255 200 61 / 45%); color: var(--pp-yellow); }
.detail-facts small { color: var(--pp-muted); font-size: 11px; }
.detail-overview { max-width: 760px; color: var(--pp-text); font-size: 18px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.favorite-toggle { cursor: pointer; }
.content-section { padding-block: 55px 80px; }
.section-heading--spaced { margin-top: 58px; }
.section-heading > p { max-width: 370px; margin: 0; color: var(--pp-muted); }
.provider-list { display: flex; flex-wrap: wrap; gap: 12px; }
.provider-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 15px; border: 1px solid rgb(170 151 255 / 32%); border-radius: 14px; background: var(--pp-surface); font-weight: 800; }
.provider-chip[href]:hover, .provider-chip[href]:focus-visible { border-color: var(--pp-yellow); color: var(--pp-yellow); }
.provider-chip img { border-radius: 8px; object-fit: cover; }
.provider-groups { display: grid; gap: 24px; }
.provider-group h3, .credit-group h3 { margin: 0 0 12px; color: var(--pp-cream); font: 700 20px/1.2 var(--pp-display); }
.release-info, .season-guide, .creative-credits { margin-top: 52px; }
.release-list, .credit-group ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.release-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 14px 16px; border: 1px solid rgb(170 151 255 / 23%); border-radius: 12px; background: rgb(16 26 58 / 60%); color: var(--pp-muted); }
.release-list time, .release-list li > span:last-child { color: var(--pp-cream); font-weight: 800; }
.season-picker { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 20px 0; }
.season-picker label { display: grid; gap: 6px; color: var(--pp-muted); font-size: 13px; font-weight: 800; }
.season-picker select { min-width: min(100%, 280px); min-height: 44px; padding: 9px 12px; border: 1px solid rgb(170 151 255 / 34%); border-radius: 10px; background: #0c1431; color: var(--pp-text); }
.episode-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.episode-card { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); gap: 18px; overflow: hidden; padding: 14px; border: 1px solid rgb(170 151 255 / 23%); border-radius: 16px; background: rgb(16 26 58 / 60%); }
.episode-card > img, .episode-card__placeholder { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; object-fit: cover; }
.episode-card__placeholder { display: grid; place-items: center; background: var(--pp-surface-raised); color: var(--pp-yellow); font-size: 32px; }
.episode-card h3 { margin: 0 0 6px; color: var(--pp-cream); font: 700 21px/1.15 var(--pp-display); }
.episode-card p { margin: 7px 0; color: var(--pp-muted); }
.episode-card .eyebrow { color: var(--pp-yellow); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.credit-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.credit-group { padding: 20px; border: 1px solid rgb(170 151 255 / 23%); border-radius: 14px; background: rgb(16 26 58 / 60%); }
.credit-group li { color: var(--pp-muted); }
.credit-group a { color: var(--pp-text); font-weight: 700; text-decoration: underline; text-decoration-color: rgb(170 151 255 / 40%); text-underline-offset: 3px; }
.credit-group a:hover { color: var(--pp-yellow); }
.affiliate-links { margin-top: 25px; }
.affiliate-links > div { display: flex; flex-wrap: wrap; gap: 9px; }
.affiliate-links a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgb(170 151 255 / 28%); border-radius: 11px; color: var(--pp-muted); font-size: 14px; font-weight: 800; transition: color var(--pp-transition), border-color var(--pp-transition); }
.affiliate-links a:hover { border-color: var(--pp-lavender); color: var(--pp-cream); }
.affiliate-links a span { color: var(--pp-yellow); }
.muted-copy { color: var(--pp-muted); }
.cast-row { display: grid; grid-auto-columns: 152px; grid-auto-flow: column; gap: 14px; overflow-x: auto; padding: 2px 0 18px; scroll-snap-type: x mandatory; }
.cast-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgb(170 151 255 / 25%); border-radius: 16px; background: var(--pp-surface); scroll-snap-align: start; }
.cast-card img, .cast-card__placeholder { width: 100%; height: 190px; object-fit: cover; }
.cast-card__placeholder { display: grid; place-items: center; background: var(--pp-surface-raised); color: var(--pp-yellow); font-size: 36px; }
.cast-card strong { padding: 10px 11px 0; font: 700 16px/1.2 var(--pp-display); }
.cast-card > span:last-child { min-height: 38px; padding: 4px 11px 10px; color: var(--pp-muted); font-size: 12px; }
.video-frame { width: min(100%, 850px); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--pp-border); border-radius: 20px; background: #050715; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.editorial-callout { display: grid; grid-template-columns: minmax(180px, .5fr) 1.5fr; align-items: center; gap: 28px; margin-top: 58px; }
.editorial-callout h2 { font-size: 32px; }
.recommendation-note { margin: 56px 0 0; padding: clamp(23px, 4vw, 42px); border: 1px solid rgb(170 151 255 / 32%); border-left: 4px solid var(--pp-coral); border-radius: 0 20px 20px 0; background: linear-gradient(100deg, rgb(16 26 58 / 92%), rgb(16 26 58 / 42%)); }
.recommendation-note h2 { margin: 0 0 10px; }
.recommendation-note p:last-child { max-width: 820px; margin-bottom: 0; color: var(--pp-muted); }
.person-banner { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; align-items: center; gap: clamp(30px, 6vw, 82px); padding-block: 68px 48px; }
.person-banner img { width: 100%; max-height: 440px; border: 1px solid rgb(170 151 255 / 25%); border-radius: 22px; box-shadow: var(--pp-shadow); object-fit: cover; }
.person-banner > div:last-child > p:last-child { max-width: 820px; white-space: pre-line; }
.not-found { display: grid; min-height: 65vh; align-content: center; justify-items: start; padding-block: 65px; }
.not-found h1 { max-width: 820px; margin: 0; color: var(--pp-cream); font: 700 clamp(44px, 6vw, 72px)/1 var(--pp-display); }

/* Footer and mobile navigation */
.site-footer { padding: 52px max(40px, calc((100vw - var(--pp-shell)) / 2)) 22px; border-top: 1px solid rgb(170 151 255 / 20%); background: #070b1d; }
.site-footer__main { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand { display: block; width: 235px; }
.footer-brand img { width: 100%; height: 72px; object-fit: contain; object-position: left center; }
.site-footer__main p { margin: 5px 0 26px; color: var(--pp-muted); font-weight: 800; }
.footer-popcorn { position: absolute; top: 14px; left: min(360px, 40vw); font-size: 46px; transform: rotate(11deg); }
.site-footer__links { display: flex; gap: clamp(45px, 10vw, 150px); padding-block: 20px 35px; }
.site-footer__links div { display: grid; align-content: start; gap: 8px; }
.site-footer__links b { margin-bottom: 3px; color: var(--pp-yellow); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer__links a { color: var(--pp-muted); font-weight: 700; }
.site-footer__links a:hover { color: var(--pp-cream); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid rgb(170 151 255 / 15%); color: #aaa8bf; font-size: 13px; }
.site-footer__bottom b { color: var(--pp-coral); }

@media (min-width: 1500px) { .home-hero { min-height: 740px; } }
@media (max-width: 1120px) {
  .site-header { gap: 16px; padding-inline: 28px; }
  .brand { flex-basis: 190px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 14px; }
  .header-search { max-width: 320px; }
  .movie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .movie-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail-track { grid-auto-columns: minmax(155px, 1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(73px + env(safe-area-inset-bottom)); }
  .page-shell { width: min(calc(100% - 36px), var(--pp-shell)); }
  .site-header { min-height: 70px; gap: 9px; padding: 7px 18px; }
  .is-home .site-header { margin-bottom: -70px; }
  .brand { flex: 0 1 190px; min-width: 0; }
  .brand img { height: 53px; }
  .primary-nav, .header-favorites { display: none; }
  .header-search { position: absolute; top: calc(100% + 7px); right: 15px; left: 15px; display: none; max-width: none; min-height: 48px; margin: 0; box-shadow: var(--pp-shadow); }
  .site-header.search-open .header-search { display: flex; }
  .icon-button { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 1px solid rgb(170 151 255 / 45%); border-radius: 50%; background: rgb(12 17 47 / 75%); color: var(--pp-lavender); font-size: 26px; cursor: pointer; }
  .menu-toggle { margin-left: auto; }
  .mobile-menu { position: absolute; top: calc(100% + 8px); right: 12px; display: grid; width: min(340px, calc(100vw - 24px)); gap: 3px; padding: 13px; border: 1px solid var(--pp-border); border-radius: 18px; background: #111633; box-shadow: var(--pp-shadow); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > a { display: flex; min-height: 46px; align-items: center; padding-inline: 12px; border-radius: 10px; color: var(--pp-cream); font-weight: 800; }
  .mobile-menu > a:hover { background: rgb(170 151 255 / 12%); }
  .mobile-menu form { display: grid; gap: 8px; padding: 10px 5px 3px; }
  .mobile-tabbar { position: fixed; z-index: 60; right: 12px; bottom: max(9px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 62px; padding: 5px; border: 1px solid rgb(170 151 255 / 43%); border-radius: var(--pp-radius-pill); background: rgb(16 20 53 / 95%); box-shadow: 0 12px 35px rgb(0 0 0 / 36%); backdrop-filter: blur(16px); }
  .mobile-tabbar a { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 48px; border-radius: var(--pp-radius-pill); color: var(--pp-muted); font-size: 11px; font-weight: 800; line-height: 1.2; }
  .mobile-tabbar a span { font-size: 19px; line-height: 1.05; }
  .mobile-tabbar a.is-current { color: var(--pp-yellow); }
  .mobile-tabbar a.is-current span { font-size: 22px; }
  .home-hero { min-height: 700px; min-height: min(790px, 100svh); align-items: flex-start; }
  .home-hero::before { background-image: linear-gradient(90deg, rgb(8 13 36 / 93%), rgb(8 13 36 / 72%) 48%, rgb(8 13 36 / 22%)), linear-gradient(0deg, #080d24 0%, transparent 36%, rgb(8 13 36 / 18%) 100%); }
  .home-hero__scene { background-position: 55% center; background-size: auto 100%; background-repeat: no-repeat; }
  .home-hero__content { padding-top: 145px; padding-bottom: 95px; }
  .home-hero .eyebrow { max-width: 300px; font-size: 10px; }
  .home-hero h1 { max-width: 540px; font-size: clamp(44px, 11vw, 62px); }
  .home-hero__signature { max-width: 340px; font-size: 17px; }
  .hero-search { min-height: 54px; }
  .hero-actions { display: grid; max-width: 380px; grid-template-columns: 1fr; }
  .hero-actions .button { min-height: 48px; }
  .hero-film-note { right: 22px; bottom: 45px; font-size: 8px; }
  .mood-section { grid-template-columns: 1fr; gap: 17px; padding-block: 30px; }
  .mood-intro h2 { font-size: 27px; }
  .mood-list { gap: 8px; }
  .mood-chip { min-height: 42px; padding: 8px 13px; font-size: 14px; }
  .rail-section { width: 100%; padding: 33px 0 5px 18px; }
  .rail-section .section-heading { padding-right: 18px; }
  .section-heading h2, .content-section h2 { font-size: 29px; }
  .rail-controls { gap: 10px; }
  .rail-arrows { display: none; }
  .text-link { font-size: 14px; }
  .rail-track { grid-auto-columns: minmax(154px, 40vw); gap: 12px; padding-right: 18px; }
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .movie-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .movie-card { border-radius: 16px; }
  .movie-card__details { min-height: 79px; padding: 9px 10px 12px; }
  .movie-card__details strong { font-size: 15px; }
  .movie-card__rating { top: 7px; left: 7px; min-height: 27px; padding-inline: 8px; font-size: 12px; }
  .movie-card__favorite { top: 7px; right: 7px; width: 36px; height: 36px; font-size: 20px; }
  .editorial-band { grid-template-columns: 75px 1fr; gap: 20px; margin-block: 48px 60px; padding: 24px 18px; border-radius: 22px; }
  .editorial-band__ticket { width: 70px; height: 105px; gap: 7px; border-radius: 10px; }
  .editorial-band__ticket span { font-size: 7px; }
  .editorial-band__ticket b { font-size: 29px; }
  .editorial-band h2 { font-size: 29px; }
  .editorial-band p:not(.eyebrow) { font-size: 14px; }
  .editorial-band__mascot { display: none; }
  .site-footer { padding: 38px 20px 20px; }
  .footer-brand { width: 200px; }
  .footer-brand img { height: 63px; }
  .footer-popcorn { top: 8px; right: 4px; left: auto; font-size: 37px; }
  .site-footer__links { gap: 50px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; font-size: 12px; }
  .listing-intro { padding-block: 43px 24px; }
  .listing-intro h1, .search-page h1, .favorites-page h1, .person-banner h1, .empty-state h1 { font-size: clamp(40px, 10vw, 56px); }
  .catalogue { padding-bottom: 60px; }
  .filter-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 13px; }
  .filter-panel label { min-width: 0; font-size: 11px; }
  .filter-panel label:nth-child(5), .filter-panel button, .clear-filters { grid-column: span 2; }
  .clear-filters { justify-content: center; }
  .pagination { flex-wrap: wrap; gap: 10px; font-size: 13px; }
  .pagination .button { min-height: 42px; padding-inline: 12px; font-size: 13px; }
  .search-page, .favorites-page { padding-block: 48px 62px; }
  .search-main { min-height: 58px; margin: 24px 0 38px; padding-left: 13px; }
  .search-main input { min-height: 49px; font-size: 15px; }
  .search-main .button { min-height: 42px; padding: 8px 12px; font-size: 13px; }
  .detail-banner__inner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; padding-block: 54px 33px; }
  .detail-poster { width: min(42vw, 176px); max-height: none; aspect-ratio: 2 / 3; border-radius: 16px; }
  .detail-copy { padding-bottom: 0; }
  .detail-copy h1 { font-size: clamp(31px, 8vw, 46px); }
  .detail-copy .eyebrow { font-size: 10px; }
  .detail-genres { font-size: 13px; }
  .detail-facts { gap: 6px; margin: 10px 0; }
  .detail-facts > span { min-height: 31px; padding: 4px 8px; font-size: 11px; }
  .detail-overview { grid-column: 1 / -1; margin: 0; font-size: 15px; }
  .detail-actions { grid-column: 1 / -1; gap: 8px; margin-top: 13px; }
  .detail-actions .button { min-height: 44px; padding: 9px 13px; font-size: 13px; }
  .content-section { padding-block: 38px 57px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading--spaced { margin-top: 40px; }
  .cast-row { grid-auto-columns: 130px; }
  .cast-card img, .cast-card__placeholder { height: 160px; }
  .episode-card { grid-template-columns: 1fr; gap: 10px; }
  .episode-card > img, .episode-card__placeholder { max-height: 210px; }
  .season-picker { align-items: stretch; }
  .season-picker label { flex: 1 1 100%; }
  .season-picker select { width: 100%; }
  .release-list li { flex-direction: column; gap: 4px; }
  .editorial-callout { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .editorial-callout h2 { font-size: 28px; }
  .recommendation-note { margin-top: 38px; }
  .person-banner { grid-template-columns: 110px 1fr; gap: 18px; padding-block: 45px 24px; }
  .person-banner img { max-height: 180px; border-radius: 15px; }
  .person-banner > div:last-child > p:last-child { grid-column: 1 / -1; font-size: 14px; }
  .not-found { min-height: 60vh; }
}
@media (max-width: 380px) {
  .page-shell { width: calc(100% - 28px); }
  .site-header { padding-inline: 12px; }
  .brand { flex-basis: 157px; }
  .brand img { height: 47px; }
  .icon-button { flex-basis: 42px; width: 42px; height: 42px; }
  .home-hero h1 { font-size: 43px; }
  .rail-track { grid-auto-columns: 47vw; }
  .detail-copy h1 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
