:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --cyan: #06b6d4;
    --teal: #0d9488;
    --orange: #f97316;
    --yellow: #facc15;
    --green: #16a34a;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--slate-900);
    background: linear-gradient(180deg, var(--slate-50), var(--white));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
    font-size: 14px;
}

.brand-text {
    font-size: 22px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.nav-drop-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    color: var(--slate-700);
    background: transparent;
    cursor: pointer;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
    color: var(--blue);
    background: #eff6ff;
}

.nav-dropdown {
    position: relative;
}

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 180px;
    padding: 10px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-drop-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-drop-panel a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--slate-700);
}

.nav-drop-panel a:hover {
    color: var(--blue);
    background: #eff6ff;
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-controls input,
.filter-controls select {
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: var(--white);
    color: var(--slate-900);
    outline: 0;
    transition: 0.2s ease;
}

.header-search input {
    width: 230px;
    padding: 0 14px;
}

.header-search button,
.mobile-search button {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: var(--blue);
    cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--slate-100);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--slate-700);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--slate-200);
}

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

.mobile-panel-inner {
    padding: 14px 0 18px;
}

.mobile-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--slate-700);
}

.mobile-link.is-active,
.mobile-link:hover {
    color: var(--blue);
    background: #eff6ff;
}

.mobile-search {
    margin-top: 10px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(125deg, var(--blue), var(--cyan) 54%, var(--teal));
}

.hero::after,
.page-hero::after,
.detail-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(2, 6, 23, 0.18);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.24) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    align-items: center;
    gap: 52px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: 0.55s ease;
}

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

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

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-panel h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

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

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.primary-button {
    color: var(--blue);
    background: var(--white);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.2);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.26);
}

.ghost-button {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ghost-button.light {
    color: var(--white);
}

.small-button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
    transform: translate(-50%, -50%);
}

.hero-controls {
    position: absolute;
    left: 0;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 28px !important;
    height: 8px !important;
    border-radius: 999px !important;
    opacity: 0.55;
}

.hero-dot.is-active {
    opacity: 1;
    background: var(--white);
}

.featured-overlap {
    position: relative;
    z-index: 2;
    margin-top: -78px;
}

.section-block {
    padding: 66px 0;
}

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading h2,
.rank-panel h2,
.content-card h2,
.filter-bar h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.section-more {
    color: var(--blue);
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

.four-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-grid {
    gap: 16px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    transition: 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.large-poster {
    aspect-ratio: 3 / 4;
}

.horizontal-poster {
    width: 184px;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

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

.movie-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.55));
    opacity: 0.92;
}

.category-badge,
.duration-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.category-badge {
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    background: var(--blue);
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    padding: 4px 8px;
    background: rgba(2, 6, 23, 0.72);
}

.play-hover {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: 0.25s ease;
}

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

.movie-card-body {
    padding: 18px;
}

.movie-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-900);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    transition: 0.2s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-title-large {
    font-size: 22px;
}

.movie-title:hover {
    color: var(--blue);
}

.movie-card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    margin: 8px 0 0;
    color: var(--slate-600);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    color: var(--slate-500);
    font-size: 13px;
}

.movie-meta.split {
    justify-content: space-between;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: #eff6ff;
    font-size: 12px;
    font-weight: 700;
}

.soft-section {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

.warm-section {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

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

.category-tile {
    min-height: 188px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    transition: 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.category-tile strong,
.category-tile span,
.category-tile em {
    display: block;
}

.category-tile strong {
    font-size: 20px;
}

.category-tile span:not(.category-tile-icon) {
    margin-top: 6px;
    color: var(--slate-600);
    font-size: 14px;
}

.category-tile em {
    margin-top: 14px;
    color: var(--blue);
    font-style: normal;
    font-weight: 800;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 28px;
}

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

.horizontal-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movie-card-horizontal {
    display: flex;
    align-items: stretch;
}

.movie-card-horizontal .movie-card-body {
    flex: 1;
}

.rank-panel,
.content-card,
.category-overview-card,
.category-feature {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.rank-panel {
    align-self: start;
    padding: 24px;
}

.rank-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.rank-panel-head a {
    color: var(--blue);
    font-weight: 800;
}

.rank-list,
.side-links {
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 34px 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 14px;
    transition: 0.2s ease;
}

.rank-row:hover,
.side-links a:hover {
    background: var(--slate-50);
}

.rank-number {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: var(--white);
    background: var(--orange);
    font-weight: 900;
}

.rank-row img {
    width: 52px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-score {
    color: var(--orange);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(125deg, var(--slate-900), var(--blue) 55%, var(--cyan));
}

.page-hero {
    padding: 86px 0;
}

.page-hero .container,
.detail-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    align-items: center;
    gap: 38px;
}

.category-feature {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px;
    color: var(--slate-900);
}

.category-feature img {
    width: 150px;
    height: 190px;
    border-radius: 18px;
    object-fit: cover;
}

.category-feature span {
    color: var(--blue);
    font-weight: 800;
}

.category-feature h2 {
    margin: 6px 0;
    font-size: 24px;
    line-height: 1.2;
}

.category-feature p {
    margin: 0 0 14px;
    color: var(--slate-600);
    font-size: 14px;
}

.category-overview-list {
    display: grid;
    gap: 26px;
    padding: 60px 0;
}

.category-overview-card {
    padding: 28px;
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.category-overview-head span {
    color: var(--blue);
    font-weight: 800;
}

.category-overview-head h2 {
    margin: 4px 0;
    font-size: 30px;
}

.category-overview-head p {
    margin: 0;
    color: var(--slate-600);
}

.filter-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.filter-bar p,
.search-status {
    margin: 8px 0 0;
    color: var(--slate-600);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.filter-controls input,
.filter-controls select {
    padding: 0 14px;
}

.ranking-table {
    display: grid;
    gap: 10px;
}

.ranking-table-row {
    display: grid;
    grid-template-columns: 48px 70px minmax(0, 1.6fr) minmax(100px, 0.6fr) 70px 70px 90px;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: var(--white);
    transition: 0.2s ease;
}

.ranking-table-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
}

.ranking-table-row img {
    width: 70px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-index {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), #f59e0b);
    font-weight: 900;
}

.ranking-table-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-table-row em {
    color: var(--blue);
    font-style: normal;
    font-weight: 800;
}

.search-page-form {
    margin-bottom: 18px;
}

.search-page-form input {
    min-width: 0;
    flex: 1;
    height: 54px;
    padding: 0 18px;
    font-size: 17px;
}

.search-page-form .primary-button {
    border: 0;
    color: var(--white);
    background: var(--blue);
    cursor: pointer;
}

.detail-hero {
    padding: 36px 0 54px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 30px;
    align-items: start;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: rgba(2, 6, 23, 0.18);
    cursor: pointer;
    transition: 0.25s ease;
}

.player-start span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 35px rgba(2, 6, 23, 0.25);
    font-size: 30px;
}

.player-start:hover {
    background: rgba(2, 6, 23, 0.32);
}

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

.detail-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(18px);
}

.detail-panel h1 {
    font-size: clamp(30px, 4vw, 48px);
}

.detail-panel p {
    font-size: 17px;
}

.detail-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.detail-meta-list li {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.detail-meta-list span,
.detail-meta-list strong {
    display: block;
}

.detail-meta-list span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.detail-meta-list strong {
    color: var(--white);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    padding: 60px 0 0;
}

.content-card {
    padding: 28px;
}

.content-card p {
    color: var(--slate-700);
    font-size: 17px;
}

.content-card h2 + p {
    margin-top: 10px;
}

.side-card {
    align-self: start;
}

.side-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    color: var(--slate-800);
    font-weight: 800;
}

.side-links span {
    color: var(--orange);
    white-space: nowrap;
}

.site-footer {
    margin-top: 50px;
    color: #cbd5e1;
    background: var(--slate-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0;
}

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

.site-footer p {
    margin: 16px 0 0;
    max-width: 420px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

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

[data-card].is-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .header-search {
        display: none;
    }

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

    .hero-slide {
        position: relative;
        min-height: 600px;
        padding: 74px 0 128px;
    }

    .hero-slide:not(.is-active) {
        display: none;
    }

    .hero-poster {
        width: min(330px, 100%);
    }

    .hero-controls {
        bottom: 34px;
    }

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

    .three-cols,
    .horizontal-list.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-table-row {
        grid-template-columns: 44px 62px minmax(0, 1fr) 70px;
    }

    .ranking-table-row span:nth-of-type(2),
    .ranking-table-row span:nth-of-type(3),
    .ranking-table-row em {
        display: none;
    }
}

@media (max-width: 780px) {
    .main-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .header-inner {
        height: 64px;
    }

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

    .hero,
    .hero-inner,
    .hero-slide {
        min-height: 620px;
    }

    .hero-slide {
        gap: 26px;
        padding-top: 42px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 38px;
    }

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

    .featured-overlap {
        margin-top: -44px;
    }

    .four-cols,
    .three-cols,
    .category-grid,
    .horizontal-list.two-col {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        display: block;
    }

    .horizontal-poster {
        width: 100%;
    }

    .category-overview-head,
    .filter-bar,
    .section-heading,
    .footer-grid {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .filter-controls {
        justify-content: stretch;
    }

    .filter-controls input,
    .filter-controls select {
        width: 100%;
    }

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

    .category-feature img {
        width: 100%;
        height: 260px;
    }

    .detail-meta-list {
        grid-template-columns: 1fr;
    }

    .ranking-table-row {
        grid-template-columns: 38px 58px minmax(0, 1fr);
    }

    .ranking-table-row span,
    .ranking-table-row em {
        display: none;
    }
}
