* {
    box-sizing: border-box;
    padding: 0;
    margin: 0
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #ddd;
    background: #1b1a19;
    margin: 0
}

#bgover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(24px)
}

#bgrect {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: 900px;
    background: linear-gradient(69.81deg, rgba(255, 209, 139, .3) 9.22%, rgba(255, 183, 217, .3) 33.5%, rgba(139, 186, 255, .3) 78.79%);
    border-radius: 1000px;
    filter: blur(160px)
}

a {
    text-decoration: none
}

.loader {
    width: 64px;
    height: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd100' style='animation: loader_spin 2s linear infinite;'%3E%3Cstyle%3E%0A@keyframes loader_spin %7Bfrom %7Btransform: rotate(0deg);%7D to %7Btransform: rotate(360deg);%7D%7D%0A%3C/style%3E%3Cpath d='M2 11h5v2H2zm15 0h5v2h-5zm-6 6h2v5h-2zm0-15h2v5h-2zM4.222 5.636l1.414-1.414 3.536 3.536-1.414 1.414zm15.556 12.728-1.414 1.414-3.536-3.536 1.414-1.414zm-12.02-3.536 1.414 1.414-3.536 3.536-1.414-1.414zm7.07-7.071 3.536-3.535 1.414 1.415-3.536 3.535z'%3E%3C/path%3E%3C/svg%3E");
    margin: 0 auto
}

header {
    padding: 32px 0
}

footer {
    padding: 64px 0 32px 0
}

#app {
    width: 100%
}

.container {
    max-width: 1000px;
    padding: 0 16px;
    margin: 0 auto
}

.logo {
    position: relative;
    display: inline-flex;
    align-items: center
}

.logo:active {
    top: 1px
}

.logo svg {
    width: 30px;
    height: 30px;
    vertical-align: top;
    filter: drop-shadow(0 1px 1px #000000);
    margin-right: 4px
}

.logo span {
    font-size: 28px;
    font-weight: 700;
    color: #ffffffaa;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000
}

.logo svg {
    fill: #ffffffaa
}

.footer_body {
    text-align: center;
    user-select: none
}

.footer_body a {
    font: 13px sans-serif;
    color: #777;
    text-decoration: none
}

.button-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    visibility: hidden;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff66;
    border-radius: 50%;
    cursor: pointer
}

.button-top svg {
    display: block;
    width: 24px;
    height: 32px;
    vertical-align: top;
    fill: #1b1a19
}

.search_form {
    position: relative;
    display: flex
}

.search_input {
    width: 100%;
    flex: 1;
    min-width: 200px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    color: #ddd;
    background: #00000088;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 1px 2px #000;
    padding: 12px 16px
}

.search_input:focus {
    background: #1b1a19;
    outline: solid 4px #ffffff44
}

.search_button {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 36px;
    background: transparent;
    border: 0;
    border-radius: 0 4px 4px 0;
    outline: 0;
    cursor: pointer;
    padding: 12px
}

.search_button svg {
    fill: #999
}

.search_button:hover svg {
    fill: #ddd
}

.search_button:active {
    top: 1px
}

.main_info {
    font-size: 16px;
    text-align: left;
    background: #00000088;
    border-radius: 8px;
    box-shadow: 0 1px 2px #00000088;
    padding: 16px;
    margin-top: 32px
}

.main_info_title {
    font-size: 18px;
    margin-bottom: 8px
}

.main_info_list {
    list-style: inside
}

.main_info_list li {
    margin-bottom: 8px
}

.main_info_list li:last-child {
    margin: 0
}

.main_info_list span {
    display: inline-block;
    vertical-align: top;
    font: 16px 'Consolas', monospace;
    line-height: 21px;
    color: #ddd;
    background: #1b1a19;
    border-radius: 4px;
    padding: 0 5px
}

.popular {
    margin-top: 64px;
    display: flex;
    flex-direction: column
}

.popular_switch {
    display: flex;
    align-self: center;
    margin-bottom: 32px;
    background: #00000044;
    border-radius: 99px;
    box-shadow: 0 1px 2px #00000088
}

.popular_switch button {
    padding: 8px 16px;
    font-family: "Segoe UI", sans-serif;
    font-size: 16px;
    color: #aaa;
    background: 0;
    border: 0;
    border-radius: 99px;
    outline: 0;
    cursor: pointer
}

.popular_switch button.active {
    color: #ddd;
    background: #00000088
}

.covers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px
}

.cover {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px
}

.cover:hover {
    color: #fc0
}

.cover_poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px
}

.cover_poster:hover {
    outline: solid 4px #fc0
}

.cover_poster:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .2
}

.cover_image {
    display: block;
    min-width: 140px;
    min-height: 200px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.5;
    object-fit: cover;
    background: #222;
    box-shadow: 0 1px 2px #00000088
}

.cover_title {
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 1px 1px #000
}

.cover_year {
    position: absolute;
    top: 4px;
    left: 4px;
    font: 12px sans-serif;
    color: #ddd;
    background: #000000aa;
    border-radius: 2px;
    padding: 2px
}

.cover_rating {
    position: absolute;
    top: 4px;
    right: 4px;
    font: 12px sans-serif;
    color: #ddd;
    background: #000000aa;
    border-radius: 2px;
    padding: 2px
}

.results {
    margin-top: 32px
}

.results_header {
    font-size: 16px;
    color: #ddd;
    text-align: center;
    text-shadow: 0 1px 1px #000;
    margin-bottom: 16px
}

.results_message {
    display: flex;
    justify-content: center
}

.results_empty {
    font-size: 18px;
    color: #ddd;
    text-align: center;
    background: #00000088;
    border-radius: 99px;
    box-shadow: 0 1px 2px #00000088;
    padding: 8px 16px
}

.films {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 16px
}

.film {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    font-size: 16px;
    background: #00000088;
    border-radius: 8px;
    box-shadow: 0 1px 2px #00000088;
    user-select: none;
    padding: 12px 16px
}

.film_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px
}

.film:hover>.film_link {
    outline: solid 4px #fc0
}

.film_link span {
    position: relative;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 1px #00000088;
    background: #73a32f;
    border-radius: 99px;
    box-shadow: 0 1px 2px #00000088;
    padding: 10px 24px
}

.film_link:active span {
    top: 1px
}

.film_image {
    display: block;
    width: 80px;
    height: 120px;
    background: #222;
    border-radius: 4px;
    box-shadow: 0 1px 2px #00000088
}

.film_title {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 8px
}

.film_subtitle {
    font-size: 16px;
    color: #999;
    margin-bottom: 8px
}

.film_info {
    color: #999
}

.film_year,
.film_rating {
    color: #ddd
}

.kinobox_player {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1b1a19 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd100' style='animation: loader_spin 2s linear infinite;'%3E%3Cstyle%3E%0A@keyframes loader_spin %7Bfrom %7Btransform: rotate(0deg);%7D to %7Btransform: rotate(360deg);%7D%7D%0A%3C/style%3E%3Cpath d='M2 11h5v2H2zm15 0h5v2h-5zm-6 6h2v5h-2zm0-15h2v5h-2zM4.222 5.636l1.414-1.414 3.536 3.536-1.414 1.414zm15.556 12.728-1.414 1.414-3.536-3.536 1.414-1.414zm-12.02-3.536 1.414 1.414-3.536 3.536-1.414-1.414zm7.07-7.071 3.536-3.535 1.414 1.415-3.536 3.535z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    background-size: 64px;
    border-radius: 8px;
    box-shadow: 0 1px 2px #00000088;
    margin-top: 32px
}