@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #101112;
  --bg-deep: #0b0c0d;
  --surface: #191b1d;
  --surface-raised: #232527;
  --text: #f7f5ef;
  --muted: #a3a5a5;
  --subtle: #6d7171;
  --accent: #ff5b36;
  --accent-bright: #ff7656;
  --lime: #d8ee9b;
  --line: rgba(255,255,255,.1);
  --gutter: clamp(22px, 4.45vw, 80px);
  --max: 1680px;
  --radius: 8px;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 5px; }
button:disabled { cursor: default; opacity: .4; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
button svg { pointer-events: none; }
::selection { background: var(--accent); color: #fff; }

.app-header { position: fixed; z-index: 40; inset: 0 0 auto; height: 87px; background: linear-gradient(180deg, rgba(9,10,11,.93), rgba(9,10,11,.48) 65%, transparent); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.app-header.scrolled { background: rgba(14,15,16,.94); border-color: var(--line); backdrop-filter: blur(22px); }
.header-inner { max-width: var(--max); margin: auto; padding: 0 var(--gutter); height: 100%; display: flex; align-items: center; gap: 58px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 31px; height: 32px; display: grid; place-items: center; color: var(--accent); }
.brand-mark svg { width: 31px; height: 32px; }
.brand-word { font-weight: 900; font-size: 27px; letter-spacing: -1.3px; line-height: 1; }
.brand-word span { color: var(--accent); }
.nav-links { display: flex; height: 100%; align-items: center; gap: 30px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 8px; height: 100%; color: #bcbdbe; font-size: 12px; font-weight: 600; letter-spacing: .1px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after { content: ""; position: absolute; bottom: 20px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.search-toggle, .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; background: none; padding: 5px; border: 0; color: #dfe0dd; transition: color .2s, transform .2s; }
.search-toggle:hover, .icon-button:hover { color: var(--accent); }
.search-toggle svg, .icon-button svg { width: 19px; height: 19px; }
.user-badge { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #484b43; background: #31362a; color: #e3ebca; font-weight: 600; font-size: 11px; }
.live-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px #d8ee9b55; }

.hero { position: relative; min-height: 660px; height: min(780px, 78vh); overflow: hidden; background: #1a1b1d; }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .91; animation: hero-reveal 1s ease both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,13,.91) 0%, rgba(10,12,14,.64) 31%, rgba(10,12,14,.12) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(16,17,18,.4) 17%, transparent 45%), linear-gradient(180deg, rgba(0,0,0,.1), transparent 25%); }
.hero-content { position: relative; z-index: 2; max-width: var(--max); height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 126px var(--gutter) 96px; animation: content-reveal .7s ease both; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; font-size: 10px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; color: var(--text); }
.eyebrow::before { content: ""; display: inline-block; width: 19px; height: 2px; background: var(--accent); }
.eyebrow .live-dot { margin-right: 2px; }
.hero h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(48px, 5.7vw, 88px); line-height: .98; letter-spacing: -3.6px; font-weight: 800; text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 0 0 19px; color: #c8cbca; font-size: 11px; font-weight: 500; }
.hero-meta > span + span::before { content: "·"; color: #757d7b; margin-right: 11px; }
.hero-meta .rating-badge::before { display: none; }
.hero-meta .rating-badge { background: none; border: 0; color: var(--lime); padding: 0; font-size: 12px; }
.hero-meta .rating-badge svg { width: 12px; height: 12px; }
.hero-overview { max-width: 475px; margin: 0 0 28px; color: #bdbfbe; font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .15px; line-height: 1.25; transition: background .2s, transform .2s, border-color .2s, box-shadow .2s; }
.button svg { width: 15px; height: 15px; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: white; box-shadow: 0 5px 24px #ff5b3615; }
.button.primary:hover { background: #ff6c4b; box-shadow: 0 5px 24px #ff5b362c; }
.button.secondary { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.13); backdrop-filter: blur(14px); }
.button.secondary:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.24); }
.button.ghost { padding-left: 15px; padding-right: 15px; color: #c3c6c5; background: transparent; border-color: var(--line); }
.button.ghost:hover { background: #ffffff0b; color: var(--text); }
.hero-bottom { z-index: 3; position: absolute; bottom: 49px; left: 0; right: 0; max-width: var(--max); padding: 0 var(--gutter); margin: auto; display: flex; justify-content: space-between; align-items: center; }
.hero-counter { display: flex; align-items: center; gap: 10px; color: #737776; font-size: 9px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.hero-counter strong { color: #e6e7df; font-weight: 600; }
.hero-counter::after { content: ""; height: 1px; width: 44px; margin-left: 4px; background: #6a6e6a; }
.hero-dots { display: flex; gap: 7px; align-items: center; }
.hero-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 8px; background: #ffffff50; transition: width .3s, background .3s; }
.hero-dot:hover { background: white; }
.hero-dot.active { width: 23px; background: var(--accent); }

.page-content { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 75px; min-height: 35vh; }
.page-content > .section:first-child { padding-top: 8px; }
.provider-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 0 29px; margin: 0 0 22px; border-bottom: 1px solid #ffffff0a; overflow-x: auto; scrollbar-width: none; }
.provider-strip::-webkit-scrollbar { display: none; }
.provider-chip { position: relative; min-width: 126px; min-height: 57px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 1px solid #ffffff0e; border-radius: 5px; background: #191c1c; color: #b9bfba; font-size: 15px; font-weight: 750; letter-spacing: -.5px; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.provider-chip:hover, .provider-chip.active { color: white; background: #222726; border-color: #ffffff28; }
.provider-chip.active::after { position: absolute; content: ""; bottom: -1px; left: 25%; right: 25%; height: 2px; background: var(--accent); }
.provider-chip img { max-width: 86px; max-height: 25px; object-fit: contain; }
.provider-chip svg { max-width: 86px; max-height: 25px; }
.provider-chip[data-provider="8"] { color: #ed3038; letter-spacing: -.8px; }
.provider-chip[data-provider="9"] { color: #dce4e6; }
.provider-chip[data-provider="337"] { color: #cbd7eb; font-style: italic; }
.provider-chip[data-provider="1899"] { color: #d3c8ec; }
.provider-chip[data-provider="350"] { color: #d7ddd8; }
.quick-filters { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 0 26px; padding-bottom: 4px; }
.quick-filters::-webkit-scrollbar { display: none; }
.quick-filters button, .quick-filters a { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 9px 15px; color: #8d9891; background: transparent; border: 1px solid #ffffff12; border-radius: 30px; font-size: 9px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.quick-filters button:hover, .quick-filters a:hover { background: #ffffff06; border-color: #ffffff29; color: #d3ddd2; }
.quick-filters .active { color: #ffd4ca; border-color: #ff5b3650; background: #ff5b3611; }
.section { margin: 0 0 43px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 21px; }
.section-kicker { margin: 0 0 8px; color: var(--accent); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.9px; }
.section-title { margin: 0; font-size: 23px; letter-spacing: -.75px; font-weight: 650; line-height: 1.1; }
.section-title > span { color: var(--muted); font-weight: 400; }
.section-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 2px; color: #a0a3a2; font-size: 10px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.section-link:hover { color: var(--accent); }
.section-link svg { width: 13px; height: 13px; }
.row-wrap { position: relative; }
.poster-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 100px) / 6); gap: 20px; overflow-x: auto; overflow-y: hidden; padding: 0 0 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.poster-row::-webkit-scrollbar { display: none; }
.poster-card { position: relative; min-width: 0; scroll-snap-align: start; animation: content-reveal .45s ease both; }
.poster-image { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 5px; isolation: isolate; aspect-ratio: 2 / 3; cursor: pointer; background: var(--surface); }
.poster-image::after { content: ""; position: absolute; inset: 0; border: 1px solid #ffffff0a; border-radius: inherit; pointer-events: none; background: linear-gradient(0deg, #0007, transparent 33%); transition: background .25s; }
.poster-art { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.3,1), filter .4s; }
.poster-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; padding: 24px; color: #b0b2ac; text-align: center; line-height: 1.5; font-weight: 600; font-size: 18px; background: linear-gradient(145deg, #2a3032, #181c1e); }
.poster-fallback svg { width: 30px; height: 30px; color: #626b66; }
.poster-badges { position: absolute; z-index: 2; top: 10px; left: 9px; right: 9px; display: flex; align-items: center; justify-content: space-between; gap: 4px; pointer-events: none; }
.rating-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px; background: #0e1515c9; border: 1px solid #ffffff0c; border-radius: 3px; color: #f0f1de; font-size: 9px; font-weight: 650; line-height: 1; backdrop-filter: blur(8px); }
.rating-badge svg { width: 9px; height: 9px; color: var(--lime); fill: currentColor; }
.type-badge { padding: 4px 5px; background: #11191ad1; border: 1px solid #ffffff24; border-radius: 3px; color: #e9eae7; font-size: 8px; font-weight: 600; letter-spacing: .5px; line-height: 1; text-transform: uppercase; }
.card-save { position: absolute; z-index: 3; bottom: 9px; right: 9px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #111a1ad6; border: 1px solid #ffffff33; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s, background .2s; }
.card-save svg { width: 13px; height: 13px; }
.card-save:hover, .card-save.saved { background: var(--accent); border-color: var(--accent); color: white; }
.card-save.saved { opacity: 1; transform: none; }
.poster-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 45px; height: 45px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: #ff5b36e8; color: white; box-shadow: 0 3px 24px #0005; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.poster-play svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.poster-card:hover .poster-art { transform: scale(1.045); filter: brightness(.73); }
.poster-card:hover .poster-play, .poster-card:focus-within .poster-play { opacity: 1; transform: scale(1); }
.poster-card:hover .card-save, .poster-card:focus-within .card-save { opacity: 1; transform: none; }
.poster-info { padding: 12px 0 0; }
.poster-title { display: block; margin: 0 0 5px; color: #e6e7e2; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-title:hover { color: var(--accent-bright); }
.poster-subtitle { display: flex; align-items: center; gap: 6px; margin: 0; color: #727876; font-size: 9px; line-height: 1.4; }
.poster-subtitle > span + span::before { content: "·"; margin-right: 6px; color: #5b625d; }
.card-actions { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.card-actions .button { width: 100%; padding: 8px; min-height: 31px; font-size: 10px; }
.scroll-arrow { position: absolute; z-index: 4; right: -17px; top: calc(50% - 35px); width: 34px; height: 34px; background: #242729; border: 1px solid #ffffff20; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 15px #0004; transition: background .2s, transform .2s; }
.scroll-arrow:hover { background: var(--accent); transform: scale(1.05); }
.scroll-arrow svg { width: 15px; height: 15px; }

.catalog-header { padding: 141px 0 32px; border-bottom: 1px solid var(--line); margin: 0 0 32px; }
.catalog-header .eyebrow { color: #9b9f99; margin-bottom: 15px; font-size: 9px; }
.catalog-title { margin: 0 0 12px; font-size: clamp(37px,4vw,60px); letter-spacing: -2px; line-height: 1.06; font-weight: 700; }
.catalog-description { margin: 0; max-width: 600px; color: #939996; font-size: 12px; line-height: 1.8; }
.filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 17px; margin: 25px 0 0; }
.filter-field { display: flex; flex-direction: column; gap: 8px; min-width: 145px; }
.filter-field label { color: #777e79; font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.filter-field select { min-width: 145px; padding: 11px 33px 11px 12px; border: 1px solid #ffffff18; border-radius: 4px; color: #d3d7d1; background: #191d1d; font-size: 10px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238a918c' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.filter-field select:hover { border-color: #ffffff32; }
.catalog-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 32px 20px; }
.load-more { display: flex; align-items: center; justify-content: center; margin: 42px auto 0; min-width: 168px; }
.empty-state, .error-state { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 45px 22px; gap: 12px; border: 1px dashed #ffffff15; border-radius: 8px; color: var(--muted); }
.empty-state > svg, .error-state > svg { width: 32px; height: 32px; margin-bottom: 7px; color: #5d6961; }
.empty-state h2, .empty-state h3, .error-state h2, .error-state h3 { margin: 0; color: #e4e7df; font-size: 20px; letter-spacing: -.5px; font-weight: 600; }
.empty-state p, .error-state p { margin: 0; max-width: 440px; line-height: 1.8; font-size: 12px; }
.empty-state .button, .error-state .button { margin-top: 8px; }
.search-bar { margin-top: 27px; }
.search-input-wrap { display: flex; align-items: center; gap: 13px; position: relative; width: 100%; max-width: 740px; background: #1b1e1e; border: 1px solid #ffffff21; border-radius: 6px; padding: 0 17px; transition: border-color .2s, box-shadow .2s; }
.search-input-wrap:focus-within { border-color: #ff5b3680; box-shadow: 0 0 0 3px #ff5b360a; }
.search-input-wrap > svg { width: 18px; height: 18px; color: #8b938d; }
.search-input { display: block; width: 100%; min-width: 0; background: transparent; border: 0; outline: none; box-shadow: none; color: var(--text); font-size: 13px; padding: 17px 0; }
.search-input:focus-visible { outline: none; }
.search-input::placeholder { color: #727a74; }
.search-clear { border: 0; background: none; color: #8d948f; padding: 4px; }
.search-clear svg { width: 16px; height: 16px; }
.search-count { margin: 22px 0 0; color: #747d76; font-size: 10px; }

.site-footer { border-top: 1px solid #ffffff0a; background: #0e1011; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 37px var(--gutter) 25px; }
.footer-brand .brand { transform-origin: left top; transform: scale(.8); }
.footer-brand > p { margin: 9px 0 0; max-width: 270px; color: #666e68; font-size: 10px; line-height: 1.8; }
.footer-links { display: flex; gap: 25px; align-items: center; margin-top: 9px; color: #8d938e; font-size: 10px; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-links button { border: 0; padding: 0; background: none; color: inherit; font-size: inherit; }
.footer-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: var(--max); padding: 18px var(--gutter) 25px; margin: 0 auto; color: #4e5750; font-size: 8px; line-height: 1.8; }
.footer-note p { margin: 0; max-width: 800px; }
.tmdb-logo { width: 68px; flex-shrink: 0; opacity: .6; }
.tmdb-attribution { display: flex; align-items: center; gap: 12px; }

.modal { position: fixed; padding: 0; border: 1px solid #ffffff14; border-radius: 12px; width: min(960px, calc(100vw - 44px)); max-width: none; max-height: 90dvh; margin: auto; color: var(--text); background: #151819; box-shadow: 0 35px 100px #0008; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #384039 transparent; }
.modal::backdrop { background: #030606ce; backdrop-filter: blur(8px); }
.modal[open] { animation: modal-reveal .25s ease both; }
.modal-shell { position: relative; }
.modal-close { position: absolute; z-index: 8; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; padding: 8px; border: 1px solid #ffffff24; border-radius: 50%; background: #101616b8; color: #dfe5db; backdrop-filter: blur(12px); transition: background .2s; }
.modal-close:hover { background: #323d36; }
.modal-close svg { width: 17px; height: 17px; }
.details-backdrop { position: relative; height: 330px; background: #222b2b; background-size: cover; background-position: center 28%; }
.details-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.details-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#151819 0%,#15181900 75%),linear-gradient(90deg,#15181940,transparent); }
.details-content { position: relative; padding: 0 39px 37px; margin-top: -58px; z-index: 2; }
.details-title { margin: 0 0 15px; max-width: 750px; font-size: clamp(29px,4vw,43px); font-weight: 700; letter-spacing: -1.4px; line-height: 1.1; text-wrap: balance; }
.details-meta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-bottom: 21px; color: #8e9a91; font-size: 10px; }
.details-meta > span + span::before { content: "·"; margin-right: 11px; color: #526056; }
.details-meta .rating-badge { background: transparent; border: 0; padding: 0; color: var(--lime); }
.details-meta .rating-badge::before { display: none; }
.details-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 25px; }
.details-overview { max-width: 790px; margin: 0 0 24px; color: #aab1ab; font-size: 12px; line-height: 1.9; }
.details-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 20px 0 23px; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; color: #b5beb5; line-height: 1.6; }
.details-facts > div { min-width: 0; }
.fact-label { display: block; margin-bottom: 5px; color: #5f6e63; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; }
.dialog-section-title { margin: 26px 0 15px; font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.cast-row { display: grid; grid-auto-flow: column; grid-auto-columns: 90px; gap: 16px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #364139 transparent; }
.cast-card { min-width: 0; }
.cast-image { width: 67px; height: 67px; border-radius: 50%; object-fit: cover; background: #29322d; margin-bottom: 11px; filter: saturate(.7); }
.cast-name { margin: 0 0 3px; color: #c5cfc3; font-size: 9px; line-height: 1.5; }
.cast-character { margin: 0; color: #657567; font-size: 8px; line-height: 1.5; }
.season-bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-top: 27px; border-top: 1px solid var(--line); padding-top: 21px; }
.season-bar .dialog-section-title { margin: 0; }
.season-bar select { border: 1px solid #ffffff1c; border-radius: 4px; background: #222a25; color: #c9d1c5; padding: 9px 12px; font-size: 10px; }
.episode-list { display: flex; flex-direction: column; margin-top: 15px; }
.episode-card { position: relative; display: flex; align-items: center; gap: 19px; padding: 14px 0; border: 0; border-bottom: 1px solid #ffffff0a; border-radius: 4px; background: transparent; text-align: left; transition: background .2s; width: 100%; }
.episode-card:hover { background: #ffffff05; }
.episode-card.active { background: #ff5b360b; border-color: #ff5b362e; }
.episode-card.active .episode-title { color: var(--accent-bright); }
.episode-still { position: relative; width: 145px; height: 81px; flex-shrink: 0; object-fit: cover; background: #29332c; border-radius: 4px; }
.episode-info { min-width: 0; flex: 1; }
.episode-number { color: #727e73; font-size: 10px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.episode-title { margin: 0 0 5px; color: #cbd3c7; font-size: 11px; font-weight: 600; line-height: 1.4; }
.episode-overview { display: -webkit-box; margin: 0; color: #7d8b7e; font-size: 10px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.episode-meta { display: flex; gap: 8px; margin-top: 5px; color: #5d6f61; font-size: 8px; }

.modal.watch-modal { width: min(1250px, calc(100vw - 44px)); background: #111615; }
.watch-shell { position: relative; }
.watch-topbar { display: flex; align-items: center; gap: 13px; padding: 21px 65px 21px 25px; min-height: 72px; border-bottom: 1px solid var(--line); }
.watch-topbar .eyebrow { margin: 0 0 6px; color: var(--accent); font-size: 7px; letter-spacing: 1.4px; gap: 6px; }
.watch-topbar .eyebrow::before { display: none; }
.watch-title { margin: 0; color: #e2e9df; font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: -.3px; }
.watch-topbar .icon-button { margin-right: 3px; color: #76877b; }
.player-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #050907; }
.player-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px; background: radial-gradient(ellipse at center,#16211b,#060c08 75%); }
.player-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 19px; border: 1px solid #ffffff1a; border-radius: 50%; color: #9aaa9b; background: #ffffff04; }
.player-icon svg { width: 24px; height: 24px; }
.player-heading { margin: 0 0 10px; color: #d3dfcf; font-size: 21px; font-weight: 600; letter-spacing: -.6px; }
.player-message { margin: 0; color: #788c7d; font-size: 11px; line-height: 1.8; max-width: 420px; }
.player-placeholder .button { margin-top: 21px; }
.player-frame { display: block; width: 100%; height: 100%; border: 0; }
.player-controls { padding: 22px 25px; border-top: 1px solid var(--line); }
.server-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.server-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid #ffffff14; border-radius: 4px; background: #ffffff03; color: #91a193; font-size: 10px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.server-button:hover { background: #ffffff09; border-color: #ffffff30; color: #d1ddcd; }
.server-button.active { color: #ff9b84; background: #ff5b3611; border-color: #ff5b3655; }
.server-button svg { width: 12px; height: 12px; }
.provider-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #ffffff0a; color: #5f7465; font-size: 9px; line-height: 1.6; }
.provider-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; color: #99aa9a; }
.status-label { display: inline-flex; align-items: center; gap: 6px; color: #97ad88; font-size: 9px; }
.status-label::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-label.unavailable { color: #7e897e; }
.watch-info { padding: 24px 25px; border-top: 1px solid var(--line); }
.watch-info p { margin: 0; max-width: 850px; color: #87998a; font-size: 11px; line-height: 1.8; }
.watch-episodes { padding: 0 25px 25px; }
.watch-episodes .season-bar { margin-top: 0; }

.toast-region { position: fixed; right: 25px; bottom: 25px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; max-width: min(360px,calc(100vw - 44px)); padding: 14px 18px; border: 1px solid #ffffff1b; border-radius: 7px; color: #e6ecdf; background: #29322bef; backdrop-filter: blur(14px); box-shadow: 0 10px 35px #0004; font-size: 11px; line-height: 1.6; animation: toast-reveal .25s ease both; }
.toast svg { width: 16px; height: 16px; color: var(--lime); }
.skeleton { position: relative; overflow: hidden; background: #1e2520; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, #ffffff05, transparent); animation: shimmer 1.8s infinite; }
.skeleton-hero { min-height: 660px; height: min(780px,78vh); background: linear-gradient(110deg,#18201d,#1a2422 65%,#141c18); }
.skeleton-card { width: 100%; aspect-ratio: 2 / 3; border-radius: 5px; }
.skeleton-title { height: 11px; border-radius: 3px; margin-top: 14px; max-width: 80%; }
.skeleton-subtitle { height: 8px; border-radius: 3px; margin-top: 9px; max-width: 45%; }
.loading-line { position: fixed; z-index: 1000; top: 0; left: 0; height: 2px; width: 40%; background: var(--accent); transform-origin: left; animation: loading-line 1s ease-in-out infinite; }
.loading-spinner { width: 24px; height: 24px; border: 2px solid #ffffff1a; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.history-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: #ffffff25; }
.history-progress > span { display: block; height: 100%; background: var(--accent); }
.about-copy { max-width: 760px; color: #93a295; font-size: 13px; line-height: 1.9; }
.about-copy h2 { color: #e0e8da; font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.7px; margin-top: 35px; }
.about-copy a { color: var(--accent-bright); }
.about-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 35px 0; }
.about-card { padding: 25px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff03; }
.about-card svg { width: 23px; height: 23px; margin-bottom: 18px; color: var(--accent); }
.about-card h3 { margin: 0 0 10px; color: #dce5d8; font-size: 15px; font-weight: 600; }
.about-card p { margin: 0; font-size: 11px; color: #849688; line-height: 1.8; }
.mobile-nav { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.hidden, [hidden] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes hero-reveal { from { opacity: 0; transform: scale(1.025); } to { opacity: .91; transform: scale(1); } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-reveal { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes toast-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes loading-line { 0% { transform: translateX(-100%) scaleX(.3); } 100% { transform: translateX(350%) scaleX(1); } }

@media (min-width: 1800px) {
  :root { --gutter: 76px; }
  .hero-content { padding-bottom: 105px; }
  .hero h1 { font-size: 88px; }
  .hero-overview { font-size: 14px; }
}
@media (max-width: 1200px) {
  .header-inner { gap: 38px; }
  .nav-links { gap: 25px; }
  .poster-row { grid-auto-columns: calc((100% - 72px) / 5); gap: 18px; }
  .catalog-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 29px 18px; }
  .hero { min-height: 610px; }
  .hero h1 { max-width: 610px; font-size: 68px; }
  .hero-overview { max-width: 430px; }
}
@media (max-width: 960px) {
  :root { --gutter: 35px; }
  .app-header { height: 78px; }
  .header-inner { gap: 32px; }
  .nav-links { gap: 21px; }
  .nav-link { font-size: 11px; }
  .header-actions { gap: 14px; }
  .brand-word { font-size: 25px; }
  .brand-mark, .brand-mark svg { width: 27px; height: 27px; }
  .poster-row { grid-auto-columns: calc((100% - 51px) / 4); gap: 17px; }
  .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px 17px; }
  .hero, .skeleton-hero { min-height: 580px; height: 71vh; max-height: 710px; }
  .hero-content { padding-top: 125px; padding-bottom: 91px; }
  .hero h1 { max-width: 560px; font-size: 61px; }
  .hero-shade { background: linear-gradient(90deg,rgba(9,11,13,.87),rgba(9,11,13,.4) 58%,rgba(9,11,13,.15)),linear-gradient(0deg,var(--bg),transparent 48%); }
  .hero-overview { max-width: 405px; font-size: 12px; }
  .hero-bottom { bottom: 36px; }
  .section-title { font-size: 22px; }
  .section { margin-bottom: 36px; }
  .catalog-header { padding-top: 120px; }
  .footer-top { gap: 30px; }
  .footer-links { gap: 18px; }
}
@media (max-width: 720px) {
  :root { --gutter: 23px; }
  .app-header { height: 71px; }
  .header-inner { gap: 20px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 24px; letter-spacing: -1px; }
  .brand-mark, .brand-mark svg { width: 25px; height: 27px; }
  .nav-links { display: none; }
  .header-actions { gap: 15px; }
  .header-actions .user-badge { display: none; }
  .hero, .skeleton-hero { min-height: 650px; height: min(83svh,740px); max-height: none; }
  .hero-backdrop { object-position: 61% 25%; }
  .hero-shade { background: linear-gradient(0deg,var(--bg) 0%,rgba(16,17,18,.92) 9%,rgba(16,17,18,.5) 45%,rgba(16,17,18,.06) 77%),linear-gradient(90deg,#10111255,transparent),linear-gradient(180deg,#10111244,transparent 30%); }
  .hero-content { justify-content: flex-end; padding-top: 140px; padding-bottom: 95px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; gap: 7px; margin-bottom: 18px; }
  .eyebrow::before { width: 15px; }
  .hero h1 { max-width: 550px; font-size: clamp(43px,8.7vw,63px); letter-spacing: -2px; margin-bottom: 19px; line-height: 1; }
  .hero-meta { font-size: 10px; gap: 8px; margin-bottom: 16px; }
  .hero-meta > span + span::before { margin-right: 8px; }
  .hero-meta .rating-badge { font-size: 10px; }
  .hero-overview { font-size: 12px; line-height: 1.75; max-width: 450px; margin-bottom: 23px; -webkit-line-clamp: 2; }
  .button { min-height: 42px; font-size: 11px; padding-left: 19px; padding-right: 19px; }
  .hero-bottom { bottom: 40px; }
  .hero-counter { font-size: 8px; }
  .hero-counter::after { width: 35px; }
  .hero-dot { width: 5px; height: 5px; }
  .hero-dot.active { width: 20px; }
  .page-content { padding-bottom: 45px; }
  .section { margin-bottom: 32px; }
  .provider-strip { justify-content: flex-start; margin: 0 calc(-1 * var(--gutter)) 23px 0; padding: 10px var(--gutter) 23px 0; gap: 10px; }
  .provider-chip { min-width: 121px; min-height: 51px; padding: 11px 17px; font-size: 14px; }
  .quick-filters { gap: 7px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .quick-filters button, .quick-filters a { padding: 8px 13px; font-size: 8px; }
  .section-heading { gap: 10px; margin-bottom: 17px; }
  .section-kicker { font-size: 7px; letter-spacing: 1.6px; margin-bottom: 7px; }
  .section-title { font-size: 21px; letter-spacing: -.65px; }
  .section-link { font-size: 9px; gap: 4px; }
  .section-link svg { width: 11px; height: 11px; }
  .poster-row { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); grid-auto-columns: calc((100% - 35px) / 3.5); gap: 13px; }
  .poster-image { border-radius: 4px; }
  .poster-badges { top: 7px; left: 6px; right: 6px; }
  .rating-badge { font-size: 8px; padding: 4px 5px; gap: 3px; }
  .rating-badge svg { width: 8px; height: 8px; }
  .type-badge { font-size: 7px; padding: 3px 4px; }
  .poster-info { padding-top: 10px; }
  .poster-title { font-size: 10px; }
  .poster-subtitle { font-size: 8px; }
  .card-save { opacity: 1; transform: none; width: 25px; height: 25px; bottom: 7px; right: 7px; }
  .card-save svg { width: 12px; height: 12px; }
  .poster-play { width: 37px; height: 37px; margin: -18px 0 0 -18px; }
  .scroll-arrow { display: none; }
  .catalog-header { padding: 111px 0 25px; margin-bottom: 25px; }
  .catalog-title { font-size: 42px; letter-spacing: -1.8px; }
  .catalog-description { font-size: 11px; line-height: 1.7; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 14px; }
  .filters { gap: 13px; margin-top: 25px; }
  .filter-field { min-width: 0; flex: 1 1 140px; gap: 7px; }
  .filter-field select { min-width: 0; width: 100%; font-size: 10px; }
  .filter-field label { font-size: 7px; }
  .load-more { margin-top: 32px; }
  .search-input { font-size: 12px; padding: 15px 0; }
  .search-input-wrap { padding: 0 13px; }
  .footer-top { flex-direction: column; gap: 21px; padding-top: 29px; padding-bottom: 22px; }
  .footer-links { margin-top: 0; flex-wrap: wrap; gap: 20px; }
  .footer-note { align-items: flex-start; flex-direction: column; gap: 17px; padding-bottom: 25px; }
  .footer-note p { max-width: 520px; }
  .modal { width: calc(100vw - 28px); max-height: 93dvh; border-radius: 9px; }
  .modal-close { width: 31px; height: 31px; top: 13px; right: 13px; }
  .details-backdrop { height: 270px; }
  .details-content { padding: 0 23px 28px; margin-top: -40px; }
  .details-title { font-size: 32px; letter-spacing: -1px; }
  .details-meta { font-size: 9px; gap: 8px; }
  .details-meta > span + span::before { margin-right: 8px; }
  .details-actions { margin-bottom: 22px; gap: 8px; }
  .details-actions .button { padding: 0 15px; font-size: 10px; }
  .details-overview { font-size: 11px; line-height: 1.8; }
  .details-facts { gap: 14px; font-size: 9px; }
  .fact-label { font-size: 7px; }
  .cast-row { grid-auto-columns: 79px; gap: 12px; }
  .cast-image { width: 59px; height: 59px; }
  .cast-name { font-size: 8px; }
  .cast-character { font-size: 7px; }
  .episode-card { gap: 12px; }
  .episode-still { width: 112px; height: 63px; }
  .episode-title { font-size: 10px; }
  .episode-overview { font-size: 9px; -webkit-line-clamp: 2; line-height: 1.6; }
  .episode-number { display: none; }
  .episode-meta { font-size: 7px; }
  .modal.watch-modal { width: calc(100vw - 20px); }
  .watch-topbar { padding: 18px 54px 18px 18px; min-height: 66px; }
  .watch-title { font-size: 13px; }
  .player-placeholder { padding: 20px; }
  .player-icon { width: 45px; height: 45px; margin-bottom: 13px; }
  .player-icon svg { width: 19px; height: 19px; }
  .player-heading { font-size: 17px; margin-bottom: 8px; }
  .player-message { font-size: 9px; max-width: 300px; line-height: 1.6; }
  .player-placeholder .button { margin-top: 14px; min-height: 34px; font-size: 9px; }
  .player-controls { padding: 18px; }
  .server-list { gap: 7px; }
  .server-button { padding: 9px 11px; font-size: 9px; }
  .provider-status { font-size: 8px; align-items: flex-start; }
  .watch-info { padding: 20px 18px; }
  .watch-info p { font-size: 10px; }
  .watch-episodes { padding: 0 18px 20px; }
  .toast-region { right: 16px; bottom: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-card { padding: 22px; }
  .about-copy { font-size: 12px; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 38; display: flex; align-items: center; justify-content: space-around; padding: 10px 15px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff0b; background: #111514f5; backdrop-filter: blur(18px); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 2px 14px; border: 0; background: none; color: #748277; font-size: 8px; }
  .mobile-nav .active { color: var(--accent); }
  .mobile-nav svg { width: 17px; height: 17px; }
  body:has(.mobile-nav:not(.hidden)) .site-footer { padding-bottom: 65px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .hero, .skeleton-hero { min-height: 600px; height: min(80svh,700px); }
  .hero h1 { font-size: 46px; max-width: 340px; }
  .hero-content { padding-bottom: 86px; }
  .hero-overview { font-size: 11px; max-width: 330px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 0 17px; min-height: 41px; font-size: 10px; }
  .hero-actions .button.ghost { width: 41px; padding: 0; font-size: 0; gap: 0; }
  .hero-actions .button.ghost svg { width: 17px; height: 17px; }
  .hero-bottom { bottom: 33px; }
  .poster-row { grid-auto-columns: calc((100% - 24px) / 2.45); gap: 12px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 14px; }
  .catalog-grid .poster-title { font-size: 11px; }
  .catalog-grid .poster-subtitle { font-size: 9px; }
  .section-title { font-size: 20px; }
  .section-link { font-size: 8px; }
  .section-link svg { width: 10px; height: 10px; }
  .catalog-title { font-size: 37px; }
  .details-content { padding-left: 20px; padding-right: 20px; }
  .details-backdrop { height: 220px; }
  .details-title { font-size: 28px; }
  .details-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .episode-still { width: 95px; height: 54px; }
  .episode-overview { -webkit-line-clamp: 1; }
  .player-icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .player-icon svg { width: 15px; height: 15px; }
  .player-heading { font-size: 15px; margin-bottom: 6px; }
  .player-message { font-size: 8px; max-width: 265px; }
  .player-placeholder .button { min-height: 29px; margin-top: 10px; padding: 0 12px; font-size: 8px; }
  .player-placeholder { padding: 12px; }
  .provider-status { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
