.btn,.primary,button{border:0;border-radius:11px;padding:12px 18px;background:#252938;color:white;font-weight:750;cursor:pointer}
.primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 12px 30px rgba(255,40,86,.2)}
.hero-actions{display:flex;gap:12px;margin-top:26px}
.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin:22px 0 54px}
.card{background:linear-gradient(180deg,#151821,#0e1016);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.25s;box-shadow:0 15px 40px rgba(0,0,0,.16)}
.card:hover{transform:translateY(-7px);border-color:rgba(255,40,86,.5);box-shadow:0 22px 55px rgba(0,0,0,.35)}
.poster{aspect-ratio:2/3;position:relative;background:#171923;overflow:hidden}
.poster:after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(0,0,0,.6));pointer-events:none}
.poster img{width:100%;height:100%;object-fit:cover;transition:.35s}
.card:hover .poster img{transform:scale(1.035)}
.rating{position:absolute;right:9px;top:9px;background:#090a10d9;padding:7px 9px;border-radius:9px}
.card-body{padding:14px}
.card-body h3{font-size:15px;line-height:1.4;margin:0 0 7px}
.card-body small{color:var(--muted)}
h1,h2,h3{letter-spacing:-.03em}
h2{margin-top:40px}
.ad-slot{min-height:90px;margin:24px 0;border:1px dashed #3a4052;border-radius:14px;display:grid;place-items:center;position:relative;overflow:hidden;background:rgba(255,255,255,.015)}
.ad-slot>span{position:absolute;top:5px;left:8px;font-size:9px;color:#707789}
.sponsor-link{background:var(--accent);padding:12px 20px;border-radius:9px;font-weight:800}
.trailer{margin:0 0 30px}
.trailer h2{margin-top:0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px}
.section-head span,.section-head a{color:var(--muted)}
.section-head a:hover{color:#fff}
.ratio{aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000;border:1px solid var(--line);box-shadow:var(--shadow)}
.ratio iframe{width:100%;height:100%;border:0}
.empty-player{aspect-ratio:16/9;background:#0c0e14;border:1px solid var(--line);display:grid;place-items:center;border-radius:18px;color:var(--muted)}
.season{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:18px}
.season summary{cursor:pointer;font-weight:800}
.episodes article{border-top:1px solid var(--line);padding:12px 0}
.episodes p{color:var(--muted)}
.quick-pills{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:5px 0 34px}
.quick-pills span{background:#171a24;border:1px solid #2d3342;border-radius:999px;padding:10px 18px;font-weight:700}
.cinema-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
.cinema-card{border-radius:14px}
.trend-ribbon{position:absolute;z-index:2;left:0;top:11px;background:rgba(11,12,16,.9);padding:6px 12px;font-size:10px;font-weight:900;letter-spacing:1px;border-radius:0 7px 7px 0}
.quality-badge{position:absolute;z-index:2;right:7px;top:8px;background:linear-gradient(135deg,var(--accent),var(--accent-2));padding:6px 8px;border-radius:6px;font-size:10px;font-weight:850}

/* Movie detail */
.movie-detail-page{overflow:hidden}
.movie-detail-hero{position:relative;min-height:610px;display:flex;align-items:flex-end;background:#090a0e}
.movie-detail-backdrop{position:absolute;inset:0;background-image:var(--movie-backdrop);background-size:cover;background-position:center 24%;filter:saturate(.85)}
.movie-detail-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,6,9,.98) 0%,rgba(5,6,9,.78) 42%,rgba(5,6,9,.3) 75%),linear-gradient(0deg,#07080c 0%,transparent 54%),radial-gradient(circle at 70% 30%,transparent,rgba(0,0,0,.3))}
.movie-detail-content{position:relative;z-index:2;display:grid;grid-template-columns:245px minmax(0,720px);gap:46px;align-items:end;padding-top:100px;padding-bottom:65px}
.movie-poster-wrap{position:relative}
.movie-detail-poster{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:19px;border:1px solid rgba(255,255,255,.16);box-shadow:0 35px 90px rgba(0,0,0,.6)}
.poster-rating{position:absolute;right:-13px;bottom:22px;padding:10px 14px;border-radius:12px;background:rgba(13,15,21,.92);border:1px solid rgba(255,255,255,.12);font-weight:850;box-shadow:0 14px 32px rgba(0,0,0,.35)}
.poster-rating span{color:#ffc94a}
.detail-eyebrow{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:15px}
.detail-eyebrow span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:1.2px}
.detail-eyebrow span:first-child{color:#fff;background:linear-gradient(135deg,rgba(255,40,86,.85),rgba(255,122,50,.75));border:0}
.movie-detail-copy h1{max-width:760px;margin:0 0 15px;font-size:clamp(42px,6vw,76px);line-height:.98;text-wrap:balance;text-shadow:0 10px 35px rgba(0,0,0,.4)}
.movie-meta{display:flex;gap:12px;flex-wrap:wrap;color:#d7dce5;font-size:13px;font-weight:700;margin-bottom:18px}
.movie-meta span:not(:last-child):after{content:"•";margin-left:12px;color:#687081}
.movie-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.movie-chips a{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:#e6e9ef;font-size:12px;font-weight:750;transition:.18s}
.movie-chips a:hover{background:#fff;color:#111}
.movie-overview{max-width:720px;margin:0;color:#c4cad5;font-size:15px;line-height:1.8}
.movie-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.watch-trailer-btn,.browse-btn{min-height:48px;padding:0 20px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:850}
.watch-trailer-btn{background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 15px 35px rgba(255,40,86,.24)}
.browse-btn{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.play-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--accent);font-size:10px;padding-left:2px}
.detail-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:30px;padding-top:42px;padding-bottom:68px}
.detail-main-column{min-width:0}
.detail-sidebar{display:flex;flex-direction:column;gap:20px}
.premium-panel{background:linear-gradient(145deg,rgba(24,27,37,.96),rgba(13,15,21,.96));border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 18px 55px rgba(0,0,0,.18)}
.premium-panel h2{margin:5px 0 12px;font-size:23px}
.premium-panel p{color:var(--muted);line-height:1.65}
.premium-panel small{color:#8f97a8;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;font-size:9px}
.sponsor-panel,.quality-actions{margin:0 0 25px}
.quality-actions div{display:flex;gap:9px;flex-wrap:wrap}
.quality-actions a{min-width:65px;text-align:center;background:#222633;border:1px solid #353c4d;border-radius:9px;padding:11px 15px;font-weight:800;transition:.18s}
.quality-actions a:hover{background:var(--accent);border-color:var(--accent)}
.sidebar-title{display:flex;align-items:center;gap:10px;margin-bottom:17px}
.sidebar-title span{width:4px;height:24px;border-radius:99px;background:linear-gradient(var(--accent),var(--accent-2))}
.sidebar-title h2{font-size:19px;margin:0}
.movie-facts dl{margin:0}
.movie-facts dl>div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}
.movie-facts dl>div:last-child{border-bottom:0;padding-bottom:0}
.movie-facts dt{color:var(--muted);font-size:12px}
.movie-facts dd{margin:0;text-align:right;color:#f1f3f7;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.related-list{display:flex;flex-direction:column;gap:13px}
.related-list>a{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;padding:8px;border-radius:12px;transition:.18s}
.related-list>a:hover{background:rgba(255,255,255,.055)}
.related-list img{width:58px;height:82px;object-fit:cover;border-radius:9px}
.related-list strong{display:block;font-size:13px;line-height:1.35;margin-bottom:7px}
.related-list small{display:block;color:var(--muted);font-size:10px;text-transform:none;letter-spacing:0}

/* Sponsored catalog player */
.player-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start}
.catalog-player{position:relative;width:100%;aspect-ratio:16/9;margin:0 0 26px;border-radius:22px;overflow:hidden;background:#090a0f;background-image:var(--player-image);background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 75px rgba(0,0,0,.42)}
.catalog-player:before{content:"";position:absolute;inset:0;background-image:var(--player-image);background-size:cover;background-position:center;transform:scale(1.01);transition:transform .65s ease,filter .65s ease}
.catalog-player:hover:before{transform:scale(1.055);filter:saturate(1.08)}
.catalog-player-link{position:absolute;inset:0;z-index:2;display:grid;place-items:center;text-align:center;color:#fff}
.catalog-player-link.is-disabled{cursor:not-allowed}
.catalog-player-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,5,8,.16),rgba(4,5,8,.6)),radial-gradient(circle at center,rgba(0,0,0,.05),rgba(0,0,0,.62));transition:background .3s ease}
.catalog-player:hover .catalog-player-shade{background:linear-gradient(180deg,rgba(4,5,8,.08),rgba(4,5,8,.5)),radial-gradient(circle at center,rgba(255,40,86,.05),rgba(0,0,0,.6))}
.catalog-player-content{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;padding:28px;text-shadow:0 5px 28px rgba(0,0,0,.8)}
.catalog-player-kicker{font-size:10px;font-weight:900;letter-spacing:2.4px;text-transform:uppercase;color:#e7eaf1;margin-bottom:8px}
.catalog-player-content>strong{max-width:720px;font-size:clamp(24px,4vw,46px);line-height:1.05;letter-spacing:-.035em}
.catalog-play-button{position:relative;width:92px;height:92px;margin:24px 0 15px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 18px 50px rgba(255,40,86,.48);transition:transform .25s ease,box-shadow .25s ease}
.catalog-play-button:before,.catalog-play-button:after{content:"";position:absolute;inset:-12px;border:2px solid rgba(255,255,255,.34);border-radius:50%;animation:catalogPulse 2s infinite ease-out}
.catalog-play-button:after{animation-delay:1s}
.catalog-play-button i{width:0;height:0;border-top:15px solid transparent;border-bottom:15px solid transparent;border-left:24px solid #fff;margin-left:6px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.25))}
.catalog-player:hover .catalog-play-button{transform:scale(1.09);box-shadow:0 22px 65px rgba(255,40,86,.62)}
.catalog-player-caption{font-size:12px;font-weight:800;letter-spacing:.5px;color:#f0f2f7}
@keyframes catalogPulse{0%{transform:scale(.8);opacity:.8}80%,100%{transform:scale(1.45);opacity:0}}
.related-sidebar{position:sticky;top:92px}
.related-sidebar .premium-panel{padding:20px}
.related-list-large{gap:9px}
.related-list-large>a{grid-template-columns:68px minmax(0,1fr);padding:9px;border:1px solid transparent}
.related-list-large>a:hover{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.055);transform:translateX(3px)}
.related-list-large img{width:68px;height:96px}
.related-list-large strong{font-size:14px}
.related-list-large small{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.related-list-large small b{color:#ffc94a;font-weight:800}
.related-list-large div>span{display:block;color:#7f8797;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-browse-all{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:13px 15px;border-radius:11px;background:rgba(255,255,255,.055);border:1px solid var(--line);font-size:12px;font-weight:850}
.sidebar-browse-all:hover{background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent}
.sidebar-browse-all span{font-size:18px}
.sidebar-empty{font-size:13px}
.seasons-section{margin-top:34px}

/* Reliable sponsored player + horizontal movie suggestions */
.catalog-player{position:relative;isolation:isolate;background:#080a0f}
.catalog-player-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .65s ease,filter .65s ease}
.catalog-player:hover .catalog-player-image{transform:scale(1.045);filter:saturate(1.08)}
.catalog-player-link{z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-decoration:none}
.catalog-player-shade{z-index:1}
.catalog-player-bottom{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:end;gap:20px;padding:25px 28px;background:linear-gradient(transparent,rgba(3,4,7,.94));pointer-events:none}
.catalog-player-bottom small{display:block;color:#b7bdc9;font-size:10px;font-weight:900;letter-spacing:1.7px;text-transform:uppercase;margin-bottom:5px}
.catalog-player-bottom strong{display:block;font-size:clamp(18px,2vw,27px);line-height:1.15}
.catalog-watch-pill{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);font-size:12px;font-weight:850;white-space:nowrap}
.compact-facts{margin:0}.compact-facts>div{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.compact-facts>div:last-child{border-bottom:0}.compact-facts dt{color:var(--muted);font-size:12px}.compact-facts dd{margin:0;text-align:right;font-size:12px;font-weight:800}
.suggestion-section{padding-top:10px;padding-bottom:60px}
.suggestion-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:19px}.suggestion-heading small{color:var(--accent);font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:900}.suggestion-heading h2{margin:5px 0 0;font-size:28px}
.slider-controls{display:flex;gap:8px}.slider-controls button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#171a22;color:#fff;font-size:25px;cursor:pointer}.slider-controls button:hover{background:var(--accent);border-color:var(--accent)}
.suggestion-slider{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,1fr);grid-template-rows:1fr;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:3px 2px 16px;scrollbar-width:none}.suggestion-slider::-webkit-scrollbar{display:none}
.suggestion-card{min-width:0;scroll-snap-align:start;color:#fff;text-decoration:none}.suggestion-poster{position:relative;aspect-ratio:2/3;border-radius:15px;overflow:hidden;background:#13151b;border:1px solid rgba(255,255,255,.08);margin-bottom:10px}.suggestion-poster img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.suggestion-card:hover img{transform:scale(1.055)}.suggestion-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(0,0,0,.78))}.suggestion-poster>b{position:absolute;z-index:2;right:9px;bottom:9px;padding:5px 8px;border-radius:8px;background:#101219d9;font-size:10px;color:#ffd15a}.suggestion-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%) scale(.75);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent-2));opacity:0;transition:.25s}.suggestion-card:hover .suggestion-play{opacity:1;transform:translate(-50%,-50%) scale(1)}.suggestion-card>strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-card>small{display:block;color:var(--muted);font-size:11px;margin-top:5px}

/* Sponsored download quality card */
.download-quality-card{position:relative;isolation:isolate;margin:-2px 0 28px;padding:24px;border:1px solid rgba(255,255,255,.11);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(22,25,35,.98),rgba(9,11,17,.98));box-shadow:0 22px 65px rgba(0,0,0,.3)}
.download-quality-card:before{content:"";position:absolute;z-index:-2;inset:-45%;background:conic-gradient(from 0deg,transparent 0 20%,rgba(255,42,91,.23) 30%,transparent 42% 62%,rgba(115,72,255,.2) 72%,transparent 84%);animation:downloadCardGlow 11s linear infinite}
.download-quality-card:after{content:"";position:absolute;z-index:-1;inset:1px;border-radius:21px;background:linear-gradient(145deg,rgba(22,25,35,.98),rgba(9,11,17,.98))}
.download-quality-copy{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.download-quality-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;font-size:29px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff2455,#ff7a2f);box-shadow:0 12px 35px rgba(255,45,83,.35)}
.download-quality-copy small{display:block;margin-bottom:4px;color:#ff4d76;font-size:10px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase}
.download-quality-copy h2{margin:0;font-size:clamp(19px,2.4vw,27px);line-height:1.15}
.download-quality-copy p{margin:6px 0 0;color:#9aa2b2;font-size:13px}
.download-quality-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.download-quality-button{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;min-height:76px;padding:14px 14px 13px;border:1px solid rgba(255,255,255,.13);border-radius:15px;overflow:hidden;color:#fff;text-decoration:none;background:linear-gradient(120deg,#ff2455,#7a42ff,#1677ff,#ff2455);background-size:300% 300%;box-shadow:0 11px 28px rgba(0,0,0,.2);animation:downloadButtonGradient 5.5s ease infinite;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.download-quality-button:before{content:"";position:absolute;inset:1px;border-radius:13px;background:linear-gradient(145deg,rgba(17,20,29,.92),rgba(8,10,16,.84));z-index:0}
.download-quality-button>*{position:relative;z-index:1}
.download-quality-button span{font-size:18px;font-weight:950;line-height:1}
.download-quality-button small{align-self:end;color:#aeb6c7;font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.download-quality-button b{grid-column:2;grid-row:1/3;align-self:center;font-size:18px;transition:transform .22s ease}
.download-quality-button:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.38);box-shadow:0 18px 40px rgba(104,67,255,.27)}
.download-quality-button:hover b{transform:translate(3px,-3px)}
.download-quality-notice{margin-top:14px;color:#737b8c;font-size:10px;text-align:center}
@keyframes downloadButtonGradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes downloadCardGlow{to{transform:rotate(360deg)}}

/* File-style sponsored download cards */
.download-library{margin:-2px 0 30px}
.download-library-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 16px}
.download-library-heading small{display:block;margin-bottom:5px;color:#ff315d;font-size:10px;font-weight:950;letter-spacing:1.6px;text-transform:uppercase}
.download-library-heading h2{margin:0;font-size:clamp(21px,2.5vw,29px);line-height:1.15}
.download-library-heading>span{padding:8px 11px;border:1px solid #2d3440;border-radius:999px;color:#9da5b4;background:#151921;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.7px}
.download-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.download-file-card{position:relative;padding:18px 15px 16px;border:1px solid #313238;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#1b1b1b,#171717);box-shadow:0 12px 28px rgba(0,0,0,.28);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.download-file-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.035) 45%,transparent 70%);transform:translateX(-120%);transition:transform .6s ease}
.download-file-card:hover{transform:translateY(-4px);border-color:#484b54;box-shadow:0 18px 42px rgba(0,0,0,.38)}
.download-file-card:hover:before{transform:translateX(120%)}
.download-file-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.download-file-topline h3{margin:0;color:#f1f1f1;font-size:15px;font-weight:900;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.download-new-badge{flex:0 0 auto;padding:6px 9px;border-radius:8px;background:#00ef9c;color:#001d13;font-size:10px;font-weight:950}
.download-file-quality{display:flex;align-items:center;gap:7px;margin-top:10px;line-height:1}
.download-file-quality strong{color:#00ef9c;font-size:19px;font-weight:1000}
.download-file-quality span{color:#f1d900;font-size:12px}
.download-file-quality b{color:#ffd900;font-size:12px;font-weight:900}
.download-file-quality em{margin-left:auto;padding:6px 8px;border-radius:7px;background:#4c5c7c;color:#f2f6ff;font-size:10px;font-style:normal;font-weight:850}
.download-file-card p{margin:13px 0 15px;color:#9ba2ad;font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.download-file-card p span{color:#ffb800}.download-file-card p i{color:#22ddd0;font-style:normal}.download-file-card p b{color:#ff19a4}.download-file-card p u{color:#14e8df;text-decoration:none}
.download-file-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.download-file-actions a{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:10px;font-size:13px;font-weight:900;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.file-download-btn{border:1px solid #455665;color:#f5f7fa;background:#17212a}
.file-download-btn:hover{transform:translateY(-2px);border-color:#6d8190;background:#1d2a34}
.file-watch-btn{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d7c800;color:#fff;background:linear-gradient(120deg,#363100,#6a5d00,#292500);background-size:220% 220%;animation:fileWatchGlow 3.4s ease infinite;box-shadow:inset 0 0 18px rgba(255,225,0,.16),0 0 20px rgba(238,216,0,.08)}
.file-watch-btn:before{content:"";position:absolute;z-index:-1;inset:1px;border-radius:8px;background:linear-gradient(145deg,rgba(38,36,12,.82),rgba(20,20,17,.9))}
.file-watch-btn:hover{transform:translateY(-2px);box-shadow:inset 0 0 22px rgba(255,225,0,.23),0 8px 24px rgba(238,216,0,.18)}
@keyframes fileWatchGlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}


/* Player information strip */
.player-stats-bar{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:-15px 0 25px;padding:10px 13px;border:1px solid rgba(255,255,255,.07);border-radius:0 0 12px 12px;background:linear-gradient(90deg,#050805,#090b0d);box-shadow:0 12px 30px rgba(0,0,0,.22);font-size:12px;font-weight:850;color:#f4f5f7}
.player-stat{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.player-stat svg{width:15px;height:15px;fill:currentColor;color:#fff}
.player-stat-views b{font-weight:950}
.player-stat-imdb{gap:0;overflow:hidden;border-radius:4px;background:#5428a7}
.player-stat-imdb b{padding:4px 6px;background:#f1c40f;color:#111;font-size:9px;font-weight:1000}
.player-stat-imdb em{padding:4px 7px;color:#fff;font-size:10px;font-style:normal;font-weight:950}

/* Premium three-column footer */
.catalog-footer{margin-top:45px;border:0;background:#17191d;color:#fff}
.catalog-footer-main{padding:72px 0 47px;background:linear-gradient(135deg,#1b1d22 0%,#24272d 55%,#17191d 100%)}
.catalog-footer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(180px,.8fr) minmax(180px,.75fr);gap:70px;align-items:start}
.catalog-footer-logo{display:inline-flex;align-items:center;gap:9px;margin-bottom:23px;color:#fff;font-size:23px;font-weight:950}
.catalog-footer-logo img{display:block;max-width:165px;max-height:58px;object-fit:contain}
.catalog-footer-description{max-width:500px;color:#f2f4f7;font-size:15px;font-weight:650;line-height:1.55}
.catalog-footer-description p{margin:0}
.catalog-footer-phone{display:inline-flex;align-items:center;gap:12px;margin-top:31px;padding:12px 24px;border-radius:999px;background:linear-gradient(135deg,#167bb5,#1f8bca);color:#fff;font-size:14px;font-weight:900;box-shadow:0 12px 25px rgba(31,139,202,.2)}
.catalog-footer-phone span{font-size:18px}
.catalog-footer-links-column h3{margin:6px 0 17px;color:#fff;font-size:16px;font-weight:950;letter-spacing:0}
.catalog-footer-links-column a{display:block;width:max-content;max-width:100%;margin:0 0 13px;color:#d9dde5;font-size:14px;line-height:1.35}
.catalog-footer-links-column a:hover{color:#fff;transform:translateX(3px)}
.catalog-footer-bottom{padding:14px 0;background:#030405;color:#fff;text-align:center;font-size:11px;font-weight:700;border-top:1px solid rgba(255,255,255,.08)}
.catalog-footer-bottom a,.catalog-footer-bottom b{display:inline-block;margin-left:5px;padding:5px 10px;border-radius:4px;background:#1c78b1;color:#fff;font-weight:900}


/* Home catalogue pagination */
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:36px 0 14px}
.catalog-pagination a,.catalog-pagination span{min-width:42px;height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;border:1px solid rgba(255,255,255,.1);background:#171a21;color:#f4f6fa;font-size:13px;font-weight:850;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.catalog-pagination a:hover{transform:translateY(-2px);border-color:rgba(255,64,94,.65);background:#20232c}
.catalog-pagination .active{border-color:transparent;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 8px 24px rgba(255,40,86,.25)}
.catalog-pagination .disabled{opacity:.42;cursor:not-allowed}
.catalog-pagination .dots{min-width:auto;padding:0 4px;border:0;background:transparent}
.empty-state{grid-column:1/-1;padding:55px 20px;border:1px dashed rgba(255,255,255,.12);border-radius:16px;text-align:center;color:var(--muted)}

/* Per-browser emoji reaction panel */
.content-reactions{margin:-13px 0 25px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(145deg,#12151b,#090b0f);box-shadow:0 16px 36px rgba(0,0,0,.24)}
.reaction-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}
.reaction-heading small{display:block;margin-bottom:3px;color:#ff315d;font-size:9px;font-weight:950;letter-spacing:1.45px;text-transform:uppercase}
.reaction-heading strong{font-size:15px;color:#f5f7fb}
.reaction-heading>span{padding:6px 9px;border:1px solid #29303b;border-radius:999px;background:#161b23;color:#8e98aa;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.7px}
.reaction-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.reaction-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:10px 8px;border:1px solid #2a3039;border-radius:12px;background:linear-gradient(180deg,#1a1e25,#11141a);color:#eef1f6;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.reaction-button:hover{transform:translateY(-2px);border-color:#566170;box-shadow:0 10px 22px rgba(0,0,0,.28)}
.reaction-button.is-selected{border-color:#ffca08;background:linear-gradient(145deg,rgba(255,202,8,.2),rgba(255,74,91,.14));box-shadow:0 0 0 1px rgba(255,202,8,.16),0 12px 26px rgba(0,0,0,.3)}
.reaction-emoji{font-size:24px;line-height:1;filter:drop-shadow(0 3px 5px rgba(0,0,0,.3));transition:transform .18s ease}
.reaction-button:hover .reaction-emoji,.reaction-button.is-selected .reaction-emoji{transform:scale(1.14)}
.reaction-meta{display:flex;min-width:0;flex-direction:column;align-items:flex-start;line-height:1.05}
.reaction-meta b{font-size:10px;white-space:nowrap}
.reaction-meta em{margin-top:4px;color:#aeb6c4;font-size:10px;font-style:normal;font-weight:850}
.reaction-button.is-selected .reaction-meta em{color:#ffe36b}

/* Streaming server reload buttons */
.server-switcher{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-15px 0 25px;padding:13px 14px;border:1px solid rgba(255,255,255,.08);border-radius:0 0 12px 12px;background:linear-gradient(135deg,#0b0e14,#11151d);box-shadow:0 14px 34px rgba(0,0,0,.24)}
.server-switcher-label{color:#9ba5b5;font-size:10px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase;white-space:nowrap}
.server-switcher-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:min(100%,590px)}
.server-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;padding:8px 34px 8px 12px;border:1px solid #313846;border-radius:10px;background:#171c25;color:#f7f8fb;font-size:12px;font-weight:900;text-align:center;box-shadow:inset 0 1px rgba(255,255,255,.04);transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}
.server-button:hover{transform:translateY(-2px);border-color:#ff315d;background:#202632;color:#fff}
.server-button-name{display:block;line-height:1.15}
.server-selected-badge{display:block;color:#fff;font-size:8px;font-weight:950;line-height:1;letter-spacing:.45px;text-transform:uppercase}
.server-button.is-active{transform:none;border-width:2px;border-color:#fff;background:linear-gradient(135deg,#ff1748,#c90035);color:#fff;box-shadow:0 0 0 3px rgba(255,23,72,.18),0 10px 25px rgba(255,23,72,.28),inset 0 1px rgba(255,255,255,.24)}
.server-button.is-active::after{content:'✓';position:absolute;top:50%;right:11px;display:flex;width:20px;height:20px;align-items:center;justify-content:center;transform:translateY(-50%);border-radius:50%;background:#fff;color:#d50039;font-size:12px;font-weight:1000;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.server-button.is-active:hover{transform:none;border-color:#fff;background:linear-gradient(135deg,#ff1748,#c90035)}
.server-premium:not(.is-active){border-color:#f1b800;background:linear-gradient(135deg,#2b2405,#171a20);color:#ffe45d}
.server-alternative:not(.is-active){border-color:#2d91ff;background:linear-gradient(135deg,#071c31,#171a20);color:#7bc1ff}
.server-free:not(.is-active){border-color:#28c76f;background:linear-gradient(135deg,#08271a,#171a20);color:#73eba7}

/* TMDB top cast */
.top-cast-section{margin:0 0 28px;padding:20px 18px 18px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:linear-gradient(145deg,#090b10,#0d1016);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.top-cast-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}
.top-cast-heading>span{width:4px;height:31px;border-radius:99px;background:#ff1748;box-shadow:0 0 18px rgba(255,23,72,.45)}
.top-cast-heading h2{margin:0;font-size:20px;line-height:1.1}
.top-cast-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 12px}
.top-cast-card{min-width:0;text-align:center}
.top-cast-avatar{width:78px;height:78px;margin:0 auto 9px;border:2px solid transparent;border-radius:50%;overflow:hidden;background:linear-gradient(#171b24,#171b24) padding-box,linear-gradient(135deg,#ff1748,#384354) border-box;box-shadow:0 9px 25px rgba(0,0,0,.38)}
.top-cast-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}
.top-cast-avatar span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:950}
.top-cast-card strong,.top-cast-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-cast-card strong{color:#fff;font-size:12px;line-height:1.35}
.top-cast-card small{margin-top:3px;color:#8f98aa;font-size:10px}
.server-switcher + .player-stats-bar{margin-top:0;border-radius:12px}

/* Homepage infinite catalogue loader */
.infinite-loader{min-height:72px;margin:28px auto 8px;display:flex;align-items:center;justify-content:center;gap:12px;color:#aeb4c3;font-size:14px;font-weight:750;text-align:center}
.infinite-loader .infinite-spinner{width:25px;height:25px;border:3px solid rgba(255,255,255,.13);border-top-color:var(--accent);border-radius:50%;animation:infinite-spin .75s linear infinite;opacity:.35;animation-play-state:paused}
.infinite-loader.is-loading .infinite-spinner{opacity:1;animation-play-state:running}
.infinite-loader.has-error{color:#ff9aab}
.infinite-loader.has-error .infinite-spinner{display:none}
.infinite-sentinel{width:100%;height:2px}
.infinite-retry{display:block;margin:10px auto 30px;padding:11px 22px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-weight:850;cursor:pointer;box-shadow:0 9px 26px rgba(255,40,86,.22)}
.infinite-retry[hidden]{display:none}
.infinite-finished{margin:30px auto 12px;padding:14px 20px;max-width:520px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#171a21;color:#969dac;font-size:13px;font-weight:750;text-align:center}
@keyframes infinite-spin{to{transform:rotate(360deg)}}

/* Home catalogue: latest-import sorting with release-date sidebar filter */
.home-catalogue-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:28px;align-items:start}
.home-catalogue-main{min-width:0}
.home-catalogue-main .cinema-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.section-subtitle{margin:6px 0 0;color:var(--muted);font-size:14px}
.clear-filter-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid rgba(255,255,255,.12);border-radius:10px;text-decoration:none;font-size:13px}
.home-filter-sidebar{position:sticky;top:92px}
.date-filter-card{padding:20px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:linear-gradient(145deg,rgba(24,31,48,.98),rgba(12,17,28,.98));box-shadow:0 18px 45px rgba(0,0,0,.22)}
.date-filter-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.date-filter-heading small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.date-filter-heading h3{margin:2px 0 0;font-size:21px}
.date-filter-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(64,126,255,.15);font-size:24px}
.date-filter-card label{display:block;margin:14px 0 7px;color:#d7deed;font-size:13px;font-weight:700}
.date-filter-card input,.date-filter-card select{width:100%;height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:#0d1421;color:#fff;outline:none}
.date-filter-card input:focus,.date-filter-card select:focus{border-color:#477dff;box-shadow:0 0 0 3px rgba(71,125,255,.14)}
.date-filter-submit,.date-filter-reset{display:flex;width:100%;align-items:center;justify-content:center;border-radius:11px;text-decoration:none;font-weight:800}
.date-filter-submit{height:45px;margin-top:18px;border:0;background:linear-gradient(135deg,#477dff,#7657ff);color:#fff;cursor:pointer}
.date-filter-reset{height:40px;margin-top:8px;color:var(--muted);font-size:13px}
.date-filter-reset:hover{color:#fff}
.filter-error{margin:8px 0 0;color:#ff8d8d;font-size:12px}
.catalogue-empty{grid-column:1/-1}


/* Catalogue sorting controls */
.catalogue-sort-options{display:grid;gap:8px;margin-top:7px}
.date-filter-card .sort-radio{display:flex;align-items:center;gap:10px;margin:0;padding:11px 12px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:#0d1421;cursor:pointer;transition:.2s ease}
.date-filter-card .sort-radio:hover{border-color:rgba(71,125,255,.65);transform:translateY(-1px)}
.date-filter-card .sort-radio input{width:17px;height:17px;margin:0;accent-color:#477dff}
.date-filter-card .sort-radio span{font-size:14px;font-weight:700;color:#eef3ff}

/* Configurable authorized embed player */
.embed-player-shell{position:relative!important;display:block!important;width:100%!important;max-width:none!important;aspect-ratio:16/9!important;min-height:0;margin:0 0 26px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:#05070b;box-shadow:0 28px 75px rgba(0,0,0,.42)}
.embed-player-frame{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;border:0!important;background:#000}
.embed-player-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:30px;background:radial-gradient(circle at center,rgba(45,83,160,.18),transparent 45%),#07090e}
.embed-player-empty strong{font-size:22px;color:#fff}.embed-player-empty p{max-width:560px;margin:8px auto 0;color:#9ba5b5}
.server-button.is-active{outline:2px solid rgba(255,255,255,.85);outline-offset:2px;box-shadow:0 0 0 4px rgba(80,128,255,.16)}
.server-button.is-disabled{opacity:.55;cursor:not-allowed}
.episode-play-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border-top:1px solid var(--line);color:inherit;text-decoration:none;transition:.2s ease}
.episode-play-card:hover,.episode-play-card.is-active{background:rgba(71,118,255,.09);transform:translateX(2px)}
.episode-play-card h3{margin:0 0 5px}.episode-play-card p{margin:0;color:var(--muted)}
.episode-play-card>span{flex:0 0 auto;padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:11px;font-weight:800;color:#fff;background:rgba(255,255,255,.05)}
