* {
    box-sizing: border-box;
}

:root {
    --primary-50: #faf8f5;
    --primary-100: #f5f0e8;
    --primary-600: #a67c4a;
    --primary-700: #8b6238;
    --secondary-50: #f0f9ff;
    --secondary-600: #0284c7;
    --accent-50: #fffbeb;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.08);
    --shadow-md: 0 12px 28px rgba(28, 25, 23, 0.12);
    --shadow-lg: 0 22px 60px rgba(28, 25, 23, 0.16);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(166, 124, 74, 0.25);
    font-size: 14px;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 20px;
    color: var(--neutral-800);
}

.brand-copy small {
    margin-top: 3px;
    color: var(--neutral-500);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link,
.mobile-nav-link {
    color: var(--neutral-700);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--primary-600);
}

.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: var(--neutral-100);
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--neutral-700);
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--neutral-200);
    background: #ffffff;
    padding: 10px 16px 16px;
}

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

.mobile-nav-link {
    padding: 10px 0;
}

main {
    flex: 1;
}

.hero-section {
    position: relative;
    min-height: 500px;
    height: 70vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-50), var(--accent-50));
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transform: scale(1.04);
}

.hero-background.is-missing-image::after,
.poster-frame.is-missing-image::after,
.detail-poster.is-missing-image::after {
    content: attr(data-fallback);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    font-weight: 700;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #ffffff 4%, rgba(255, 255, 255, 0.1) 56%, rgba(255, 255, 255, 0.72));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: center;
}

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

.hero-kicker,
.section-kicker,
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-600);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 18px 0 22px;
    color: var(--neutral-900);
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--neutral-700);
    font-size: clamp(17px, 2.1vw, 21px);
}

.hero-search {
    width: min(620px, 100%);
    display: flex;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(166, 124, 74, 0.18);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 18px;
    color: var(--neutral-800);
}

.hero-search button,
.btn,
.filter-reset,
.player-controls button {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-search button,
.btn-primary {
    color: #ffffff;
    background: var(--primary-600);
    box-shadow: 0 14px 26px rgba(166, 124, 74, 0.24);
}

.hero-search button:hover,
.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
}

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

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

.btn-ghost {
    color: var(--primary-700);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(166, 124, 74, 0.2);
}

.btn-light {
    color: var(--primary-600);
    background: #ffffff;
}

.hero-feature-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero-feature-card h2 {
    margin: 14px 0 8px;
    color: var(--neutral-900);
    font-size: 26px;
}

.hero-feature-card p {
    margin: 0;
    color: var(--neutral-600);
}

.hero-meta,
.detail-meta,
.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-meta span,
.detail-meta span,
.movie-card-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--neutral-100);
    color: var(--neutral-600);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
}

.stats-strip {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

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

.stats-grid a {
    display: grid;
    gap: 4px;
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.stats-grid strong {
    color: var(--primary-600);
    font-size: 32px;
    line-height: 1;
}

.stats-grid span {
    color: var(--neutral-500);
    font-weight: 700;
}

.content-section {
    padding: 72px 0;
    background: #ffffff;
}

.section-soft {
    background: linear-gradient(135deg, var(--secondary-50), var(--primary-50));
}

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

.section-head h2,
.page-hero h1,
.detail-copy h1,
.story-card h2,
.rank-panel h2,
.mini-rank h2 {
    margin: 8px 0 0;
    color: var(--neutral-900);
    line-height: 1.18;
}

.section-head h2 {
    font-size: clamp(28px, 3.2vw, 40px);
}

.section-head p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--neutral-600);
}

.section-more,
.text-link {
    color: var(--primary-600);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card > a {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card > a:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 124, 74, 0.3);
    box-shadow: var(--shadow-lg);
}

.poster-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--neutral-200);
}

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

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

.poster-frame--square {
    aspect-ratio: 1 / 1;
}

.poster-frame--hero {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    margin-bottom: 16px;
}

.poster-frame img,
.detail-poster img,
.review-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.movie-card > a:hover .poster-frame img,
.category-tile:hover .poster-frame img {
    transform: scale(1.05);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card > a:hover .poster-shade,
.category-tile:hover .poster-shade {
    opacity: 1;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.movie-card > a:hover .play-badge,
.category-tile:hover .play-badge,
.hero-feature-card .play-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

.movie-card-body h3 {
    margin: 10px 0 7px;
    color: var(--neutral-800);
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-body p {
    min-height: 45px;
    margin: 0;
    color: var(--neutral-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-rank {
    color: #ffffff !important;
    background: var(--accent-600) !important;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row--large span {
    font-size: 13px;
    padding: 6px 11px;
    background: rgba(166, 124, 74, 0.12);
    color: var(--primary-700);
}

.movie-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x proximity;
}

.rail-item {
    width: min(340px, 82vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}

.rank-panel,
.filter-panel,
.story-card,
.mini-rank {
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.rank-panel {
    padding: 22px;
}

.sticky-panel {
    position: sticky;
    top: 88px;
}

.rank-panel p,
.mini-rank p {
    margin: 6px 0 18px;
    color: var(--neutral-500);
}

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

.compact-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: var(--neutral-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: var(--primary-50);
    transform: translateX(2px);
}

.rank-number {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary-600);
    border-radius: 10px;
    font-weight: 800;
}

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

.compact-meta,
.compact-heat {
    color: var(--neutral-500);
    font-size: 12px;
}

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

.review-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.review-body {
    padding: 22px;
}

.review-body span {
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 800;
}

.review-body h3 {
    margin: 8px 0;
    color: var(--neutral-900);
}

.review-body p {
    margin: 0 0 14px;
    color: var(--neutral-600);
}

.cta-section {
    padding: 80px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
}

.cta-inner {
    max-width: 760px;
    text-align: center;
}

.cta-inner .brand-mark {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.18);
}

.cta-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.cta-inner p {
    margin: 0 0 26px;
    opacity: 0.92;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-50), var(--accent-50));
}

.page-hero--compact {
    padding: 70px 0 54px;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--neutral-600);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-600);
    font-weight: 800;
}

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

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

.category-tile {
    position: relative;
    display: grid;
    min-height: 280px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    background: var(--neutral-900);
}

.category-tile .poster-frame {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    opacity: 0.42;
}

.category-tile > div:last-child {
    position: relative;
    z-index: 2;
    align-self: end;
    padding: 28px;
    color: #ffffff;
}

.category-tile span {
    font-weight: 800;
    color: var(--accent-50);
}

.category-tile h2 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.category-tile--compact {
    min-height: 220px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(166, 124, 74, 0.18);
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-weight: 800;
}

.tag-cloud span {
    color: var(--neutral-500);
    font-size: 12px;
}

.filter-panel {
    margin-bottom: 26px;
    padding: 22px;
}

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

.filter-head h2 {
    margin: 4px 0 0;
}

.filter-head strong {
    color: var(--primary-600);
}

.filter-reset {
    color: var(--primary-700);
    background: var(--primary-50);
}

.search-box {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--neutral-600);
    font-weight: 800;
}

.search-box input {
    width: 100%;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    outline: 0;
    padding: 14px 16px;
    background: var(--neutral-50);
}

.search-box input:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(166, 124, 74, 0.12);
}

.filter-groups {
    display: grid;
    gap: 14px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.filter-chips button {
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--neutral-600);
    background: #ffffff;
    font-weight: 800;
}

.filter-chips button.is-active {
    border-color: var(--primary-600);
    color: #ffffff;
    background: var(--primary-600);
}

.empty-state {
    padding: 24px;
    text-align: center;
    color: var(--neutral-500);
    background: var(--neutral-50);
    border-radius: 18px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    color: #ffffff;
    background: var(--neutral-900);
}

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

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
    filter: blur(1px);
}

.detail-backdrop span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.55), rgba(28, 25, 23, 0.88));
}

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

.detail-hero .breadcrumbs,
.detail-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.82);
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: var(--neutral-700);
    box-shadow: var(--shadow-lg);
}

.detail-copy h1 {
    margin-top: 12px;
    font-size: clamp(40px, 7vw, 78px);
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 840px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.detail-copy .detail-meta span {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow-lg);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shell.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
}

.big-play {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.92);
    font-size: 26px;
}

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

.player-overlay small {
    color: rgba(255, 255, 255, 0.74);
}

.player-controls {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.player-shell:hover .player-controls,
.player-shell:focus-within .player-controls {
    opacity: 1;
}

.player-controls button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

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

.story-card {
    padding: 28px;
}

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

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

.mini-rank {
    padding: 22px;
}

.site-footer {
    color: var(--neutral-300);
    background: var(--neutral-900);
}

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

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.footer-brand p,
.site-footer li,
.footer-bottom {
    color: var(--neutral-400);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 15px;
}

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

.site-footer a:hover {
    color: var(--accent-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .hero-content,
    .split-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: auto;
        min-height: 0;
        padding: 70px 0;
    }

    .hero-feature-card {
        max-width: 520px;
    }

    .sticky-panel {
        position: static;
    }

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

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

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

    .stats-grid,
    .movie-grid--three,
    .movie-grid--four,
    .review-grid,
    .article-layout,
    .footer-grid,
    .mini-rank-grid,
    .category-grid,
    .category-grid--small {
        grid-template-columns: 1fr 1fr;
    }

    .review-card {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .brand-copy small {
        display: none;
    }

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

    .hero-search {
        border-radius: 20px;
        flex-direction: column;
    }

    .hero-search input {
        min-height: 46px;
    }

    .hero-search button,
    .btn {
        width: 100%;
    }

    .stats-grid,
    .movie-grid--three,
    .movie-grid--four,
    .review-grid,
    .article-layout,
    .footer-grid,
    .mini-rank-grid,
    .category-grid,
    .category-grid--small {
        grid-template-columns: 1fr;
    }

    .section-head,
    .filter-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-grid {
        gap: 24px;
    }

    .detail-poster {
        width: min(260px, 80vw);
    }

    .compact-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .compact-heat {
        display: none;
    }
}
