@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
    --primary-50: #f0f4f8;
    --primary-100: #d9e2ec;
    --primary-600: #486581;
    --primary-700: #334e68;
    --primary-800: #243b53;
    --primary-900: #102a43;
    --accent-300: #ffd54f;
    --accent-400: #ffca28;
    --accent-500: #ffc107;
    --accent-600: #ffb300;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.10), 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 18px 50px rgba(15, 42, 67, 0.20);
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: linear-gradient(180deg, var(--slate-50), #ffffff 360px);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.nav-wrap {
    max-width: var(--container);
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-900));
    box-shadow: var(--shadow-medium);
    font-size: 18px;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--slate-900);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-text em {
    margin-top: 4px;
    color: var(--slate-500);
    font-style: normal;
    font-size: 12px;
}

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

.main-nav a {
    padding: 10px 15px;
    border-radius: 12px;
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-800);
    background: var(--primary-100);
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input {
    width: 210px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--slate-300);
    border-radius: 12px;
    color: var(--slate-700);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(72, 101, 129, 0.15);
}

.nav-search button,
.btn,
.card-action,
.section-link,
.hero-action,
.player-button {
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: var(--slate-900);
    background: var(--accent-500);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button:hover,
.btn:hover,
.card-action:hover,
.section-link:hover,
.hero-action:hover,
.player-button:hover {
    transform: translateY(-1px);
    background: var(--accent-600);
    box-shadow: var(--shadow-medium);
}

.nav-search button {
    min-height: 40px;
    padding: 0 14px;
}

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

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

main {
    min-height: 62vh;
}

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate-900), var(--primary-900) 48%, var(--slate-800));
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 202, 40, 0.22), transparent 62%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    object-fit: cover;
    height: 100%;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(16, 42, 67, 0.70) 50%, rgba(15, 23, 42, 0.42));
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 92px 22px 84px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 48px;
    align-items: center;
}

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

.hero-label,
.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--accent-300);
    background: rgba(255, 193, 7, 0.17);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-meta span,
.tag,
.meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--primary-800);
    background: var(--primary-50);
    font-size: 12px;
    font-weight: 800;
}

.hero .hero-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

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

.hero-action,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}

.hero-action.secondary,
.btn.secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-action.secondary:hover,
.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.20);
}

.hero-panel {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: 18px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-large);
}

.hero-poster {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
}

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

.hero-panel h2 {
    margin: 18px 0 8px;
    font-size: 20px;
}

.hero-panel p {
    margin: 0;
    font-size: 14px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    background: var(--accent-500);
}

.feature-strip {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: -54px auto 0;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-tile {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    min-height: 122px;
    padding: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-tile img {
    height: 94px;
    border-radius: 14px;
    object-fit: cover;
}

.feature-tile strong {
    display: block;
    color: var(--slate-900);
    line-height: 1.3;
}

.feature-tile em {
    display: block;
    margin: 7px 0;
    color: var(--slate-500);
    font-style: normal;
    font-size: 12px;
}

.feature-tile span {
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 800;
}

.content-section,
.page-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 74px 22px 0;
}

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

.section-head h2,
.page-title h1,
.detail-title h1 {
    margin: 12px 0 0;
    color: var(--slate-900);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head p,
.page-title p,
.detail-title p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--slate-600);
}

.section-kicker {
    color: var(--primary-800);
    background: var(--primary-100);
}

.section-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    flex: 0 0 auto;
}

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-100);
    box-shadow: var(--shadow-medium);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--slate-200));
}

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

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

.poster-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    padding: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 30px;
}

.movie-card h3 {
    margin: 12px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--primary-700);
}

.movie-card p {
    min-height: 58px;
    margin: 0 0 16px;
    color: var(--slate-600);
    font-size: 14px;
}

.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.movie-card-compact {
    display: grid;
    grid-template-columns: 112px 1fr;
}

.movie-card-compact .poster-link {
    aspect-ratio: auto;
    height: 100%;
    min-height: 172px;
}

.movie-card-compact .card-body {
    padding: 14px;
}

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

.movie-card-compact p {
    min-height: 44px;
}

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

.category-card {
    position: relative;
    min-height: 172px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    box-shadow: var(--shadow-soft);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: auto -30% -50% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.22);
}

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

.category-card span {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
}

.category-card em {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: var(--accent-400);
    font-style: normal;
    font-weight: 900;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 58px 68px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-medium);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--slate-900);
    background: var(--accent-500);
    font-size: 15px;
    font-weight: 900;
}

.rank-item img {
    width: 68px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--primary-100);
}

.rank-content strong,
.rank-content em {
    display: block;
}

.rank-content strong {
    color: var(--slate-900);
    font-size: 16px;
}

.rank-content em {
    margin-top: 6px;
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate-900), var(--primary-900));
}

.page-title {
    max-width: var(--container);
    margin: 0 auto;
    padding: 76px 22px 70px;
}

.page-title h1,
.page-title p {
    color: #ffffff;
}

.page-title p {
    color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 210px 210px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--slate-300);
    border-radius: 12px;
    outline: none;
    background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(72, 101, 129, 0.15);
}

.search-empty {
    display: none;
    padding: 32px;
    border-radius: var(--radius-lg);
    color: var(--slate-600);
    background: var(--slate-100);
    text-align: center;
}

.search-empty.visible {
    display: block;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate-900), var(--primary-900));
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(16, 42, 67, 0.64));
}

.detail-title {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 22px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 30px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    box-shadow: var(--shadow-large);
}

.detail-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-title h1,
.detail-title p {
    color: #ffffff;
}

.detail-title p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 22px;
}

.detail-meta .meta-pill {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.player-shell {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--slate-900);
    box-shadow: var(--shadow-large);
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.84));
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 26px;
    font-size: 17px;
}

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

.detail-panel {
    padding: 28px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-panel + .detail-panel {
    margin-top: 22px;
}

.detail-panel h2,
.side-panel h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 24px;
    line-height: 1.25;
}

.detail-panel p {
    margin: 0;
    color: var(--slate-700);
}

.detail-panel p + p {
    margin-top: 14px;
}

.side-panel {
    position: sticky;
    top: 96px;
    padding: 20px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

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

.side-list .rank-item {
    grid-template-columns: 42px 56px 1fr;
    padding: 9px;
}

.side-list .rank-number {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 12px;
}

.side-list .rank-item img {
    width: 56px;
    height: 76px;
}

.side-list .rank-content strong {
    font-size: 14px;
}

.side-list .rank-content em {
    font-size: 12px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--slate-700);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    font-weight: 800;
}

.pagination a:hover,
.pagination span.active {
    color: var(--slate-900);
    background: var(--accent-500);
    border-color: var(--accent-500);
}

.site-footer {
    margin-top: 88px;
    color: var(--slate-300);
    background: var(--slate-900);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 46px 22px;
    text-align: center;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 720px;
    margin: 0 auto 18px;
    color: var(--slate-400);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

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

.footer-inner small {
    color: var(--slate-500);
}

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

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

    .hero-inner,
    .rank-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .side-panel {
        display: none;
    }
}

@media (max-width: 860px) {
    .nav-wrap {
        height: auto;
        min-height: 66px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-nav {
        order: 5;
        width: 100%;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        padding: 8px 0 16px;
    }

    body.menu-open .main-nav {
        display: grid;
    }

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

    .nav-search input {
        width: 150px;
    }

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

    .hero {
        min-height: 560px;
    }

    .hero-inner {
        padding-top: 72px;
    }

    .feature-strip {
        margin-top: 22px;
    }

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

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

    .detail-title {
        grid-template-columns: 140px 1fr;
        gap: 18px;
        padding: 44px 22px;
    }
}

@media (max-width: 620px) {
    .brand-text strong {
        font-size: 18px;
    }

    .nav-search {
        width: 100%;
        order: 6;
        padding-bottom: 12px;
    }

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

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

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

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

    .movie-card-compact {
        grid-template-columns: 104px 1fr;
    }

    .rank-item {
        grid-template-columns: 44px 58px 1fr;
        gap: 10px;
    }

    .rank-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .rank-item img {
        width: 58px;
        height: 78px;
    }

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

    .detail-poster {
        max-width: 180px;
    }

    .detail-title p {
        font-size: 16px;
    }
}
