/* Static movie site styles generated from the uploaded visual direction. */
:root {
    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-850: #172033;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-900: #0f172a;
    --color-white: #ffffff;
    --color-amber: #f59e0b;
    --color-orange: #f97316;
    --color-blue: #2563eb;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.24);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--color-gray-900);
    background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.shell {
    width: min(100% - 32px, var(--max-width));
    margin-inline: auto;
}

.shell.narrow {
    width: min(100% - 32px, 840px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--color-white);
    background: linear-gradient(90deg, var(--color-slate-900), var(--color-slate-800), var(--color-slate-900));
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
}

.nav-shell {
    width: min(100% - 32px, var(--max-width));
    min-height: 68px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-logo span:last-child {
    font-size: 1.15rem;
    background: linear-gradient(90deg, #fbbf24, var(--color-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-logo-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: var(--color-slate-950);
    background: linear-gradient(135deg, #fbbf24, var(--color-orange));
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    font-weight: 600;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.84);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fbbf24;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.nav-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.16);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-search input {
    width: 150px;
    border: 0;
    outline: 0;
    color: var(--color-white);
    background: transparent;
    padding: 6px 4px 6px 10px;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.nav-search button {
    border: 0;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-amber);
    padding: 7px 14px;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-white);
    border-radius: 999px;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--color-slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.95s ease;
    background: radial-gradient(circle at 25% 20%, rgba(245, 158, 11, 0.32), transparent 32%), var(--color-slate-950);
}

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

.hero-slide.is-missing::after {
    content: attr(data-fallback);
    position: absolute;
    top: 22%;
    right: 8%;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1;
    text-align: right;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide.is-missing .hero-image {
    display: none;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.12));
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - var(--max-width)) / 2));
    right: 24px;
    bottom: 72px;
    max-width: 760px;
    color: var(--color-white);
}

.hero-kicker,
.category-pill,
.corner-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--color-amber);
    color: var(--color-white);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
}

.hero-kicker {
    padding: 9px 16px;
    margin-bottom: 18px;
}

.category-pill {
    padding: 7px 12px;
    margin-bottom: 12px;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-meta {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    padding: 0 22px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.32);
}

.button-ghost {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.button-ghost.dark {
    color: var(--color-slate-900);
    background: rgba(255, 255, 255, 0.72);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.48);
    font-size: 2.2rem;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

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

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

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

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

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

.hero-dots button.is-active {
    width: 34px;
    background: var(--color-amber);
}

.section {
    padding: 56px 0;
}

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

.section-heading.compact {
    margin-bottom: 16px;
}

.section-bar {
    width: 6px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-amber), var(--color-orange));
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.15;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--color-gray-600);
}

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

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

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

.stacked-list {
    display: grid;
    gap: 16px;
}

.movie-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card a {
    display: block;
    height: 100%;
}

.poster {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 34%), linear-gradient(135deg, var(--color-slate-900), var(--color-slate-700));
}

.poster::after {
    content: attr(data-fallback);
    position: absolute;
    inset: auto 18px 18px 18px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.poster.is-missing::after {
    opacity: 1;
}

.poster.is-missing img {
    display: none;
}

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

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

.poster-wide {
    width: 210px;
    min-height: 132px;
    flex: 0 0 210px;
    aspect-ratio: auto;
}

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

.play-chip {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.play-chip-large {
    width: 62px;
    height: 62px;
    font-size: 1.25rem;
}

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

.corner-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}

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

.movie-card-body-large {
    padding: 24px;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-large h3 {
    font-size: 1.45rem;
}

.movie-card p {
    margin: 0 0 12px;
    color: var(--color-gray-600);
    font-size: 0.94rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--color-gray-500);
    font-size: 0.86rem;
}

.movie-meta span,
.detail-meta span {
    display: inline-flex;
}

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

.tag-row span {
    border-radius: 999px;
    color: var(--color-gray-600);
    background: var(--color-gray-100);
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.tag-row-large span {
    color: #1d4ed8;
    background: #dbeafe;
}

.movie-card-horizontal a {
    display: flex;
    gap: 0;
}

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

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.ranking-panel,
.detail-panel,
.sticky-panel,
.filter-panel,
.search-panel,
.table-wrap {
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.ranking-panel {
    padding: 24px;
    position: sticky;
    top: 92px;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 12px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
}

.ranking-item:last-child {
    border-bottom: 0;
}

.rank-num,
.table-rank {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--color-gray-700);
    background: var(--color-gray-100);
    font-weight: 900;
}

.ranking-item.is-top .rank-num,
.table-rank {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
}

.ranking-item strong,
.table-title {
    display: block;
    font-weight: 800;
}

.ranking-item small {
    display: block;
    color: var(--color-gray-500);
    margin-top: 2px;
}

.text-link {
    color: var(--color-orange);
    font-weight: 800;
}

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

.category-card,
.overview-card {
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.category-card-main {
    display: block;
    padding: 22px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-700));
}

.category-card-main span {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
}

.category-card-main strong {
    display: block;
    color: #fbbf24;
    margin-top: 6px;
}

.category-card ul {
    list-style: none;
    padding: 16px 20px 20px;
    margin: 0;
    display: grid;
    gap: 8px;
}

.category-card li {
    color: var(--color-gray-600);
    font-size: 0.92rem;
}

.soft-cta {
    margin-bottom: 56px;
    border-radius: var(--radius-lg);
    padding-inline: 24px;
    text-align: center;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    box-shadow: var(--shadow-soft);
}

.soft-cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.soft-cta p {
    color: var(--color-gray-600);
}

.cta-actions {
    justify-content: center;
    margin-top: 20px;
}

.page-hero {
    color: var(--color-white);
    background: radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.25), transparent 30%), linear-gradient(135deg, var(--color-slate-950), var(--color-slate-800));
    padding: 76px 0;
    text-align: center;
}

.page-hero.compact-hero {
    text-align: left;
    padding: 48px 0;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.12rem;
}

.compact-hero p {
    margin-left: 0;
}

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

.overview-card a {
    display: block;
    padding: 28px;
}

.overview-card h2 {
    margin: 18px 0 8px;
}

.overview-card p {
    margin: 0;
    color: var(--color-gray-600);
}

.overview-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
}

.pill-cloud,
.stat-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-link,
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.pill-link strong,
.stat-chip strong {
    color: var(--color-orange);
}

.filter-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    margin-bottom: 24px;
}

.filter-panel input,
.search-panel input,
.search-panel select {
    min-height: 46px;
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    outline: 0;
    background: var(--color-white);
    padding: 0 14px;
}

.filter-panel input:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--color-amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.pagination a,
.pagination-ellipsis {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.pagination a.is-current {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
}

.pagination a[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
}

.search-panel {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(120px, 1fr)) auto;
    gap: 12px;
    padding: 18px;
    margin-bottom: 18px;
}

.search-count {
    color: var(--color-gray-600);
    margin: 0 0 22px;
}

.table-wrap {
    overflow: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

.ranking-table th,
.ranking-table td {
    padding: 18px;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: left;
    vertical-align: top;
}

.ranking-table th {
    color: var(--color-gray-600);
    font-size: 0.88rem;
}

.ranking-table p {
    margin: 6px 0 0;
    color: var(--color-gray-600);
    font-size: 0.92rem;
}

.player-section {
    background: var(--color-slate-950);
    padding: 26px 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
    box-shadow: var(--shadow-strong);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--color-white);
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.5));
    font-weight: 900;
    font-size: 1.08rem;
}

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

.player-start-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
    box-shadow: 0 18px 45px rgba(245, 158, 11, 0.35);
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    pointer-events: none;
}

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

.detail-panel {
    padding: 28px;
    margin-bottom: 22px;
}

.detail-headline h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.content-block {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.content-block h2,
.sticky-panel h2,
.gradient-panel h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.content-block p,
.gradient-panel p {
    margin: 0;
    color: var(--color-gray-700);
    text-align: justify;
}

.gradient-panel {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
}

.gradient-panel p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 18px;
}

.sticky-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.compact-list .movie-card-horizontal {
    box-shadow: none;
    border: 1px solid var(--color-gray-200);
}

.compact-list .poster-wide {
    width: 130px;
    min-height: 88px;
    flex-basis: 130px;
}

.compact-list .movie-card-body {
    padding: 12px;
}

.compact-list .movie-card p,
.compact-list .tag-row,
.compact-list .category-pill {
    display: none;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--color-slate-900), var(--color-slate-950));
}

.footer-shell {
    width: min(100% - 32px, var(--max-width));
    margin-inline: auto;
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 30px;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 14px;
}

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

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

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

.site-footer a:hover {
    color: #fbbf24;
}

@media (max-width: 1120px) {
    .nav-shell {
        grid-template-columns: auto auto;
    }

    .nav-links,
    .nav-search {
        grid-column: 1 / -1;
    }

    .nav-search {
        width: 100%;
    }

    .nav-search input {
        flex: 1;
        width: auto;
    }

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

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

    .search-panel input {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .nav-shell {
        min-height: 64px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

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

    .nav-separator {
        display: none;
    }

    .nav-search {
        order: 3;
    }

    .hero-slider {
        height: 72vh;
        min-height: 560px;
    }

    .hero-content {
        bottom: 84px;
        left: 22px;
        right: 22px;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .feature-grid,
    .category-showcase,
    .overview-grid,
    .two-column-layout,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .two-column-layout,
    .detail-layout {
        display: block;
    }

    .ranking-panel,
    .sticky-panel {
        position: static;
        margin-top: 24px;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .shell,
    .footer-shell,
    .nav-shell {
        width: min(100% - 24px, var(--max-width));
    }

    .site-logo span:last-child {
        font-size: 1rem;
    }

    .nav-search {
        display: none;
    }

    .hero-slider {
        min-height: 520px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 38px 0;
    }

    .movie-grid,
    .feature-grid,
    .category-showcase,
    .overview-grid,
    .footer-grid,
    .search-panel,
    .small-feature-grid {
        grid-template-columns: 1fr;
    }

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

    .poster-wide {
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

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

    .ranking-table th:nth-child(3),
    .ranking-table th:nth-child(4),
    .ranking-table td:nth-child(3),
    .ranking-table td:nth-child(4) {
        display: none;
    }

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