/* ==========================================================================
   DarkCine template — self-contained stylesheet (no Bootstrap / FontAwesome).
   Skin: light warm grey canvas, yellow header bar, rounded posters, white
   rounded cards. --primary is injected by layout.php from $theme['primary_color'].
   ========================================================================== */
:root {
    --primary: #fdd92a;
    --primary-dark: #efc121;
    --bg: #f5f5f3;
    --text: #1a1914;
    --dark: #262520;
    --muted: #666;
    --line: #eee;
    --white: #fff;
    --radius: 10px;
    --shadow: 0 10px 20px rgba(0, 0, 0, .05);
    --header-h: 65px;
}
*, *::before, *::after { box-sizing: border-box; }
html { position: relative; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; padding: 0;
    background: var(--bg); color: var(--text);
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px; line-height: 1.2em; font-weight: 400;
}
a { color: #111; text-decoration: none; outline: 0; }
a:hover { color: #000; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button, input { font-family: inherit; }
.clearfix::after { content: ""; display: table; clear: both; }
.badge { display: inline-block; padding: 2px 6px; font-size: 11px; font-weight: 600; line-height: 1; border-radius: 10px; background: rgba(0, 0, 0, .1); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 1401px) { .container { max-width: 1400px; } }
@media (min-width: 1681px) { .container { max-width: 1600px; } }

#wrapper { width: 100%; position: relative; }
#main-wrapper { margin-bottom: 70px; min-height: calc(100vh - 326px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block; padding: 6px 12px; font-size: 14px; line-height: 1.5;
    border: 1px solid transparent; border-radius: 4px; background: #eee; color: #111;
    text-align: center; white-space: nowrap; cursor: pointer; user-select: none;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 4px 8px; font-size: 12.5px; }
.btn-radius { border-radius: 30px; }
.btn-primary, .btn-focus { background: var(--primary); color: #111; border-color: var(--primary); }
.btn-primary:hover, .btn-focus:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #111; }
.btn-secondary, .btn-light { background: #eee; border-color: #eee; color: #111; }
.btn-secondary:hover, .btn-light:hover { background: #e2e6ea; }
.btn-dark { background: #343a40; color: #fff; }
.btn-in-headcat { border-radius: 3px; font-size: 14px; line-height: 1em; padding: 7px 10px; margin: 4px 4px 0 0; border: none; background: #eee; }
.btn-in-headcat:hover, .btn-in-headcat.active { background: var(--primary); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
#header {
    height: var(--header-h); background: var(--primary); margin-bottom: 25px;
    position: relative; z-index: 99; transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
#header .container { display: flex; align-items: center; height: var(--header-h); position: relative; }
#logo { display: inline-flex; align-items: center; height: 35px; margin: 15px 30px 15px 0; }
#logo img { height: 35px; width: auto; margin-right: 10px; }
#logo .logo-text { line-height: 35px; font-size: 20px; font-weight: 600; color: var(--dark); white-space: nowrap; }
#header_menu { height: var(--header-h); }
.nav-menu { list-style: none; display: flex; height: var(--header-h); margin: 0; padding: 0; }
.nav-menu .nav-item { margin: 0 3px; position: relative; }
.nav-menu .nav-item > a {
    height: var(--header-h); line-height: var(--header-h); padding: 0 20px; display: inline-block;
    color: var(--dark); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; position: relative;
}
.nav-menu .nav-item > a:hover { color: #000; }
.nav-menu .nav-item > a.active::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--dark); }
#header_right { margin-left: auto; display: flex; align-items: center; }
#search { width: 300px; }
.hamburger {
    display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer;
    flex-direction: column; justify-content: space-between;
}
.hamburger-line { display: block; height: 2px; width: 100%; background: #111; transition: transform .3s, opacity .3s; }
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Search box (header + 404) */
.search-content { position: relative; margin: 0; }
.search-input {
    width: 100%; height: 38px; color: #111; padding: 0 15px 0 40px; font-size: 14px; font-weight: 300;
    background: #fff; border-radius: 30px; border: none; outline: 0; transition: box-shadow .3s;
}
.search-input:focus { box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.search-input::placeholder { color: #999; }
.search-content .search-icon {
    width: 40px; height: 38px; display: flex; align-items: center; justify-content: center;
    color: #111; position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
}
.search-content .search-submit { display: none; }

/* --------------------------------------------------------------------------
   Home hero (big search under the yellow bar)
   -------------------------------------------------------------------------- */
.page-home #header, .page-landing #header { margin-bottom: 0; }
.header-home-add { background: var(--primary); text-align: center; padding: 30px 0 0; margin-bottom: 90px; position: relative; z-index: 3; }
.sht-heading { font-size: 2.2em; font-weight: 300; margin: 0 0 30px; color: var(--dark); line-height: 1.2em; }
.sht-heading strong { font-weight: 600; }
#search-home { position: relative; display: inline-block; width: 100%; max-width: 980px; }
#search-home .search-content { position: relative; margin-right: 80px; bottom: -35px; }
#search-home .search-input {
    height: 70px; margin: 0; border-radius: 45px; padding: 0 25px 0 65px; background: #fff; color: #111;
    border: none; font-size: 1.8em; font-weight: 300; box-shadow: 0 20px 20px rgba(0, 0, 0, .05);
}
#search-home .search-input:focus { box-shadow: 0 20px 20px rgba(0, 0, 0, .1); }
#search-home .search-icon { width: 70px; height: 70px; }
#search-home .btn-primary-submit {
    position: absolute; top: 0; right: -80px; width: 70px; height: 70px; padding: 0; border: none; cursor: pointer;
    border-radius: 35px; background: #fff; color: var(--dark); box-shadow: 0 20px 20px rgba(0, 0, 0, .05);
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
#search-home .btn-primary-submit:hover { background: #f4f4f2; }

/* SEO intro text */
.text-home { font-weight: 400; font-size: 1.15em; line-height: 1.4em; margin-bottom: 50px; color: #555; }
.text-home a { color: #000; }
.text-home p { margin: 0 0 1em; }
.text-home h2, .text-home h3 { color: var(--dark); margin: 0 0 10px; font-weight: 300; }
.text-home h2 { font-size: 1.6em; }
.text-home h3 { font-size: 1.25em; }

/* --------------------------------------------------------------------------
   Content blocks / section headings / tabs
   -------------------------------------------------------------------------- */
.block_area { display: block; margin-bottom: 80px; }
.block_area-header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; margin-bottom: 15px; }
.block_area-header-tabs { margin-bottom: 25px; }
.cat-heading { font-size: 30px; line-height: 1.3em; font-weight: 300; padding: 0; margin: 0; }
.cat-subtitle { margin: 5px 0 0; color: var(--muted); font-weight: 300; font-size: 15px; }
.viewmore { margin-left: auto; }
.viewmore .btn { padding: 4px 12px; }
.pre-tabs { display: flex; flex-wrap: wrap; list-style: none; margin: 5px 0 0; padding: 0; gap: 5px; }
.pre-tabs .nav-link { display: block; padding: 7px 10px; line-height: 1.2em; font-size: 14px; color: #111; background: #fff; border-radius: 3px; }
.pre-tabs .nav-link:hover { background: #ececea; }
.pre-tabs .nav-link.active { background: var(--primary); color: #111; }
.no-results { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 16px; font-weight: 300; }

/* Filter panel (list pages) */
.category_filter-content { padding: 20px; background: #fff; border: 1px dashed #aaa; margin-bottom: 20px; }
.cfc-item { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 15px; }
.cfc-item .ni-head { font-size: 16px; font-weight: 500; padding-top: 8px; min-width: 65px; }
.cfc-item .ni-list { flex: 1; }

/* --------------------------------------------------------------------------
   Film cards
   -------------------------------------------------------------------------- */
.film_list-wrap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px 10px; }
@media (min-width: 1401px) { .film_list-wrap { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.flw-item { position: relative; min-width: 0; }
.film-poster {
    width: 100%; padding-bottom: 148%; position: relative; overflow: hidden;
    border-radius: var(--radius); margin-bottom: 10px; background: #e6e6e2;
}
.film-poster-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.film-poster:hover .film-poster-img { transform: scale(1.04); }
.film-poster-ahref { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: center; }
.film-poster-ahref::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(22, 22, 22, .5); opacity: 0; transition: opacity .2s; z-index: 1; }
.film-poster-ahref .play-icon {
    width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #111; opacity: 0;
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; transition: opacity .5s;
}
.film-poster-ahref .play-icon svg { margin-left: 3px; }
.film-poster:hover .film-poster-ahref::after, .film-poster:hover .play-icon { opacity: 1; }
.pick {
    position: absolute; z-index: 5; top: 10px; right: 10px; font-size: 13px; font-family: Arial, sans-serif; font-weight: 600;
    display: inline-block; padding: 3px 5px; border-radius: 2px; background: #fff; color: #111; line-height: 1.2;
}
.pick.film-poster-rank { right: auto; left: 10px; background: var(--primary); }
.film-detail-fix { font-size: .95em; color: var(--muted); text-align: left; padding-right: 10px; }
.film-name { font-size: 14px; line-height: 1.3em; margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.film-name a { color: #111; }
.film-name a:hover { color: #000; text-decoration: underline; }
.fd-infor { line-height: 1.3em; display: flex; align-items: center; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #666; display: inline-block; margin: 0 6px; flex: none; }
.fdi-type { margin-left: auto; font-size: .9em; line-height: 1em; padding: 2px 4px; border: 1px solid #aaa; border-radius: 3px; }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pre-pagination { margin: 48px 0; text-align: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pagination .page-item { margin: 5px; }
.pagination .page-link {
    display: block; min-width: 40px; padding: 0 10px; line-height: 40px; font-size: 16px; border-radius: 20px;
    background: none; color: #111; font-weight: 400; text-align: center; transition: background .15s, color .15s;
}
.pagination a.page-link:hover { color: #111; background: rgba(0, 0, 0, .06); }
.pagination .page-item.active .page-link { background: var(--primary); color: #111; cursor: default; }
.pagination .page-dots { color: #999; }
.page-info { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer { background: #fff; padding: 40px 0; position: relative; }
#footer a { color: #111; }
#footer a:hover { color: #000; text-decoration: underline; }
#footer .container { position: relative; padding-left: 275px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; }
.footer-logo-block { position: absolute; top: 0; left: 15px; width: 240px; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 46px; width: auto; }
.footer-logo-block .copyright { margin: 0; color: var(--muted); font-size: 13px; }
.footer-about { flex: 1 1 400px; max-width: 650px; line-height: 1.3em; }
.footer-fa-text { margin-bottom: 15px; line-height: 1.4em; }
.footer-fa-menu { margin-bottom: 8px; }
.footer-fa-title { font-weight: 500; margin-right: 8px; }
.footer-fa-menu .space, .footer-network .space { display: inline-block; margin: 0 10px; opacity: .5; }
.footer-network { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-notice { flex: 0 1 340px; margin-left: auto; }
.footer-notice span {
    display: inline-block; padding: 10px; background: rgba(0, 0, 0, .1); width: 100%; max-width: 340px;
    font-size: 12px; line-height: 1.3em; font-weight: 300; text-align: justify; position: relative;
}
.footer-notice span::before { content: ""; width: 10px; height: 10px; position: absolute; border-radius: 50%; background: #e62e05; top: -5px; right: -5px; }

/* --------------------------------------------------------------------------
   Detail page
   -------------------------------------------------------------------------- */
.detail_page-style { margin-top: -25px; padding-top: 25px; position: relative; }
.cover_follow {
    background-position: 50% 25%; background-size: cover; background-color: #262520;
    position: absolute; top: 0; left: 0; right: 0; height: 100%; max-height: 800px; z-index: 1;
}
.cover_follow::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(11, 11, 11, .6); }
.cover_follow-plain { background: linear-gradient(180deg, #2b2a26 0%, #4a4740 100%); }
.detail_page-style .container { z-index: 4; position: relative; }
.prebreadcrumb { margin-bottom: 10px; }
.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 10px 0; font-size: 14px; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 8px; color: #999; }
.breadcrumb-item a { color: #111; }
.detail_page-style .breadcrumb, .detail_page-style .breadcrumb a, .detail_page-style .breadcrumb-item + .breadcrumb-item::before { color: #fff; }
.detail_page-watch { position: relative; }
.dp-w-cover { position: relative; width: 100%; padding-bottom: 40%; }
.dp-w-c-play {
    background: var(--primary); color: #111; box-shadow: 0 20px 20px rgba(0, 0, 0, .1); width: 100px; height: 100px;
    border-radius: 50%; position: absolute; top: 50%; left: 50%; margin: -50px 0 0 -50px; z-index: 2;
    display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s;
}
.dp-w-c-play svg { margin-left: 5px; }
.dp-w-c-play:hover { transform: scale(1.06); background: var(--primary-dark); color: #111; }
.detail_page-infor { font-size: 15px; z-index: 5; position: relative; line-height: 1.3em; font-weight: 300; margin: 0 0 30px; }
.dp-i-content { position: relative; padding: 30px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); min-height: 410px; }
.dp-i-c-poster { width: 180px; position: absolute; top: 30px; left: 30px; }
.dp-i-c-poster .film-poster { margin-bottom: 0; }
.dp-i-c-right { padding-left: 210px; }
.dp-i-c-stick { margin-bottom: 15px; position: relative; display: flex; align-items: center; gap: 10px; }
.watch-btn-wrapper { position: relative; display: inline-block; }
.watch-dropdown-menu, .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; z-index: 20; }
.watch-dropdown-menu.show, .dropdown-menu.show { display: block; }
.dropdown-menu-new { padding: 6px 0 0; }
.dropdown-menu-new .dropdown-item { display: block; padding: 12px 20px; font-size: 14px; line-height: 1em; color: #111; background: #fff; }
.dropdown-menu-new .dropdown-item:first-child { border-radius: 10px 10px 0 0; }
.dropdown-menu-new .dropdown-item:last-child { border-radius: 0 0 10px 10px; }
.dropdown-menu-new .dropdown-item:hover { background: #eee; }
.watch-dropdown-menu .dropdown-item { box-shadow: 0 5px 15px rgba(0, 0, 0, .08); }
.heading-name { font-size: 2.5em; line-height: 1.3em; margin: 0 0 15px; font-weight: 300; }
.heading-name a { color: #111; }
.heading-year { color: var(--muted); font-size: .7em; }
.tagline { margin: -5px 0 15px; color: var(--muted); font-style: italic; }
.dp-i-stats { margin-bottom: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-i-stats .item { display: inline-block; }
.dp-i-stats .stat-text { color: var(--muted); }
.btn-quality, .btn-trailer { background: #fff; color: #111; border: 1px solid #111; cursor: default; }
.btn-imdb { background: none; color: #ffa600; font-weight: 600; border-color: transparent; cursor: default; padding-left: 0; }
.description { margin-bottom: 15px; line-height: 1.5em; }
.elements { margin-bottom: 20px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 5px 30px; }
.row-line { margin-bottom: 5px; line-height: 1.5em; }
.row-line a { color: #111; }
.row-line a:hover { text-decoration: underline; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0 10px; }
.detail-tags .btn-dtag { border: none; background: #fff; color: #111; font-weight: 300; font-size: 12px; margin-bottom: 10px; }
.detail-tags .btn-dtag:hover { background: var(--primary); }

/* Seasons / episodes card (tv) */
.seasons-list {
    background: #fff; box-shadow: var(--shadow); border-radius: 20px; padding: 30px; margin: 0 0 20px;
    font-size: 1.1em; line-height: 1.2em; display: flex; gap: 30px; position: relative; z-index: 5;
}
.slc-seasons { width: 18%; flex: none; }
.slc-eps { flex: 1; min-width: 0; }
.sl-title { font-size: 1.4em; line-height: 1em; font-weight: 300; margin-bottom: 20px; }
.slcs-ul { list-style: none; max-height: 400px; overflow: auto; }
.slcs-ul li { display: block; margin: 0 0 5px; }
.slcs-ul li a {
    font-weight: 600; padding: 12px 20px; display: block; background: rgba(22, 22, 22, .05); border-radius: 3px;
    position: relative; padding-right: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111;
}
.slcs-ul li a .badge { position: absolute; right: 20px; top: 13px; }
.slcs-ul li a:hover { background: #eee; }
.slcs-ul li.active a { background: var(--primary); }
.slcs-ul li.active .badge { background: #fff; }
.slce-list ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; max-height: 420px; overflow: auto; }
.slce-list .nav-link {
    display: block; border-radius: 3px; height: 43px; line-height: 19px; background: rgba(22, 22, 22, .05); text-align: left; padding: 12px 20px;
    color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 300;
}
.slce-list .nav-link strong { font-weight: 600; }
.slce-list .nav-link:hover, .slce-list .nav-link.active { background: var(--primary); }
.film_related { padding: 25px 0 0; }

/* --------------------------------------------------------------------------
   Player page
   -------------------------------------------------------------------------- */
.watching { margin-bottom: 30px; }
.watching_player-area { width: 100%; background: #111; position: relative; z-index: 98; padding-bottom: 56.25%; border-radius: 4px 4px 0 0; overflow: hidden; }
.watching_player-area iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: 0; z-index: 5; transition: opacity .3s; }
.loading-relative { position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: rgba(255, 255, 255, .1); z-index: 6; }
.loading { position: absolute; top: 50%; margin-top: -9px; left: 50%; margin-left: -30px; }
.loading > div { width: 18px; height: 18px; background-color: #aaa; border-radius: 100%; display: inline-block; animation: sk-bouncedelay 1.4s infinite ease-in-out both; }
.loading .span1 { animation-delay: -.32s; }
.loading .span2 { animation-delay: -.16s; }
@keyframes sk-bouncedelay { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
.watching_player-control { background: #000; padding: 10px; color: #ccc; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.watching_player-control .btn { background: rgba(255, 255, 255, .12); border: none; color: #eee; }
.watching_player-control .btn:hover { background: var(--primary); color: #111; }
.watching_player-control .player-info { font-size: 13px; margin: 0 6px; }
.watching_player-control .episode-nav { margin-left: auto; display: flex; gap: 8px; }
.detail_page-servers { background: #fff; margin-top: 2px; border-radius: 0 0 4px 4px; }
.dp-s-line { padding: 15px; position: relative; }
.server-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.server-btn {
    display: block; position: relative; border-radius: 5px; background: #eee; font-size: 14px; color: #111;
    padding: 30px 20px 10px 50px; text-align: left; min-width: 150px; transition: background .15s;
}
.server-btn .server-icon { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); }
.server-btn .server-label { position: absolute; top: 10px; left: 50px; font-weight: 400; font-size: 13px; opacity: .6; }
.server-btn .server-name { font-weight: 500; }
.server-btn:hover, .server-btn.active { background: var(--primary); color: #111; }
.server-notice { padding: 15px 0; font-size: 1.1em; line-height: 1.3em; opacity: .8; text-align: center; }
.watch_page .dp-i-content { min-height: 0; }
.watch_page .heading-name { font-size: 2em; }

/* --------------------------------------------------------------------------
   Static pages / boxed content / landing article
   -------------------------------------------------------------------------- */
.block_area_boxed { min-height: calc(100vh - 500px); }
.block_area_boxed .block_area-content { background: #fff; padding: 30px 50px 50px; border-radius: 20px; box-shadow: var(--shadow); }
.information_page .h2-heading, .information_page h2 { font-size: 2em; line-height: 1.3em; margin: 25px 0 10px; font-weight: 300; }
.information_page .h2-heading:first-child, .information_page h2:first-child { margin-top: 0; }
.information_page .h3-heading, .information_page h3 { font-size: 1.5em; line-height: 1.3em; margin: 15px 0 8px; font-weight: 300; }
.information_page p { line-height: 1.5em; font-size: 16px; font-weight: 300; margin: 0 0 1em; }
.information_page a { color: #000; text-decoration: underline; }
.information_page ul, .information_page ol { padding-left: 24px; margin: 0 0 1em; font-size: 16px; font-weight: 300; line-height: 1.5em; }

/* 404 */
.container-404 { margin: 150px auto; max-width: 560px; text-align: center; }
.c4-big { font-size: 120px; font-weight: 600; color: #ddd; line-height: 1em; margin-bottom: 20px; }
.c4-medium { font-size: 30px; font-weight: 300; line-height: 1.2em; margin-bottom: 10px; }
.c4-small { font-size: 14px; font-weight: 400; line-height: 1.3em; margin-bottom: 30px; color: var(--muted); }
.container-404 form.site-search { max-width: 420px; margin: 0 auto 25px; }
.container-404 .search-input { box-shadow: var(--shadow); }
.c4-button .btn { padding: 10px 30px; font-size: 15px; }

/* --------------------------------------------------------------------------
   Landing page
   -------------------------------------------------------------------------- */
.landing-header { height: auto; }
.landing-header .container { justify-content: center; flex-wrap: wrap; height: auto; min-height: var(--header-h); }
.landing-header #logo { margin-right: 20px; }
.landing-nav { display: flex; }
.landing-nav a {
    height: var(--header-h); line-height: var(--header-h); padding: 0 20px; display: inline-block;
    color: var(--dark); font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.landing-nav a:hover { color: #000; }
.menu-toggle { display: none; background: none; border: 0; font-size: 24px; color: #111; cursor: pointer; padding: 8px 10px; }
.mobile-nav { display: none; background: #111; padding: 10px 20px; }
.mobile-nav a { display: block; color: #fff; padding: 12px 0; border-bottom: 1px solid #222; font-size: 15px; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.active { display: block; }
.landing-hero { padding-top: 40px; }
.center-logo img { height: 90px; width: auto; margin-bottom: 20px; }
.center-logo h1 { margin-bottom: 15px; }
.landing-intro { max-width: 760px; margin: 0 auto 25px; font-size: 16px; font-weight: 300; line-height: 1.5em; color: var(--dark); }
.landing-actions { text-align: center; margin: -35px 0 50px; }
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.social-btn { background: #fff; box-shadow: var(--shadow); padding: 8px 18px; }
.social-btn:hover { background: var(--primary); }
.view-site-btn { padding: 12px 34px; font-size: 16px; font-weight: 500; }
.landing-genres { margin-bottom: 20px; }
.landing-genres .btn-dtag { background: #f0f0ee; }
.landing-faq details { border-bottom: 1px solid var(--line); padding: 10px 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: "+"; display: inline-block; width: 22px; color: var(--primary-dark); font-weight: 600; font-size: 20px; }
.landing-faq details[open] summary::before { content: "\2013"; }
.landing-faq summary h3 { margin: 0; font-size: 1.2em; }
.landing-faq p { margin: 8px 0 4px 22px; }
.landing-links { font-size: 15px; }
.landing-links a { text-decoration: none; }
.landing-links a:hover { text-decoration: underline; }
.landing-network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.landing-network-card { display: block; background: #fff; border-radius: 12px; padding: 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.landing-network-card:hover { transform: translateY(-3px); box-shadow: 0 14px 24px rgba(0, 0, 0, .08); }
.landing-network-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.landing-network-card span { color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
    .nav-menu .nav-item { margin: 0; }
    .nav-menu .nav-item > a { padding: 0 12px; letter-spacing: .5px; }
    #search { width: 220px; }
    .footer-notice span { text-align: left; }
}
@media (max-width: 1199px) {
    #header { height: auto; }
    #header .container { height: auto; flex-wrap: wrap; padding: 0; }
    .hamburger { display: flex; order: 1; margin: 8px 8px 8px 12px; }
    #logo { order: 2; margin: 15px auto 15px 0; height: 30px; }
    #logo img { height: 30px; }
    #logo .logo-text { font-size: 16px; line-height: 30px; }
    #header_menu { order: 4; height: 0; }
    #header_right { order: 3; width: 100%; margin: 0; background: rgba(0, 0, 0, .08); padding: 0 15px 15px; }
    #search { width: 100%; }
    .search-input { border-radius: 5px; }
    /* off-canvas drawer, toggled by app.js (.nav-menu.active) */
    .nav-menu {
        position: fixed; z-index: 101; left: -320px; top: 0; bottom: 0; width: 300px; height: auto; padding: 20px;
        background: #111; color: #ccc; display: block; overflow-y: auto; opacity: 0; transition: left .5s ease, opacity .5s ease;
        box-shadow: 0 0 30px rgba(0, 0, 0, .3);
    }
    .nav-menu.active { left: 0; opacity: 1; box-shadow: 0 0 0 100vmax rgba(28, 28, 28, .6), 0 0 30px rgba(0, 0, 0, .3); }
    .nav-menu .nav-item { display: block; margin: 0; border-bottom: 1px solid #222; }
    .nav-menu .nav-item > a { display: block; height: auto; line-height: 1.4em; padding: 15px 0; color: #fff; font-size: 16px; text-transform: none; letter-spacing: 0; }
    .nav-menu .nav-item > a.active::before { display: none; }
    .nav-menu .nav-item > a.active { color: var(--primary); }
    .landing-header .container { padding: 0 15px; justify-content: space-between; }
    .landing-nav { display: none; }
    .menu-toggle { display: inline-block; }
    .header-home-add { margin-bottom: 70px; padding-top: 25px; }
    .sht-heading { font-size: 1.8em; }
    #search-home .search-content { margin-right: 70px; bottom: -30px; }
    #search-home .search-input { height: 60px; font-size: 1.3em; padding-left: 60px; }
    #search-home .search-icon, #search-home .btn-primary-submit { width: 60px; height: 60px; }
    #search-home .btn-primary-submit { right: -70px; border-radius: 30px; }
    .landing-actions { margin-top: -15px; }
    #main-wrapper { min-height: calc(100vh - 378px); }
    #footer { padding: 30px 0; }
    #footer .container { padding-left: 15px; }
    .footer-logo-block { position: relative; top: auto; left: auto; width: 100%; order: 3; margin-top: 10px; }
    .footer-logo { display: none; }
    .text-home { margin-bottom: 30px; font-size: 1em; }
    .cover_follow { height: 600px; }
    .slc-seasons { width: 23%; }
    .slce-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 998px) {
    .film_list-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #header { margin-bottom: 25px; }
    .block_area-header-tabs { margin-bottom: 20px; }
    .cover_follow { height: 450px; }
    .footer-about { flex-basis: 60%; }
    .footer-notice { flex-basis: 30%; }
    .footer-notice span { max-width: none; }
    .slce-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .elements { grid-template-columns: 1fr; }
    .block_area_boxed .block_area-content { padding: 20px; }
}
@media (max-width: 759px) {
    .film_list-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dp-i-c-poster { width: 140px; }
    .dp-i-c-right { padding-left: 160px; }
    .cover_follow { height: 350px; }
    .dp-w-c-play { background: #fff; }
    .container-404 { margin: 80px auto; }
    .block_area { margin-bottom: 40px; }
    .seasons-list { flex-direction: column; padding: 20px; gap: 20px; }
    .slc-seasons { width: 100%; }
    .slcs-ul { display: flex; flex-wrap: wrap; gap: 5px; max-height: none; }
    .slcs-ul li { margin: 0; }
    .slcs-ul li a { padding: 10px 14px; }
    .slcs-ul li a .badge { display: none; }
    .server-btn { min-width: 46%; }
    .prebreadcrumb { display: none; }
}
@media (max-width: 639px) {
    .film_list-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
    .cat-heading { font-size: 24px; }
    .pre-tabs .nav-link { font-size: 13px; }
    .dp-i-c-poster { position: relative; top: auto; left: auto; width: 120px; margin: 0 auto 20px; }
    .dp-i-c-right { padding: 0; }
    .dp-i-content { padding: 20px; min-height: 0; }
    .heading-name { font-size: 24px; line-height: 1.4em; }
    .dp-w-cover { padding-bottom: 45%; }
    .dp-w-c-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .dp-w-c-play svg { width: 24px; height: 24px; margin-left: 2px; }
    .watching .container { padding: 0; }
    .watching_player-area { border-radius: 0; }
    .detail_page-servers { border-radius: 0; }
    .server-btn { width: 100%; padding: 12px 20px 12px 50px; }
    .server-btn .server-label { position: static; margin-right: 6px; font-size: 1em; }
    .server-notice { padding: 10px 15px; text-align: left; font-size: 1em; }
    .watching_player-control .episode-nav { margin-left: 0; width: 100%; }
    .pre-pagination { margin: 20px 0; }
    .header-home-add { margin-bottom: 55px; }
    .sht-heading { font-size: 1.4em; }
    #search-home .search-content { margin-right: 0; bottom: -25px; }
    #search-home .search-input { height: 50px; font-size: 1.1em; padding-left: 50px; padding-right: 60px; border-radius: 30px; }
    #search-home .search-icon { width: 50px; height: 50px; }
    #search-home .btn-primary-submit { right: 0; width: 50px; height: 50px; box-shadow: none; border-radius: 30px; }
    .landing-actions { margin-top: -5px; }
    .center-logo img { height: 70px; }
    .landing-intro { font-size: 15px; }
    .c4-big { font-size: 80px; }
    .c4-medium { font-size: 20px; }
    .c4-button .btn { display: block; }
    .film-detail-fix { padding-right: 0; }
    .fdi-type { display: none; }
}
@media (max-width: 479px) {
    .film_list-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .block_area-header { gap: 8px 15px; }
    .cat-heading { font-size: 20px; }
    .pre-tabs .nav-link { font-size: 12px; padding: 6px 10px; }
    .cfc-item .ni-head { width: 100%; padding-top: 0; }
    .footer-about, .footer-notice { flex-basis: 100%; }
    #footer { padding: 15px 0; }
    .footer-logo-block { margin-top: 0; }
    .slce-list ul { grid-template-columns: 1fr; }
    .dp-i-stats .btn-imdb { padding-left: 4px; }
}
