:root {
    --night-950: #0a1929;
    --night-900: #102a43;
    --night-850: #173653;
    --night-800: #243b53;
    --night-700: #334e68;
    --night-600: #486581;
    --night-300: #9fb3c8;
    --night-200: #bcccdc;
    --ocean-600: #1a92e6;
    --ocean-500: #2eabff;
    --ocean-400: #53bbff;
    --ocean-300: #78caff;
    --moon-600: #d89320;
    --moon-500: #e9a828;
    --white: #ffffff;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, .28);
    --shadow-card: 0 12px 28px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Poppins, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--night-200);
    background:
        radial-gradient(circle at top left, rgba(26, 146, 230, .24), transparent 32rem),
        radial-gradient(circle at 80% 4rem, rgba(233, 168, 40, .12), transparent 28rem),
        linear-gradient(180deg, var(--night-950), var(--night-900) 52%, var(--night-950));
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: linear-gradient(180deg, rgba(16, 42, 67, .88), rgba(16, 42, 67, 0));
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(16, 42, 67, .96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ocean-400), var(--ocean-600));
    box-shadow: 0 10px 26px rgba(26, 146, 230, .35);
    color: var(--white);
    font-size: 16px;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 22px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--night-300);
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link,
.mobile-link {
    color: var(--night-200);
    font-weight: 600;
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--white);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(159, 179, 200, .22);
    background: rgba(36, 59, 83, .68);
    color: var(--white);
    border-radius: 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.search-form input {
    width: 230px;
    padding: 11px 14px;
}

.search-form input::placeholder,
.filter-panel input::placeholder {
    color: var(--night-300);
}

.search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(83, 187, 255, .8);
    box-shadow: 0 0 0 4px rgba(26, 146, 230, .18);
    background: rgba(36, 59, 83, .92);
}

.search-form button,
.primary-action,
.secondary-action,
.more-link,
.category-info b {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(135deg, var(--ocean-500), var(--ocean-600));
    box-shadow: 0 10px 26px rgba(26, 146, 230, .28);
    transition: transform .2s ease, filter .2s ease;
}

.search-form button {
    padding: 11px 16px;
}

.search-form button:hover,
.primary-action:hover,
.more-link:hover,
.category-info b:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(36, 59, 83, .72);
    color: var(--white);
    cursor: pointer;
    padding: 11px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: currentColor;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(159, 179, 200, .14);
    background: rgba(16, 42, 67, .98);
    padding: 18px 16px 22px;
}

.mobile-panel.is-open {
    display: grid;
    gap: 14px;
}

.mobile-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-cats a {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(26, 146, 230, .14);
    color: var(--ocean-300);
    font-size: 13px;
}

.page-main {
    padding-top: 92px;
}

.home-main {
    padding-top: 76px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 26px 0 42px;
}

.hero-track {
    display: flex;
    width: 100%;
    transition: transform .55s ease;
}

.hero-slide {
    flex: 0 0 100%;
    padding: 0 16px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    display: block;
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    min-height: 470px;
    border-radius: 26px;
    background: var(--night-800);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.hero-card img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    transition: transform .7s ease;
}

.hero-card:hover img {
    transform: scale(1.05);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(10, 25, 41, .96) 0%, rgba(10, 25, 41, .78) 42%, rgba(10, 25, 41, .25) 100%),
        linear-gradient(0deg, rgba(10, 25, 41, .88), rgba(10, 25, 41, 0) 58%);
}

.hero-copy {
    position: absolute;
    inset: auto auto 48px 48px;
    z-index: 2;
    max-width: 620px;
    display: grid;
    gap: 16px;
}

.hero-kicker,
.detail-kicker,
.page-hero p {
    display: inline-flex;
    width: fit-content;
    color: var(--ocean-300);
    background: rgba(6, 71, 153, .34);
    border: 1px solid rgba(120, 202, 255, .2);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.hero-copy h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(38px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.04em;
}

.hero-copy p {
    margin: 0;
    color: var(--night-200);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-action,
.secondary-action {
    padding: 13px 20px;
}

.secondary-action {
    background: rgba(36, 59, 83, .72);
    box-shadow: none;
    border: 1px solid rgba(188, 204, 220, .18);
}

.hero-control {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 42, 67, .86);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 5;
    font-size: 36px;
    line-height: 1;
}

.hero-control:hover {
    background: rgba(36, 59, 83, .95);
}

.hero-control.prev {
    left: max(20px, calc((100vw - 1180px) / 2 - 8px));
}

.hero-control.next {
    right: max(20px, calc((100vw - 1180px) / 2 - 8px));
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(188, 204, 220, .35);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 28px;
    background: var(--ocean-500);
}

.quick-entry {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px;
    margin-bottom: 34px;
    border-radius: 24px;
    border: 1px solid rgba(120, 202, 255, .16);
    background: linear-gradient(135deg, rgba(6, 71, 153, .2), rgba(36, 59, 83, .28));
    box-shadow: var(--shadow-card);
}

.quick-copy h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.article-block h2,
.site-footer h2 {
    margin: 0;
    color: var(--white);
}

.quick-copy p {
    margin: 8px 0 0;
    color: var(--night-300);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-links a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(36, 59, 83, .72);
    color: var(--night-200);
    border: 1px solid rgba(188, 204, 220, .12);
    font-weight: 700;
}

.home-layout,
.inner-page {
    display: grid;
    gap: 44px;
}

.content-section {
    margin-bottom: 8px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.section-heading > span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--moon-500), var(--moon-600));
    box-shadow: 0 10px 24px rgba(216, 147, 32, .22);
    font-size: 20px;
}

.section-heading h2 {
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.03em;
}

.section-heading p {
    margin: 5px 0 0;
    color: var(--night-300);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.related-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
    min-width: 0;
}

.card-link {
    display: grid;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(36, 59, 83, .34);
    border: 1px solid rgba(188, 204, 220, .1);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.card-link:hover {
    transform: translateY(-7px);
    background: rgba(36, 59, 83, .52);
    border-color: rgba(83, 187, 255, .32);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .26);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--night-800);
}

.large-card .poster-frame {
    aspect-ratio: 16 / 9;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.card-link:hover .poster-frame img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(0deg, rgba(10, 25, 41, .92), rgba(10, 25, 41, 0));
}

.play-chip,
.year-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
}

.play-chip {
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%) scale(.82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 146, 230, .88);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

.card-link:hover .play-chip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.year-chip {
    right: 10px;
    top: 10px;
    padding: 5px 9px;
    background: rgba(16, 42, 67, .82);
    font-size: 12px;
}

.rank-badge {
    left: 10px;
    top: 10px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--moon-500), var(--moon-600));
}

.card-body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.card-body strong {
    color: var(--white);
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body em {
    color: var(--ocean-300);
    font-size: 13px;
    font-style: normal;
}

.card-desc {
    min-height: 42px;
    color: var(--night-300);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-row span,
.detail-tags span {
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--night-200);
    background: rgba(72, 101, 129, .42);
    font-size: 12px;
}

.category-grid,
.category-overview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile,
.category-card a {
    position: relative;
    display: block;
    min-height: 182px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--night-800);
    border: 1px solid rgba(188, 204, 220, .1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 182px;
    object-fit: cover;
    opacity: .66;
    transition: transform .4s ease, opacity .4s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: .82;
}

.category-tile span {
    position: absolute;
    inset: auto 16px 16px;
    display: grid;
    gap: 6px;
}

.category-tile strong,
.category-info strong {
    color: var(--white);
    font-size: 19px;
}

.category-tile em,
.category-info em {
    color: var(--night-200);
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 34px;
}

.split-section .content-section {
    margin: 0;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-list-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-item {
    display: grid;
    grid-template-columns: auto 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(36, 59, 83, .34);
    border: 1px solid rgba(188, 204, 220, .09);
    transition: transform .2s ease, border-color .2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    border-color: rgba(83, 187, 255, .28);
}

.rank-num {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(26, 146, 230, .18);
    color: var(--ocean-300);
    font-weight: 900;
}

.rank-item img {
    width: 58px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--night-700);
}

.rank-item strong {
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-item small {
    display: block;
    margin-top: 5px;
    color: var(--night-300);
    line-height: 1.45;
}

.more-link {
    margin-top: 16px;
    padding: 12px 18px;
}

.page-hero {
    padding: 46px 0 4px;
}

.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: -.04em;
}

.page-hero div {
    margin-top: 14px;
    max-width: 760px;
    color: var(--night-300);
    font-size: 17px;
    line-height: 1.8;
}

.category-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card a {
    min-height: 244px;
    display: grid;
    grid-template-columns: 42% 1fr;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
    height: 244px;
    background: var(--night-700);
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.category-info b {
    width: fit-content;
    padding: 10px 14px;
    font-style: normal;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 180px 160px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(36, 59, 83, .34);
    border: 1px solid rgba(188, 204, 220, .1);
}

.expanded-filter {
    grid-template-columns: 1fr 170px 170px 150px;
}

.filter-panel input,
.filter-panel select {
    min-width: 0;
    padding: 12px 14px;
}

.result-line {
    color: var(--night-300);
    margin-bottom: 18px;
}

.hidden-card {
    display: none;
}

.detail-page {
    padding-bottom: 36px;
}

.detail-hero {
    padding-top: 34px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--night-300);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--ocean-300);
}

.breadcrumb strong {
    color: var(--white);
    font-weight: 700;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
    gap: 30px;
    align-items: stretch;
}

.player-card,
.detail-copy,
.article-block {
    border: 1px solid rgba(188, 204, 220, .1);
    background: rgba(36, 59, 83, .34);
    box-shadow: var(--shadow-card);
    border-radius: 24px;
}

.player-card {
    padding: 12px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.player-box video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-box video {
    object-fit: contain;
    background: #000;
    z-index: 1;
}

.player-cover {
    z-index: 2;
    border: 0;
    cursor: pointer;
    color: var(--white);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.play-large {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(26, 146, 230, .92);
    box-shadow: 0 18px 36px rgba(26, 146, 230, .32);
    font-size: 28px;
}

.player-cover span:last-child {
    font-size: 22px;
    font-weight: 900;
}

.detail-copy {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.detail-copy h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.detail-line {
    margin: 0;
    color: var(--night-200);
    line-height: 1.8;
    font-size: 16px;
}

.detail-meta {
    display: grid;
    gap: 9px;
    color: var(--night-300);
    font-size: 14px;
}

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.article-block {
    padding: 28px;
}

.article-block h2 {
    font-size: 26px;
    margin-bottom: 16px;
}

.article-block p {
    color: var(--night-200);
    line-height: 1.92;
    margin: 0 0 14px;
}

.site-footer {
    margin-top: 64px;
    padding: 44px 0 28px;
    border-top: 1px solid rgba(188, 204, 220, .1);
    background: rgba(10, 25, 41, .72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 34px;
}

.site-footer p {
    color: var(--night-300);
    line-height: 1.75;
}

.site-footer h2 {
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    color: var(--night-300);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--ocean-300);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(188, 204, 220, .08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--night-400, #829ab1);
    font-size: 14px;
}

.reveal-section {
    animation: fadeIn .42s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .movie-grid,
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .related-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-section,
    .detail-layout,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .category-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        display: none;
    }

    .page-main,
    .home-main {
        padding-top: 66px;
    }

    .hero {
        padding-top: 16px;
    }

    .hero-slide {
        padding: 0 12px;
    }

    .hero-card,
    .hero-card img {
        min-height: 520px;
        height: 520px;
    }

    .hero-gradient {
        background: linear-gradient(0deg, rgba(10, 25, 41, .97), rgba(10, 25, 41, .18));
    }

    .hero-copy {
        inset: auto 22px 28px 22px;
        max-width: none;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .hero-control {
        display: none;
    }

    .quick-entry {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .movie-grid,
    .catalog-grid,
    .related-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .category-card a {
        grid-template-columns: 1fr;
    }

    .category-covers {
        height: 180px;
    }

    .rank-list-large,
    .filter-panel,
    .expanded-filter,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-copy,
    .article-block {
        padding: 22px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .catalog-grid,
    .related-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .mobile-search {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .mobile-search input {
        width: 100%;
    }
}
