:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --cyan: #06b6d4;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(120deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

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

.brand-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--blue);
    background: var(--white);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > button {
    color: rgba(255, 255, 255, 0.9);
    border: 0;
    background: transparent;
    font-weight: 700;
    padding: 22px 2px;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 4px;
    min-width: 320px;
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: 0.2s ease;
}

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

.dropdown-panel a:hover {
    color: var(--blue);
    background: #eff6ff;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(360px, 32vw);
}

.header-search input,
.mobile-nav input {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    outline: 0;
}

.header-search button,
.mobile-nav button {
    border: 0;
    color: var(--blue);
    background: var(--white);
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 800;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
}

.mobile-nav a {
    display: block;
    padding: 12px 4px;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-nav form {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

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

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: var(--white);
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 34%, rgba(6, 182, 212, 0.32), transparent 34%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 44%, rgba(15, 23, 42, 0.24) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.1) 45%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
    padding-top: 42px;
}

.eyebrow,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    background: #dbeafe;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.28);
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 640px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.hero-tags,
.tag-list,
.detail-badges,
.ranking-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-list span,
.detail-badges span,
.detail-badges a,
.ranking-tags span,
.ranking-tags a {
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(120deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.38);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.hero-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(15, 23, 42, 0.32);
    border-radius: 999px;
    font-size: 26px;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
}

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

.search-band {
    margin-top: -48px;
    position: relative;
    z-index: 4;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    gap: 24px;
    align-items: center;
    padding: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.search-panel h2,
.search-panel p {
    margin: 0;
}

.search-panel h2 {
    font-size: 24px;
}

.search-panel p {
    color: var(--muted);
}

.search-panel form {
    display: flex;
    gap: 10px;
}

.search-panel input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--ink);
    outline: 0;
}

.search-panel input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-panel button {
    border: 0;
    color: var(--white);
    background: var(--blue);
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 800;
    white-space: nowrap;
}

.section {
    padding: 72px 0;
}

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

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

.section-heading.compact {
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
    color: var(--blue);
    font-weight: 800;
}

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

.category-card {
    position: relative;
    min-height: 240px;
    padding: 22px;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.22s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.28));
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.category-card span,
.category-card h3,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card span {
    display: inline-flex;
    margin-bottom: 82px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 800;
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card:hover img {
    transform: scale(1.06);
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition: 0.22s ease;
}

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

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

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

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

.poster-type,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.poster-type {
    left: 12px;
    top: 12px;
    color: var(--white);
    background: rgba(37, 99, 235, 0.9);
}

.rank-badge {
    right: 12px;
    top: 12px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
}

.movie-info {
    padding: 16px;
}

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-meta a {
    color: var(--blue);
}

.movie-info h3 {
    margin: 8px 0 8px;
    min-height: 54px;
    font-size: 19px;
    line-height: 1.35;
}

.movie-info h3 a:hover {
    color: var(--blue);
}

.movie-info p {
    min-height: 50px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.tag-list span {
    color: #475569;
    background: #f1f5f9;
}

.tag-list.large {
    margin-top: 22px;
}

.tag-list.large span {
    padding: 7px 12px;
}

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

.ranking-panel,
.detail-card,
.side-card,
.filter-panel,
.category-overview-card,
.cta-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

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

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

.ranking-list.small .ranking-row {
    grid-template-columns: 40px 64px 1fr;
    gap: 12px;
    padding: 10px;
}

.ranking-list.small .ranking-content p,
.ranking-list.small .heat-index,
.ranking-list.small .ranking-tags span:nth-child(n+3) {
    display: none;
}

.ranking-row {
    display: grid;
    grid-template-columns: 58px 92px 1fr 86px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.ranking-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(120deg, var(--blue), var(--cyan));
    border-radius: 14px;
    font-weight: 900;
}

.ranking-cover {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #e2e8f0;
}

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

.ranking-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.ranking-content h3 a:hover {
    color: var(--blue);
}

.ranking-content p {
    margin: 0 0 10px;
    color: var(--muted);
}

.ranking-tags span,
.ranking-tags a {
    color: #475569;
    background: #f1f5f9;
}

.heat-index {
    justify-self: end;
    color: var(--blue);
    font-size: 24px;
    font-weight: 900;
}

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

.cta-card {
    padding: 42px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.26), transparent 24%),
        linear-gradient(120deg, var(--blue), var(--cyan));
    text-align: center;
}

.cta-card h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-card p {
    margin: 0 auto 24px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
}

.page-hero {
    padding: 82px 0 72px;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 22%, rgba(6, 182, 212, 0.42), transparent 28%),
        linear-gradient(120deg, #1d4ed8, #0891b2);
}

.page-hero .eyebrow {
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
    margin: 18px 0 14px;
    max-width: 820px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 700;
}

.detail-section .breadcrumb {
    color: var(--muted);
    margin-bottom: 22px;
}

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

.detail-section .breadcrumb a:hover {
    color: var(--blue);
}

.category-overview-grid {
    display: grid;
    gap: 22px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 18px;
}

.category-cover {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
}

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

.category-overview-card h2 {
    margin: 8px 0;
    font-size: 28px;
}

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

.count-pill {
    display: inline-flex;
    color: var(--blue);
    background: #dbeafe;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 800;
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.sample-links a {
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

.sample-links a:hover {
    color: var(--blue);
    background: #dbeafe;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 620px);
    gap: 24px;
    align-items: center;
    padding: 22px;
    margin-bottom: 26px;
}

.filter-panel h2,
.filter-panel p {
    margin: 0;
}

.filter-panel h2 {
    font-size: 26px;
}

.filter-panel p {
    color: var(--muted);
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 150px 170px;
    gap: 10px;
}

.detail-section {
    padding: 42px 0 72px;
}

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-card {
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: var(--shadow);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--white);
    border: 0;
    background:
        radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 28%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.32));
    transition: 0.2s ease;
}

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

.play-circle {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: var(--white);
    font-size: 34px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.player-overlay span:last-child {
    font-size: 18px;
    font-weight: 900;
}

.detail-card {
    padding: 26px;
}

.detail-title-row h1 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.lead {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 18px;
}

.detail-badges a,
.detail-badges span {
    color: var(--blue);
    background: #dbeafe;
}

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

.movie-facts div {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.movie-facts dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.movie-facts dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.content-block {
    margin-top: 24px;
}

.content-block h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.content-block p {
    margin: 0;
    color: #334155;
    white-space: pre-line;
}

.detail-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 92px;
}

.detail-cover {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 24px;
    background: #e2e8f0;
    box-shadow: var(--shadow);
}

.side-card {
    padding: 20px;
}

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

.side-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.side-links a:hover {
    color: var(--blue);
    background: #eff6ff;
}

.side-links em {
    color: var(--muted);
    font-style: normal;
    white-space: nowrap;
}

.site-footer {
    padding: 50px 0 28px;
    color: #cbd5e1;
    background: #0f172a;
}

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

.footer-brand {
    color: var(--white);
}

.site-footer p {
    max-width: 480px;
    color: #94a3b8;
}

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

.site-footer a:not(.footer-brand) {
    display: inline-flex;
    margin: 0 14px 10px 0;
    color: #cbd5e1;
}

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

.copyright {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    color: #94a3b8;
    font-size: 14px;
}

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

    .mobile-toggle {
        display: flex;
    }

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

    .split-layout,
    .detail-layout,
    .filter-panel {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .hero {
        min-height: 560px;
    }

    .hero-copy {
        padding-top: 8px;
    }

    .search-panel,
    .category-overview-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .search-panel form,
    .mobile-nav form {
        flex-direction: column;
    }

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

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

    .ranking-row {
        grid-template-columns: 42px 74px 1fr;
    }

    .heat-index {
        display: none;
    }

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

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

    .brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        min-height: 520px;
    }

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

    .section,
    .detail-section {
        padding: 42px 0;
    }

    .page-hero {
        padding: 52px 0;
    }

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

    .movie-info h3,
    .movie-info p {
        min-height: auto;
    }

    .ranking-row {
        grid-template-columns: 36px 64px 1fr;
        gap: 10px;
    }

    .ranking-content p,
    .ranking-tags span:nth-child(n+3) {
        display: none;
    }

    .detail-card,
    .filter-panel,
    .cta-card {
        padding: 20px;
    }

    .movie-facts {
        grid-template-columns: 1fr;
    }
}
