@font-face {
            font-family: 'CoFo Kak';
            src: local('CoFo Kak'), local('CoFoKak'), 
                 url('../fonts/cofokak-black.woff2') format('woff2'),
                 url('../fonts/cofokak-black.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-accent);
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    background: #121212;
    margin: 0;
    padding: 0;
    font-weight: 400;
    overflow-x: hidden;
}

/* VARIABLES */
:root {
    /* Colors */
    --primary: rgb(255 90 36);
    --primary-dark: #ff5b22;
    --primary-light: #ff7d1e;
    --secondary: #aaaaaa;
    --accent: #ff6d00;
    
    /* Backgrounds */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --bg-surface: #424242;
    --bg-floface: #1c1c1c;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #757575;
    --text-disabled: #5e5e5e;
    
    /* Borders */
    --border-light: #404040;
    --border-dark: #1d1d1d;
    
    /* States */
    --hover: rgba(255, 255, 255, 0.08);
    --focus: rgba(255, 61, 0, 0.2);
    --active: rgba(255, 61, 0, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-dark: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    --gradient-overlay: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    
    /* Typography */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    
    /* Typography */
    --font-primary: 'Roboto', 'Arial', sans-serif;
    --font-heading: 'CoFo Kak', 'Montserrat Arm', sans-serif;
    --font-accent: 'Montserrat Arm', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    
    --letter-space: .1rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    letter-spacing: var(--letter-space);
}

h1 {
    font-size: var(--font-size-xl);
}

h2 {
    font-size: var(--font-size-lg);
}

h3 {
    font-size: var(--font-size-lg);
}

h4 {
    font-size: var(--font-size-md);
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* LAYOUT */
.wrap {
    min-height: 100vh;
    padding-top: 10px;
    position: relative;
}

.wrap-center {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.wrap-main {
    background: var(--bg-primary);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    margin-bottom:5px;
}

.header.sticky {
    height: 70px;
    background: rgba(18, 18, 18, 0.98);
}

.header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    padding-left: 50px;
}

.logo::before {
    content: '\f0da';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 40px;
}

.logo:has(img) {
    padding-left: 0;
    background: none;
}

.logo:has(img)::before {
    display: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* MAIN NAVIGATION */
.hmenu {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
}

.hmenu > li {
    position: relative;
}

.hmenu > li > a {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    font-weight: 600;
    font-size: var(--font-size-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

.hmenu > li > a:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.hmenu > li > a.is-active {
    background: var(--active);
    color: var(--primary);
}

.hmenu > li > a .fa-chevron-down {
    margin-left: var(--space-xs);
    font-size: var(--font-size-sm);
    transition: transform var(--transition-normal);
}

.hmenu > li:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* DROPDOWN MENU */
.hidden-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-width: 600px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.hmenu > li:hover .hidden-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hm-col {
    width: 33.333%;
    float: left;
    padding: 0 var(--space-sm);
}

.hm-col:first-child {
    padding-left: 0;
}

.hm-col:last-child {
    padding-right: 0;
}

.hm-col h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-col li {
    margin-bottom: var(--space-xs);
}

.hm-col a {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-col a:hover {
    background: var(--hover);
    color: var(--primary);
    padding-left: var(--space-md);
}

.one-col {
    min-width: 200px;
}

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

/* SEARCH */
.search-wrap {
    flex: 0 1 400px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    height: 48px;
    background: var(--bg-floface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0 50px 0 var(--space-lg);
    color: var(--text-primary);
    font-size: var(--font-size-md);
    transition: all var(--transition-normal);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--focus);
    background: var(--bg-secondary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    position: absolute;
    right: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.search-box button:hover {
    color: var(--primary);
    background: var(--hover);
}

/* USER BUTTONS */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-menu:hover {
    background: var(--primary);
    color: white;
}

/* CAROUSEL */
.karusel {
    margin-bottom: var(--space-2xl);
    position: relative;
}

.karusel {margin-bottom: 30px;}
.owl-carousel {display: block;}
.owl-carousel.owl-loaded {display: block;}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel.owl-refresh .owl-item,
.pagi-load>span,
.slide-circle>div div {display: none;}

.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    padding: 0 10px;
}

.owl-carousel .owl-item>img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel.owl-loading {
    opacity: 0;
    display: block;
}

.owl-carousel.owl-hidden {opacity: 0;}
.owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab;
}

.owl-carousel.owl-rtl {direction: rtl;}
.owl-carousel.owl-rtl .owl-item {float: right;}

.owl-carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {z-index: 0;}
.owl-carousel .owl-animated-out {z-index: 1;}
.owl-carousel .fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}

@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}

.owl-height {transition: height .5s ease-in-out;}
.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity .4s;
}

.owl-carousel .owl-item img.owl-lazy {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000;
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    cursor: pointer;
    z-index: 1;
    background: var(--primary);
    border-radius: 50%;
    -webkit-backface-visibility: hidden;
    transition: transform .1s;
}

.owl-carousel .owl-video-play-icon:hover {
    -webkit-transform: scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    transform: scale(1.3,1.3);
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s;
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 500;
}

.owl-next, .owl-prev {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    z-index: 200;
    margin-top: -25px;
    text-align: center;
    color: var(--primary);
    font-size: 24px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.owl-prev {left: -25px;}
.owl-next {right: -25px;}

.owl-next:hover, .owl-prev:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

.owl-dots {
    text-align: center;
    padding-top: 25px;
}

.age__fix, .status__fix {
    padding: 6px 12px;
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.owl-dot {
    display: inline-block;
    vertical-align: top;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background: var(--gray);
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.karusel .th-series-item {
    width: 100%;
    padding: 0;
    margin: 0;
}

.owl-next, .owl-prev {
    color: var(--primary);
    height: 50px;
    font-size: 20px;
}

/* SECTIONS */
.sect {
    margin-bottom: var(--space-2xl);
    
}

.sect-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.sect-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
}

.sect-more {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    font-size: var(--font-size-md);
    transition: all var(--transition-normal);
}

.sect-more:hover {
    color: var(--primary-light);
    transform: translateX(var(--space-xs));
}

.sect-more .fa-chevron-right {
    margin-left: var(--space-xs);
    font-size: var(--font-size-sm);
    transition: transform var(--transition-normal);
}

.sect-more:hover .fa-chevron-right {
    transform: translateX(var(--space-xs));
}

.sect-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: 0;
}

.sect-cont {
    position: relative;
}

/* THUMB ITEMS */
.thseries-item {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.thseries-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.thseries-in {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.thseries-img {
    position: relative;
    padding-top: 150%;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.thseries-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.thseries-item:hover .thseries-img img {
    transform: scale(1.08);
}

.thseries-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thseries-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    background: var(--gradient-overlay);
    z-index: 2;
}

.thseries-title {
    font-weight: 600;
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thseries-year {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.thseries-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 61, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 3;
}

.thseries-mask .fa-play {
    font-size: 48px;
    color: white;
    transition: transform var(--transition-normal);
}

.thseries-item:hover .thseries-mask {
    opacity: 1;
}

.thseries-item:hover .thseries-mask .fa-play {
    transform: scale(1.1);
}

/* FULL STORY */
.fullseries-inform {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--border-light);
}

.fullseries-grow {
    padding: var(--space-xl);
}

.mov-column {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.fullseries-marl {
    flex: 1;
    min-width: 0;
}

.fullseries-marl-desc h1 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    line-height: 1.2;
}

.fullseries-marl-desc small {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    display: block;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.fullseries-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size:15px;
}

.fullseries-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fullseries-list li {
    display: flex;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-dark);
    align-items: flex-start;
}

.fullseries-list li:last-child {
    border-bottom: none;
}

.fullseries-list li > span:first-child {
    min-width: 120px;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-right: var(--space-md);
}

.fullseries-list li > span:last-child {
    flex: 1;
    color: var(--text-primary);
    line-height: 1.5;
}

.frates {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.frate {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white;
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-width: 120px;
	background: linear-gradient(135deg, #1c1c1c, #161616);
}

.frate span {font-size:36px;font-family: var(--font-heading);}

.frate::before {
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
}

.frate-kp {
}

.frate-kp::before {
    content: 'КП';
}

.frate-imdb {
}

.frate-imdb::before {
    content: 'IMDb';
}

.fullseries-descr {
    line-height: 1.9;
    color: var(--text-secondary);
    margin-top: var(--space-lg);
    font-size: var(--font-size-md);
}

.fullseries-descr p {
    margin-bottom: var(--space-md);
}

.fullseries-marl-img {
    flex: 0 0 300px;
}

.fullseries-marl-img-in {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-floface);
}

.fposter {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.fposter img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.fullseries-marl-img-in:hover .fposter img {
    transform: scale(1.05);
}

.fedit {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 3;
}

.fedit a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-full);
    color: white;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.fedit a:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* PLAYER SECTION */
.fplayer {
    background: var(--bg-secondary);
    overflow: hidden;
}

.fctrl {
    padding: var(--space-lg);
    background: var(--bg-floface);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tabs-sel {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
}

.tabs-sel span {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
    border: 1px solid transparent;
}

.tabs-sel span.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tabs-sel span:not(.current):hover {
    background: var(--hover);
    border-color: var(--border-light);
}

.video-box {
    padding: var(--space-xl);
    background: #000;
}

.video-box iframe {
    width: 100%;
    height: 600px;
    border-radius: var(--radius-md);
    border: none;
}

/* PLAYER CONTROLS */
.flight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    font-weight: 500;
}

.flight:hover {
    background: var(--hover);
    border-color: var(--primary);
}

.ffav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    font-weight: 500;
}

.ffav:hover {
    background: var(--hover);
    border-color: var(--primary);
}

.ffav .fa-heart {
    color: var(--primary);
}

/* COMMENTS */
.fcomms {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--border-light);
}

.fcomms .sect-header {
    margin-bottom: var(--space-xl);
    padding: 0;
}

/* RELATED */
.frels {
    background: var(--bg-floface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
}

.frels .sect-header {
    margin-bottom: var(--space-xl);
    padding: 0;
}

.frels-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* FOOTER */
.footer {
    background: rgba(18, 18, 18, 0.95);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--border-dark);
}

.footer-in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

/* Footer Logo with Description */
.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 500px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    text-align: center;
    flex: 1;
    max-width: 600px;
}

.footer-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary);
}

/* UTILITY CLASSES */
.fx-row {
    display: flex;
}

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

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

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

.fx-top {
    align-items: flex-start;
}

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

.fx-1 {
    flex: 1;
}

.fx-first {
    order: -1;
}

.fx-last {
    order: 999;
}

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

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

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

/* LOADING STATES */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-surface) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .wrap-center {
        max-width: 1140px;
    }
    
    .sect-items {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .fullseries-lists {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .wrap-center {
        max-width: 960px;
    }
    
    .header-in {
        padding: 0 var(--space-sm);
    }
    
    .search-wrap {
        flex: 0 1 300px;
        margin: 0 var(--space-md);
    }
    
    .hmenu {
        gap: var(--space-xs);
    }
    
    .hmenu > li > a {
        padding: var(--space-sm);
        font-size: var(--font-size-sm);
    }
    
    .hidden-menu {
        min-width: 500px;
    }
    
    .sect-items {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-sm);
    }
    
    .mov-column {
        flex-direction: column-reverse;
        gap: var(--space-lg);
    }
    
    .fullseries-marl-img {
        flex: 0 0 auto;
        width: 300px;
        margin: 0 auto;
    }
    
    .video-box iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .wrap {
    }
    
    .header {
        height: 70px;
    }
    
    .header-in {
        padding: 0 var(--space-sm);
    }
    
    .hmenu {
        display: none;
    }
    
    .btn-menu {
        display: flex;
    }
    
    .search-wrap {
        display: none;
    }
    
    .logo {
        font-size: var(--font-size-lg);
    }
    
    .logo::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .sect-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .sect-title {
        font-size: var(--font-size-lg);
    }
    
    .sect-items {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--space-sm);
    }
    
    .fullseries-grow {
        padding: var(--space-lg);
    }
    
    .fullseries-marl-desc h1 {
        font-size: var(--font-size-xl);
    }
    
    .fctrl {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .tabs-sel {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .flight, .ffav {
        order: 2;
    }
    
    .video-box {
        padding: var(--space-md);
    }
    
    .video-box iframe {
        height: 300px;
    }
    
    .footer-in {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .wrap-center {
        padding: 0 var(--space-sm);
    }
    
    .sect-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thseries-title {
        font-size: var(--font-size-sm);
    }
    
    .thseries-year {
        font-size: var(--font-size-xs);
    }
    
    .fullseries-marl-img {
        width: 100%;
        max-width: 300px;
    }
    
    .fullseries-lists {
        gap: var(--space-md);
    }
    
    .fullseries-list li {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .fullseries-list li > span:first-child {
        min-width: auto;
        margin-right: 0;
    }
    
    .frates {
        justify-content: center;
    }
    
    .frate {
        min-width: 100px;
        justify-content: center;
    }
    
    .karusel {
        margin-bottom: var(--space-xl);
    }
    
    .owl-prev,
    .owl-next {
        width: 44px;
        height: 44px;
        font-size: 18px !important;
    }
    
    .owl-prev {
        left: var(--space-sm);
    }
    
    .owl-next {
        right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .sect-items {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .thseries-desc {
        padding: var(--space-md) var(--space-sm) var(--space-sm);
    }
    
    .thseries-title {
        -webkit-line-clamp: 2;
    }
    
    .fullseries-grow {
        padding: var(--space-md);
    }
    
    .video-box iframe {
        height: 250px;
    }
    
    .fplayer {
        margin-top: var(--space-lg);
    }
}

/* PRINT STYLES */
@media print {
    .header,
    .footer,
    .btn-menu,
    .btn-login,
    .search-wrap,
    .fplayer,
    .fcomms {
        display: none !important;
    }
    
    .wrap {
        padding-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}

/* HIGH CONTRAST MODE SUPPORT */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --bg-tertiary: #222222;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-light: #444444;
    }
}

/* REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Добавляем в конец файла после всего остального CSS */

/* OWL CAROUSEL STYLES */
.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    -webkit-transform-style: preserve-3d;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
    display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background: #ff3d00 !important;
    border-color: #ff3d00 !important;
    transform: translateY(-50%) scale(1.1);
}

.owl-carousel .owl-nav .owl-prev {
    left: 15px;
}

.owl-carousel .owl-nav .owl-next {
    right: 15px;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: none;
}

.owl-carousel .owl-dot.active {
    background: #ff3d00 !important;
    transform: scale(1.2);
}

.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel.owl-loading {
    opacity: 0;
    display: block;
}

.owl-carousel.owl-hidden {
    opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
    visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab;
}

.owl-carousel.owl-rtl {
    direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
    float: right;
}

/* KARUSEL SPECIFIC STYLES */
.karusel {
    width: 100%;
    padding: 20px 0;
    margin: 0 0 30px 0;
    background: #1c1c1c;
    border-radius: 12px;
}

.karusel .owl-carousel {
    display: block;
}


.karusel .thseries-img {
    padding-top: 150%;
}

/* MOBILE MENU STYLES */
.btn-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2d2d2d;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
}

.btn-menu:hover {
    background: #ff3d00;
    color: white;
}

.side-panel {
    width: 280px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #1e1e1e;
    padding: 20px;
    z-index: 99999;
    position: fixed;
    left: -320px;
    top: 0;
    transition: left 0.4s ease;
    border-right: 1px solid #404040;
}

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

.close-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99998;
    display: none;
}

.side-panel.active + .close-overlay {
    display: block;
}

.btn-close {
    cursor: pointer;
    display: block;
    left: 280px;
    top: -40px;
    position: fixed;
    z-index: 99999;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    background: #e84e36;
    color: white;
    transition: top 0.4s ease;
    border-radius: 0 0 4px 0;
}

.btn-close.active {
    top: 0;
}

body.opened-menu {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.side-panel .hmenu {
    display: block;
    margin: 0;
    padding: 0;
}

.side-panel .hmenu > li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.side-panel .hmenu > li > a {
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 15px;
    box-shadow: none !important;
    color: white;
    display: block;
}

.side-panel .search-wrap,
.side-panel .btn-login {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
}

.side-panel .hidden-menu {
    width: 100%;
    display: block;
    position: static;
    background: #2d2d2d;
    width: calc(100% + 40px);
    margin-left: -20px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: 1px solid #404040;
    padding: 15px;
}

.side-panel .hm-col {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
}

.side-panel .hm-col:last-child {
    margin-bottom: 0;
}

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

/* SEARCH SUGGESTIONS */
#searchsuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e1e1e;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

#searchsuggestions .updli {
    height: 165px;
    display: block;
    width: 100% !important;
    position: relative;
    border-bottom: 1px solid #333;
    padding: 10px;
    transition: background 0.2s ease;
}

#searchsuggestions .updli:hover {
    background: #2d2d2d;
}

#searchsuggestions .updli-1 {
    float: left;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 15px;
    width: 90px !important;
    height: 135px !important;
}

#searchsuggestions .updli-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

#searchsuggestions .line-clamp {
    font-size: 17px;
    color: white;
    padding-top: 5px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

#searchsuggestions .line-clamp:hover {
    color: var(--primary);
}

#searchsuggestions .line-clamp-gray {
    font-size: 15px;
    color: #c8c8c8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

#searchsuggestions .text__search {
    font-size: 14px;
    margin-top: 5px;
    display: block;
    line-height: 20px;
    color: #aaa;
}

/* COMMENTS STYLES */
.full-comms {
    width: 100%;
}

.comm-item {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.comm-one {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.comm-one > span {
    margin-right: 15px;
    color: #aaa;
    font-size: 13px;
}

.comm-one > span.comm-author {
    font-weight: 600;
    color: #ff3d00;
}

.comm-two {
    margin: 10px 0;
    line-height: 1.6;
    color: white;
}

.comm-three {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.comm-three-left > a {
    color: #ff3d00;
    border-bottom: 1px dotted #ff3d00;
    font-size: 13px;
}

.comm-three-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comm-three-right li {
    display: inline-block;
}

.comm-three-right li a {
    color: #aaa;
    font-size: 13px;
    transition: color 0.2s ease;
}

.comm-three-right li a:hover {
    color: #ff3d00;
}

.comm-rate3 {
    white-space: nowrap;
    font-size: 16px;
    margin-right: 15px;
    height: 20px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.comm-rate3 a {
    display: inline-flex;
    align-items: center;
    color: #aaa;
    transition: color 0.2s ease;
}

.comm-rate3 a:hover {
    color: #ff3d00;
}

.comm-rate3 > span {
    margin: 0 5px;
    font-size: 14px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.comm-rate3 > span > span.ratingtypeplus {
    color: #06b601;
}

.comm-rate3 > span > span.ratingplus {
    color: #95c613;
}

.comm-rate3 > span > span.ratingminus {
    color: #ff0e0e;
}

.comm-letter {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #000;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50%;
}

.add-comms {
    width: 100%;
    margin-top: 30px;
}

.ac-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.ac-inputs input {
    flex: 1;
    height: 45px;
    background: #1e1e1e;
    border: 1px solid #404040;
    border-radius: 6px;
    padding: 0 15px;
    color: white;
    font-size: 14px;
}

.ac-inputs input:focus {
    border-color: #ff3d00;
    outline: none;
}

.ac-textarea textarea {
    width: 100%;
    height: 120px;
    background: #1e1e1e;
    border: 1px solid #404040;
    border-radius: 6px;
    padding: 15px;
    color: white;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
}

.ac-textarea textarea:focus {
    border-color: #ff3d00;
    outline: none;
}

.ac-submit button {
    background: #ff3d00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ac-submit button:hover {
    background: #dd2c00;
}

/* RATING STYLES */
.flikes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
    margin:10px;
}

.rate-plus, .rate-minus {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 26px;
    border-radius: 6px;
    transition: background 0.2s ease;
    color: white;
}

.rate-plus:hover {
    background: rgba(76, 175, 80, 0.2);
}

.rate-minus:hover {
    background: rgba(244, 67, 54, 0.2);
}

.flikes .fa {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: white;
    font-size: 24px;
}

.rate-plus .fa {
}

.rate-minus .fa {
}

.slide-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: -25px 0 0 -25px;
    background: #e1e1e1;
    box-shadow: 0 0 0 5px #1c1c1c, 0 0 12px 0 rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 50%;
    top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
}

/* Rating color based on value */
.slide-circle.rating-high {
    border-color: #4caf50;
    color: #4caf50;
}

.slide-circle.rating-medium {
    border-color: #ff9800;
    color: #ff9800;
}

.slide-circle.rating-low {
    border-color: #f44336;
    color: #f44336;
}

.slide-circle.rating-neutral {
    border-color: #9e9e9e;
    color: #9e9e9e;
}

/* Specific colors for different rating ranges */
.slide-circle.rating-9 { border-color: #4caf50;color: #4caf50; }
.slide-circle.rating-8 { border-color: #8bc34a;color: #8bc34a; }
.slide-circle.rating-7 { border-color: #cddc39;color: #cddc39; }
.slide-circle.rating-6 { border-color: #ffeb3b;color: #ff9800; }
.slide-circle.rating-5 { border-color: #ffc107;color: #ff9800; }
.slide-circle.rating-4 { border-color: #ff9800;color: #ff9800; }
.slide-circle.rating-3 { border-color: #ff5722;color: #ff5722; }
.slide-circle.rating-2 { border-color: #f44336;color: #f44336; }
.slide-circle.rating-1 { border-color: #d32f2f;color: #d32f2f; }
.slide-circle.rating-0 { border-color: #9e9e9e;color: #9e9e9e; }

.fvotes {
    text-align: center;
    padding: 10px 0;
    color: #aaa;
    font-size: 13px;
}

/* FIX FOR FULLSTORY LAYOUT */
.filmbox__inform {
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.filmbox__grow {
    padding: 30px 30px 0 30px;
}

.mov__column {
    display: flex;
    gap: 30px;
}

.filmbox__marl {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filmbox__marl-img {
    flex: 0 0 300px;
}

.filmbox__marl-img-in {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.fsubtitle {
    text-align: center;
    margin: 30px 0 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-dark);
    color: white;
    width: 100%;
}

/* SPEEDBAR STYLES */
.speedbar {
    font-size: 14px;
    margin: -10px 0 20px 0;
    color: #aaa;
    padding: 10px 30px;
}

.speedbar a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.speedbar a:hover {
    color: #ff6333;
}

.speedbar span {
    color: #aaa;
}

/* PAGINATION STYLES */
.pagi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.navigation a, .navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 2px;
    border-radius: 6px;
    background: #2d2d2d;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #404040;
}

.navigation a:hover {
    background: #ff3d00;
    border-color: #ff3d00;
    color: white;
}

.navigation span {
    background: #ff3d00;
    border-color: #ff3d00;
    color: white;
}

.navigation span.nav_ext {
    background: #2d2d2d;
    border-color: #404040;
    color: #666;
}

.pnext a, .pprev a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

/* ADAPTIVE FIXES */
@media (max-width: 768px) {
    .btn-menu {
        display: flex;
    }
    
    .header .hmenu,
    .header .search-wrap {
        display: none;
    }
    
    .mov__column {
        flex-direction: column;
    }
    
    .filmbox__marl-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .ac-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .comm-three {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comm-three-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .karusel {
        margin: 0 -10px 20px -10px;
        border-radius: 0;
        padding: 15px 10px;
    }
    
    .owl-carousel .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px !important;
    }
    
    .owl-carousel .owl-nav .owl-prev {
        left: 5px;
    }
    
    .owl-carousel .owl-nav .owl-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .filmbox__grow {
        padding: 20px 15px;
    }
    
    .flikes {
        gap: 10px;
    }
    
    .rate-plus, .rate-minus {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .comm-item {
        padding: 15px;
    }
    
    .comm-one {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comm-one > span {
        margin-right: 0;
    }
}

/* FIX FOR HIDDEN ELEMENTS */
.hidden {
    display: none !important;
}

#dofullsearch {
    display: none !important;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff3d00;
}



/* Добавьте в конец styles.css */

/* Alternative Dark Mode Solution */
body.light-off {
    position: relative;
}

body.light-off::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    pointer-events: none;
}

/* Create a "hole" for the player section */
body.light-off .fplayer {
    position: relative;
    z-index: 9999;
}

body.light-off .fplayer::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--bg-secondary);
    z-index: -1;
    border-radius: 12px;
}

/* Ensure light button stays visible */
body.light-off .flight {
    position: relative;
    z-index: 10000;
    background: var(--primary) !important;
    color: white !important;
}

/* Mobile order for fullstory */
@media (max-width: 768px) {
    .mov__column {
        flex-direction: column;
    }
    
    .filmbox__marl-img {
        order: -1;
        margin-bottom: 20px;
    }
    
    .filmbox__marl {
        order: 1;
    }
}

/* Expand button styles */
.expand-btn {
    background: var(--bg-floface) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    margin-top: 10px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.3s ease !important;
}

.expand-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px) !important;
}

/* Rating fixes */
.flikes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    margin: 20px;
}

.rate-plus, .rate-minus {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-tertiary);
}

.rate-plus:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
}

.rate-minus:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
}

.slide-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-floface);
    display: flex;
    font-family: var(--font-heading);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 21px;
    color: var(--text-primary);
    border: 3px solid var(--primary);
}

.fvotes {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
}

/* Mobile menu styles */
.side-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 10000;
    transition: left 0.3s ease;
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid var(--border-light);
}

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

.close-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.side-panel.active + .close-overlay {
    display: block;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
}

.side-panel .hmenu {
    flex-direction: column;
    gap: 0;
}

.side-panel .hmenu > li > a {
    padding: 15px;
    border-bottom: 1px solid var(--border-dark);
    border-radius: 0;
}

.side-panel .hidden-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-tertiary);
    margin: 10px -20px;
    padding: 15px;
    min-width: auto;
}

.side-panel .hm-col {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
}

.side-panel .hm-col:last-child {
    margin-bottom: 0;
}

/* Fix for pagination inside sect-cont */
.sect-cont {
    position: relative;
}

.sect-cont .bottom-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--space-2xl) 0 0 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-dark);
    grid-column: 1 / -1; /* Занимает всю ширину grid */
}

.sect-items + .bottom-nav {
    margin-top: var(--space-2xl);
}

/* Ensure pagination takes full width in grid */
.sect-items.clearfix + .bottom-nav {
    width: 100%;
    clear: both;
    float: none;
}

/* Specific styles for pagination inside sect-cont */
.sect-cont .pagi-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--space-md) 0;
}

.sect-cont .navigation {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.sect-cont .navigation a,
.sect-cont .navigation span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.sect-cont .navigation a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.sect-cont .navigation span {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Load More Button inside sect-cont */
.sect-cont .pagi-load {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.sect-cont .pagi-load a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.sect-cont .pagi-load a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .sect-cont .bottom-nav {
        margin: 30px 0 15px 0;
        padding: 20px 0 0 0;
    }
    
    .sect-cont .navigation {
        gap: 8px;
    }
    
    .sect-cont .navigation a,
    .sect-cont .navigation span {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .sect-cont .pagi-load a {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* Full-width dropdown menu */
.hmenu > li {
    position: static; /* Важно для полноширинного меню */
}

.hidden-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--space-xl);
    min-width: auto;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    max-height: 80vh;
    overflow-y: auto;
}

.hmenu > li:hover .hidden-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Container for full-width menu */
.hidden-menu .hm-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
}

.hm-col {
    flex: 1;
    min-width: 0;
}

.hm-col h4 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.hm-col li {
    margin: 0;
}

.hm-col a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent;
}

.hm-col a:hover {
    background: var(--hover);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(var(--space-xs));
}

/* Responsive design for full-width menu */
@media (max-width: 1200px) {
    .hidden-menu .hm-container {
        max-width: 1140px;
        gap: var(--space-lg);
    }
}

@media (max-width: 992px) {
    .hidden-menu .hm-container {
        max-width: 960px;
        gap: var(--space-md);
    }
    
    .hm-col h4 {
        font-size: var(--font-size-sm);
    }
    
    .hm-col a {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 768px) {
    .hidden-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        margin-left: 0;
        max-height: calc(100vh - 70px);
        border-radius: 0;
        padding: var(--space-lg);
    }
    
    .hidden-menu .hm-container {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hm-col ul {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--space-sm);
    }
}

/* Scrollbar for dropdown */
.hidden-menu::-webkit-scrollbar {
    width: 6px;
}

.hidden-menu::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.hidden-menu::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 3px;
}

.hidden-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


