:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e5e7eb;
    --dark: #0f172a;
    --dark-soft: #111827;
    --amber: #d97706;
    --amber-strong: #b45309;
    --orange: #f97316;
    --blue: #2563eb;
    --green: #16a34a;
    --purple: #7c3aed;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.02));
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
    color: var(--text);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 700;
}

.desktop-nav a {
    opacity: 0.92;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
    color: #fbbf24;
    opacity: 1;
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.menu-open .desktop-nav a:hover {
    color: var(--amber);
}

.top-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search {
    width: 260px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header.is-scrolled .top-search,
.site-header.menu-open .top-search {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.top-search input,
.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: none;
    color: inherit;
    background: transparent;
    padding: 6px 10px;
}

.top-search input::placeholder {
    color: currentColor;
    opacity: 0.68;
}

.top-search button,
.mobile-search button,
.primary-btn,
.secondary-btn,
.filter-btn {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    font-weight: 800;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.top-search button {
    padding: 7px 14px;
}

.top-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.filter-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 36px rgba(217, 119, 6, 0.34);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: currentColor;
}

.mobile-panel {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border-radius: 20px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

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

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-panel a,
.mobile-panel button {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text);
    background: #f8fafc;
    font-weight: 700;
}

.mobile-search {
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mobile-search button {
    padding: 8px 14px;
}

.hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: #ffffff;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.28), transparent 32%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.18));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 70px;
    z-index: 3;
    width: min(1200px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: end;
    gap: 36px;
}

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

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.92);
    font-weight: 800;
    font-size: 14px;
}

.hero h1,
.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 700px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: clamp(16px, 2.4vw, 20px);
}

.hero-tags,
.detail-tags,
.movie-tags,
.footer-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-bottom: 26px;
}

.hero-tags span,
.detail-tags span,
.movie-tags span,
.inline-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.movie-tags span {
    color: #92400e;
    background: #fff7ed;
}

.detail-tags span,
.inline-tags span {
    color: #92400e;
    background: #ffedd5;
}

.hero-actions,
.section-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
}

.secondary-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-side {
    padding: 20px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-side h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 30px;
    transition: background 0.22s ease, transform 0.22s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: max(18px, calc((100vw - 1200px) / 2 - 64px));
    transform: translateY(-50%);
}

.hero-next {
    right: max(18px, calc((100vw - 1200px) / 2 - 64px));
    transform: translateY(-50%);
}

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

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

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.page-hero {
    position: relative;
    padding: 138px 0 66px;
    color: #ffffff;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 15%, rgba(245, 158, 11, 0.34), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a, #111827 56%, #431407);
}

.page-hero .container,
.content-section,
.footer-grid,
.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

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

.content-section.tight {
    padding-top: 38px;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.12;
    font-weight: 950;
    color: #111827;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.movie-link {
    display: block;
    height: 100%;
}

.movie-card figure {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

.card-large figure {
    aspect-ratio: 16 / 11;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.movie-card figure::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 58%);
    transition: opacity 0.25s ease;
}

.movie-card:hover figure::after {
    opacity: 1;
}

.movie-card figcaption {
    position: absolute;
    inset: 10px 10px auto 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.year-pill,
.type-pill,
.rank-badge {
    padding: 4px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 12px;
    font-weight: 800;
}

.type-pill {
    margin-left: auto;
    background: rgba(217, 119, 6, 0.9);
}

.rank-badge {
    background: rgba(220, 38, 38, 0.92);
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    margin: 10px 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.22s ease;
}

.movie-card:hover h3 {
    color: var(--amber);
}

.movie-info p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card {
    position: relative;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    overflow: hidden;
    min-height: 176px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.15);
}

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    height: 140px;
}

.category-thumbs img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.category-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

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

.category-card > span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-size: 13px;
    font-weight: 900;
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: start;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 64px 98px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.13);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626, var(--amber));
    font-weight: 950;
}

.rank-row img {
    width: 98px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-row h2,
.rank-row h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.35;
}

.rank-row p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hot-score {
    padding: 8px 12px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.side-panel,
.detail-card,
.filter-panel {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.side-panel {
    padding: 20px;
    position: sticky;
    top: 92px;
}

.side-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.mini-movie {
    display: grid;
    grid-template-columns: 36px 80px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.22s ease;
}

.mini-movie:hover {
    background: #fff7ed;
}

.mini-movie img {
    width: 80px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.mini-rank {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--amber);
    font-size: 12px;
    font-weight: 950;
}

.mini-movie strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-movie em {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 0.35fr)) auto;
    gap: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--text);
    background: #f8fafc;
    outline: none;
    padding: 0 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-btn {
    min-height: 46px;
    padding: 0 20px;
}

.no-results {
    display: none;
    padding: 48px;
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: #ffffff;
}

.no-results.is-visible {
    display: block;
}

.is-hidden {
    display: none !important;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
    gap: 28px;
    align-items: start;
}

.detail-card {
    overflow: hidden;
}

.player-wrap {
    position: relative;
    background: #000000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 0;
    padding: 0;
    font: inherit;
}

.player-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(217, 119, 6, 0.42), transparent 28%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

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

.play-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    font-weight: 950;
}

.play-button::before {
    content: "▶";
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--amber);
    background: #ffffff;
    font-size: 18px;
}

.detail-body {
    padding: 26px;
}

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

.breadcrumb a {
    color: #92400e;
    font-weight: 800;
}

.detail-body h1 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    font-weight: 950;
    color: #111827;
}

.lead {
    margin: 0 0 22px;
    padding: 18px;
    border-left: 5px solid var(--amber);
    border-radius: 14px;
    background: #fff7ed;
    font-size: 18px;
    font-weight: 800;
}

.detail-text h2 {
    margin: 28px 0 12px;
    font-size: 22px;
}

.detail-text p {
    margin: 0 0 16px;
    color: #374151;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--muted);
}

.detail-meta strong {
    color: #111827;
}

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

.site-footer {
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #020617);
    padding: 60px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

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

.site-footer p,
.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer p {
    color: #9ca3af;
}

.site-footer li {
    list-style: none;
    margin: 8px 0;
}

.site-footer a {
    color: #d1d5db;
    transition: color 0.22s ease;
}

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

.footer-tags a {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

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

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--amber);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .movie-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .desktop-nav {
        gap: 12px;
    }

    .top-search {
        width: 220px;
    }
}

@media (max-width: 980px) {
    .desktop-nav,
    .top-search {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        bottom: 56px;
    }

    .hero-side {
        display: none;
    }

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

    .category-grid,
    .rank-layout,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: static;
    }

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

@media (max-width: 720px) {
    .nav-shell {
        min-height: 64px;
    }

    .brand {
        font-size: 18px;
    }

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

    .hero {
        min-height: 580px;
    }

    .hero-content {
        bottom: 42px;
    }

    .hero-control {
        display: none;
    }

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

    .page-hero {
        padding: 112px 0 48px;
    }

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

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

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

    .category-thumbs {
        height: 132px;
    }

    .rank-row {
        grid-template-columns: 42px 72px minmax(0, 1fr);
    }

    .rank-row img {
        width: 72px;
        height: 58px;
    }

    .hot-score {
        display: none;
    }

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

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

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

@media (max-width: 440px) {
    .movie-grid,
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info h3 {
        font-size: 14px;
    }

    .movie-info p {
        font-size: 12px;
    }
}
