/* SpeedFlix template — single stylesheet. Dark cinema skin: fixed blurred top bar, dense poster grid, red accent. */
:root {
    --primary: #db0c13;
    --main-bg: #0c0c0c;
    --panel: #0f0f0f;
    --panel-2: #151515;
    --btn: #242424;
    --line: rgba(255, 255, 255, .1);
    --text: #fff;
    --muted: #717171;
    --muted-2: #a3a3a3;
    --topbar-h: 75px;
    --radius: 5px;
}

/* ---------- reset ---------- */
*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
input:focus, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
input:focus { outline: none; }
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: var(--main-bg);
    color: var(--text);
    min-height: 100vh;
}
a { color: #fff; text-decoration: none; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out; }
a:hover { color: var(--primary); }
.wrapper { margin: 0 4%; position: relative; }
main { display: block; width: 100%; }
svg { fill: currentColor; }

/* ---------- top bar ---------- */
.site-header { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; }
.topbar {
    background: linear-gradient(180deg, rgba(7, 7, 7, 1) 0%, rgba(19, 19, 19, .85) 100%);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    height: var(--topbar-h); width: 100%; position: relative;
    transition: background .25s ease;
}
.topbar.scrolled { background: rgba(7, 7, 7, .97); box-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.topbar .wrapper { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.tb-left, .tb-right { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; margin-right: 20px; height: 100%; }
.logo img { height: 35px; width: auto; }
.main-menu { display: flex; align-items: center; height: 100%; }
.main-menu li { position: relative; }
.main-menu li a { display: block; padding: 0 15px; line-height: var(--topbar-h); font-size: 16px; font-weight: 400; white-space: nowrap; }
.main-menu li a:hover, .main-menu li.current a { color: var(--primary); }
.mobile-control { display: none; width: 30px; height: 30px; margin-right: 12px; padding: 0; position: relative; }
.mobile-control .bar { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
.mobile-control.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-control.active .bar:nth-child(2) { opacity: 0; }
.mobile-control.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.search-wrap { display: flex; align-items: center; }
.search-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; color: #fff; }
.search-btn:hover, .search-btn.active { color: var(--primary); }
.search-box {
    visibility: hidden; opacity: 0; position: absolute; left: 0; right: 0; top: var(--topbar-h);
    transition: opacity .2s ease-in-out, visibility .2s; z-index: 31;
}
.search-box.active { visibility: visible; opacity: 1; }
.search-box form { position: relative; }
.main-search {
    background: #000; border: 1px solid #1a1a1a; border-left: 0; border-right: 0; color: #fff;
    padding: 15px 60px 15px 4%; font-size: 16px; width: 100%;
}
.main-search::placeholder { color: rgba(255, 255, 255, .6); }
.search-submit { position: absolute; right: 4%; top: 0; height: 100%; padding: 0 10px; color: #fff; }
.search-submit:hover { color: var(--primary); }

/* ---------- layout ---------- */
.main-content { position: relative; padding-top: var(--topbar-h); }
.main-content main { padding: 30px 0 40px; }
.main-content.home main { padding-top: 20px; }

/* page heading (list / search / home / static) */
.display-page-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 25px; }
.display-page-heading h1 { font-size: 21px; font-weight: 600; color: #cbcbcb; margin: 0; line-height: 1.3; }
.display-page-heading h1 .query { color: #fff; }
.display-page-heading h1 .count { display: inline-block; background: var(--primary); color: #fff; border-radius: 4px; padding: 3px 10px; font-size: 13px; margin-left: 8px; vertical-align: middle; }
.page-subtitle { color: var(--muted-2); font-size: 14px; margin-top: 4px; }
.heading-submenu { display: flex; flex-wrap: wrap; align-items: center; }
.heading-submenu li { display: flex; align-items: center; }
.heading-submenu li:before { content: ''; border-left: 2px solid rgba(255, 255, 255, .1); height: 14px; margin: 0 10px; }
.heading-submenu li:first-child:before { display: none; }
.heading-submenu li a { color: rgba(255, 255, 255, .35); font-weight: 600; font-size: 14px; }
.heading-submenu li a:hover { color: var(--primary); }
.heading-submenu li.active a { color: #fff; }
.display-page-heading.with-search { display: block; }
form.site-search { display: flex; max-width: 640px; margin-top: 15px; }
form.site-search input { flex: 1; min-width: 0; background: #000; border: 1px solid #1f1f1f; border-right: 0; border-radius: 8px 0 0 8px; padding: 13px 18px; font-size: 15px; color: #fff; }
form.site-search input::placeholder { color: rgba(255, 255, 255, .5); }
form.site-search button { background: var(--primary); color: #fff; border-radius: 0 8px 8px 0; padding: 0 22px; font-weight: 600; transition: filter .2s; }
form.site-search button:hover { filter: brightness(1.15); }
.error-page { text-align: center; }
.error-page h1 { font-size: 72px; color: var(--primary); }
.error-page form.site-search { margin: 20px auto; }
.error-actions { margin-top: 10px; }
.no-result { padding: 60px 0; text-align: center; color: var(--muted-2); font-weight: 600; }

/* tab pills (genre filter, tabs) */
.featured-menu { display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 20px; }
.featured-menu li a { display: inline-block; font-size: 13px; padding: 6px 12px; border: 1px solid #474747; color: #919191; border-radius: 5px; }
.featured-menu li a:hover { border-color: #9b9b9b; color: #d1d1d1; }
.featured-menu li a.active { background: rgba(255, 0, 6, .15); border-color: var(--primary); color: #ffa6a6; }

/* ---------- home modules ---------- */
.home-module { margin: 0 0 40px; }
.module-title { display: block; width: 100%; margin-bottom: 15px; }
.module-title .wrapper-box { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2px solid #202020; padding-bottom: 10px; }
.module-title h2 { font-size: 20px; line-height: 1.2; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.module-title .view-all { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #fff; font-weight: 600; padding: 4px 0; }
.module-title .view-all:hover { color: var(--primary); }

/* ---------- poster grid + card ---------- */
.items-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px 10px; }
.similar-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.display-item { display: block; position: relative; z-index: 1; background: #101010; transition: transform .25s ease-in-out, z-index 0s .25s; color: #fff; }
.display-item:hover { transform: scale(1.12); z-index: 5; color: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .8); transition: transform .25s ease-in-out; }
.item-box { display: block; position: relative; width: 100%; height: 0; padding-bottom: 150%; overflow: hidden; background: #000; }
.item-box .thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.item-desc-hover {
    position: absolute; inset: 0; opacity: 0; transition: opacity .15s ease-in-out;
    background: rgba(0, 0, 0, .55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 163.861 163.861'><path fill='%23fff' d='m34.857 3.613c-14.773-8.474-26.75-1.532-26.75 15.493v125.64c0 17.042 11.977 23.975 26.75 15.509l109.81-62.977c14.778-8.477 14.778-22.211 0-30.686l-109.81-62.976z'/></svg>") 50% 45% / 28% no-repeat;
}
.display-item:hover .item-desc-hover { opacity: 1; }
.item-desc-hl { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.item-quality, .item-type, .item-rank { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1; padding: 5px 7px; border-radius: 2px; text-transform: uppercase; }
.item-quality { background: var(--primary); color: #fff; }
.item-type { background: #fff; color: #000; }
.item-rank { position: absolute; left: 0; bottom: 0; background: #ff1018; color: #fff; padding: 8px 8px; font-size: 13px; z-index: 2; }
.item-data {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 10px; text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .85)); text-shadow: 0 0 10px #000;
}
.item-data h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.item-date { display: block; font-size: 12px; color: #d0d0d0; margin-top: 3px; }
.item-rating { color: #ffbf00; font-weight: 600; margin-left: 6px; }

/* ---------- pagination ---------- */
.page-nav { padding: 30px 0 10px; text-align: center; }
.pagination { display: inline-block; }
.pagination .total { display: block; font-weight: 600; color: #414141; line-height: 30px; margin-bottom: 8px; font-size: 13px; }
.pagination a, .pagination .current, .pagination .dots { display: inline-block; min-width: 38px; padding: 9px 12px; margin: 0 3px 6px 0; font-weight: 600; border-radius: 4px; line-height: 1; font-size: 14px; }
.pagination a { color: #fff; background: var(--panel-2); font-weight: 400; }
.pagination a:hover { background: #fff; color: #000; }
.pagination .current { background: var(--primary); color: #fff; }
.pagination .dots { color: #414141; min-width: 0; }

/* ---------- detail / player ---------- */
.breadcrumb { margin: 20px 0; }
.breadcrumb-list { display: flex; flex-wrap: wrap; font-size: 14px; }
.breadcrumb-list li { display: inline-block; color: #fff; }
.breadcrumb-list li a { color: rgba(255, 255, 255, .5); }
.breadcrumb-list li a:hover { color: var(--primary); }
.breadcrumb-list li:before { display: inline-block; padding: 0 .5rem; color: #6c757d; content: "/"; }
.breadcrumb-list li:first-child:before { display: none; }
.breadcrumb-list li.current a { color: #fff; }
.player-notice .notice-msg {
    background: rgba(175, 148, 15, .1); border: 1px solid rgba(175, 133, 15, .5); color: rgba(247, 196, 51, .8);
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 15px; font-size: 14px; margin-bottom: 10px;
}
.player-display { position: relative; z-index: 0; overflow: hidden; background: #000; width: 100%; height: 0; padding-bottom: 56.25%; }
.player-display .display-video, .player-display .player-splash, .player-display .loading-player { position: absolute; inset: 0; }
.player-display iframe { width: 100%; height: 100%; border: 0; display: block; transition: opacity .3s; }
.player-splash .splash-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .25s, filter .25s; }
.player-splash:before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .6) 100%); }
.player-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 12px; }
.player-play .playBtn-ico {
    display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; border-radius: 50%;
    background: rgba(219, 12, 19, .9); background: var(--primary); box-shadow: 0 0 0 12px rgba(255, 255, 255, .12); transition: transform .2s, box-shadow .2s;
}
.player-play .playBtn-ico svg { margin-left: 6px; }
.player-play .play-label { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 1px 6px #000; }
.player-play:hover { color: #fff; }
.player-play:hover .playBtn-ico { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(255, 255, 255, .18); }
.player-display:hover .splash-bg img { opacity: .75; }
.loading-player { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 0, 0, .8); color: #fff; gap: 12px; z-index: 3; }
.spinner { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* server list */
.player-options { background: var(--panel); padding: 15px 2%; }
.play-lists { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.play-lists li a {
    display: flex; align-items: center; padding: 10px 17px; border-radius: 5px; background: var(--btn); border: 3px solid var(--btn);
    color: #fff; text-align: left; transition: all .2s ease-in-out;
}
.play-lists li a:hover { background: #fff; border-color: #fff; color: #282828; }
.play-lists li a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.play-list-ico { display: flex; width: 26px; }
.play-list-opt { display: flex; flex-direction: column; }
.opt-titl { font-weight: 600; font-size: 15px; line-height: 1.2; }
.opt-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.episode-navigation { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; }
.episode-navigation .nav a { display: inline-block; padding: 12px 24px; border-radius: 4px; background: var(--btn); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.episode-navigation .nav a:hover { background: var(--primary); color: #fff; }

/* seasons + episodes */
.content-episodes { background: var(--panel); padding: 15px 2% 20px; margin-top: 2px; }
.episodes-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 15px; border-bottom: 2px solid #202020; }
.episodes-head h3 { font-size: 16px; font-weight: 600; }
.seasons-switch { position: relative; }
.seasons-select {
    display: flex; align-items: center; background: #202020; border: 1px solid #646464; border-radius: 4px; color: #fff;
    padding: 8px 20px; min-width: 140px; font-size: 15px; font-weight: 600; transition: all .25s ease-in-out;
}
.seasons-select:after { content: ''; border-left: .3em solid transparent; border-right: .3em solid transparent; border-top: .4em solid #fff; margin-left: auto; padding-left: 20px; }
.seasons-select .ss-num { padding-left: 5px; }
.seasons-select:hover, .seasons-select.active { background: var(--primary); border-color: var(--primary); }
.dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 5px); background: #202020; border: 1px solid #404040; min-width: 220px; max-height: 320px; overflow-y: auto; z-index: 10; border-radius: 4px; }
.dropdown-menu.show { display: block; animation: fadeIn .2s; }
.dropdown-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 15px; font-size: 15px; font-weight: 600; border-bottom: 1px solid #2c2c2c; }
.dropdown-item:last-child { border-bottom: 0; }
.dropdown-item .ep-count { font-size: 12px; font-weight: 400; color: #bbb; white-space: nowrap; }
.dropdown-item:hover { background: #fff; color: #000; }
.dropdown-item:hover .ep-count { color: #333; }
.dropdown-item.selected { background: var(--primary); color: #fff; }
.episodes-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.episodes-list li a, .episodes-list .noep-msg {
    display: flex; align-items: center; gap: 8px; border-radius: 5px; background: var(--btn); padding: 12px 14px; color: #fff;
    font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.episodes-list li a .ep-num { font-weight: 600; flex-shrink: 0; }
.episodes-list li a .ep-title { overflow: hidden; text-overflow: ellipsis; color: #cfcfcf; }
.episodes-list li a:hover { background: #fff; color: #000; }
.episodes-list li a:hover .ep-title { color: #333; }
.episodes-list li.active a { background: var(--primary); color: #fff; }
.episodes-list li.active a .ep-title { color: #ffd6d6; }
.episodes-list .noep { grid-column: 1 / -1; }
.episodes-list .noep-msg { justify-content: center; background: #1a1a1a; color: rgba(255, 255, 255, .7); }

/* info block */
.content-body { background: var(--panel); padding: 2%; position: relative; margin-top: 2px; overflow: hidden; }
.content-info { display: flex; text-align: left; gap: 0; }
.content-col.left { width: 25vw; min-width: 140px; max-width: 220px; padding-right: 20px; flex-shrink: 0; }
.content-col.right { flex-grow: 1; min-width: 0; }
.content-poster { display: block; position: relative; width: 100%; height: 0; padding-bottom: 150%; overflow: hidden; background: #000; border-radius: 4px; margin-bottom: 15px; }
.content-poster .poster-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.info-details > * { margin-bottom: 15px; }
.details-title h1 { font-size: 31px; font-weight: 600; line-height: 1.2; }
.details-year { color: rgba(255, 255, 255, .55); font-weight: 400; }
.details-original { color: var(--muted-2); margin-top: 4px; }
.details-tagline { color: #bdbdbd; font-style: italic; margin-top: 6px; }
.details-data { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.details-data > * { display: inline-block; }
.data-quality, .data-imdb { border-radius: 4px; padding: 5px 10px; }
.data-quality { border: 1px solid #fff; font-weight: 600; }
.data-imdb { background: rgba(255, 255, 255, .2); border: 1px solid #3f3f3f; }
.data-views { color: #d5d5d5; padding: 5px 4px; }
.details-genre { font-weight: 600; font-size: 16px; }
.details-genre a { color: var(--primary); }
.details-genre a:hover { color: #fff; }
.details-desc { color: #dbdbdb; font-size: 16px; line-height: 1.6; }
.details-info { display: flex; flex-wrap: wrap; font-size: 15px; }
.info-col { width: 48%; }
.info-col:first-child { margin-right: 2%; }
.details-info p { margin: 0 0 10px; }
.details-info strong { margin-right: 8px; color: rgba(255, 255, 255, .5); font-weight: 600; }
.details-info a:hover { color: var(--primary); }
.btn-fake, .btn-primary {
    display: inline-block; background: var(--primary); color: #fff; border-radius: 4px; padding: 11px 26px; font-weight: 600; transition: filter .2s, background .2s;
}
.btn-fake:hover, .btn-primary:hover { color: #fff; filter: brightness(1.15); }
.btn-fake.outline { background: var(--btn); }
.btn-fake.outline:hover { background: #fff; color: #000; filter: none; }

.content-title { display: flex; align-items: center; padding-bottom: 10px; margin: 25px 0 15px; }
.content-title .title-head { font-size: 20px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.content-title .title-sep { flex-grow: 1; background: #202020; height: 2px; margin-left: 15px; }
.crew-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 15px; }
.crew-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.crew-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #202020; margin-bottom: 4px; }
.crew-name { font-weight: 600; font-size: 13px; }
.crew-role { font-size: 12px; color: var(--muted-2); }
.content-keywords { display: flex; flex-wrap: wrap; gap: 7px; padding: 5px 0; }
.content-keywords a { display: inline-block; border: 1px solid #292929; padding: 8px 20px; border-radius: 90px; color: #919191; font-size: 14px; }
.content-keywords a:hover { border-color: rgba(167, 8, 3, .2); color: #ff8686; background: rgba(167, 8, 3, .2); }

/* ---------- static / seo text ---------- */
.seo-content-wrapper { margin-top: 30px; }
.seo-content { color: var(--muted-2); font-size: 15px; line-height: 1.6; }
.seo-content h1, .seo-content h2, .seo-content h3, .seo-content h4 { color: #e5e5e5; margin: 22px 0 10px; font-weight: 600; }
.seo-content h2 { font-size: 21px; }
.seo-content h3 { font-size: 17px; }
.seo-content p { margin-bottom: 15px; }
.seo-content ul, .seo-content ol { margin: 0 0 15px 20px; list-style: disc; }
.seo-content ol { list-style: decimal; }
.seo-content a { color: #ff8686; }
.seo-content a:hover { color: #fff; }
.static-page { min-height: 300px; }

/* ---------- landing page ---------- */
.landing { padding-top: var(--topbar-h); }
.homesearch-wrapper { padding: 2%; max-width: 1200px; margin: 0 auto; }
.homesearch-body { padding: 5% 5% 4%; background: var(--panel); border-radius: 12px; }
.homesearch-search { text-align: center; }
.homesearch-search > * { margin-bottom: 35px; }
.search-logo img { max-height: 60px; width: auto; margin: 0 auto 20px; }
.search-logo h1 { font-size: 26px; font-weight: 400; color: #818181; }
.landing-intro { max-width: 760px; margin: 12px auto 0; color: var(--muted-2); font-size: 15px; line-height: 1.6; }
.homesearch-search .search-box { position: static; visibility: visible; opacity: 1; max-width: 800px; margin: 0 auto 35px; }
.homesearch-search .main-search { background: #000; border: 0; border-radius: 8px; padding: 20px 70px 20px 30px; }
.homesearch-button { position: absolute; right: 0; top: 0; height: 100%; padding: 0 22px; background: var(--primary); color: #fff; border-radius: 0 8px 8px 0; transition: filter .25s; display: flex; align-items: center; }
.homesearch-button:hover { filter: brightness(1.15); }
.search-btn-main { display: inline-block; padding: 15px 35px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 600; font-size: 19px; transition: filter .2s; }
.search-btn-main:hover { color: #fff; filter: brightness(1.15); }
.homesearch-share { margin: 0 0 35px; }
.share-btn { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.share-btn li a { display: inline-block; padding: 9px 18px; border-radius: 4px; font-weight: 600; font-size: 13px; color: #fff; background: #333; }
.share-btn li a.fb { background: #3b5998; }
.share-btn li a.tw { background: #1da1f2; }
.share-btn li a.wa { background: #25d366; }
.share-btn li a.tg { background: #229ed9; }
.share-btn li a:hover { color: #fff; filter: brightness(1.15); }
.homesearch-desc { text-align: left; }
.homesearch-desc .heading { font-size: 21px; color: #b5b5b5; margin: 25px 0 12px; }
.homesearch-desc > *:first-child { margin-top: 0; }
.landing-genres { margin-bottom: 15px; }
.landing-faq details { border-bottom: 1px solid #1e1e1e; padding: 8px 0; }
.landing-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary:before { content: '+'; color: var(--primary); font-weight: 700; margin-right: 10px; font-size: 18px; }
.landing-faq details[open] summary:before { content: '–'; }
.landing-faq summary h3 { margin: 0; font-size: 16px; }
.landing-faq details p { margin: 8px 0 6px 25px; }
.landing-links a { color: #ff8686; }
.landing-links a:hover { color: #fff; }
.landing-network { margin-top: 30px; }
.landing-network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.landing-network-card { display: block; background: var(--panel); border: 1px solid #1f1f1f; border-radius: 8px; padding: 18px; transition: border-color .2s, transform .2s; }
.landing-network-card:hover { border-color: var(--primary); transform: translateY(-2px); color: #fff; }
.landing-network-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.landing-network-card span { color: var(--muted); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { padding-top: 50px; margin-top: 20px; }
.footer-row { display: flex; justify-content: center; gap: 4vw; }
.footer-col { display: flex; color: var(--muted); }
.footer-col.links { gap: 30px; flex-wrap: wrap; }
.footer-logo { display: flex; flex-direction: column; max-width: 600px; filter: grayscale(1); transition: filter .55s ease-in-out; }
.footer-logo:hover { filter: none; }
.footer-logo > * { margin-bottom: 15px; }
.footer-logo .logo { max-width: 200px; height: auto; margin-right: 0; }
.footer-logo .logo img { height: auto; width: 100%; }
.footer-logo .text p { line-height: 1.6; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-socials .socials-icon { display: inline-block; background: #171717; padding: 10px 16px; border-radius: 30px; color: #fff; font-size: 12px; font-weight: 600; transition: background .25s; }
.footer-socials a:hover .socials-icon { background: var(--primary); }
.footer-head { font-size: 14px; text-transform: uppercase; color: #fff; margin: 0 0 12px; font-weight: 600; }
.footer-links-list { font-size: 14px; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list li a { color: var(--muted); }
.footer-links-list li a:hover { color: var(--primary); }
.footer-network { margin-top: 50px; text-align: center; }
.footer-network-title { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.footer-network .footer-tags { margin-top: 0; border-top: 0; padding-top: 6px; }
.footer-tags { padding-top: 20px; margin-top: 40px; text-align: center; border-top: 1px solid var(--line); }
.footer-tags a { margin: 5px; color: #555; font-weight: 300; letter-spacing: .5px; display: inline-block; line-height: 24px; padding: 0 12px; border-radius: 15px; font-size: 12px; background: rgba(255, 255, 255, .04); }
.footer-tags a:hover { color: #f5f5f5; background: rgba(255, 255, 255, .1); }
.footer-extra { margin-top: 10px; border-top: 0; padding-top: 10px; }
.footer-underlinks { padding: 15px 0 50px; text-align: center; line-height: 24px; }
.copyright-btm { color: var(--muted); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- responsive ---------- */
@media screen and (max-width: 1599px) { .items-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media screen and (max-width: 1399px) { .items-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media screen and (max-width: 1199px) {
    .items-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .episodes-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 1099px) {
    .items-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .main-menu li a { font-size: 14px; }
    .logo img { height: 28px; }
}
@media screen and (max-width: 999px) {
    .similar-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .content-body, .player-options, .content-episodes { padding-left: 18px; padding-right: 18px; }
    .episodes-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 949px) {
    .mobile-control { display: block; }
    .main-menu {
        display: none; position: absolute; left: 0; right: 0; top: var(--topbar-h); height: auto;
        flex-direction: column; align-items: stretch; background: #000; border-bottom: 1px solid var(--line); animation: fadeIn .25s;
    }
    .main-menu.active { display: flex; }
    .main-menu li a { line-height: 1.4; padding: 15px 4%; border-bottom: 1px solid var(--line); font-weight: 600; }
    .main-menu li a:hover { background: var(--main-bg); }
}
@media screen and (max-width: 899px) {
    :root { --topbar-h: 70px; }
    .items-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .similar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-row { flex-direction: column; gap: 40px; }
    .footer-col.links { justify-content: flex-start; }
}
@media screen and (max-width: 749px) {
    .content-col.left { display: none; }
    .info-col { width: 100%; margin-right: 0; }
    .details-title h1 { font-size: 26px; }
    .details-desc, .details-genre { font-size: 14px; }
    .homesearch-body { padding: 30px 18px; }
    .search-btn-main { font-size: 16px; padding: 13px 26px; }
}
@media screen and (max-width: 699px) {
    .episodes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .display-page-heading { align-items: flex-start; }
}
@media screen and (max-width: 649px) {
    .items-grid, .similar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .display-item:hover { transform: none; }
}
@media screen and (max-width: 599px) {
    :root { --topbar-h: 60px; }
    .wrapper { margin: 0 16px; }
    .logo img { height: 24px; }
    .main-search { padding-left: 16px; }
    .search-submit { right: 16px; }
    .item-data h3 { font-size: 12px; }
    .item-quality, .item-type { font-size: 10px; padding: 4px 5px; }
    .play-lists { flex-direction: column; }
    .play-lists li a { width: 100%; }
    .footer-col.links { flex-direction: column; gap: 25px; }
    .error-page h1 { font-size: 56px; }
    form.site-search { flex-direction: column; }
    form.site-search input { border-right: 1px solid #1f1f1f; border-radius: 8px; margin-bottom: 8px; }
    form.site-search button { border-radius: 8px; padding: 12px; }
}
@media screen and (max-width: 449px) {
    .episodes-list { grid-template-columns: 1fr; }
    .module-title h2 { font-size: 16px; }
}
@media screen and (max-width: 399px) {
    .items-grid, .similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- episode picker (player page): season chips + episode chips ---------- */
.sf-eps { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.sf-eps-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-eps-list { max-height: 236px; overflow-y: auto; padding-right: 2px; }
.sf-eps-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--btn); color: var(--muted-2); font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.sf-eps-chip:hover { border-color: var(--primary); color: #fff; }
.sf-eps-chip.is-active { background: var(--primary); border-color: transparent; color: var(--mcms-on-primary, #fff); }
@media (max-width: 480px) { .sf-eps-chip { min-height: 40px; min-width: 60px; } }
