:root {
    --archive-bg: #0a0a0a;
    --archive-bg-light: #141414;
    --archive-bg-lighter: #1a1a1a;
    --archive-surface: #1f1f1f;
    --archive-surface-light: #2a2a2a;
    --archive-border: #333333;
    --accent-300: #fdba74;
    --accent-400: #fb923c;
    --accent-500: #f97316;
    --accent-600: #ea580c;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --text-soft: #d1d5db;
    --shadow-archive: 0 10px 40px rgba(0, 0, 0, 0.7);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--archive-bg);
    color: var(--text-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    background: var(--accent-600);
    color: #ffffff;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(51, 51, 51, 0.9);
    background: rgba(10, 10, 10, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    min-height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.24);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    color: var(--text-main);
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-copy small {
    color: var(--text-muted);
    font-size: 12px;
}

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

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

.nav-link {
    color: var(--text-soft);
    font-weight: 600;
    transition: color 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--accent-400);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
}

.header-search input,
.mobile-search input,
.filter-input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--archive-border);
    border-radius: 999px;
    outline: none;
    background: var(--archive-surface);
    color: var(--text-main);
    padding: 10px 14px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-input:focus,
.filter-panel select:focus {
    border-color: rgba(249, 115, 22, 0.8);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
    background: #171717;
}

.header-search button,
.mobile-search button {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--accent-600);
    color: #ffffff;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--archive-border);
    border-radius: 12px;
    background: var(--archive-surface);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text-main);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--archive-border);
    background: var(--archive-bg-light);
    padding: 18px 20px 24px;
}

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

.mobile-menu nav {
    display: grid;
    gap: 12px;
    max-width: var(--container);
    margin: 16px auto 0;
}

.mobile-search {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.mobile-link,
.mobile-sub-link {
    color: var(--text-soft);
    padding: 8px 0;
}

.mobile-menu-title {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 12px;
}

.hero {
    position: relative;
    min-height: 520px;
    height: 70vh;
    overflow: hidden;
    background: var(--archive-bg);
}

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

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-400);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-500);
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 18px;
    color: var(--text-main);
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-tags,
.card-tags,
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag,
.category-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(234, 88, 12, 0.22);
    color: #fed7aa;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

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

.button-primary {
    background: var(--accent-600);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.26);
}

.button-primary:hover {
    background: var(--accent-500);
}

.button-ghost {
    color: var(--text-main);
    background: rgba(31, 31, 31, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
}

.button-small {
    min-height: 38px;
    padding: 0 16px;
    background: rgba(234, 88, 12, 0.18);
    color: #fed7aa;
}

.hero-panel {
    position: absolute;
    right: calc((100vw - min(var(--container), calc(100vw - 40px))) / 2);
    bottom: 54px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-mini-list {
    min-width: 220px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(20, 20, 20, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-archive);
}

.hero-mini-list span,
.hero-mini-list small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
}

.hero-mini-list strong {
    display: block;
    color: var(--text-main);
    margin: 3px 0;
}

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

.hero-dot-button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

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

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 20px;
}

.section-alt {
    max-width: none;
    background: var(--archive-bg-light);
    padding-left: max(20px, calc((100vw - var(--container)) / 2 + 20px));
    padding-right: max(20px, calc((100vw - var(--container)) / 2 + 20px));
}

.section-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}

.section-header > span {
    width: 5px;
    height: 38px;
    border-radius: 999px;
    overflow: hidden;
    color: transparent;
    background: var(--accent-500);
}

.section-header h2 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.section-header p {
    margin: 8px 0 0;
    color: var(--text-muted);
}

.section-link {
    color: var(--accent-400);
    font-weight: 700;
}

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

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

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

.movie-card {
    min-width: 0;
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-md);
    background: var(--archive-surface);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: var(--shadow-archive);
    background: var(--archive-surface-light);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 36%),
        linear-gradient(145deg, #222222, #0f0f0f);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.66), transparent 55%);
    pointer-events: none;
}

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

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

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

.poster-index {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(234, 88, 12, 0.9);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

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

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 9px;
}

.movie-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.movie-card-meta span:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #555555;
    margin-left: 8px;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--accent-400);
}

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

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.poster-horizontal {
    aspect-ratio: 16 / 9;
    height: 100%;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    background: rgba(31, 31, 31, 0.72);
}

.ranking-number {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(234, 88, 12, 0.18);
    color: var(--accent-300);
    font-weight: 900;
}

.ranking-title {
    color: var(--text-main);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-item small {
    color: var(--text-muted);
}

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

.category-tile {
    position: relative;
    min-height: 150px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--archive-border);
    background: var(--archive-surface);
}

.category-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

.category-tile:hover .category-cover {
    transform: scale(1.06);
}

.category-copy {
    position: absolute;
    inset: auto 14px 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.category-copy strong {
    color: var(--text-main);
    font-size: 20px;
}

.category-copy small {
    color: var(--text-muted);
}

.timeline-block + .timeline-block {
    margin-top: 42px;
}

.timeline-block h3 {
    color: var(--accent-400);
    margin: 0 0 18px;
}

.site-footer {
    border-top: 1px solid var(--archive-border);
    background: var(--archive-bg-light);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 46px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p,
.footer-column a {
    color: var(--text-muted);
}

.footer-column h3 {
    color: var(--text-main);
    margin-top: 0;
}

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

.footer-column a:hover {
    color: var(--accent-400);
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    background:
        radial-gradient(circle at 22% 0%, rgba(249, 115, 22, 0.2), transparent 32%),
        linear-gradient(145deg, var(--archive-bg), var(--archive-bg-light));
    border-bottom: 1px solid var(--archive-border);
}

.compact-hero > div {
    max-width: var(--container);
    margin: 0 auto;
    padding: 66px 20px 54px;
}

.compact-hero span {
    color: var(--accent-400);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compact-hero h1 {
    margin: 8px 0 12px;
    color: var(--text-main);
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.08;
}

.compact-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--archive-surface);
}

.category-overview-cover {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.category-overview-cover span {
    color: var(--text-main);
    font-size: 24px;
    font-weight: 900;
}

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

.category-overview-body h2 {
    margin: 0 0 10px;
    color: var(--text-main);
}

.category-overview-body p {
    color: var(--text-muted);
}

.category-stat {
    margin: 12px 0;
    color: var(--text-soft);
}

.category-stat strong {
    color: var(--accent-400);
    font-size: 26px;
}

.filter-panel {
    position: sticky;
    top: 88px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 170px 150px auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    border: 1px solid rgba(51, 51, 51, 0.95);
    border-radius: var(--radius-md);
    padding: 14px;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(16px);
}

.filter-panel select {
    appearance: none;
    border-radius: 14px;
}

.result-count {
    color: var(--accent-300);
    font-weight: 800;
    white-space: nowrap;
}

.empty-state {
    border: 1px dashed var(--archive-border);
    border-radius: var(--radius-md);
    padding: 40px;
    color: var(--text-muted);
    text-align: center;
    background: var(--archive-surface);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 120px 64px 1fr 150px;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-md);
    background: var(--archive-surface);
    padding: 14px;
}

.rank-cover {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 36%),
        linear-gradient(145deg, #222222, #0f0f0f);
}

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

.rank-cover img.is-missing {
    display: none;
}

.rank-index {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(234, 88, 12, 0.18);
    color: var(--accent-300);
    font-size: 20px;
    font-weight: 900;
}

.rank-copy h2 {
    margin: 0 0 8px;
    color: var(--text-main);
}

.rank-copy p {
    margin: 0 0 10px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-score {
    text-align: right;
}

.rank-score strong {
    display: block;
    color: var(--accent-400);
    font-size: 30px;
}

.rank-score span {
    color: var(--text-muted);
    font-size: 12px;
}

.detail-hero {
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--archive-border);
}

.detail-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 36px 20px 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 42px;
    align-items: end;
}

.detail-poster {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-archive);
}

.detail-copy h1 {
    margin: 0 0 18px;
    color: var(--text-main);
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 20px;
}

.detail-tags {
    margin-top: 20px;
}

.detail-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.player-shell {
    position: relative;
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(249, 115, 22, 0.14), transparent 34%),
        #000000;
    box-shadow: var(--shadow-archive);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: rgba(0, 0, 0, 0.44);
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-600);
    box-shadow: 0 18px 44px rgba(234, 88, 12, 0.34);
    font-size: 28px;
}

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

.play-overlay small,
.player-message {
    color: var(--text-muted);
}

.player-message {
    position: absolute;
    left: 18px;
    bottom: 14px;
    font-size: 13px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.detail-panel {
    border: 1px solid var(--archive-border);
    border-radius: var(--radius-md);
    background: var(--archive-surface);
    padding: 26px;
}

.detail-panel h2 {
    margin: 0 0 14px;
    color: var(--text-main);
}

.detail-panel p {
    margin: 0;
    color: var(--text-soft);
}

.detail-meta-panel {
    grid-column: 1 / -1;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.detail-meta-item {
    border: 1px solid var(--archive-border);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.detail-meta-item span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
}

.detail-meta-item strong {
    color: var(--text-main);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.section,
.compact-hero > div,
.detail-layout {
    animation: fadeIn 0.5s ease-in-out;
}

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

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

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

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

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

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

    .hero-content {
        min-height: 620px;
        padding-bottom: 150px;
    }

    .hero-panel {
        left: 20px;
        right: 20px;
        bottom: 30px;
        justify-content: space-between;
    }

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

    .movie-card-horizontal,
    .category-overview-card,
    .detail-layout,
    .detail-info-grid,
    .footer-inner,
    .rank-row {
        grid-template-columns: 1fr;
    }

    .rank-score {
        text-align: left;
    }

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

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

@media (max-width: 560px) {
    .header-inner {
        min-height: 64px;
    }

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

    .hero h1,
    .detail-copy h1,
    .compact-hero h1 {
        font-size: 36px;
    }

    .hero-panel {
        display: block;
    }

    .hero-dots {
        margin-top: 14px;
    }

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

    .section-header {
        grid-template-columns: auto 1fr;
    }

    .section-link {
        grid-column: 2;
    }

    .movie-grid-six,
    .movie-grid-four,
    .category-grid {
        gap: 14px;
    }

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

    .movie-card h3 {
        font-size: 15px;
    }

    .movie-card p {
        font-size: 13px;
    }

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

    .footer-inner {
        gap: 22px;
    }
}
