@font-face {
    font-family: "Gilroy";
    src:
        url("../fonts/Gilroy-Regular.woff2") format("woff2"),
        url("../fonts/Gilroy-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gilroy";
    src:
        url("../fonts/Gilroy-Medium.woff2") format("woff2"),
        url("../fonts/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}
@font-face {
    font-family: "Gilroy";
    src:
        url("../fonts/Gilroy-Bold.woff2") format("woff2"),
        url("../fonts/Gilroy-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: optional;
}
body {
    --color-bg-body: #fafafa;
    --color-bg-main: #ffffff;
    --color-bg-nav: #ffffff;
    --color-bg-raiting: #ffffff;
    --color-bg-comments: #ffffff;
    --color-bg-player: #ffffff;
    --color-font-black: #1a1a1a;
    --color-font-gray-32: #2c2c2c;
    --color-font-gray-64: #666666;
    --color-font-gray-96: #999999;
    --color-font-main: #79c142;
    --color-font-main-dark: #66aa33;
    --color-font-active-player: #ffffff;
    --color-border-gray-E: #e8e8e8;
    --color-border-main: #79c142;
    --color-border-main-dark: #66aa33;
    --color-bg-gradient-menu: linear-gradient(180deg, rgba(121, 193, 66, 0) 0%, rgba(121, 193, 66, 0.04) 100%);
    --color-rating-plus: #70bf6c;
    --color-rating-plus-opacity: rgba(112, 191, 108, 0.15);
    --color-rating-plus-hover: #5caa55;
    --color-rating-minus: #e7825f;
    --color-rating-minus-opacity: rgba(231, 130, 95, 0.15);
    --color-rating-minus-hover: #d96f4f;
    --color-slider-btn-bg: #79c142;
    --color-slider-btn-bg-hover: #66aa33;
    --color-slider-part-bg: #66aa33;
    --color-player-gray-16: #161616;
    --color-player-gray-24: #242424;
    --color-player-gray-32: #323232;
    --color-player-gray-48: #484848;
    --color-player-gray-64: #646464;
    --color-player-main: #79c142;
    --color-player-main-dark: #66aa33;
    --color-comments-main: #79c142;
    --color-buttons-bg-main: #79c142;
    --color-buttons-bg-main-dark: #66aa33;
    --gradient-main: linear-gradient(135deg, #8dd556 0%, #65ad2e 100%);
    --gradient-slider: linear-gradient(135deg, #5ca228 0%, #3f7a17 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 24px rgba(121, 193, 66, 0.2);
}
body.dark {
    --color-bg-body: #0d0d0d;
    --color-bg-main: #1a1a1a;
    --color-bg-nav: #1f1f1f;
    --color-bg-raiting: #242424;
    --color-bg-comments: #242424;
    --color-bg-player: #1f1f1f;
    --color-font-black: #efefef;
    --color-font-gray-32: #d4d4d4;
    --color-font-gray-64: #b0b0b0;
    --color-font-gray-96: #888888;
    --color-border-gray-E: #2a2a2a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 24px rgba(121, 193, 66, 0.3);
}
* {
    padding: 0;
    margin: 0;
    font-family:
        "Gilroy",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-bg-body);
    color: var(--color-font-gray-32);
}
img {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}
.load {
    opacity: 0;
}
.display-none {
    display: none !important;
}
#SiteWrapper {
    width: 100%;
    max-width: 1100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
nav {
    margin-top: 20px;
    position: sticky;
    top: 20px;
    width: 100%;
    height: 72px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    padding: 0 24px;
    background: var(--color-bg-nav);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
nav:hover {
    box-shadow: var(--shadow-lg);
}
@media (max-width: 500px) {
    nav {
        margin-top: 0;
        border-radius: 0;
        top: 0;
    }
}
#Logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    user-select: none;
    transition: transform 0.3s ease;
}
#Logo:hover {
    transform: translateY(-2px);
}
#Logo > svg {
    height: 40px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#Logo:hover > svg {
    transform: rotate(5deg) scale(1.05);
}
#Logo > svg > .change-color-bg-logo {
    fill: var(--color-bg-nav);
}
#Logo > .logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#Logo > .logo-text > .site-name {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    color: var(--color-font-black);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}
@media (max-width: 500px) {
    #Logo > .logo-text > .site-name {
        font-size: 19px;
    }
}
#Logo:hover > .logo-text > .site-name {
    color: var(--color-font-main);
}
#Logo > .logo-text > .site-brand {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--color-font-gray-96);
}
#SiteTheme {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    border-radius: 12px;
    background: var(--gradient-main);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: 1;
    position: relative;
    overflow: hidden;
}
#SiteTheme::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
#SiteTheme:hover::before {
    opacity: 1;
}
#SiteTheme:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-hover);
}
#SiteTheme:active {
    transform: scale(0.95);
}
#SiteTheme > svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
#SiteTheme.light-btn > .icon-moon {
    display: none;
}
#SiteTheme.dark-btn > .icon-sun {
    display: none;
}
#ToggleMenu {
    width: 44px;
    height: 44px;
    position: relative;
    display: none;
    border: none;
    outline: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
#ToggleMenu:hover {
    background: var(--color-bg-gradient-menu);
}
#ToggleMenu > svg {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    stroke: var(--color-font-gray-32);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#ToggleMenu > .open {
    opacity: 1;
    visibility: visible;
}
#ToggleMenu > .close {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(90deg);
}
.menu-open > #ToggleMenu > .open {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(-90deg);
}
.menu-open > #ToggleMenu > .close {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(0deg);
}
menu {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    list-style: none;
    order: 0;
}
menu > li {
    height: 100%;
    display: flex;
}
menu > li > a {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    text-decoration: none;
    background: transparent;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    user-select: none;
}
menu > li > a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--gradient-main);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
menu > li > a:hover::before {
    width: 80%;
}
menu > li > a:hover {
    background: var(--color-bg-gradient-menu);
}
menu > li > a > svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-font-gray-64);
    transition: all 0.3s ease;
}
menu > li > a > span {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-font-gray-64);
    transition: color 0.3s ease;
}
menu > li > a:hover > svg {
    stroke: var(--color-font-main);
    transform: translateY(-2px);
}
menu > li > a:hover > span {
    color: var(--color-font-main);
}
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 40px 0 40px;
    gap: 32px;
    overflow-x: hidden;
}
#MovieCard {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 0 20px;
}
#MovieCard > .column-img {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#MovieCard > .column-img > .block-img {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#MovieCard > .column-img > .block-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
#Poster {
    width: 240px;
    height: 380px;
    user-select: none;
    object-fit: cover;
    transition: transform 0.4s ease;
}
#MovieCard > .column-img > .block-img:hover #Poster {
    transform: scale(1.05);
}
#Rating {
    width: 240px;
    display: flex;
    flex-direction: row;
    background: var(--color-bg-raiting);
    user-select: none;
    position: relative;
}
#Rating > button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#Rating > button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}
#Rating > button:hover::before {
    opacity: 1;
    transform: scale(1);
}
#Rating > .plus {
    background: var(--color-rating-plus);
    border-radius: 0 0 0 16px;
}
#Rating > .plus:hover {
    background: var(--color-rating-plus-hover);
}
#Rating > .plus:active {
    transform: scale(0.9);
}
#Rating > .plus > svg {
    stroke: white;
    fill: transparent;
    transition: all 0.3s ease;
}
#Rating > .plus:hover > svg {
    transform: scale(1.1) translateY(-2px);
}
#Rating > .minus {
    background: var(--color-rating-minus);
    border-radius: 0 0 16px 0;
}
#Rating > .minus:hover {
    background: var(--color-rating-minus-hover);
}
#Rating > .minus:active {
    transform: scale(0.9);
}
#Rating > .minus > svg {
    stroke: white;
    fill: transparent;
    transition: all 0.3s ease;
}
#Rating > .minus:hover > svg {
    transform: scale(1.1) translateY(2px);
}
#Rating > span {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-font-gray-32);
}
#Rating > .count-plus {
    justify-content: flex-start;
    padding-left: 12px;
    background: linear-gradient(90deg, var(--color-rating-plus-opacity), transparent);
}
#Rating > .count-minus {
    justify-content: flex-end;
    padding-right: 12px;
    background: linear-gradient(90deg, transparent, var(--color-rating-minus-opacity));
}
#Rating > .value-block {
    width: 0;
    position: relative;
}
#Rating > .value-block > .value {
    position: absolute;
    bottom: 8px;
    left: -32px;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 6px solid var(--color-bg-raiting);
    border: 3px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(var(--color-bg-raiting), var(--color-bg-raiting)) padding-box,
        var(--gradient-main) border-box;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-font-main);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}
#Rating:hover > .value-block > .value {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}
.column-desc {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-font-black);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
#MovieDescription {
    font-size: 15px;
    color: var(--color-font-gray-64);
    line-height: 1.7;
}
#MovieInfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-gradient-menu);
    border-radius: 12px;
    border: 1px solid var(--color-border-gray-E);
}
#MovieInfo > .props {
    line-height: 1.6;
}
#MovieInfo > .props.full-width {
    grid-column: span 2;
}
#MovieInfo > .props > .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-font-gray-96);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#MovieInfo > .props > .value {
    font-size: 15px;
    color: var(--color-font-gray-32);
    font-weight: 500;
}
@media (max-width: 900px) {
    #MovieInfo > .props.full-width {
        grid-column: span 1;
    }
    #MovieInfo {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    #MovieCard {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
    .column-desc {
        width: 100%;
    }
    h1 {
        font-size: 28px;
        text-align: center;
    }
}
#AllParts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 0 0;
}
#AllParts > .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#AllParts > .header > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    letter-spacing: -0.3px;
}


#SliderMovie {
    position: relative;
    overflow: hidden;
}
#SliderMovie > .slides {
    white-space: nowrap;
    font-size: 0;
    overflow: hidden;
    padding-top: 10px;
    scroll-behavior: smooth;
    max-width: 100%;
}
#SliderMovie > .slides.dragging {
    scroll-behavior: auto;
    cursor: grabbing;
}
#SliderMovie > .slides > .slide {
    position: relative;
    width: calc(20% - 8px);
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 10px;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

#SliderMovie > .slides > .slide:hover {
    transform: translateY(-8px);
}
#SliderMovie > .slides > .slide:first-child {
    margin-left: 0;
}
#SliderMovie > .slides > .slide > img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}
#SliderMovie > .slides > .slide:hover > img {
    box-shadow: var(--shadow-lg);
}
#SliderMovie > .slides > .slide > h3 {
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-font-gray-32);
    white-space: normal;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
#SliderMovie > button {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    border-radius: 50%;
    background: var(--gradient-slider);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}
#SliderMovie:hover > button {
    opacity: 1;
    visibility: visible;
}
#SliderMovie > button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-hover);
}
#SliderMovie > button:active {
    transform: translateY(-50%) scale(0.95);
}
#SliderMovie > button.disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}
#SliderMovie > button.left {
    left: 8px;
}
#SliderMovie > button.right {
    right: 8px;
}
#SliderMovie > .slides > .slide > .part {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--gradient-main);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
@media (max-width: 950px) {
    #SliderMovie > .slides > .slide {
        width: calc(25% - 7.5px);
    }
}
@media (max-width: 700px) {
    #SliderMovie > .slides > .slide {
        width: calc(33.333% - 6.666px);
    }
}
/*@media (max-width: 500px) {
    #SliderMovie > .slides > .slide {
        width: calc(50% - 5px);
    }
}*/
#VideoSection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}
#VideoSection > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    letter-spacing: -0.3px;
}
#Player {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    user-select: none;
}
#VideoBlock {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-player-gray-16);
}
#PlayerTabs {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: var(--color-player-gray-24);
}
#PlayerTabs > button {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-font-gray-96);
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
#PlayerTabs > button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#PlayerTabs > button:hover {
    color: white;
    background: var(--color-player-gray-32);
}
#PlayerTabs > button.active {
    color: white;
    background: var(--gradient-main);
}
#PlayerTabs > button.active::after {
    transform: scaleX(1);
}
#Video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-player-gray-16);
}
#Video > iframe,
#Video > #DivPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#EpisodesPanel {
    width: 400px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-player-gray-16);
}
#EpisodesPanel > .header {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-font-gray-96);
    background: var(--color-player-gray-24);
    border-bottom: 1px solid var(--color-player-gray-32);
}
#EpisodesPanel > .content {
    height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-player-gray-16);
}
#EpisodesPanel > .content::-webkit-scrollbar {
    width: 8px;
}
#EpisodesPanel > .content::-webkit-scrollbar-track {
    background: var(--color-player-gray-24);
}
#EpisodesPanel > .content::-webkit-scrollbar-thumb {
    background: var(--color-player-gray-48);
    border-radius: 10px;
    transition: background 0.3s ease;
}
#EpisodesPanel > .content::-webkit-scrollbar-thumb:hover {
    background: var(--color-player-gray-64);
}
#SeasonsList {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    list-style: none;
}
#SeasonsList > li {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#SeasonsList > li > a {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-font-gray-96);
    text-decoration: none;
    cursor: default;
}
#SeasonsList > li > ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 10px;
    list-style: none;
}
#SeasonsList > li > ul > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--color-player-gray-32);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: pre-line;
}
#SeasonsList > li > ul > li > a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}
#SeasonsList > li > ul > li > a:hover::before {
    opacity: 0.2;
}
#SeasonsList > li > ul > li > a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
#SeasonsList > li > ul > li > a.active {
    background: var(--gradient-main);
    color: var(--color-player-gray-16);
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}
#SeasonsList > li > ul > li > a.active::before {
    opacity: 0;
}
@media (max-width: 950px) {
    #Player {
        flex-direction: column;
    }
    #EpisodesPanel {
        width: 100%;
    }
    #EpisodesPanel > .content {
        max-height: 400px;
    }
}
#ReviewsBlock {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
}
#Reviews {
    display: flex;
    flex-direction: row;
    gap: 32px;
}
#CommentsBlock {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
#CommentsBlock > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    letter-spacing: -0.3px;
}
#Comments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#Comments > .comment {
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#Comments > .comment.show {
    opacity: 1;
    transform: translateY(0);
}
#Comments > .comment {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: var(--color-bg-comments);
    border: 1px solid var(--color-border-gray-E);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
#Comments > .comment:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
#Comments > .comment > .image {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: var(--gradient-main);
    box-shadow: var(--shadow-sm);
}
#Comments > .comment > .image > svg {
    width: 22px;
    height: 22px;
    stroke: white;
}
#Comments > .comment > .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#Comments > .comment > .content > .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-gray-E);
}
#Comments > .comment > .content > .header > .name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-font-gray-32);
}
#Comments > .comment > .content > .header > .date {
    font-size: 12px;
    color: var(--color-font-gray-96);
}
#Comments > .comment > .content > .text {
    font-size: 15px;
    color: var(--color-font-gray-64);
    line-height: 1.6;
    word-wrap: break-word;
}
#LoadCommentsBlock {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
#LoadCommentsBlock > button {
    padding: 12px 32px;
    border: none;
    outline: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--gradient-main);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#LoadCommentsBlock > button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
#LoadCommentsBlock > button:active {
    transform: translateY(0);
}
#AddComments {
    width: 400px;
    flex-shrink: 0;
}
#AddCommentsFormBlock {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--color-bg-comments);
    border: 1px solid var(--color-border-gray-E);
    box-shadow: var(--shadow-md);
}
#AddCommentsFormBlock > h2 {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-font-gray-32);
}
#AddCommentsFormBlock > .notification-comment {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#AddCommentsFormBlock > .notification-comment.good {
    color: #2d7a2d;
    background: rgba(112, 191, 108, 0.15);
    border: 1px solid rgba(112, 191, 108, 0.3);
}
#AddCommentsFormBlock > .notification-comment.error {
    color: #c94a2a;
    background: rgba(231, 130, 95, 0.15);
    border: 1px solid rgba(231, 130, 95, 0.3);
}
#AddCommentsForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#AddCommentsForm > .row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#AddCommentsForm label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-font-gray-64);
}
#AddCommentsForm input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border-gray-E);
    outline: none;
    border-radius: 10px;
    font-size: 14px;
    color: var(--color-font-gray-32);
    background: var(--color-bg-comments);
    transition: all 0.3s ease;
}
#AddCommentsForm input:focus {
    border-color: var(--color-border-main);
    box-shadow: 0 0 0 3px rgba(121, 193, 66, 0.1);
}
#ACEditor {
    width: 100%;
    min-height: 100px;
    max-height: 200px;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border-gray-E);
    outline: none;
    border-radius: 10px;
    font-size: 14px;
    color: var(--color-font-gray-32);
    background: var(--color-bg-comments);
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}
#ACEditor:focus {
    border-color: var(--color-border-main);
    box-shadow: 0 0 0 3px rgba(121, 193, 66, 0.1);
}
#AddCommentsForm .btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--gradient-main);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#AddCommentsForm .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
#AddCommentsForm .btn-submit:active {
    transform: translateY(0);
}
#AddCommentsForm .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.h-captcha {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}
@media (max-width: 950px) {
    #Reviews {
        flex-direction: column-reverse;
    }
    #AddComments {
        width: 100%;
    }
    #AddCommentsFormBlock {
        position: relative;
        top: 0;
    }
}
@media (max-width: 450px) {
    #Comments > .comment > .image {
        display: none;
    }
    #Comments > .comment {
        padding: 16px;
    }
}
#PageContent {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
}
#AboutMovie {
    padding: 32px;
    border-radius: 16px;
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-gray-E);
    box-shadow: var(--shadow-sm);
}
#AboutMovie > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
#AboutMovie > p {
    font-size: 15px;
    color: var(--color-font-gray-64);
    line-height: 1.7;
    margin-top: 12px;
}
#AboutMovie > p:first-of-type {
    margin-top: 0;
}
#AboutMovie > img {
    width: 100%;
    max-width: 345px;
    height: auto;
    border-radius: 12px;
    margin: 0 0 20px 20px;
    float: right;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}
#AboutMovie > img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 750px) {
    #AboutMovie > img {
        max-width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
}
#TextActors {
    padding: 32px;
    border-radius: 16px;
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-gray-E);
    box-shadow: var(--shadow-sm);
}
#TextActors > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}
#TextActors > table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
}
#TextActors > table td {
    vertical-align: top;
}
#TextActors > table td:first-child {
    padding-right: 20px;
    width: 96px;
}
#TextActors > table td > img {
    width: 96px;
    height: 128px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
#TextActors > table tr:hover td > img {
    transform: scale(1.05);
}
#TextActors > table td > h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-font-gray-32);
    margin-bottom: 8px;
}
#TextActors > table td > p {
    font-size: 14px;
    color: var(--color-font-gray-64);
    line-height: 1.6;
}
@media (max-width: 450px) {
    #TextActors > table {
        border-spacing: 0;
    }
    #TextActors > table tr {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 24px;
    }
    #TextActors > table td:first-child {
        padding: 0 0 12px 0;
        width: auto;
    }
    #TextActors > table td > p,
    #TextActors > table td > h3 {
        text-align: center;
    }
}
#FAQ {
    padding: 32px;
    border-radius: 16px;
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-gray-E);
    box-shadow: var(--shadow-sm);
}
#FAQ > h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-font-gray-32);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}
.faq-item {
    border-bottom: 1px solid var(--color-border-gray-E);
    transition: all 0.3s ease;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border: none;
    outline: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-question:hover {
    color: var(--color-font-main);
}
.faq-question > span {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-font-gray-32);
    line-height: 1.5;
    transition: color 0.3s ease;
}
.faq-question:hover > span {
    color: var(--color-font-main);
}
.faq-question > svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--color-font-gray-64);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-question:hover > svg {
    stroke: var(--color-font-main);
}
.faq-question[aria-expanded="true"] > svg {
    transform: rotate(180deg);
    stroke: var(--color-font-main);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer > div {
    padding: 0 0 20px 0;
}
.faq-answer p {
    font-size: 15px;
    color: var(--color-font-gray-64);
    line-height: 1.7;
    margin: 0;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
@media (max-width: 600px) {
    #FAQ {
        padding: 20px;
    }
    .faq-question {
        padding: 16px 0;
    }
    .faq-question > span {
        font-size: 15px;
    }
    .faq-answer p {
        font-size: 14px;
    }
}
footer {
    margin-top: 40px;
    padding: 32px 20px;
    border-top: 1px solid var(--color-border-gray-E);
    background: var(--color-bg-main);
    font-size: 13px;
    color: var(--color-font-gray-64);
    line-height: 1.7;
    text-align: center;
}
footer a {
    color: var(--color-font-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}
footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-font-main);
    transition: width 0.3s ease;
}
footer a:hover::after {
    width: 100%;
}
footer a:hover {
    color: var(--color-font-main-dark);
}
@media (max-width: 900px) {
    nav {
        padding: 0 16px;
        height: 64px;
    }
    #Logo {
        flex-grow: 1;
    }
    #SiteTheme {
        order: 0;
        margin-right: 8px;
    }
    #ToggleMenu {
        display: block;
        order: 1;
    }
    menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 280px;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 4px;
        background: var(--color-bg-nav);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .menu-open > menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    menu > li {
        width: 100%;
        height: auto;
    }
    menu > li > a {
        width: 100%;
        height: auto;
        padding: 14px 16px;
        border-radius: 10px;
    }
    menu > li > a::before {
        display: none;
    }
}
.nf_block {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}
.nf_block > h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-font-black);
}
.nf_block > img {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.nf_block > a {
    padding: 14px 40px;
    border: none;
    outline: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--gradient-main);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nf_block > a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-body);
}
::-webkit-scrollbar-thumb {
    background: var(--color-font-gray-96);
    border-radius: 10px;
    border: 3px solid var(--color-bg-body);
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-font-gray-64);
}
@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;
    }
}
