/* LordFilm light redesign — clean CSS */

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswaldbold.woff2') format('woff2'), url('../fonts/Oswaldbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --green: #79c142;
    --green-dark: #5ead2d;
    --green-soft: #eaf7e3;
    --orange: #ff7a1a;
    --red: #ff4343;
    --text: #202733;
    --muted: #7a8494;
    --line: #e6ebf1;
    --soft: #f6f8fb;
    --card: #ffffff;
    --dark: #07121b;
    --radius: 12px;
    --shadow: 0 12px 35px rgba(27, 42, 58, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    background: var(--dark);
}

body {
    font: 14px/1.45 'Open Sans', Arial, sans-serif;
    color: var(--text);
    font-weight: 400;
}

button,
input,
textarea,
select {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
}

button {
    cursor: pointer;
    border: 0;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a:hover {
    color: var(--green-dark);
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.hidden,
#dofullsearch {
    display: none;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.nowrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fx-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fx-col {
    display: flex;
    flex-direction: column;
}

.fx-center {
    justify-content: center;
}

.fx-middle {
    align-items: center;
}

.fx-start {
    justify-content: flex-start;
}

.fx-1 {
    flex: 1 1 0;
    min-width: 50px;
    max-width: 100%;
}

.anim {
    transition: 0.2s ease;
}

.button,
.btn,
.pagi-load a,
input[type='submit'],
input[type='button'],
input[type='reset'],
button:not(.color-btn):not([class*='fr']) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 9px;
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(90, 175, 45, 0.22);
}

.button:hover,
.btn:hover,
.pagi-load a:hover,
input[type='submit']:hover,
input[type='button']:hover,
input[type='reset']:hover,
button:not(.color-btn):hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(90, 175, 45, 0.3);
}

input[type='text'],
input[type='password'],
select,
textarea {
    width: 100%;
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
}

input[type='text'],
input[type='password'],
select {
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
}

textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(121, 193, 66, 0.12);
}

input::placeholder,
textarea::placeholder {
    color: #a8b1bd;
    font-size: 13px;
}

.icon-left .fa {
    margin-right: 8px;
}

.icon-right .fa {
    margin-left: 8px;
}

.img-box,
.img-wide,
.img-square,
.img-resp,
.img-resp-vert,
.img-resp-sq,
.img-fit {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
}

.img-resp {
    padding-top: 60%;
}

.img-resp-vert {
    padding-top: 145%;
}

.img-resp-sq {
    padding-top: 100%;
}

.img-resp img,
.img-resp-vert img,
.img-resp-sq img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-wide img,
.img-fit img {
    width: 100%;
}

.img-fit img {
    height: 100%;
    object-fit: cover;
}

/* Background */
.lf-page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--dark);
    background-image: url('../images/bg.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.lf-page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 14, 20, 0.34);
}

.site-wrap {
    position: relative;
    z-index: 1;
}
/* Layout */
.wrap {
    position: relative;
    z-index: 2;
    min-width: 320px;
    padding: 28px 14px 46px;
}

.wrap-center {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
}

.wrap-main {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(230, 235, 241, 0.9);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
}

.content {
    padding: 24px 26px 28px;
}

.main {
    min-height: 420px;
}

/* Header */
.header {
    position: relative;
    z-index: 1003;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    transition: top 0.2s linear;
}

.header.sticky {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(30, 45, 60, 0.08);
}

.header.sticky-hide {
    top: -72px;
}

.header.sticky-vis {
    top: 0;
}

.header-in {
    height: 72px;
    padding: 0 26px;
}

.logo {
    display: flex;
    align-items: center;
    width: 240px;
    min-width: 240px;
    height: 72px;
}

.logo img {
    width: auto;
    max-height: 54px;
}

.btn-menu {
    display: none;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.hmenu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 24px;
}

.hmenu > li {
    position: relative;
}

.hmenu > li > a {
    display: flex;
    align-items: center;
    height: 72px;
    color: #3a414b;
    font-family: 'Oswald', 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.86;
}

.hmenu > li:hover > a,
.hmenu > li > a.is-active {
    color: var(--green-dark);
    opacity: 1;
    box-shadow: inset 0 -3px var(--green);
}

.hidden-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1002;
    width: 610px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.18s ease;
}

.hmenu > li:hover .hidden-menu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.hm-col {
    float: left;
    width: 33.33%;
    padding: 0 8px;
}

.hm-col li {
    min-height: 26px;
    color: #202733;
    font-weight: 600;
    line-height: 26px;
}

.hm-col a {
    display: block;
    overflow: hidden;
    margin: 0 -8px;
    padding: 0 8px;
    border-radius: 6px;
    color: #5d6570;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hm-col a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.one-col {
    width: 200px;
}

.one-col .hm-col {
    width: 100%;
}

.search-wrap {
    max-width: 280px;
    margin-left: auto;
}

.search-box {
    position: relative;
}

.search-box input {
    height: 40px;
    line-height: 40px;
    padding: 0 54px 0 16px;
    border-radius: 8px;
    background: #ffffff;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(180deg, #82d34a, #58ae24);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(90, 175, 45, 0.22);
}

.search-box button:hover {
    background: linear-gradient(180deg, #8bdd52, #5fb82a);
    color: #ffffff;
    transform: none;
    box-shadow: 0 9px 20px rgba(90, 175, 45, 0.28);
}

.search-box button .fa {
    margin: 0;
    line-height: 1;
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 12px;
    border-radius: 50%;
    background: #f1f4f7;
    color: #7d8793;
    cursor: pointer;
}

.btn-login:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

/* Sections */
.sect {
    margin-bottom: 30px;
}

.sect-header {
    gap: 12px;
    margin-bottom: 18px;
}

.sect-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
}

.sect-title.plain-title {
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: var(--text);
    line-height: 1.2;
    box-shadow: none;
}

.sect-title:not(.plain-title) {
    height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
    line-height: 40px;
}

.sect-more {
    margin-left: auto;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.sect-more .fa {
    margin-left: 6px;
}

.sect-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sect-tabs span {
    position: relative;
    height: 32px;
    color: #939ba7;
    font-size: 13px;
    font-weight: 600;
    line-height: 32px;
    cursor: pointer;
}

.sect-tabs span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px;
    background: transparent;
}

.sect-tabs span.is-active {
    color: var(--text);
}

.sect-tabs span.is-active::after {
    background: var(--green);
}

.sect-tabs span:hover {
    color: var(--green-dark);
}

.sect-cont > .fa {
    display: block;
    padding: 40px;
    color: #c9d1da;
    font-size: 70px;
    text-align: center;
}

.speedbar {
    margin-bottom: 14px;
    color: #8d97a6;
    font-size: 12px;
}

/* Home */
.lf-home {
    padding-top: 4px;
}

.lf-slider-wrap {
    position: relative;
}

.lf-premieres .sect-cont {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    margin: 0 -9px;
    padding-bottom: 2px;
    scroll-behavior: smooth;
}

.lf-premieres .th-item {
    float: none;
    flex: 0 0 16.666%;
    width: auto;
}

.lf-premieres .th-item:nth-child(n+7) {
    display: block;
}

.lf-arr {
    position: absolute;
    top: 45%;
    z-index: 15;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: #6f7884;
    box-shadow: 0 8px 20px rgba(20, 35, 50, 0.1);
}

.lf-arr:hover {
    background: #ffffff;
    color: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 35, 50, 0.14);
}

.lf-arr-left {
    left: -18px;
}

.lf-arr-right {
    right: -18px;
}

.lf-dots {
    padding-top: 12px;
    text-align: center;
}

.lf-dots span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 6px;
    border-radius: 50%;
    background: #d8dee6;
}

.lf-dots .is-active {
    background: var(--green);
}

.lf-type-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 4px 0 30px;
}

.lf-type-tabs button {
    height: 46px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(20, 35, 50, 0.04);
}

.lf-type-tabs button .fa {
    margin-right: 9px;
    color: #ffffff;
}

.fa-download {padding-right: 5px;}
.lf-type-tabs button.is-active {
    background: linear-gradient(180deg, #82d34a, #61b42f);
    border-color: #65b832;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(90, 175, 45, 0.2);
}

.lf-type-tabs button.is-active .fa {
    color: #ffffff;
}

.lf-type-tabs button:hover {
    border-color: #cfe4c3;
    color: var(--green-dark);
    transform: translateY(-1px);
}

.lf-type-tabs button.is-active:hover {
    color: #ffffff;
}

.lf-ajax-content.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--green-dark);
    font-size: 28px;
}



.lf-row-section {
    margin-top: 10px;
}

.lf-row-section .th-item {
    width: 16.666%;
}

.lf-load-more-wrap {
    margin: 18px 0 28px;
    text-align: center;
}

.lf-load-more {
    min-width: 230px;
    height: 42px;
    border: 1px solid rgba(97, 173, 49, 0.55);
    background: #ffffff;
    color: var(--green-dark);
    box-shadow: 0 8px 22px rgba(25, 45, 65, 0.06);
}

.lf-load-more:hover {
    background: var(--green-soft);
    color: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(25, 45, 65, 0.08);
}

.lf-load-more.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.lf-benefits {
    display: none;
}

/* Poster cards */
.sect-items {
    margin: 0 -9px -18px;
}

.th-item {
    float: left;
    width: 16.666%;
    padding: 0 9px;
    margin-bottom: 18px;
}

.th-in {
    position: relative;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: #111111;
    box-shadow: 0 8px 20px rgba(18, 30, 42, 0.12);
}

.th-in:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(18, 30, 42, 0.18);
}

.th-img {
    background: #e9edf2;
}

.th-img::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 58%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.th-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    min-height: 0;
    padding: 12px 10px 10px;
    background: transparent;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.th-title {
    min-height: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.th-year {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.th-rates {
    gap: 8px;
    margin-top: 7px;
    color: #ffffff;
}

.th-rate {
    color: #ffffff;
    font-size: 11px;
    text-shadow: none;
}

.th-rate-kp::before {
    content: attr(data-text);
    margin-right: 4px;
    color: var(--orange);
    font-weight: 700;
}

.th-rate-imdb::before {
    content: attr(data-text);
    display: inline-block;
    margin-right: 4px;
    padding: 0 3px;
    border-radius: 2px;
    background: #f5c400;
    color: #222222;
    font-size: 9px;
    font-weight: 800;
}

.th-series {
    position: absolute;
    left: 9px;
    top: 9px;
    z-index: 6;
    padding: 4px 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.th-mask {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(0, 0, 0, 0.36);
    color: #ffffff;
    font-size: 34px;
    opacity: 0;
}

.with-mask:hover .th-mask {
    opacity: 1;
}

/* Full story */
.full {
    position: relative;
}

.fmain,
.frels,
.fcomms,
.lf-cat-page {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.fmain {
    padding: 16px;
}

.lf-full-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 14px;
}

.lf-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 12px;
    background: #111b25;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 34px rgba(16, 27, 38, 0.14);
}

.lf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(5, 10, 16, 0.9) 0%, rgba(7, 13, 20, 0.7) 44%, rgba(7, 13, 20, 0.18) 100%),
        linear-gradient(0deg, rgba(5, 10, 16, 0.46), rgba(5, 10, 16, 0.28)),
        var(--lf-poster);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.lf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.12), transparent 32%), linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 72%);
    pointer-events: none;
}

.lf-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
   
    padding: 20px;
    color: #ffffff;
}

.lf-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.lf-labels span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 5px;
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.lf-title-row {
    display: flex;
    
    gap: 16px;
    margin-bottom: 18px;
}

.lf-mini-poster {
    flex: 0 0 72px;
    width: 72px;
    height: 104px;
    overflow: hidden;
    border-radius: 8px;
    background: #121b24;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lf-mini-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lf-title-main {
    min-width: 0;
}
.kino-sctn__title {font-size: 22px;}
.lf-hero h1 {
   
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.14;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.lf-original {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.fdesc {
    width: 100%;
   
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 13px;
    line-height: 1.62;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.fdesc span {
    font-weight: 800;
}

.fdesc.slice-this {
    display: block;
}

.lf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.lf-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 218px;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(90, 175, 45, 0.28);
}

.lf-watch-btn:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #8bdd52, #5fb82a);
    box-shadow: 0 12px 28px rgba(90, 175, 45, 0.34);
}

.lf-watch-btn .fa {
    margin-right: 10px;
}

.lf-user-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 70px;
    padding: 8px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 17, 25, 0.42), rgba(10, 17, 25, 0.28));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    text-shadow: none;
}

.lf-user-rating .rate-plus,
.lf-user-rating .rate-minus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.lf-user-rating .rate-plus .fa,
.lf-user-rating .rate-minus .fa {
    margin-bottom: 4px;
    font-size: 22px;
}

.lf-user-rating .rate-plus .fa {
    color: #55dc3e;
}

.lf-user-rating .rate-minus .fa {
    color: var(--red);
}

.lf-user-rating .psc,
.lf-user-rating .msc {
    color: #ffffff;
    font-size: 12px;
    white-space: nowrap;
}

.slide-circle {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(from -90deg, #32f169 0 var(--rate, 0%), #ff7a1a var(--rate, 0%) 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.slide-circle::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #101a24;
}

.slide-circle > div {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.slide-circle > div > div {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
}

.fedit {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 4;
    color: #ffffff;
    font-size: 18px;
}

.lf-cast-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 360px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}

.lf-card-title,
.frels-title {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.lf-card-title {
    flex: 0 0 auto;
}

.lf-cast-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.2;
}

.lf-cast-text a,
.lf-cast-text span {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 34px;
    padding: 0 20px 0 0;
    border-bottom: 1px solid var(--line);
    color: #4d5868;
    font-size: 13px;
    position: relative;
}

.lf-cast-text a::before,
.lf-cast-text span::before {
    content: '\f2bd';
    display: inline-block;
    width: 20px;
    margin-right: 8px;
    color: #d6dde6;
    font-family: FontAwesome;
    font-size: 15px;
}

.lf-cast-text a::after,
.lf-cast-text span::after {
    content: '\f105';
    position: absolute;
    right: 2px;
    color: #9ca6b4;
    font-family: FontAwesome;
}

.lf-cast-text a:hover {
    color: var(--green-dark);
}

.lf-cast-more {
    flex: 0 0 auto;
    margin-top: 12px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}

.lf-info-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 186px;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 16px;
}

.lf-info-grid,
.lf-rate-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.lf-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    padding: 10px 20px;
}

.lf-info-item {
    display: grid;
    grid-template-columns: 22px 178px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 36px;
    border-bottom: 1px solid var(--line);
    color: #596473;
    font-size: 13px;
}

.lf-info-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.lf-info-item .fa {
    color: #9aa7b8;
    text-align: center;
}

.lf-info-item b {
    color: #424c5a;
    font-weight: 700;
    white-space: nowrap;
}

.lf-info-item em {
    min-width: 0;
    color: #546070;
    font-style: normal;
}

.lf-info-item a {
    color: var(--green-dark);
}

.lf-rate-card {
    display: grid;
    gap: 4px;
    
    padding: 18px;
}

.lf-rate-row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px solid var(--line);
   
}
.lf-kp { background: url(../images/kp.svg) 0 center / 20px no-repeat;}

.lf-rate-row:last-child {
    border-bottom: 0;
}

.lf-rate-row .fa {
    color: var(--green-dark);
    font-size: 22px;
    opacity: 0;
}

.lf-rate-row b {
    color: #586272;
    font-size: 12px;
}

.lf-rate-row strong {
    color: #202733;
    font-size: 20px;
}

.lf-imdb span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 15px;
    border-radius: 2px;
    background: #f5c400;
    color: #222222;
    font-size: 9px;
    font-weight: 800;
}

/* Player */
.fplayer {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.fctrl {
    min-height: 40px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfe;
}

.tabs-sel {
    display: flex;
    gap: 4px;
}

.tabs-sel span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    color: #7d8794;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.tabs-sel span.current {
    background: linear-gradient(180deg, #82d34a, #61b42f);
    color: #ffffff;
}

.fcompl,
.flight {
    margin-left: 18px;
    color: #7e8998;
    font-size: 12px;
}

.flight::after {
    content: '';
    display: inline-block;
    width: 34px;
    height: 18px;
    margin-left: 8px;
    border-radius: 18px;
    background: linear-gradient(90deg, #d9e1ea 0 45%, #65bd35 45% 100%);
    vertical-align: middle;
}

.tabs-b {
    display: none;
}

.tabs-b.visible {
    display: block;
}

.video-box {
    position: relative;
    height: 540px;
    background: #111111;
}

.video-box iframe,
.video-box video-player,
.video-box .player {
    width: 100%;
    height: 100%;
}

.light-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.82);
}

.light-off .fplayer {
    position: relative;
    z-index: 1001;
}

/* Share / related / comments */
.fshare {
    display: none;
}

.frels,
.fcomms,
.lf-cat-page {
    padding: 18px;
}

.frels .sect-items {
    display: block;
}

.frels .th-item {
    width: 16.666%;
    padding: 0 9px;
}

.fcomms .sect-cont {
    gap: 22px;
}

.full-comms,
.add-comms {
    flex: 1 1 0;
    min-width: 0;
}
#full-comms {order: 1;}

.lf-comms-note {
    margin: -6px 0 16px;
    color: var(--muted);
    font-size: 13px;
}

.fcomms .mass_comments_action {
    display: none;
}

.comm-item {
    position: relative;
    min-height: 64px;
    padding: 14px 0 14px 58px;
    border-bottom: 1px solid var(--line);
}

.comm-letter {
    position: absolute;
    left: 0;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.comm-one {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.comm-author {
    margin-right: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.comm-two {
    color: #475262;
    font-size: 13px;
    line-height: 1.6;
}

.comm-rate3 {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.comm-rate3 .fa {
    margin: 0 6px;
    color: var(--green-dark);
}

.add-comm-form {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}

.ac-inputs {
    gap: 12px;
    margin-bottom: 12px;
}

.ac-inputs input {
    width: calc(50% - 6px);
}

.ac-textarea {
    margin-bottom: 12px;
}

.ac-protect {
    display: none;
    margin-bottom: 12px;
}

.add-comm-form.active .ac-protect {
    display: block;
}

.ac-submit {
    text-align: right;
}

/* Text blocks */
.full-text,
.desc-text,
.static-page {
    color: #3e4652;
    font-size: 14px;
    line-height: 1.7;
}

.full-text p,
.desc-text p,
.static-page p {
    margin-bottom: 14px;
}

.desc-text {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}

/* Navigation */
.bottom-nav {
    clear: both;
    margin: 24px 0 0;
    text-align: center;
}

.pagi-load {
    margin-bottom: 16px;
}

.pagi-load a {
    min-width: 210px;
}

.pagi-nav {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.navigation a,
.navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--muted);
    font-weight: 600;
}

.navigation span,
.navigation a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

/* Footer */
.footer {
    min-height: 66px;
    padding: 0 26px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: #7d8794;
}

.ft-menu a {
    color: #7d8794;
}

.ft-menu a:hover {
    color: var(--green-dark);
}

/* Login / side panel */
.close-overlay,
.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 1005;
    display: none;
    background: rgba(9, 18, 28, 0.62);
}

.side-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -320px;
    z-index: 1006;
    width: 300px;
    padding: 22px;
    overflow-y: auto;
    background: #ffffff;
    transition: left 0.2s ease;
}

.side-panel.active {
    left: 0;
}

.btn-close {
    position: fixed;
    top: 18px;
    left: 320px;
    z-index: 1007;
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
}

.btn-close.active {
    display: flex;
}

.login-box {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1008;
    display: none;
    width: 360px;
    max-width: calc(100% - 30px);
    padding: 28px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
}

.login-close {
    position: absolute;
    right: 12px;
    top: 12px;
    color: var(--muted);
    cursor: pointer;
}

.login-title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.login-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 30px;
}

.login-input,
.login-check,
.login-btn {
    margin-bottom: 12px;
}

.login-menu {
    gap: 8px;
}

.login-menu li {
    width: calc(50% - 4px);
}

.login-menu a {
    display: block;
    padding: 9px;
    border-radius: 8px;
    background: var(--soft);
    color: #4a5564;
    font-size: 13px;
}

.login-menu a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

#gotop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(90, 175, 45, 0.28);
}

/* Responsive */
@media (max-width: 1280px) {
    .logo {
        width: 220px;
        min-width: 220px;
    }

    .lf-list-section .th-item,
    .lf-row-section .th-item {
        width: 16.666%;
    }
}

@media (max-width: 1100px) {
    html,
    body {
        background: #f4f8f5;
    }

    .lf-page-bg {
        background-image: none;
        background: linear-gradient(135deg, #f5fff2, #f7fbff);
    }

    .wrap {
        padding: 0;
    }

    .wrap-main {
        border-radius: 0;
    }

    .header-in {
        height: 64px;
    }

    .logo {
        width: 170px;
        min-width: 170px;
        height: 64px;
    }

  
    .btn-menu {
        display: block;
        margin-left: auto;
    }

    .hmenu,
    .header .to-mob {
        display: none;
    }

    .side-panel .to-mob,
    .side-panel .hmenu {
        display: block;
    }
.side-panel .btn-login {display: flex !important;}
    .side-panel .hmenu {
        margin: 0;
    }

    .side-panel .hmenu > li > a {
        height: 42px;
    }

    .side-panel .hidden-menu {
        position: static;
        width: auto;
        padding: 8px 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .hm-col {
        float: none;
        width: 100%;
    }

    .content {
        padding: 18px;
    }

    .lf-full-head {
        grid-template-columns: 1fr;
    }

    

    .lf-hero-content {
        max-width: 100%;
        padding: 26px;
    }

    .lf-user-rating {
        width: 100%;
        max-width: 330px;
    }

    .lf-info-panel {
        grid-template-columns: 1fr;
    }

    .lf-info-grid {
        grid-template-columns: 1fr;
    }

    .lf-info-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .lf-list-section .th-item,
    .lf-row-section .th-item,
    .frels .th-item {
        width: 25%;
    }

    .lf-premieres .th-item {
        flex-basis: 25%;
    }
}

@media (max-width: 760px) {
    .content {
        padding: 8px;
    }

    .lf-type-tabs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .lf-type-tabs button {
        flex: 0 0 auto;
        min-width: 170px;
    }

    .sect-tabs {
        width: 100%;
        gap: 16px;
        overflow-x: auto;
    }

    .lf-hero {
        min-height: auto;
    }

    .lf-hero-content {
        padding: 22px 18px;
    }

    .lf-title-row {
        align-items: flex-start;
        gap: 12px;
    }

    .lf-mini-poster {
        flex-basis: 58px;
        width: 58px;
        height: 84px;
    }

  

    .fdesc {
        font-size: 13px;
    }

    .lf-watch-btn {
        width: 100%;
        min-width: 0;
    }

    .lf-user-rating {
        max-width: none;
    }

    .lf-info-item {
        grid-template-columns: 20px 1fr;
        gap: 8px;
    }

    .lf-info-item em {
        grid-column: 2 / 3;
    }

    .video-box {
        height: 310px;
    }

    .fmain,
    .frels,
    .fcomms,
    .lf-cat-page {
        padding: 12px;
        border-radius: 12px;
    }

    .full-comms,
    .add-comms {
        flex-basis: 100%;
    }

    .ac-inputs input {
        width: 100%;
    }

    .footer {
        display: block;
        padding: 18px;
        text-align: center;
    }

    .ft-menu {
        margin-top: 10px;
    }

    .lf-list-section .th-item,
    .lf-row-section .th-item,
    .frels .th-item {
        width: 33.333%;
        padding: 0 6px;
    }

    .lf-premieres .th-item {
        flex-basis: 30%;
        padding: 0 6px;
    }

    .sect-items {
        margin: 0 -6px -12px;
    }

    .th-item {
        margin-bottom: 12px;
    }
}

@media (max-width: 470px) {
    .lf-list-section .th-item,
    .lf-row-section .th-item,
    .frels .th-item {
        width: 50%;
    }

    .lf-premieres .th-item {
        flex-basis: 50%;
    }

    .slide-circle {
        width: 62px;
        height: 62px;
    }

    .slide-circle > div {
        font-size: 20px;
    }

    .video-box {
        height: 260px;
    }

    .login-box {
        padding: 22px;
    }
}
