:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-solid: #111827;
    --line: rgba(34, 211, 238, 0.18);
    --line-strong: rgba(34, 211, 238, 0.45);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --cyan: #22d3ee;
    --cyan-dark: #0891b2;
    --amber: #f59e0b;
    --pink: #f472b6;
    --green: #34d399;
    --radius: 22px;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 5%, rgba(34, 211, 238, 0.18), transparent 28rem),
        radial-gradient(circle at 80% 0%, rgba(244, 114, 182, 0.16), transparent 26rem),
        linear-gradient(180deg, #020617 0%, #07111f 42%, #020617 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(var(--max), calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #00111a;
    background: linear-gradient(135deg, var(--cyan), #67e8f9 48%, var(--pink));
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.32);
}

.brand-text {
    display: flex;
    flex-direction: column;
    letter-spacing: 0.03em;
}

.brand-text strong {
    font-size: 22px;
    line-height: 1;
}

.brand-text em {
    margin-top: 3px;
    font-size: 12px;
    color: var(--cyan);
    font-style: normal;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
}

.nav-link,
.mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
    color: #ecfeff;
    background: rgba(34, 211, 238, 0.14);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hot-entry,
.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.hot-entry,
.primary-button {
    color: #06111f;
    background: linear-gradient(135deg, var(--cyan), #67e8f9 55%, #a5f3fc);
    box-shadow: 0 14px 34px rgba(34, 211, 238, 0.22);
}

.secondary-button {
    color: #f8fafc;
    border-color: var(--line-strong);
    background: rgba(15, 23, 42, 0.82);
}

.ghost-button {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.22);
    background: rgba(34, 211, 238, 0.08);
}

.hot-entry:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(34, 211, 238, 0.25);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.78);
    font-size: 22px;
}

.mobile-panel {
    display: none;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
}

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

.mobile-panel nav,
.mobile-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-cats {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mobile-cats a {
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(2, 6, 23, 0.45);
    font-size: 13px;
}

main {
    min-height: 70vh;
}

.section,
.hero-section,
.page-hero,
.detail-wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.hero-section {
    padding: 42px 0 30px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #020617;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: center;
    padding: 56px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(1.2);
    transform: scale(1.08);
}

.hero-bg::after,
.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.38)),
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.26), transparent 20rem);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.09);
    font-size: 13px;
    font-weight: 800;
}

.hero-content h1,
.page-hero h1,
.detail-title h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.section-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
}

.hero-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-poster {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    min-height: 460px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
    transform: rotate(1.5deg);
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, 0.78));
}

.hero-poster-info {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
}

.hero-poster-info strong {
    display: block;
    font-size: 28px;
}

.hero-poster-info span {
    color: var(--muted);
}

.hero-controls {
    position: absolute;
    left: 56px;
    right: 56px;
    bottom: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrows,
.hero-dots {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero-arrow,
.hero-dot {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
}

.hero-dot {
    width: 38px;
    height: 8px;
    border-radius: 999px;
    padding: 0;
}

.hero-dot.active {
    background: var(--cyan);
}

.section {
    padding: 46px 0;
}

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

.page-hero {
    align-items: center;
    padding: 56px 0 28px;
}

.section-kicker {
    margin: 0 0 7px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-head p,
.page-hero p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
}

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.66));
    border: 1px solid rgba(148, 163, 184, 0.13);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card.hidden {
    display: none;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 22px 52px rgba(34, 211, 238, 0.12);
}

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

.poster-frame {
    position: relative;
    height: 280px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.2), transparent 16rem),
        #0f172a;
}

.compact-grid .poster-frame {
    height: 230px;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.84));
}

.year-badge,
.rank-badge,
.play-mark {
    position: absolute;
    z-index: 2;
}

.year-badge,
.rank-badge {
    top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.year-badge {
    right: 12px;
    color: #cffafe;
    background: rgba(8, 145, 178, 0.82);
}

.rank-badge {
    left: 12px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fde68a);
}

.play-mark {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #00111a;
    background: rgba(103, 232, 249, 0.95);
    transform: translate(-50%, -50%) scale(0.84);
    opacity: 0;
    box-shadow: 0 18px 42px rgba(34, 211, 238, 0.24);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0;
    min-height: 48px;
    color: #f8fafc;
    font-size: 17px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    margin: 9px 0 0;
    min-height: 44px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta,
.detail-meta,
.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-meta {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 12px;
}

.card-meta span,
.detail-meta span,
.stat-pill {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

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

.tag {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.09);
    font-size: 12px;
    font-weight: 700;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 188px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.24), transparent 9rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.72));
    transition: transform 0.2s ease, border 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

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

.category-card span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-weight: 900;
}

.filter-panel {
    width: min(var(--max), calc(100% - 32px));
    margin: 8px auto 28px;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(320px, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(18px);
}

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

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    outline: none;
    color: var(--text);
    background: rgba(2, 6, 23, 0.72);
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

.empty-state {
    display: none;
    width: min(var(--max), calc(100% - 32px));
    margin: 24px auto;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.72);
}

.empty-state.show {
    display: block;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 72px 96px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.72);
}

.ranking-num {
    color: var(--amber);
    font-size: 26px;
    font-weight: 1000;
    text-align: center;
}

.ranking-row img {
    width: 96px;
    height: 124px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-row h3 {
    margin: 0 0 7px;
    font-size: 20px;
}

.ranking-row p {
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-score {
    text-align: right;
    color: var(--cyan);
    font-size: 26px;
    font-weight: 1000;
}

.detail-wrap {
    padding: 42px 0;
}

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

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

.detail-hero {
    display: grid;
    grid-template-columns: minmax(270px, 0.4fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.detail-title {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.18), transparent 14rem),
        rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.detail-title h1 {
    margin-bottom: 18px;
}

.detail-title .lead {
    margin: 20px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.detail-meta {
    color: var(--muted);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    margin-top: 28px;
}

.content-panel,
.side-panel,
.player-panel {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.content-panel,
.side-panel {
    padding: 24px;
}

.content-panel h2,
.side-panel h2,
.player-panel h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-panel p {
    margin: 0 0 18px;
    color: #cbd5e1;
    font-size: 16px;
}

.player-panel {
    margin-top: 28px;
    padding: 18px;
}

.video-player {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72)),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.16), transparent 18rem);
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-button {
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 50%;
    color: #00111a;
    background: linear-gradient(135deg, var(--cyan), #a5f3fc);
    font-size: 34px;
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.32);
    cursor: pointer;
}

.player-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

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

.related-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.related-item img {
    width: 72px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
}

.related-item strong {
    display: block;
    color: var(--text);
    line-height: 1.35;
}

.related-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 55;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: rgba(15, 23, 42, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-top:hover {
    transform: translateY(-2px);
}

.site-footer {
    margin-top: 52px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.84);
}

.footer-grid {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.8fr;
    gap: 28px;
}

.footer-brand {
    color: var(--cyan);
    font-size: 24px;
}

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

.site-footer h3 {
    margin: 0 0 14px;
}

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

.footer-links a {
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.62);
}

.footer-links a:hover {
    color: var(--cyan);
    border-color: var(--line-strong);
}

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-slide,
    .detail-hero,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        padding: 38px;
    }

    .hero-poster {
        min-height: 320px;
        transform: none;
    }

    .hero-poster img {
        min-height: 320px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 64px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text em,
    .hot-entry {
        display: none;
    }

    .hero-section {
        padding-top: 24px;
    }

    .hero-shell {
        min-height: 720px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 26px;
        gap: 18px;
    }

    .hero-controls {
        left: 24px;
        right: 24px;
        bottom: 22px;
    }

    .hero-dots {
        display: none;
    }

    .section-head,
    .page-hero {
        display: block;
    }

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

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

    .ranking-row {
        grid-template-columns: 44px 78px minmax(0, 1fr);
    }

    .ranking-row img {
        width: 78px;
        height: 102px;
    }

    .hot-score {
        grid-column: 2 / 4;
        text-align: left;
        font-size: 18px;
    }

    .detail-title,
    .content-panel,
    .side-panel {
        padding: 20px;
    }

    .detail-poster img {
        min-height: 320px;
    }
}
