:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #ef4444;
    --rose: #e11d48;
    --teal: #0d9488;
    --amber: #d97706;
    --blue: #2563eb;
    --green: #16a34a;
    --purple: #7c3aed;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 10px 25px -10px rgba(17, 24, 39, 0.22);
    --shadow-lg: 0 25px 60px -18px rgba(17, 24, 39, 0.35);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.top-nav {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand {
    font-size: 22px;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.desktop-nav a,
.mobile-nav a {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--orange-dark);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
}

.nav-search input {
    width: 170px;
    border: 0;
    outline: 0;
    padding: 8px 4px 8px 10px;
    background: transparent;
}

.nav-search button,
.hero-search button,
.filter-bar button {
    border: 0;
    color: var(--white);
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--red));
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.hero-search button:hover,
.filter-bar button:hover,
.primary-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.26);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--gray-100);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gray-700);
}

.mobile-nav {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

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

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gray-100);
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, #f97316 0%, #ef4444 45%, #ec4899 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 40px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: center;
    gap: 44px;
    padding: 72px 0;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-glow-a {
    width: 360px;
    height: 360px;
    left: -120px;
    top: 80px;
    background: rgba(255, 255, 255, 0.36);
}

.hero-glow-b {
    width: 520px;
    height: 520px;
    right: -160px;
    bottom: -140px;
    background: rgba(17, 24, 39, 0.22);
}

.hero-kicker,
.section-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.hero-copy h1 {
    margin: 24px 0 20px;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.8;
}

.hero-search {
    width: min(620px, 100%);
    margin-top: 34px;
    display: flex;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 14px;
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--gray-900);
}

.hero-search button {
    padding-inline: 24px;
    background: var(--gray-900);
}

.hero-chips {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-chips a {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-chips a:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    min-height: 560px;
}

.hero-stage {
    position: relative;
    height: 560px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

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

.hero-slide-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 120px 28px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}

.hero-slide-overlay span,
.type-badge,
.rank-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    background: var(--orange);
}

.hero-slide-overlay h3 {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.hero-slide-overlay p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-overlay a,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

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

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

.hero-dots button.is-active {
    width: 26px;
    background: var(--white);
}

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

.highlight-section {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.soft-section {
    background: var(--white);
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading.center {
    text-align: center;
}

.section-kicker {
    background: #fff7ed;
    color: var(--orange-dark);
}

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--gray-500);
    line-height: 1.8;
}

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

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

.large-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card-wide {
    grid-column: span 2;
    grid-row: span 2;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #374151);
}

.movie-card-wide .poster-frame {
    aspect-ratio: 16 / 10;
}

.poster-frame img,
.category-covers img,
.compact-card img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .poster-frame img,
.category-card:hover .category-covers img,
.compact-card:hover img {
    transform: scale(1.08);
}

.type-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(249, 115, 22, 0.96);
    backdrop-filter: blur(8px);
}

.rank-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(17, 24, 39, 0.86);
}

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

.movie-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

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

.movie-card p {
    min-height: 46px;
    margin: 0 0 12px;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 9px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-size: 12px;
    font-weight: 800;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.ranking-panel,
.side-card,
.story-card {
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.ranking-panel {
    position: sticky;
    top: 94px;
    overflow: hidden;
}

.ranking-panel-head {
    padding: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-900), #27272a);
}

.ranking-panel-head span {
    color: #fed7aa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ranking-panel-head h2 {
    margin: 8px 0 14px;
    font-size: 32px;
}

.ranking-panel-head a {
    display: inline-flex;
    color: #fed7aa;
    font-weight: 800;
}

.ranking-list,
.compact-grid {
    display: grid;
    gap: 12px;
}

.ranking-list {
    padding: 16px;
}

.compact-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    border-radius: 16px;
    padding: 10px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--gray-100);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.compact-card img {
    width: 76px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-900);
}

.compact-title {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.compact-title strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card p {
    margin: 6px 0 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--white);
    background: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

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

.category-strip {
    border-radius: 26px;
    padding: 22px;
    background: var(--gray-50);
    box-shadow: inset 0 0 0 1px var(--gray-100);
}

.category-strip-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.category-strip-head span {
    color: var(--orange-dark);
    font-weight: 900;
}

.category-strip-head h3 {
    margin: 6px 0 0;
    font-size: 18px;
    line-height: 1.45;
}

.category-strip-head a {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--gray-900);
    font-size: 13px;
    font-weight: 900;
}

.category-strip.teal .category-strip-head span,
.page-hero.teal .hero-kicker {
    color: var(--teal);
}

.category-strip.rose .category-strip-head span,
.page-hero.rose .hero-kicker {
    color: var(--rose);
}

.category-strip.amber .category-strip-head span,
.page-hero.amber .hero-kicker {
    color: var(--amber);
}

.category-strip.blue .category-strip-head span,
.page-hero.blue .hero-kicker {
    color: var(--blue);
}

.category-strip.green .category-strip-head span,
.page-hero.green .hero-kicker {
    color: var(--green);
}

.category-strip.red .category-strip-head span,
.page-hero.red .hero-kicker {
    color: var(--red);
}

.category-strip.purple .category-strip-head span,
.page-hero.purple .hero-kicker {
    color: var(--purple);
}

.page-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red), var(--rose));
}

.compact-hero {
    padding: 68px 0;
}

.compact-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.compact-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.breadcrumb:not(.light) {
    color: rgba(255, 255, 255, 0.88);
}

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

.category-card {
    overflow: hidden;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-covers {
    height: 190px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--gray-900);
    overflow: hidden;
}

.category-card-body {
    padding: 22px;
}

.category-card-body span {
    color: var(--orange-dark);
    font-weight: 900;
}

.category-card-body h2 {
    margin: 8px 0 14px;
    font-size: 20px;
    line-height: 1.45;
}

.category-card-body p {
    margin: 0;
    color: var(--gray-500);
    font-weight: 800;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-bar input,
.filter-bar select {
    min-width: 0;
    border: 1px solid var(--gray-200);
    outline: 0;
    border-radius: 14px;
    padding: 13px 14px;
    background: var(--gray-50);
}

.filter-bar input {
    flex: 1;
}

.filter-bar select {
    width: 180px;
}

.empty-state {
    margin-top: 20px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: var(--gray-500);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--gray-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    filter: blur(4px);
    transform: scale(1.04);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.62));
}

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

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

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

.detail-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    background: var(--gray-900);
}

.detail-kicker {
    color: #fed7aa;
    background: rgba(255, 255, 255, 0.12);
}

.detail-info h1 {
    margin: 18px 0 14px;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 850px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.75;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
    margin-bottom: 20px;
}

.detail-meta-grid span {
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

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

.detail-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.22), rgba(0, 0, 0, 0.72));
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}

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

.play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    padding: 16px 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.32);
    cursor: pointer;
}

.play-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.play-button strong {
    font-size: 18px;
}

.story-card {
    margin-top: 24px;
    padding: 26px;
}

.story-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.story-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 2;
    font-size: 17px;
}

.detail-side {
    position: sticky;
    top: 94px;
}

.side-card {
    padding: 20px;
}

.one-column {
    grid-template-columns: 1fr;
}

.ranking-grid .movie-card:nth-child(-n + 3) .rank-badge {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-brand {
    color: var(--white);
    font-size: 22px;
}

.site-footer p {
    margin: 16px 0 0;
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--white);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fb923c;
}

.footer-bottom {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 14px;
}

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

    .menu-toggle {
        display: inline-flex;
    }

    .top-nav {
        gap: 14px;
    }

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

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    .hero-stage {
        height: 480px;
    }

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

    .ranking-panel,
    .detail-side {
        position: static;
    }

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

@media (max-width: 760px) {
    .top-nav {
        height: auto;
        min-height: 66px;
        padding: 12px 18px;
        flex-wrap: wrap;
    }

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .nav-search {
        order: 3;
        width: 100%;
    }

    .nav-search input {
        width: 100%;
    }

    .section-shell,
    .hero-inner,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 28px, 1280px);
    }

    .hero-inner {
        padding: 46px 0 56px;
        gap: 28px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-search,
    .filter-bar {
        flex-direction: column;
    }

    .hero-search button,
    .filter-bar select {
        width: 100%;
    }

    .hero-slider,
    .hero-stage {
        min-height: 420px;
        height: 420px;
    }

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

    .featured-grid,
    .category-strip-grid,
    .footer-grid,
    .detail-summary-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .movie-card-wide .poster-frame {
        aspect-ratio: 2 / 3;
    }

    .detail-poster {
        width: min(260px, 100%);
    }

    .detail-info h1 {
        font-size: 38px;
    }

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

    .filter-bar {
        padding: 12px;
    }

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

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

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

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

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

    .chip-row span {
        font-size: 11px;
    }

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

    .compact-card img {
        width: 66px;
        height: 84px;
    }
}
