:root {
    --w: #ffffff;
    --bg: #0E0E1A;
    --menu: #2a2b3e;
    --dbg: #1e1e2e;
    --bor: #f3d545ee;
    --main: #f3d545ee;
    --text: #c1c1c1;
    --foot: #3E2C27;
    --h: #FFD700;
    --logo: #f34545ee;
    --poisk: #252525;
    --ps: 'Inter';
    --ro: 'Inter';
}

* {
    box-sizing: border-box;
    text-decoration: none;
    font-family: system-ui;
    font-size: 17px;
}

body,
html {
    height: 100vh;
    background: var(--bg);
    background-size: 100%;
    background-attachment: fixed;
    font-family: var(--ro), sans-serif;
}

h1,
h2 {
    font-size: 1.2rem;
    margin-top: 0;
}

a {
    color: var(--text);
    transition: 0.2s;
}

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


.heart {
    animation: beat 5s infinite;
    width: 2.5rem;
    transform-origin: center;

}

@keyframes beat {

    0%,
    100% {
        transform: scale(1);
    }



    50% {
        transform: scale(1.1);

    }


}

.styled-list {
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    display: grid;
    text-align: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.styled-list li {
    padding: 0.35rem 1rem;
    background: var(--menu);
    color: var(--w);
    border-radius: 4px;
    font-weight: bold;
}

:root {
    --electric-purple: #A259FF;
    --deep-violet: #4A0072;
    --soft-lavender: #D5C6F0;
    --gradient-pink: #FF6EC7;
    --dark-bg: #0E0E1A;
    --neon-cyan: #00F0FF;
    --text-light: #EDE9F3;
}

#reply {
    padding: 1rem;
    background: var(--menu);
    text-align: center;
    border-radius: 5px;
    display: none;
    margin: 0rem 5rem;
}

* {
    box-sizing: border-box;
    list-style: none;
}

li {
    line-height: 1.4rem;
}

body {
    margin: 0 0 80px 0;
    background: var(--dark-bg);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ccc;
}

li a {
    background-color: var(--menu);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--w);
}

header {
    padding: 1rem;
    background: #1111111f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    /* gap: 1.5rem; */
    z-index: 10;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    color: var(--gradient-pink);
}

main {
    max-width: 100%;
    margin: 0rem auto;
    padding: 0.25rem 1rem;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}


.comments {
    background: #1a1a2e;
    padding: 0 1rem;
    border-radius: 10px;
}

.film-list,
.film-top {
    background: #1e1e2e;
    border-radius: 10px;
    padding: 0.5rem 0.5rem;
}

.film-top {
    padding: 0;
}

.section-title {
    margin: 0.5rem 1rem 1.5rem 0;
    text-transform: math-auto;
}

.seo {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.2rem;
    margin: 1.5rem 0 0 0;
    color: var(--text);
    padding: 1rem 5rem;
    background: #1e1e30;
    height: 8rem;
}

.seo h2 {
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
    color: var(--main);
}

.bottom-extra {
    margin-top: 1.5rem;
    background: #1e1e30;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--main);
}

footer {
    text-align: center;
    padding: 1rem;
    color: #999;
}

.comment-avatar {
    font-size: 1.5rem;
    color: white;
    width: 40px;
    border: 1px solid var(--bor);
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 15%;
}

.poisk {
    border: 1px solid #ffffff17;
    width: 74.6%;
    padding: 1.325rem;
    font-size: 1rem;
    color: var(--text);
    position: absolute;
    top: 1rem;
    left: 0rem;
    border-radius: 0.2rem;
    background: var(--dbg);
}

#comments {
    border: 1px solid #ffffff17;
    width: 100%;
    padding: 1.1rem;
    font-size: 1.2rem;
    color: var(--text);
    border-radius: 0.2rem;
    background: var(--dbg);
}

#comments:hover {
    border: 1px solid var(--bor);
}

.poster {
    width: 180px;
    height: 180px;
    border-radius: 5px;
}

.poisk-pole {
    width: 100%;
    display: none;
    position: absolute;
    top: 0rem;
    z-index: 10;
}

.svg {
    width: 1.5rem;
    height: 1.5rem;
}

.svg:hover {
    border-color: var(--w);
}

a.access {
    display: none;
}

.btn-download {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 0.7rem 0.8rem;
    box-shadow: 0 0 5px #010101;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    width: max-content;
    color: #c1c1c1;
    border: 1px solid #ffffff17;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-download:hover,
.btn-download.active {
    color: var(--bor);
    border-color: var(--bor);
}

.pl-svg {
    height: 41px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.clear {
    height: 1px;
    margin-top: 20px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 3px 0 rgb(251 247 251 / 10%);
}

.flex {
    display: flex;
}

.pl-svg {
    width: 1.5rem;
}

.flex {
    display: flex;
}

.pl-svg {
    width: 1.5rem;
    margin-right: 0.23rem;
    color: #f3d545ee;
}

nav {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
}

#comments {
    background: var(--menu);
    width: 100%;
    border-radius: 5px;
    padding: 1rem;
}

.is {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 1rem 5rem;
    width: 100%;
    margin: 0 0 1rem 0;
}

.main {
    display: flex;
}

.search {
    display: none;
}

.section-title {
    font-size: 1.5rem;

    color: var(--text);
    opacity: 0.5;
}

.social a {
    width: max-content;
}

.smiles span {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 0.05rem 0.5rem;
    box-shadow: 0 0 5px #010101;
    border-radius: 0.25rem;
    color: #c1c1c1;
    border: 1px solid #ffffff17;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 2rem;
    margin-right: 0.5rem;
    opacity: 0.7;
}

@media(max-width: 900px) {

    .social {
        flex-direction: column;
    }

    .social>div {
        width: 100%;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    .smiles span {
        margin: 0;
        border-radius: 5px;
    }

    .social .btn-download {
        padding: 1rem;
        font-size: 1rem;
        justify-content: center;
    }

    .social a {
        width: 100%;
        padding: 1rem;
        margin: 0;
    }

    .search {
        position: absolute;
        z-index: 1;
        left: 1rem;
        width: 2rem;
        opacity: 0.5;
        top: 1rem;
        display: flex;
    }

    .content .menu1,
    .menu5 {
        grid-template-columns: 1fr !important;
    }

    .nav-link .win {
        height: 10rem;
    }

    .movie-card-f .poster-container:hover {
        background: transparent;
    }

    a.access {
        display: flex;
    }

    .layout .history-btn {
        opacity: 1;
    }

    .history {
        display: none;
    }

    .poisk-btn {
        display: none;
    }

    .podborki .styled-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .styled-list li {
        padding: 0.5rem;
        text-align: left;
        text-indent: 1rem;
    }

    .content .menu2 {
        grid-template-columns: 1fr 1fr !important
    }

    .menu1 .btn-download {
        margin: 0;
        border-radius: 0;
        font-size: 17px;
    }

    a.history {
        left: 0;
        bottom: 3.5rem;
        z-index: 1;
        border-radius: 0.2rem;
        position: fixed;
        padding: 0.5rem 0;
    }

    .btn-download {
        font-size: 0.8rem;
        background: #1e1e2e8a;
        border-radius: 0.2rem;
        padding: 0;
        margin-bottom: 0;
    }

    .but_poisk {
        order: 3;
    }

    .but_play {
        order: 2;
    }

    .content nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content nav div {
        border-radius: 0;
        padding: 1rem;
    }

    .pl-button {
        justify-content: center;
    }

    .section-title {
        margin: 0rem 0.5rem 0.85rem 0.5rem;
    }

    .film-list,
    .film-top {
        padding: 0;
        width: 100%;
    }

    main {
        max-width: 100%;
        margin: 0rem auto;
        padding: 0rem;
    }

    .footer {
        align-items: center;
        flex-direction: column;
        margin: 0 0 1rem 0;
    }

    .poisk {
        border-radius: 5px;
        left: 0;
        width: 100%;
        text-indent: 2rem;
        top: 0;
        padding: 1rem;
        position: relative;
    }

    .poisk-pole {
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        padding: 0.5rem;
    }

    .bottom-extra {
        font-size: 1rem;
        display: none;
    }

    .btn-download:hover {
        background: none;
        color: var(--bor);
        border-color: var(--bor);
    }

    .poster {
        width: 160px;
        height: 160px;
    }

    .mh,
    #mh {
        display: none;
    }

    .layout {
        width: 100%;
        display: flex;
        padding: 0.5rem;
    }

    .btn-text {
        display: none;
    }

    .pl-svg {
        margin-right: 0;
    }
}

.content-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.poster-container {
    flex: 0 0 20%;
}

.poster-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

iframe {
    border: none;
    border-radius: 0;
}

.video {
    border-top: solid 1px #faf8ed11;
    width: 100%;
    margin: 2rem 0 0 0;
    height: 550px;
    padding: 2rem 5rem 0rem 5rem;
    border-radius: 10px;
    background-color: #010101;
}

.menu1>div,
.menu2>div,
.menu5>div {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu1 a,
.menu2 a,
.menu5 a {
    width: auto;
    transition: 0.2s;
    background: var(--menu);
    padding: 0.5rem;
    height: max-content;
}

.menu1 a:hover,
.menu2 a:hover,
.menu5 a:hover {
    transform: scale(1.05);
}

.menu1,
.menu2,
.menu5 {
    padding: 1rem 0;
    border-radius: 6px;
    gap: 1rem 1.5rem;
    text-align: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    display: grid;
}

.menu2,
.menu5 {
    display: none;
}

.page {
    font-size: 1.7rem;
    color: var(--main);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--bor);
}

.win {
    height: 6rem;
}

.title {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.25rem 0;
}

.catalog {
    background: #111;
    padding: 1rem;
    margin: 1.5rem 0 0 0;
}

.catalog span {
    padding: 1rem;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.5rem;
}

* {
    font-family: system-ui;
}

.movie-card {
    border-radius: 10px;
    overflow: hidden;
}

.poster-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.movie-poster,
.movie-poster-f {
    aspect-ratio: 1/1.4;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    transition: 0.2s;
}

.movie-poster-f {
    height: 100%;
}

.movie-info {
    padding: 0.5rem 0 0 0;
}

.movie-info h2 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: bold;
    height: 21px;
    color: #faf8ee;
    overflow: hidden;
}

.meta {
    color: #fff7;
    margin: 5px 0 15px 0;
    white-space: nowrap;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.pa-1 {
    padding: 2rem 5rem 0rem 5rem;
}

.poster-container:hover {
    background: #635e66;
    cursor: pointer;
}

.podborki {
    width: 100%;
}

.ratings {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.rating-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    background-color: #0e0e1a6e;
    padding: 12px;
    border-radius: 8px;
    min-width: 100px;
}

.content {
    padding: 0.7rem;
    min-height: 100vh;
}

.screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    overflow: hidden;
    gap: 1rem;
    padding: 1rem 0 0 0;
}

@media (max-width: 768px) {

    .screens {
        grid-template-columns: 1fr 1fr;
    }

    .pa-1 {
        padding: 0;
        margin: 0 0 1rem 0;
    }

    .content-page {
        gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    #reply {
        margin: 0rem;
    }

    nav {
        gap: 0.5rem;
    }

    .menu1 a,
    .menu2 a {
        transition: 0.2s;
        width: 100%;
    }

    .catalog {
        display: flex;
        flex-direction: column;
    }

    .content {
        gap: 1rem;
        width: 100%;
    }

    .video {
        height: 250px;
        padding: 0;
        margin: 0 0 1rem 0;
    }

    .catalog.nav-link.btn-download {
        font-size: 1rem;
    }

    .ratings {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .movie-info h2 {
        font-size: 15px;
    }

    .meta {
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
    }
}

.movie-card-f {
    display: grid;
    gap: 2rem;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    grid-template-columns: 1fr 3fr;
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.poster-container {
    flex: 0 0 20%;
}

.movie-poster {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.genre i {
    margin: 0;
}

.info-container {
    flex: 1;
}

.movie-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.movie-english-title {
    font-size: 1.2em;
    color: #888;
    margin-bottom: 20px;
}

.movie-details {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 17px;
    color: #aaa;
}


.icon-flag,
.icon-clock {
    width: 16px;
    height: 16px;
    background-color: #555;
    border-radius: 50%;
    margin-right: 5px;
}

.movie-description {
    line-height: 1.5;
    background: #2a2b3e;
        padding: 1rem;
        border-radius: 10px;
        margin: 1rem 0 0 0;
}

.ratings {
    margin-bottom: 20px;
    display: flex;
    gap: 1.5rem;
}

.rating-item {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.platform {
    font-size: 0.8em;
    color: #888;
}

.score {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

form {
    width: 100%;
    display: flex;
    margin: 0;
}

@media (max-width: 768px) {

    .movie-title {
        font-size: 1.5rem;
    }

    .movie-card-f {
        flex-direction: column;
        display: flex;
        gap: 1rem;
    }

    .poster-container {
        flex: 1;
    }

    .info-container {
        padding: 0;
    }

        .rating-item {
            flex-direction: column;
        }

    .is {
        padding: 0;
    }

    .genre i {
        margin: 0 5px 0 0;
    }

    .poster-container {
        border: 0;
    }
}

input,
textarea {
    outline: none;
    box-shadow: none;
}

input:focus,
textarea:focus {
    outline: none;
    border: 1px solid var(--bor);
    box-shadow: none;
}

.genre {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

.history {
    position: absolute;
    width: 2.3rem;
    padding: 0;
    right: 1rem;
    border-radius: 0.2rem 1rem 0.2rem 1rem;
    transition: 0.2s;
}

.history-btn {
    margin: 0;
    opacity: 0.5;
}

.history:hover {
    opacity: 1;
    transform: scale(1.1);
}

header .btn-download,
nav .btn-download {
    width: 100%
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    background: #121212AA;
    opacity: 0.5;
}

.select-wrap {
    display: inline-block;
    position: relative;
    border-radius: var(--radius);
    padding: 2px;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--bg);
    color: var(--text);
    border-radius: 5px;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--menu);
    outline: none;
    transition: box-shadow .14s ease, border-color .14s ease, transform .08s ease;
    cursor: pointer;
}

.select-wrap select:focus {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
    border-color: var(--main);
    transform: translateY(-1px);
}

.select-wrap:hover select {
    border-color: rgba(37, 99, 235, 0.18);
}

.social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}


.smiles span:hover {
    border-color: var(--main);
    opacity: 1;
}

.poisk-result {
    padding: 0 1rem;
}

.social .share {
    display: flex;
    gap: 1rem;
}

@media (max-width: 1250px) {
    .social .share {
        display: grid;
        grid-template-columns: max-content max-content max-content;
    }

}

.social div {
    display: flex;
    flex-wrap: wrap;
}

.smiles {
    height: 2.9rem;
    overflow: auto;
}

.detail-item svg {
    width: 1.2rem;
}

.screens img {
    width: 100%;
    object-fit: cover;

}

.new-seria {
    position: absolute;
    height: 2rem;
    bottom: 0;
    right: 0;
    background: #000001aa;
    color: white;
    padding: 0 0.5rem;
    text-align: center;
    border-radius: 14px 1px 2px 1px;
    font-size: 15px;
    opacity: 0.86;
}

.new-seria .pl-svg {
    width: 1.2rem;
    vertical-align: middle;
    height: 2.1rem;
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00942a81;
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 15px;
}

.navi {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    justify-content: center;
    justify-content: center;
}

.navi a {
    background-color: var(--menu);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--w);
}