html,body,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
    margin: 0;
    padding: 0;
}
body, html {
    color: #000;
    font-size: 11px;
    background: #000000;
    font-family: Tahoma, Geneva, sans-serif;
}
input, button, textarea {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px;
}
body {
    padding-top: 0;
}
h1, h2, h3 {
    font-weight: normal;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #a7a7a7;
}
a img {
    border: 0 none;
}
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.clr {
    clear: both;
    display: block;
}
.left {
    float: left !important;
}
.right {
    float: right !important;
}

/* Wrapper */
#wrapper {
    position: relative;
    width: 900px;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 4px 0px #a4a4a4;
    box-shadow: 0px 0px 4px 0px #a4a4a4;
}

/* Header */
.head {
    background: #1a1a1a;
    height: 45px;
    position: relative;
    padding-top: 63px;
}
.logo {
    position: absolute;
    top: 15px;
    left: 15px;
}
.logo img {
    height: 40px;
}
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
.logo a span {
    color: #ff751a;
}

/* Search */
.serch_box {
    position: absolute;
    top: 15px;
    left: 220px;
    width: 520px;
}
.sb_input, .sb_bottom {
    height: 28px;
    line-height: 28px;
    padding: 0px 10px;
    border: 0px;
}
.sb_input {
    width: 390px;
    float: left;
    background: #000;
    color: #fff;
    margin-right: 5px;
    border: 1px #1c1c1c solid;
}
.sb_bottom {
    background: #000;
    float: right;
    height: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    border: 1px #1c1c1c solid;
    width: 100px;
}
.sb_bottom:hover {
    background: #ff751a;
}

/* Login box */
.login_box {
    height: 51px;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 6px;
    width: 193px;
}
.lb_av {
    height: 51px;
    width: 51px;
    position: relative;
    overflow: hidden;
    float: right;
    margin-left: 10px;
}
.lb_av a img {
    width: 51px;
    height: 51px;
}
.lb_bt {
    height: 24px;
    font-weight: bold;
    float: right;
    text-align: right;
    padding-top: 10px;
}
.lb_bt div {
    font-size: 11px;
    margin-bottom: 3px;
}
.lb_bt div a {
    color: #727272;
    font-weight: normal;
}
.lb_bt a {
    color: #fff;
}
.lb_bt_show {
    color: #fff !important;
}
.lb_panel {
    position: absolute;
    top: 63px;
    right: 0px;
    display: none;
    padding: 10px;
    z-index: 10;
    background: #459830;
    color: #fff;
    border-top: 1px #8fcc80 solid;
    width: 185px;
}
ul.login_form li {
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}
.lb_panel a {
    color: #fff;
}
.lb_panel ul li .f_input {
    width: 173px;
}
.lb_sub_bt {
    padding: 7px 10px;
    margin-right: 5px;
    float: left;
    color: #326425;
    font-weight: bold;
    background: #7dbc6d;
    border: 1px #94ce86 solid;
    cursor: pointer;
}
.f_input {
    height: 25px;
    border: 1px #e5e5e5 solid;
    background-color: #f6f6f6;
    padding: 0px 5px;
    color: #7c7b7b;
    margin: 2px 0px;
    width: 80%;
    line-height: 23px;
}

/* Navigation */
ul.mn_ul {
    height: 44px;
    background: #222;
    border-top: 1px #ff751a solid;
}
ul.mn_ul li {
    float: left;
    height: 44px;
}
ul.mn_ul li a {
    display: block;
    float: left;
    line-height: 44px;
    padding: 0px 15px;
    color: #858585;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}
ul.mn_ul li a:hover {
    background: #000;
    color: #ff751a;
}

/* Content */
.content {
    background: #fff;
    padding-top: 15px;
}
.colum_left {
    width: 610px;
    float: left;
}
.colum_right {
    float: right;
    width: 280px;
}

/* Box titles */
.box_title_l {
    background: #f0f0f0;
    padding-left: 15px;
    position: relative;
    border-bottom: 2px #ff751a solid;
    height: 36px;
}
.box_title {
    background: #e8e8e8;
    background-repeat: repeat-x;
    text-shadow: 1px 1px 1px #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 36px;
}
.box_title_l_gold {
    border-bottom: 2px #c79810 solid;
}
.box_title_l_gold .box_title {
    padding-left: 50px;
}
.b_title_top {
    width: 39px;
    height: 39px;
    position: absolute;
    left: 15px;
    bottom: -2px;
    color: #c79810;
    font-size: 20px;
    line-height: 39px;
    text-align: center;
}
.cl_box_in {
    padding: 15px;
}
.cl_box {
    margin-bottom: 0;
}

/* Sidebar */
.side_block {
    margin-bottom: 10px;
}
.sb_title {
    border-right: 4px #ff751a solid;
    background: #f0f0f0;
    height: 36px;
    margin-bottom: 15px;
    font-weight: bold;
    background-repeat: repeat;
}
.sb_title_in {
    height: 36px;
    color: #000;
    font-size: 14px;
    line-height: 36px;
    text-shadow: 1px 1px 1px #ffffff;
    padding: 0px 20px 0px 10px;
    position: relative;
    background: #e8e8e8;
}
.cat_title {
    padding-left: 50px;
}
.c_icon {
    width: 48px;
    height: 42px;
    position: absolute;
    left: -5px;
    top: -5px;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
}
.sb_in {
    padding-right: 15px;
}

/* Categories */
ul.cats_menu li {
    padding: 5px 10px;
    border-bottom: 1px #f0f0f0 solid;
    font-size: 12px;
}
ul.cats_menu li a {
    color: #333;
}
ul.cats_menu li a:hover {
    color: #ff751a;
}
ul.cats_menu li:hover {
    background: #fafafa;
}
ul.cats_menuk li {
    padding: 5px 10px;
    border-bottom: 1px #f0f0f0 solid;
    font-size: 12px;
}
ul.cats_menuk li a {
    color: #333;
}
ul.cats_menuk li a:hover {
    color: #ff751a;
}
select {
    padding: 5px 10px;
    border: 1px #ddd solid;
    font-size: 12px;
    margin: 5px 0;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}
.carousel_inner {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}
.carousel_box {
    min-width: 25%;
    padding: 5px;
    box-sizing: border-box;
    position: relative;
}
.carousel_box a.thumbnail {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}
.carousel_box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}
.text_filmsss {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    padding: 20px 8px 8px;
    font-size: 11px;
}
.text_filmsss b {
    font-size: 11px;
}
#carousel_prev, #carousel_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    z-index: 5;
    font-size: 14px;
    border-radius: 3px;
}
#carousel_prev {
    left: 5px;
}
#carousel_next {
    right: 5px;
}
#carousel_prev:hover, #carousel_next:hover {
    background: rgba(255, 117, 26, 0.8);
}

/* News slider */
.m_slider {
    display: flex;
    gap: 10px;
    overflow: hidden;
}
.m_s_cont {
    flex: 1;
    min-width: 0;
}
.m_s_cont > img {
    display: none;
}
.m_s_cont > h2 {
    display: none;
}
.m_s_box {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}
.msb_pict {
    position: relative;
    margin-bottom: 8px;
}
.msb_pict > img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}
.msb_title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 15px 5px 5px;
}
.msb_title_in h2 {
    font-size: 11px;
    line-height: 1.3;
}
.msb_title_in h2 a {
    color: #fff;
    font-weight: bold;
}

/* Film of the day */
.cl_b_dayfilm {
    background: #fffef5;
}

/* Main news / movie listing */
.main_news {
    padding: 15px;
    border-bottom: 1px #f0f0f0 solid;
    overflow: hidden;
}
.main_news:hover {
    background: #fafafa;
}
.mn_left_colum {
    float: left;
    width: 160px;
    margin-right: 15px;
}
.mn_left_img {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}
.mn_left_img a.link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.mn_left_img img {
    width: 160px;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}
.mn_right_colum {
    overflow: hidden;
}
.mn_title {
    margin-bottom: 8px;
    overflow: hidden;
}
h2.zagolovok {
    float: left;
    font-size: 14px;
    max-width: 320px;
}
h2.zagolovok a {
    color: #000;
    font-weight: normal;
}
h2.zagolovok a b {
    font-weight: bold;
}
h2.zagolovok a:hover {
    color: #ff751a;
}
.mn_quality {
    float: left;
    margin-left: 10px;
    margin-top: 2px;
}
.mn_quality_text {
    background: #ff751a;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
}
.mn_text {
    margin-bottom: 8px;
}
ul.teaser_ads li {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}
.teaser_ads_label {
    color: #999;
    font-weight: bold;
}
.mn_story {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}
ul.mn_links {
    overflow: hidden;
    border-top: 1px #f0f0f0 solid;
    padding-top: 8px;
}
ul.mn_links li {
    float: left;
    font-size: 11px;
    color: #999;
    margin-right: 15px;
}
a.mn_l_more {
    background: #ff751a;
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 11px;
}
a.mn_l_more:hover {
    background: #e56510;
    color: #fff !important;
}

/* Navigation / Pagination */
.navigation {
    text-align: center;
    padding: 15px;
}
.navigation a, .navigation span {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    border: 1px #ddd solid;
    color: #333;
    font-size: 12px;
    border-radius: 3px;
}
.navigation span {
    background: #ff751a;
    color: #fff;
    border-color: #ff751a;
    font-weight: bold;
}
.navigation a:hover {
    background: #f5f5f5;
    color: #ff751a;
}
.nav_ext {
    border: none !important;
}
.nav_left, .nav_right {
    display: inline-block;
    padding: 5px 15px;
}
.nav_left span, .nav_right a {
    color: #999;
    font-size: 12px;
    font-weight: bold;
}
.nav_right a:hover {
    color: #ff751a;
}

/* SEO text */
.seo_text {
    padding: 15px;
    font-size: 12px;
    color: #666;
    line-height: 1.7;
}
.seo_text h1 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Film banner */
.film_banner {
    display: block;
    height: 100px;
    background: #333;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.film_banner_name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 15px;
    overflow: hidden;
    color: #666;
    font-size: 11px;
}
.speedbar {
    padding: 5px 0;
}
.speedbar_in a {
    color: #999;
}
.speedbar_in a:hover {
    color: #ff751a;
}
.sb_back {
    display: none;
}

/* Shadow element */
.shadow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
}

/* Detail page */
.full_movie {
    padding: 15px;
}
.full_header {
    overflow: hidden;
    margin-bottom: 20px;
}
.full_poster {
    float: left;
    width: 200px;
    margin-right: 20px;
}
.full_poster img {
    width: 100%;
    border-radius: 3px;
}
.full_info {
    overflow: hidden;
}
.full_info h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.full_info ul li {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    border-bottom: 1px #f0f0f0 solid;
    padding: 3px 0;
}
.full_info ul li strong {
    color: #333;
}
.full_desc {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin: 15px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 3px;
}
.player_wrap {
    margin: 20px 15px;
}
.player_wrap h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.player_container {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}
.player_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.back_link {
    display: inline-block;
    margin: 15px;
    color: #ff751a;
    font-weight: bold;
    font-size: 12px;
}
.back_link:hover {
    color: #e56510;
}

/* Error page */
.error_page {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.error_page h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* ===== Responsive: Tablet (max-width: 920px) ===== */
@media (max-width: 920px) {
    #wrapper {
        width: 100%;
        box-shadow: none;
    }
    .colum_left {
        width: 100%;
        float: none;
    }
    .colum_right {
        width: 100%;
        float: none;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Header */
    .head {
        height: auto;
        padding-top: 60px;
    }
    .logo {
        top: 12px;
        left: 10px;
    }
    .serch_box {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    .sb_input {
        width: calc(100% - 120px);
        box-sizing: border-box;
    }
    .sb_bottom {
        width: 105px;
    }
    .login_box {
        right: 0;
        top: 0;
        width: auto;
        padding: 6px 10px;
    }

    /* Navigation */
    ul.mn_ul {
        height: auto;
        display: flex;
        flex-wrap: wrap;
    }
    ul.mn_ul li {
        height: auto;
    }
    ul.mn_ul li a {
        line-height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }

    /* Carousel */
    .carousel_box {
        min-width: 33.333%;
    }

    /* News slider */
    .m_slider {
        flex-wrap: wrap;
    }
    .m_s_cont {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }

    /* Movie cards */
    .mn_left_colum {
        width: 120px;
        margin-right: 10px;
    }
    .mn_left_img img {
        width: 120px;
        height: 170px;
    }
    h2.zagolovok {
        max-width: 100%;
        float: none;
    }
    .mn_quality {
        float: none;
        margin-left: 0;
        margin-top: 5px;
    }

    /* Detail page */
    .fn_poster,
    .full_poster {
        float: none !important;
        width: 180px !important;
        margin: 0 auto 15px !important;
    }
    .fn_film_info,
    .full_info {
        overflow: visible;
    }
    .fn_info {
        overflow: visible !important;
    }

    /* Ratings */
    .kp, .imdb {
        float: none !important;
        display: inline-block;
        margin-bottom: 10px;
    }

    /* Sidebar */
    .sb_in {
        padding-right: 0;
    }
}

/* ===== Responsive: Mobile (max-width: 600px) ===== */
@media (max-width: 600px) {
    body, html {
        font-size: 12px;
    }

    /* Header */
    .head {
        padding-top: 55px;
    }
    .logo {
        top: 10px;
        left: 10px;
    }
    .logo a {
        font-size: 20px;
    }
    .login_box {
        display: none;
    }
    .serch_box {
        padding: 8px 10px;
    }
    .sb_input {
        width: calc(100% - 95px);
        font-size: 14px;
        height: 34px;
        line-height: 34px;
    }
    .sb_bottom {
        width: 85px;
        height: 36px;
        font-size: 11px;
    }

    /* Navigation */
    ul.mn_ul {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    ul.mn_ul::-webkit-scrollbar {
        display: none;
    }
    ul.mn_ul li {
        flex-shrink: 0;
    }
    ul.mn_ul li a {
        padding: 0 10px;
        font-size: 11px;
        line-height: 38px;
        white-space: nowrap;
    }

    /* Content */
    .content {
        padding-top: 10px;
    }
    .cl_box_in {
        padding: 10px;
    }

    /* Carousel */
    .carousel_box {
        min-width: 50%;
    }
    .carousel_box img {
        height: 160px;
    }
    .text_filmsss {
        font-size: 10px;
        padding: 12px 6px 6px;
    }

    /* News slider */
    .m_s_cont {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .msb_pict > img {
        height: 140px;
    }

    /* Movie cards */
    .main_news {
        padding: 10px;
    }
    .mn_left_colum {
        width: 100px;
        margin-right: 10px;
    }
    .mn_left_img img {
        width: 100px;
        height: 140px;
    }
    h2.zagolovok {
        font-size: 13px;
    }
    .mn_story {
        display: none;
    }
    ul.mn_links {
        padding-top: 6px;
    }
    ul.mn_links li {
        margin-right: 8px;
        font-size: 10px;
    }

    /* Detail page */
    .fn_poster,
    .full_poster {
        width: 160px !important;
    }
    .player_wrap {
        margin: 15px 10px;
    }
    .full_movie {
        padding: 10px;
    }

    /* Pagination */
    .navigation {
        padding: 10px 5px;
    }
    .navigation a, .navigation span {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Footer */
    .footer {
        padding: 10px;
        text-align: center;
    }

    /* Box titles */
    .box_title {
        font-size: 13px;
    }
    .sb_title_in {
        font-size: 13px;
    }

    /* SEO text */
    .seo_text {
        padding: 10px;
    }
}

/* ===== Responsive: Small phones (max-width: 400px) ===== */
@media (max-width: 400px) {
    .logo a {
        font-size: 18px;
    }
    .head {
        padding-top: 50px;
    }

    /* Stack movie card vertically */
    .mn_left_colum {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    .mn_left_img {
        display: inline-block;
    }
    .mn_left_img img {
        width: 140px;
        height: 200px;
    }
    .mn_right_colum {
        overflow: visible;
    }

    /* Carousel single item */
    .carousel_box {
        min-width: 100%;
    }
    .carousel_box img {
        height: 200px;
    }

    /* Detail poster */
    .fn_poster,
    .full_poster {
        width: 140px !important;
    }

    /* Ratings stack */
    .kp, .imdb {
        display: block !important;
        float: none !important;
        margin-right: 0 !important;
    }
}
