* {
    box-sizing: border-box;
}

:root {
    --bg-deep: #020617;
    --bg-main: #0f172a;
    --bg-soft: rgba(15, 23, 42, 0.72);
    --card: rgba(30, 41, 59, 0.68);
    --card-strong: rgba(30, 41, 59, 0.92);
    --line: rgba(148, 163, 184, 0.16);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft-text: #cbd5e1;
    --accent: #22d3ee;
    --accent-strong: #06b6d4;
    --accent-deep: #0e7490;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

main {
    min-height: 70vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #001018;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.34);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: var(--soft-text);
    font-size: 15px;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: var(--accent);
}

.site-search-form {
    width: min(320px, 28vw);
    display: flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.68);
}

.site-search-form input {
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    color: var(--text);
    border: 0;
    outline: 0;
    background: transparent;
}

.site-search-form button {
    padding: 10px 16px;
    border: 0;
    color: #001018;
    font-weight: 700;
    background: var(--accent);
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.page-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.space-y-16 > * + * {
    margin-top: 64px;
}

.space-y-12 > * + * {
    margin-top: 48px;
}

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

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

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

.hero-backdrop,
.detail-backdrop {
    position: absolute;
    inset: 0;
}

.hero-backdrop img,
.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transform: scale(1.03);
}

.hero-backdrop img.is-missing,
.detail-backdrop img.is-missing,
.mini-poster-row img.is-missing {
    opacity: 0;
}

.hero-gradient,
.detail-backdrop span {
    position: absolute;
    inset: 0;
}

.hero-gradient.vertical {
    background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.74) 42%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-gradient.horizontal {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.48) 45%, rgba(2, 6, 23, 0.76) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    height: 70vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 0 92px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-intro h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-summary {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--soft-text);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(34, 211, 238, 0.10);
    font-size: 13px;
}

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

.primary-button,
.ghost-button,
.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    padding: 13px 24px;
    color: #001018;
    background: var(--accent);
    box-shadow: 0 16px 40px rgba(34, 211, 238, 0.25);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.primary-button.small {
    padding: 10px 16px;
    font-size: 14px;
}

.ghost-button {
    padding: 12px 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: var(--text);
    background: rgba(15, 23, 42, 0.55);
}

.hero-thumbs {
    position: absolute;
    right: max(16px, calc((100vw - 1280px) / 2));
    bottom: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-thumb {
    max-width: 150px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 14px;
    color: var(--soft-text);
    background: rgba(15, 23, 42, 0.68);
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-thumb span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #001018;
    background: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.hero-thumb.is-active {
    color: var(--text);
    border-color: rgba(34, 211, 238, 0.52);
    background: rgba(8, 145, 178, 0.32);
}

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
}

.section-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more,
.text-link {
    color: var(--accent);
}

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

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

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

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

.large-card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movie-card,
.movie-row,
.category-tile,
.category-overview-card,
.content-card,
.sidebar-card,
.player-card,
.soft-panel {
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
}

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.36);
    box-shadow: 0 28px 80px rgba(8, 145, 178, 0.20);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.32), rgba(30, 41, 59, 0.92));
}

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

.movie-cover img,
.movie-row-cover img,
.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

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

.poster-img.is-missing {
    opacity: 0;
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    text-align: center;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, 0.22), transparent 56%),
        linear-gradient(145deg, #0f172a, #020617);
}

.poster-fallback.is-visible {
    display: flex;
}

.poster-fallback span {
    font-weight: 900;
    line-height: 1.4;
}

.poster-fallback small {
    color: var(--muted);
    line-height: 1.5;
}

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

.score-badge,
.rank-badge,
.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.score-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    min-width: 44px;
    height: 30px;
    color: #001018;
    background: var(--accent);
}

.rank-badge {
    padding: 4px 9px;
    color: #001018;
    background: var(--accent);
    font-size: 12px;
}

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

.overlay-body {
    position: absolute;
    inset: auto 0 0;
    padding: 22px;
}

.movie-card-title,
.movie-row-title {
    display: block;
    color: var(--text);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card-title:hover,
.movie-row-title:hover {
    color: var(--accent);
}

.movie-card-desc,
.movie-row-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.movie-meta-row.large {
    margin: 18px 0;
    font-size: 15px;
}

.score {
    color: var(--accent);
    font-weight: 900;
}

.soft-panel {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(30, 41, 59, 0.36);
}

.glow-panel {
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 30rem),
        rgba(30, 41, 59, 0.34);
}

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

.movie-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.58);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-row:hover {
    transform: translateX(4px);
    border-color: rgba(34, 211, 238, 0.30);
    background: rgba(30, 41, 59, 0.76);
}

.movie-row-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #020617);
}

.movie-row-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 15rem),
        rgba(30, 41, 59, 0.56);
}

.category-tile:hover {
    border-color: rgba(34, 211, 238, 0.34);
    transform: translateY(-4px);
}

.category-count {
    padding: 6px 11px;
    color: var(--accent);
    background: rgba(34, 211, 238, 0.12);
    font-size: 13px;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.category-tile p,
.category-overview-card p,
.category-tile small {
    color: var(--muted);
    line-height: 1.7;
}

.category-tile small {
    display: block;
    margin-top: 14px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 32rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.94));
}

.compact-hero .page-shell {
    padding: 72px 0 48px;
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p:not(.eyebrow),
.compact-hero p:not(.eyebrow) {
    max-width: 780px;
    margin: 0;
    color: var(--soft-text);
    font-size: 18px;
    line-height: 1.8;
}

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

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

.filter-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.74);
}

.filter-bar label {
    display: block;
    margin-bottom: 8px;
    color: var(--soft-text);
    font-weight: 800;
}

.filter-bar input {
    width: min(520px, 70vw);
    padding: 13px 16px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 12px;
    color: var(--text);
    outline: 0;
    background: rgba(2, 6, 23, 0.52);
}

.filter-bar input:focus {
    border-color: rgba(34, 211, 238, 0.60);
}

.filter-bar p {
    margin: 0;
    color: var(--muted);
}

.empty-state {
    padding: 36px;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
}

.category-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.category-overview-head span {
    flex: 0 0 auto;
    color: var(--accent);
    font-weight: 900;
}

.mini-poster-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 18px 0;
}

.mini-poster-row a {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
}

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

.related-category-links {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.62);
}

.related-category-links h2 {
    margin: 0 0 18px;
}

.related-category-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-category-links a {
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    color: var(--soft-text);
    background: rgba(30, 41, 59, 0.52);
}

.related-category-links a:hover {
    color: var(--accent);
    border-color: rgba(34, 211, 238, 0.36);
}

.detail-hero {
    min-height: 560px;
}

.detail-backdrop span {
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.84) 50%, rgba(2, 6, 23, 0.56) 100%),
        linear-gradient(90deg, #020617 0%, transparent 54%, rgba(2, 6, 23, 0.82) 100%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 56px 0 64px;
}

.detail-intro {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    margin-top: -42px;
    align-items: start;
    position: relative;
    z-index: 3;
}

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

.player-card,
.content-card,
.sidebar-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.86);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame video {
    width: 100%;
    height: 100%;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 20px;
    border: 0;
    color: var(--text);
    background: radial-gradient(circle, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
    cursor: pointer;
}

.play-overlay.is-hidden {
    display: none;
}

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

.play-overlay small {
    color: var(--soft-text);
    text-align: center;
}

.play-icon {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 18px 50px rgba(34, 211, 238, 0.35);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: scale(0.45);
}

.content-card {
    padding: 28px;
}

.content-card h2,
.sidebar-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: var(--soft-text);
    line-height: 1.9;
    white-space: pre-line;
}

.info-table {
    margin: 0;
}

.info-table div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-table div:last-child {
    border-bottom: 0;
}

.info-table dt {
    color: var(--muted);
}

.info-table dd {
    margin: 0;
    color: var(--text);
}

.info-table a {
    color: var(--accent);
}

.detail-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    padding: 22px;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.sidebar-head h2 {
    margin: 0;
}

.sidebar-head a {
    color: var(--accent);
    font-weight: 800;
}

.row-list.compact .movie-row {
    grid-template-columns: 112px minmax(0, 1fr);
}

.row-list.compact .movie-row-desc {
    display: none;
}

.related-section {
    margin-top: 56px;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    justify-content: space-between;
    gap: 26px;
}

.footer-inner p {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--soft-text);
}

[hidden] {
    display: none !important;
}

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

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

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

    .detail-sidebar {
        position: static;
    }
}

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

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

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

    .hero-section,
    .hero-content {
        min-height: 76vh;
        height: 76vh;
    }

    .hero-content {
        padding-bottom: 134px;
    }

    .hero-thumbs {
        left: 16px;
        right: 16px;
        bottom: 28px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .hero-thumb {
        flex: 0 0 150px;
    }

    .section-heading,
    .filter-bar,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .large-card-grid,
    .large-card-grid.two {
        grid-template-columns: 1fr;
    }

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

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

    .movie-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .detail-intro {
        grid-template-columns: 150px minmax(0, 1fr);
        align-items: center;
    }

    .detail-intro h1 {
        font-size: 36px;
    }
}

@media (max-width: 560px) {
    .page-shell,
    .header-inner,
    .mobile-nav,
    .footer-inner,
    .hero-content {
        width: min(100% - 24px, 1280px);
    }

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

    .movie-grid.five,
    .movie-grid.six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

    .soft-panel,
    .content-card,
    .sidebar-card {
        padding: 18px;
    }

    .movie-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .movie-row-desc,
    .movie-meta-row span:nth-child(n + 3) {
        display: none;
    }

    .detail-hero-inner {
        padding-top: 34px;
    }

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

    .detail-poster {
        width: 56%;
        max-width: 220px;
    }

    .filter-bar input {
        width: 100%;
    }
}
