:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --panel-strong: #1e293b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --line: rgba(148, 163, 184, 0.18);
    --cyan: #06b6d4;
    --cyan-strong: #0891b2;
    --cyan-soft: rgba(6, 182, 212, 0.16);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.18), transparent 34rem), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 60vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.logo {
    font-size: 22px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), #22d3ee);
    color: #001018;
    font-size: 14px;
    box-shadow: 0 0 32px rgba(6, 182, 212, 0.42);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: var(--muted-strong);
}

.desktop-nav > a,
.nav-dropdown > button {
    padding: 8px 0;
    color: var(--muted-strong);
    background: transparent;
    border: 0;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown > button:hover {
    color: var(--text);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 190px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.dropdown-panel a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--muted-strong);
}

.dropdown-panel a:hover {
    color: var(--text);
    background: rgba(30, 41, 59, 0.9);
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-search {
    width: min(300px, 26vw);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.54);
}

.nav-search input,
.mobile-search input,
.large-search input,
.local-search input {
    min-width: 0;
    width: 100%;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
}

.nav-search input {
    padding: 8px 10px;
}

.nav-search button,
.mobile-search button,
.large-search button {
    border: 0;
    border-radius: 999px;
    background: var(--cyan-strong);
    color: white;
    font-weight: 700;
    padding: 8px 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.primary-btn:hover {
    background: var(--cyan);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-panel a {
    display: block;
    padding: 10px 0;
    color: var(--muted-strong);
    border-bottom: 1px solid var(--line);
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding: 8px;
    background: rgba(2, 6, 23, 0.54);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.hero-carousel {
    position: relative;
    height: min(80vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: #000;
}

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

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

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

.hero-shade,
.page-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.70) 36%, rgba(2, 6, 23, 0.20) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.58) 42%, rgba(2, 6, 23, 0.14) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100% - 1180px) / 2));
    bottom: 86px;
    width: min(720px, calc(100% - 48px));
}

.hero-kicker,
.section-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #67e8f9;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-kicker a,
.hero-kicker span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.82);
    color: white;
    letter-spacing: 0;
    text-transform: none;
}

.hero-kicker span {
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted-strong);
}

.hero-content h1 {
    margin: 20px 0 18px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-content p {
    margin: 0;
    max-width: 660px;
    color: var(--muted-strong);
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.72;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

.primary-btn {
    background: var(--cyan-strong);
    color: white;
    box-shadow: 0 18px 40px rgba(8, 145, 178, 0.35);
}

.ghost-btn {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.64);
}

.ghost-btn:hover {
    border-color: rgba(103, 232, 249, 0.48);
    background: rgba(30, 41, 59, 0.76);
    transform: translateY(-1px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: white;
    font-size: 38px;
    line-height: 1;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(103, 232, 249, 0.48);
}

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

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

.hero-dots {
    position: absolute;
    right: max(24px, calc((100% - 1180px) / 2));
    bottom: 42px;
    display: flex;
    gap: 9px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #475569;
    transition: 0.2s ease;
}

.hero-dots button.active {
    width: 36px;
    background: var(--cyan);
}

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

.intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 36px;
    align-items: center;
}

.intro-strip h2,
.section-title h2,
.page-hero h1,
.detail-info h1,
.content-card h2 {
    margin: 8px 0 0;
    color: var(--text);
    letter-spacing: -0.03em;
}

.intro-strip h2,
.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.intro-strip p:not(.section-kicker) {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.pill-cloud a,
.filter-chip {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted-strong);
    transition: 0.2s ease;
}

.pill-cloud a:hover,
.filter-chip:hover,
.filter-chip.active {
    color: white;
    border-color: rgba(103, 232, 249, 0.4);
    background: var(--cyan-strong);
}

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

.section-title.simple {
    align-items: start;
}

.section-title > a {
    color: #67e8f9;
    font-weight: 800;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 232, 249, 0.36);
    box-shadow: 0 24px 70px rgba(6, 182, 212, 0.12);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #020617;
}

.compact-card .poster-link {
    aspect-ratio: 16 / 10;
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.type-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.88);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    left: auto;
    right: 12px;
    background: rgba(2, 6, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.movie-card h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #67e8f9;
}

.movie-meta,
.movie-desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.movie-desc {
    color: var(--muted-strong);
}

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

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.86);
    color: #bae6fd;
    font-size: 12px;
}

.large-tags span {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 13px;
}

.highlight-section,
.glow-section {
    padding: 54px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
    box-shadow: var(--shadow);
}

.glow-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, rgba(8, 47, 73, 0.92), rgba(15, 23, 42, 0.96));
}

.glow-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.18);
    filter: blur(30px);
}

.glow-section > * {
    position: relative;
}

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

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

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

.category-card,
.ranking-panel,
.content-card,
.filter-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.category-card {
    padding: 22px;
}

.category-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.category-card h2 {
    margin: 0;
    font-size: 24px;
}

.category-card-head a {
    color: #67e8f9;
    font-weight: 800;
    white-space: nowrap;
}

.category-card p {
    margin: 12px 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.category-preview,
.slim-list {
    display: grid;
    gap: 12px;
}

.slim-item {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.36);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: 0.2s ease;
}

.slim-item:hover {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(103, 232, 249, 0.25);
}

.slim-item img {
    width: 86px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}

.slim-item h3 {
    margin: 0;
    overflow: hidden;
    color: white;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slim-item p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.mini-rank {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--cyan-soft);
    color: #67e8f9;
    font-size: 12px;
    font-weight: 900;
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.page-hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 360px;
    margin: 42px auto 0;
    padding: 52px;
    display: flex;
    align-items: end;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.92), rgba(15, 23, 42, 0.94));
    box-shadow: var(--shadow);
}

.page-hero.small-hero {
    min-height: 300px;
}

.page-hero.category-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero > div:not(.page-hero-shade) {
    position: relative;
    max-width: 760px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

.page-hero p:not(.section-kicker) {
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.75;
}

.page-hero .primary-btn {
    margin-top: 24px;
}

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

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    border: 1px solid var(--line);
}

.local-search {
    min-width: min(100%, 360px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid var(--line);
    color: var(--muted);
}

.hidden-card {
    display: none;
}

.ranking-grid .movie-card:nth-child(-n + 3) {
    border-color: rgba(103, 232, 249, 0.38);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #67e8f9;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.65fr);
    gap: 26px;
    align-items: stretch;
}

.player-card,
.detail-info {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.movie-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: white;
    background: radial-gradient(circle at center, rgba(8, 145, 178, 0.18), rgba(2, 6, 23, 0.68));
    transition: 0.25s ease;
    z-index: 3;
}

.player-cover:hover {
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.26), rgba(2, 6, 23, 0.74));
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--cyan-strong);
    color: white;
    font-size: 30px;
    text-indent: 4px;
    box-shadow: 0 0 48px rgba(6, 182, 212, 0.45);
}

.player-cover strong {
    font-size: 18px;
}

.detail-info {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
}

.detail-poster {
    width: 150px;
    height: 225px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.detail-info h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
}

.detail-one-line {
    margin: 14px 0 0;
    color: var(--muted-strong);
    line-height: 1.72;
}

.meta-table {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.meta-table p {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.55;
}

.meta-table span {
    color: #67e8f9;
    font-weight: 800;
}

.article-section {
    display: grid;
    gap: 18px;
}

.content-card {
    padding: 28px;
}

.content-card h2 {
    font-size: 28px;
}

.content-card p {
    margin: 16px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.9;
}

.large-search {
    width: min(620px, 100%);
    display: flex;
    gap: 10px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.42);
}

.large-search input {
    padding: 12px 16px;
}

.large-search button {
    padding: 12px 24px;
}

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.76);
    color: var(--muted-strong);
    text-align: center;
}

.site-footer {
    margin-top: 42px;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.92);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 32px;
}

.footer-logo {
    font-size: 18px;
}

.site-footer p {
    max-width: 460px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 16px;
}

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

.footer-links a {
    color: var(--muted);
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

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

    .mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }

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

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

    .two-column-section,
    .detail-grid,
    .intro-strip {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }

    .pill-cloud {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        height: 62px;
    }

    .logo {
        font-size: 18px;
    }

    .hero-carousel {
        min-height: 620px;
        height: 78vh;
    }

    .hero-content {
        left: 18px;
        bottom: 86px;
        width: calc(100% - 36px);
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        left: 18px;
        right: auto;
    }

    .section-wrap {
        width: min(100% - 24px, 1180px);
        padding: 48px 0;
    }

    .highlight-section,
    .glow-section {
        padding: 26px;
        border-radius: 24px;
    }

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

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

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

    .movie-desc {
        display: none;
    }

    .page-hero {
        width: min(100% - 24px, 1180px);
        min-height: 300px;
        margin-top: 24px;
        padding: 28px;
        border-radius: 24px;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .local-search {
        min-width: 100%;
        border-radius: 18px;
    }

    .detail-shell {
        width: min(100% - 24px, 1180px);
    }

    .detail-info {
        grid-template-columns: 96px minmax(0, 1fr);
        border-radius: 24px;
    }

    .detail-poster {
        width: 96px;
        height: 144px;
        border-radius: 14px;
    }

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

    .meta-table p {
        grid-template-columns: 42px minmax(0, 1fr);
        font-size: 14px;
    }

    .content-card {
        padding: 22px;
    }

    .footer-grid {
        width: min(100% - 24px, 1180px);
        grid-template-columns: 1fr;
        padding: 34px 0;
    }

    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-grid.full {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions,
    .large-search {
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
    }

    .primary-btn,
    .ghost-btn,
    .large-search button {
        width: 100%;
    }

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

    .detail-poster {
        width: 150px;
        height: 225px;
    }
}
