:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(96, 165, 250, 0.22);
    --line-strong: rgba(96, 165, 250, 0.46);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --purple: #8b5cf6;
    --yellow: #facc15;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.5);
    --radius: 22px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 28rem), var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(2, 6, 23, 0.94);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    box-shadow: 0 14px 34px rgba(59, 130, 246, 0.34);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong,
.footer-logo strong {
    font-size: 1.28rem;
    letter-spacing: 0.02em;
}

.logo-text em {
    color: rgba(147, 197, 253, 0.86);
    font-size: 0.76rem;
    font-style: normal;
    margin-top: 5px;
}

.desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.desktop-nav a,
.mobile-nav a {
    color: rgba(248, 250, 252, 0.86);
    padding: 9px 12px;
    border-radius: 12px;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.11);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.header-search input {
    width: 150px;
    background: transparent;
    border: 0;
    color: white;
    outline: 0;
    padding: 8px 5px 8px 12px;
}

.header-search input::placeholder {
    color: rgba(203, 213, 225, 0.58);
}

.header-search button,
.primary-button,
.ghost-button,
.category-more,
.share-button,
.back-top {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search button,
.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 14px 34px rgba(59, 130, 246, 0.28);
}

.header-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.category-more:hover,
.share-button:hover,
.back-top:hover {
    transform: translateY(-2px);
}

.ghost-button,
.category-more,
.share-button,
.back-top {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

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

.hero-slider {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-image,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0.58), #020617 95%);
}

.hero-color {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30, 64, 175, 0.55), rgba(88, 28, 135, 0.22), rgba(2, 6, 23, 0.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 54px;
    padding-top: 70px;
}

.hero-copy {
    max-width: 760px;
    animation: fadeUp 0.65s ease both;
}

.eyebrow,
.page-eyebrow,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    display: block;
    color: var(--blue-light);
}

.hero-copy p {
    max-width: 680px;
    color: #dbeafe;
    font-size: clamp(1rem, 2.2vw, 1.28rem);
    margin: 0 0 28px;
}

.hero-tags,
.detail-meta,
.movie-meta-line,
.score-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.movie-meta-line span,
.score-line span,
.score-line a,
.rank-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.2);
    font-size: 0.82rem;
}

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

.hero-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, 0.38);
    box-shadow: var(--shadow), 0 0 0 12px rgba(255, 255, 255, 0.04);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.hero-poster span,
.play-bubble,
.big-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: rgba(59, 130, 246, 0.88);
    box-shadow: 0 16px 36px rgba(59, 130, 246, 0.38);
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
}

.hero-control {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    color: white;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    font-size: 2rem;
    backdrop-filter: blur(12px);
}

.hero-control.prev {
    left: 24px;
}

.hero-control.next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 32px;
    background: var(--blue-light);
}

.hero-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(to top, #020617, transparent);
    pointer-events: none;
}

.stats-strip {
    position: relative;
    z-index: 3;
    background: linear-gradient(to bottom, #020617, #0f172a);
    padding: 16px 0 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.74);
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: white;
    font-size: 2rem;
    line-height: 1;
}

.stats-grid span {
    color: var(--muted);
    font-size: 0.9rem;
}

.content-section {
    padding: 74px 0;
}

.section-slate {
    background: linear-gradient(to bottom, #0f172a, #020617);
}

.section-blue {
    background: linear-gradient(to bottom, #0b1f45, #0f172a);
}

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

.section-heading.solo {
    display: block;
}

.section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.section-heading a {
    color: #93c5fd;
    font-weight: 700;
}

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.38));
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.28);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.24);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.16));
}

.movie-cover::after,
.horizontal-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.86), transparent 55%);
}

.movie-cover img,
.horizontal-cover img,
.small-cover img,
.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.type-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 13px;
    color: white;
    background: rgba(59, 130, 246, 0.86);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.rank-badge {
    left: auto;
    right: 13px;
    background: rgba(250, 204, 21, 0.18);
    color: #fde68a;
}

.play-bubble {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.play-bubble.small {
    width: 44px;
    height: 44px;
}

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

.movie-info {
    padding: 16px;
}

.movie-info h3,
.horizontal-info h3,
.movie-card-small h3 {
    margin: 10px 0 8px;
    color: white;
    font-size: 1.04rem;
    line-height: 1.35;
}

.movie-info h3 a:hover,
.horizontal-info h3 a:hover,
.movie-card-small h3 a:hover {
    color: #93c5fd;
}

.movie-one-line,
.horizontal-info p,
.movie-card-small p {
    color: var(--muted);
    margin: 0;
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.tag-row span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.78rem;
}

.movie-card-large .movie-info {
    min-height: 202px;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
}

.horizontal-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
}

.horizontal-info {
    min-width: 0;
    padding: 4px 4px 4px 0;
}

.horizontal-info h3 {
    font-size: 1.18rem;
}

.score-line {
    margin-top: 14px;
}

.score-line strong {
    color: #fde68a;
    font-size: 1.25rem;
}

.movie-card-small {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
}

.small-cover {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
    background: rgba(59, 130, 246, 0.14);
}

.movie-card-small h3 {
    margin: 2px 0 4px;
    font-size: 0.96rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-small span {
    display: inline-flex;
    margin-top: 5px;
    color: #93c5fd;
    font-size: 0.8rem;
}

.highlight-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 30px;
}

.stack-list,
.small-stack {
    display: grid;
    gap: 16px;
}

.recommend-box,
.side-panel,
.detail-card,
.filter-panel,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.22);
    backdrop-filter: blur(16px);
}

.recommend-box {
    height: fit-content;
    position: sticky;
    top: 96px;
    padding: 22px;
}

.recommend-box h2,
.side-panel h2 {
    margin: 0 0 18px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 145px 0 70px;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.38), transparent 28rem), linear-gradient(135deg, #020617, #0b1f45 58%, #1e1b4b);
}

.page-hero.compact {
    min-height: 330px;
    display: flex;
    align-items: flex-end;
}

.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.page-hero p {
    max-width: 740px;
    margin: 0;
    color: #dbeafe;
    font-size: 1.12rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #93c5fd;
}

.breadcrumb.light {
    color: rgba(226, 232, 240, 0.82);
}

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

.filter-panel label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    color: white;
    background: rgba(2, 6, 23, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 13px;
    outline: 0;
    padding: 0 12px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(96, 165, 250, 0.72);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.result-counter {
    margin: 0;
    color: var(--muted);
    min-width: 96px;
}

.result-counter strong {
    color: white;
}

.empty-message {
    display: none;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 30px;
}

.empty-message.is-visible {
    display: block;
}

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

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

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

.category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.category-title strong {
    color: #93c5fd;
    font-size: 1rem;
}

.category-overview-card p {
    color: var(--muted);
    margin: 10px 0 18px;
}

.preview-stack {
    margin-bottom: 18px;
}

.detail-hero {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    padding: 110px 0 70px;
    background: #020617;
}

.detail-bg {
    filter: blur(3px) saturate(1.18);
    transform: scale(1.04);
}

.detail-bg-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.8), #020617), linear-gradient(110deg, rgba(37, 99, 235, 0.46), rgba(88, 28, 135, 0.18));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
}

.player-panel {
    border: 1px solid rgba(147, 197, 253, 0.26);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.72);
    box-shadow: var(--shadow);
}

.movie-player {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: #020617;
}

.movie-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    border: 0;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), rgba(2, 6, 23, 0.36));
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.movie-player.is-playing .player-overlay,
.movie-player.is-loaded .player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.big-play {
    width: 86px;
    height: 86px;
    font-size: 1.8rem;
}

.player-overlay strong {
    font-size: 1.35rem;
}

.player-overlay em {
    color: #bfdbfe;
    font-style: normal;
}

.detail-content-section {
    padding-top: 24px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
}

.detail-card {
    padding: 28px;
    margin-bottom: 24px;
}

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

.detail-card h1 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.detail-card h2 {
    margin: 26px 0 10px;
    color: white;
}

.detail-card p,
.detail-card blockquote {
    color: #cbd5e1;
    font-size: 1.02rem;
}

.detail-card blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--blue);
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
}

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

.detail-side {
    min-width: 0;
}

.poster-card {
    position: sticky;
    top: 96px;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

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

.poster-card span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.86);
    color: white;
    font-weight: 700;
}

.side-panel {
    padding: 20px;
}

.site-footer {
    background: #020617;
    border-top: 1px solid rgba(96, 165, 250, 0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 54px 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding: 18px 0;
    text-align: center;
    color: var(--muted);
}

.footer-bottom p {
    margin: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-search {
        margin-left: auto;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

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

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 26px;
        padding-top: 95px;
    }

    .hero-poster {
        max-width: 210px;
        justify-self: start;
        transform: none;
    }

    .hero-control {
        display: none;
    }

    .stats-grid,
    .three-cols,
    .four-cols,
    .five-cols,
    .category-overview-grid,
    .highlight-layout,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .poster-card,
    .recommend-box {
        position: static;
    }
}

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

    .header-inner {
        height: 66px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .logo-text strong {
        font-size: 1.05rem;
    }

    .logo-text em {
        font-size: 0.68rem;
    }

    .mobile-nav {
        grid-template-columns: 1fr;
    }

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

    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .three-cols,
    .four-cols,
    .five-cols,
    .category-overview-grid,
    .footer-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .content-section {
        padding: 48px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        padding-top: 118px;
    }

    .detail-hero {
        min-height: 600px;
        padding-top: 94px;
    }

    .movie-player {
        min-height: 230px;
    }

    .detail-card,
    .side-panel,
    .category-overview-card {
        padding: 18px;
    }
}
