:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111827;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --cyan-600: #0891b2;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;
    --amber-400: #fbbf24;
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.16);
    --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-800);
    background: var(--slate-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-950), var(--slate-900) 46%, #122b3d);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.28);
}

.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;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600));
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(6, 182, 212, 0.36);
}

.brand-text {
    font-size: 22px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
    color: var(--slate-300);
    padding: 10px 14px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--white);
    background: rgba(148, 163, 184, 0.14);
}

.header-search {
    color: var(--white);
    background: rgba(6, 182, 212, 0.16);
    border: 1px solid rgba(103, 232, 249, 0.28);
    padding: 10px 16px;
    border-radius: 999px;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.12);
    cursor: pointer;
}

.mobile-menu-button span {
    width: 21px;
    height: 2px;
    background: var(--white);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-nav.is-open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 680px;
    color: var(--white);
    overflow: hidden;
    background: var(--slate-950);
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.75s ease, transform 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 30%, rgba(34, 211, 238, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.78) 44%, rgba(15, 23, 42, 0.24)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 42%);
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 680px;
    padding-top: 40px;
    padding-bottom: 80px;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 8vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy p {
    margin: 0 0 24px;
    max-width: 640px;
    color: var(--slate-200);
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: var(--slate-700);
    background: var(--slate-100);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

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

.primary-button,
.ghost-button,
.quick-search-form button,
.filter-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(6, 182, 212, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button:hover,
.quick-search-form button:hover,
.filter-panel button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.36);
}

.ghost-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.small-button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 13px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
}

.hero-prev {
    left: 28px;
}

.hero-next {
    right: 28px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan-400);
}

.quick-search-panel {
    position: relative;
    z-index: 4;
    margin-top: -46px;
}

.quick-search-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.quick-search-inner h2,
.section-heading h2,
.page-hero h1 {
    margin: 6px 0 0;
    color: var(--slate-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.quick-search-form {
    display: flex;
    gap: 10px;
}

.quick-search-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    color: var(--slate-800);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0 15px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.section {
    padding-top: 70px;
    padding-bottom: 70px;
}

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

.section-heading a {
    color: var(--cyan-600);
    font-weight: 800;
}

.section-heading-light h2,
.section-heading-light a {
    color: var(--white);
}

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.28);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18);
}

.cover-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

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

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 58%);
    opacity: 0.72;
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: var(--white);
    background: rgba(6, 182, 212, 0.92);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 17px;
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 13px;
}

.card-meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: var(--slate-300);
}

.movie-card strong {
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.28;
}

.movie-card em {
    display: -webkit-box;
    min-height: 45px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-large {
    display: grid;
    grid-template-columns: 42% 1fr;
}

.movie-card-large .cover-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card-large .card-body {
    min-height: 220px;
    justify-content: center;
}

.horizontal-scroll {
    display: grid;
    grid-auto-columns: minmax(280px, 330px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 22px;
    scrollbar-width: thin;
}

.dark-band {
    color: var(--slate-100);
    background:
        radial-gradient(circle at 14% 30%, rgba(6, 182, 212, 0.16), transparent 34%),
        linear-gradient(135deg, var(--slate-900), var(--slate-950));
}

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

.category-chip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 174px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.58);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.category-chip:hover {
    transform: translateY(-4px);
    border-color: rgba(103, 232, 249, 0.42);
    background: rgba(15, 23, 42, 0.84);
}

.category-chip strong {
    color: var(--white);
    font-size: 20px;
}

.category-chip span {
    color: var(--slate-300);
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 34px;
    align-items: start;
}

.large-card-stack {
    display: grid;
    gap: 18px;
}

.ranking-panel,
.side-panel,
.poster-card,
.detail-card,
.prose-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.ranking-panel {
    position: sticky;
    top: 98px;
    overflow: hidden;
}

.ranking-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--cyan-600));
    font-weight: 800;
}

.ranking-title a {
    color: var(--cyan-300);
    font-size: 13px;
}

.rank-list {
    display: grid;
}

.rank-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--slate-100);
}

.rank-row:hover {
    background: var(--slate-50);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--white);
    background: var(--slate-900);
    border-radius: 10px;
    font-weight: 900;
}

.rank-title {
    color: var(--slate-900);
    font-weight: 800;
}

.rank-meta {
    color: var(--slate-500);
    font-size: 12px;
}

.page-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.26), transparent 34%),
        linear-gradient(135deg, var(--slate-950), var(--slate-900));
    padding: 86px 0;
}

.compact-page-hero h1,
.category-page-hero h1 {
    color: var(--white);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--slate-300);
    font-size: 18px;
}

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

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-stats span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.category-cover-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 180px;
    background: var(--slate-900);
}

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

.category-overview-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 24px 24px 24px 0;
}

.category-overview-body strong {
    color: var(--slate-900);
    font-size: 24px;
}

.category-overview-body em {
    color: var(--cyan-600);
    font-style: normal;
    font-weight: 800;
}

.category-overview-body span {
    color: var(--slate-600);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.full-filter {
    grid-template-columns: minmax(220px, 1fr) 160px 150px 150px 160px auto;
}

.result-count {
    margin: 0 0 22px;
    color: var(--slate-500);
    font-weight: 700;
}

.detail-top {
    padding: 34px 0 0;
    background:
        linear-gradient(180deg, var(--slate-900), var(--slate-900) 360px, var(--slate-50) 360px);
}

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.player-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 42%, rgba(6, 182, 212, 0.22), transparent 28%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.38));
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

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

.player-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    padding-left: 5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600));
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 20px 46px rgba(6, 182, 212, 0.36);
}

.player-overlay strong {
    font-size: 22px;
}

.player-overlay em {
    color: var(--slate-300);
    font-style: normal;
    font-size: 13px;
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    margin: 0;
    color: var(--white);
    font-size: 13px;
    text-align: center;
}

.detail-card {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.detail-card h1 {
    margin: 16px 0 0;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-meta {
    margin: 0 0 26px;
}

.detail-card section {
    padding-top: 24px;
    border-top: 1px solid var(--slate-100);
}

.detail-card section + section {
    margin-top: 24px;
}

.detail-card h2,
.side-panel h2,
.prose-card h2 {
    margin: 0 0 10px;
    color: var(--slate-900);
    font-size: 22px;
}

.detail-card p,
.prose-card p {
    margin: 0;
    color: var(--slate-700);
    font-size: 16px;
}

.detail-card p + p,
.prose-card p + h2 {
    margin-top: 18px;
}

.lead-text {
    color: var(--slate-900) !important;
    font-weight: 800;
    margin-bottom: 10px !important;
}

.detail-sidebar {
    display: grid;
    gap: 18px;
}

.poster-card {
    overflow: hidden;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--slate-900);
}

.poster-card strong,
.poster-card span {
    display: block;
    padding-left: 18px;
    padding-right: 18px;
}

.poster-card strong {
    padding-top: 17px;
    color: var(--slate-900);
    font-size: 20px;
}

.poster-card span {
    padding-bottom: 18px;
    color: var(--slate-500);
}

.side-panel {
    padding: 18px;
}

.compact-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--slate-100);
}

.compact-card:first-of-type {
    border-top: 0;
}

.compact-card img {
    width: 76px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--slate-900);
}

.compact-card strong {
    display: block;
    color: var(--slate-900);
    line-height: 1.3;
}

.compact-card small {
    color: var(--slate-500);
}

.ranking-grid {
    display: grid;
    gap: 14px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 70px 150px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.ranking-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--cyan-600));
    border-radius: 16px;
    font-weight: 900;
}

.ranking-card img {
    width: 150px;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--slate-900);
}

.ranking-copy {
    display: grid;
    gap: 5px;
}

.ranking-copy strong {
    color: var(--slate-900);
    font-size: 19px;
}

.ranking-copy em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-600);
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-copy span {
    color: var(--slate-500);
    font-size: 13px;
}

.prose-card {
    max-width: 860px;
    padding: 32px;
}

.site-footer {
    color: var(--slate-300);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-top: 54px;
    padding-bottom: 36px;
}

.footer-brand {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 440px;
    margin: 0;
    color: var(--slate-400);
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

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

.site-footer a:hover {
    color: var(--cyan-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 28px;
    color: var(--slate-500);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 14px;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .ranking-panel {
        position: static;
    }

    .detail-sidebar {
        grid-template-columns: 300px 1fr;
        align-items: start;
    }

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .header-inner {
        min-height: 66px;
    }

    .hero,
    .hero-content {
        min-height: 590px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-inner,
    .category-overview-card,
    .movie-card-large,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .quick-search-form {
        flex-direction: column;
    }

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

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

    .category-overview-body {
        padding: 22px;
    }

    .ranking-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

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

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

    .brand-text {
        font-size: 18px;
    }

    .hero,
    .hero-content {
        min-height: 540px;
    }

    .hero-content {
        align-items: end;
        padding-bottom: 92px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-heading,
    .detail-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .category-chip-grid,
    .category-overview-grid,
    .footer-grid,
    .detail-sidebar,
    .filter-panel,
    .full-filter {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 42px 1fr;
    }

    .rank-meta {
        grid-column: 2;
    }

    .detail-card {
        padding: 22px;
    }
}
