* {
    box-sizing: border-box;
}

:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --secondary-50: #f0fdfa;
    --secondary-100: #ccfbf1;
    --secondary-500: #14b8a6;
    --secondary-600: #0d9488;
    --accent-50: #fff7ed;
    --accent-100: #ffedd5;
    --accent-600: #ea580c;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --shadow-soft: 0 18px 45px rgba(28, 25, 23, 0.12);
    --shadow-card: 0 8px 24px rgba(28, 25, 23, 0.1);
    --radius-xl: 18px;
    --radius-2xl: 26px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--neutral-900);
    background: linear-gradient(180deg, var(--neutral-50), #ffffff 38%, #ffffff);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(28, 25, 23, 0.08);
}

.header-inner,
.footer-inner,
.main-container,
.hero-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.24);
    font-size: 20px;
    font-weight: 800;
    transform: translateZ(0);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-3deg);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    color: var(--neutral-900);
    font-size: 20px;
    line-height: 1.1;
}

.brand-text small,
.footer-brand small {
    display: block;
    margin-top: 4px;
    color: var(--neutral-500);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--neutral-700);
    font-weight: 650;
}

.desktop-nav > a,
.nav-dropdown > a {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > a:hover,
.desktop-nav .active {
    color: var(--primary-600);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    display: grid;
    width: 220px;
    padding: 10px;
    border: 1px solid rgba(231, 229, 228, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a,
.mobile-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--neutral-700);
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-panel a:hover,
.mobile-panel a:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.header-search {
    position: relative;
    display: flex;
    width: min(290px, 26vw);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.05);
}

.header-search input,
.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--neutral-800);
    background: transparent;
    padding: 11px 14px 11px 18px;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    padding: 0 16px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--neutral-100);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 3px;
    background: var(--neutral-800);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--neutral-200);
    background: rgba(255, 255, 255, 0.98);
    padding: 14px 16px 18px;
}

.mobile-panel.is-open {
    display: block;
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    background: #ffffff;
}

.hero {
    position: relative;
    min-height: 70vh;
    height: 720px;
    overflow: hidden;
    color: #ffffff;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 5s ease;
}

.hero-slide.is-active img {
    transform: scale(1.08);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.38), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.58));
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.62fr);
    gap: 42px;
    align-items: end;
    min-height: 100%;
    padding: 150px 0 68px;
}

.hero-copy {
    max-width: 780px;
}

.hero-kicker,
.page-kicker,
.section-head span,
.category-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-kicker {
    padding: 9px 16px;
    background: var(--primary-600);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.28);
    font-size: 14px;
}

.hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 5vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.hero-dots,
.card-meta,
.breadcrumb,
.detail-meta,
.tag-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-secondary,
.section-more,
.hero-arrow,
.player-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary {
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    box-shadow: 0 18px 35px rgba(2, 132, 199, 0.28);
    font-weight: 800;
}

.btn-secondary {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-weight: 750;
}

.btn-primary:hover,
.btn-secondary:hover,
.section-more:hover,
.player-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.25s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.hero-side {
    display: grid;
    gap: 16px;
}

.hero > .hero-inner[aria-hidden="true"] {
    pointer-events: none;
}

.hero > .hero-inner[aria-hidden="true"] .hero-side {
    pointer-events: auto;
}

.hero-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.hero-card img {
    width: 108px;
    height: 78px;
    object-fit: cover;
    border-radius: 16px;
}

.hero-card strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 17px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(12px);
    font-size: 30px;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.66);
}

.hero-arrow.prev {
    left: 22px;
}

.hero-arrow.next {
    right: 22px;
}

.main-container {
    padding: 56px 0 86px;
}

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

.section-block {
    margin-top: 66px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 26px;
}

.section-head span,
.page-kicker {
    padding: 7px 12px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 13px;
}

.section-head h2,
.page-title h1 {
    margin: 8px 0 0;
    color: var(--neutral-900);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.section-head p,
.page-title p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--neutral-600);
}

.section-more {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transform: translateZ(0);
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(28, 25, 23, 0.16);
}

.movie-card.is-hidden {
    display: none;
}

.card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    height: 236px;
    background: linear-gradient(135deg, var(--neutral-200), var(--primary-50));
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .card-cover img {
    transform: scale(1.1);
}

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 1;
}

.card-cover > span {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-600), var(--primary-600));
    font-weight: 900;
}

.card-body {
    padding: 18px;
}

.category-pill {
    margin-bottom: 9px;
    padding: 5px 10px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 12px;
}

.card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 52px;
    color: var(--neutral-900);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.42;
    transition: color 0.2s ease;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-title:hover {
    color: var(--primary-600);
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 8px 0 14px;
    color: var(--neutral-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    justify-content: space-between;
    color: var(--neutral-500);
    font-size: 13px;
}

.feature-panel {
    padding: 28px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

.horizontal-list {
    display: grid;
    gap: 18px;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.movie-card-horizontal .card-cover {
    height: 100%;
    min-height: 190px;
}

.movie-card-horizontal .card-cover > span {
    right: auto;
    left: 12px;
    background: var(--primary-600);
}

.movie-card-horizontal .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

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

.category-box {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 24px;
    border-radius: var(--radius-2xl);
    color: var(--neutral-900);
    background: linear-gradient(135deg, #ffffff, var(--primary-50));
    box-shadow: var(--shadow-card);
}

.category-box::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -46px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.16);
}

.category-box h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.category-box p {
    position: relative;
    z-index: 1;
    min-height: 76px;
    margin: 0 0 20px;
    color: var(--neutral-600);
}

.category-box a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    font-weight: 800;
}

.filter-panel {
    margin: 28px 0 30px;
    padding: 20px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(28, 25, 23, 0.06);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 14px;
}

.filter-grid label {
    display: grid;
    gap: 7px;
    color: var(--neutral-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    border: 1px solid var(--neutral-200);
    border-radius: 14px;
    outline: 0;
    color: var(--neutral-800);
    background: #ffffff;
    padding: 12px 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-grid input:focus,
.filter-grid select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.empty-result {
    display: none;
    margin: 16px 0 0;
    color: var(--neutral-600);
    font-weight: 700;
}

.empty-result.is-visible {
    display: block;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1fr 0.58fr;
    gap: 26px;
    align-items: start;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-row b {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    font-size: 18px;
}

.rank-row img {
    width: 112px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--neutral-200);
}

.rank-row strong {
    display: block;
    overflow: hidden;
    margin-bottom: 6px;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--neutral-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.breadcrumb {
    margin-bottom: 24px;
    color: var(--neutral-500);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--primary-600);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.player-shell {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: #000000;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
}

.player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    position: relative;
    z-index: 2;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.36);
    font-size: 32px;
    padding-left: 6px;
}

.player-status {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    font-size: 14px;
}

.detail-title-card,
.info-card,
.related-panel {
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.detail-title-card h1 {
    margin: 12px 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.detail-meta {
    color: var(--neutral-600);
    font-size: 14px;
}

.tag-list {
    margin-bottom: 10px;
}

.tag-list a,
.tag-list span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--neutral-700);
    background: var(--neutral-100);
    font-size: 13px;
    font-weight: 750;
}

.tag-list .main-tag {
    color: var(--primary-700);
    background: var(--primary-100);
}

.info-card h2,
.related-panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.info-card p {
    margin: 0;
    color: var(--neutral-700);
    line-height: 1.9;
}

.related-panel {
    position: sticky;
    top: 104px;
    margin-top: 0;
}

.related-panel .movie-card {
    margin-bottom: 16px;
}

.related-panel .card-cover {
    height: 170px;
}

.related-panel .card-title {
    min-height: auto;
    font-size: 16px;
}

.related-panel .card-body p {
    min-height: auto;
}

.pagination-note {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 18px;
    color: var(--neutral-700);
    background: var(--neutral-100);
}

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

    .menu-toggle {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

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

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

    .hero-card img {
        width: 100%;
    }

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

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

    .detail-layout,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .related-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner,
    .footer-inner,
    .main-container,
    .hero-inner {
        width: min(100% - 24px, 1280px);
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 780px;
    }

    .hero-inner {
        padding: 116px 0 36px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .hero-arrow {
        display: none;
    }

    .section-head {
        display: block;
    }

    .section-more {
        margin-top: 14px;
    }

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

    .movie-card-horizontal {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal .card-cover {
        height: 220px;
    }

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

    .rank-row {
        grid-template-columns: 46px 92px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-row img {
        width: 92px;
        height: 64px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    color: var(--neutral-300);
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800), var(--neutral-900));
}

.footer-inner {
    padding: 54px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 0.6fr 0.8fr;
    gap: 42px;
}

.footer-brand .brand-mark {
    box-shadow: none;
}

.footer-brand strong {
    color: #ffffff;
}

.footer-brand small,
.site-footer p,
.site-footer li,
.footer-bottom {
    color: var(--neutral-400);
}

.site-footer p {
    max-width: 560px;
    margin: 18px 0 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a:hover {
    color: var(--primary-100);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

@media (max-width: 760px) {
    .footer-bottom {
        display: grid;
    }
}
