:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --cyan-600: #0891b2;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --blue-500: #3b82f6;
    --amber-400: #facc15;
    --white: #ffffff;
    --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 22px 60px rgba(15, 23, 42, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
}

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

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

button,
input {
    font: inherit;
}

.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(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(16px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--cyan-400);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    border-radius: 999px;
}

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

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.86);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--slate-950);
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.52) 48%, rgba(2, 6, 23, 0.18)), radial-gradient(circle at 28% 28%, rgba(34, 211, 238, 0.34), transparent 32%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 86px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    color: var(--white);
}

.hero-kicker,
.page-hero > p {
    margin: 0 0 12px;
    color: var(--cyan-400);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.hero h2 {
    max-width: 880px;
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero-summary {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero-meta,
.detail-meta,
.ranking-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta span,
.detail-meta span,
.ranking-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

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

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    box-shadow: 0 16px 34px rgba(6, 182, 212, 0.28);
}

.btn-ghost {
    color: var(--white);
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-control {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.46);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan-400);
}

.hero-search-panel {
    position: absolute;
    right: max(18px, calc((100vw - 1180px) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
}

.hero-search-panel input,
.page-search input {
    width: min(360px, 62vw);
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 0 18px;
    color: var(--slate-800);
    background: rgba(255, 255, 255, 0.92);
    outline: none;
    box-shadow: var(--shadow-soft);
}

.hero-search-panel a {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.7);
}

.section {
    padding: 54px 0 0;
}

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

.section-heading h2,
.content-panel h2 {
    position: relative;
    margin: 0;
    padding-left: 14px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    color: var(--slate-800);
}

.section-heading h2::before,
.content-panel h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    border-radius: 999px;
    background: var(--cyan-500);
}

.section-heading a {
    color: var(--cyan-600);
    font-weight: 800;
}

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

.featured-grid .movie-card-wide {
    grid-column: span 2;
    grid-row: span 2;
}

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.horizontal-scroll .movie-card {
    width: 255px;
    flex: 0 0 255px;
}

.movie-card:hover,
.category-tile:hover,
.category-overview-card:hover,
.ranking-row:hover,
.latest-row:hover,
.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.movie-card figure {
    position: relative;
    margin: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--slate-800);
}

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

.movie-card img,
.mini-card img,
.latest-row img,
.ranking-row img,
.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover figure img,
.mini-card:hover img,
.latest-row:hover img,
.ranking-row:hover img,
.category-cover:hover img {
    transform: scale(1.08);
}

.card-score,
.card-year,
.rank-badge {
    position: absolute;
    top: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(8px);
}

.card-score {
    right: 10px;
    color: var(--amber-400);
}

.card-year {
    left: 10px;
}

.rank-badge {
    left: 10px;
    bottom: 10px;
    top: auto;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.card-body {
    padding: 15px 16px 17px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--slate-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    color: var(--slate-500);
    font-size: 13px;
}

.card-meta span + span::before {
    content: "·";
    margin-right: 10px;
    color: var(--slate-400);
}

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

.category-tile {
    min-height: 180px;
    padding: 22px;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:nth-child(2n) {
    background: linear-gradient(135deg, var(--cyan-600), var(--slate-800));
}

.category-tile h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.category-tile p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.category-tile span {
    color: var(--cyan-400);
    font-weight: 900;
}

.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 0 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    scroll-snap-align: start;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
}

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

.section-heading.compact h2 {
    font-size: 25px;
}

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

.mini-card {
    position: relative;
    height: 118px;
    overflow: hidden;
    border-radius: 16px;
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.mini-card span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    font-weight: 900;
}

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

.latest-row {
    display: grid;
    grid-template-columns: 40px 108px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.latest-row > span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    background: var(--cyan-500);
}

.latest-row img {
    height: 68px;
    border-radius: 12px;
}

.latest-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-row em {
    color: var(--slate-500);
    font-style: normal;
    font-size: 14px;
}

.page-hero {
    padding: 58px 0 22px;
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.page-intro {
    max-width: 820px;
    color: var(--slate-600);
    font-size: 17px;
    line-height: 1.8;
}

.page-search {
    margin-top: 22px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.filter-chip {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-600);
    background: var(--white);
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: var(--white);
    border-color: var(--cyan-500);
    background: var(--cyan-500);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-cover {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--slate-800);
}

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

.category-cover span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}

.category-overview-card h2 {
    margin: 2px 0 10px;
}

.category-overview-card p {
    margin: 0 0 14px;
    color: var(--slate-600);
    line-height: 1.7;
}

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

.sample-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--cyan-600);
    background: rgba(6, 182, 212, 0.1);
    font-size: 13px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 56px 116px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.ranking-row img {
    height: 76px;
    border-radius: 14px;
}

.ranking-row h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.ranking-row p {
    margin: 0 0 10px;
    color: var(--slate-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-meta span {
    color: var(--slate-600);
    background: var(--slate-100);
}

.detail-hero {
    padding: 34px 0 56px;
    color: var(--white);
    background: radial-gradient(circle at 18% 15%, rgba(34, 211, 238, 0.26), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.2));
    cursor: pointer;
}

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

.play-circle {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.55);
    font-size: 28px;
    padding-left: 4px;
}

.detail-info {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.detail-poster {
    width: 150px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.detail-info h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.tag-list span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--cyan-400);
    background: rgba(34, 211, 238, 0.12);
}

.content-panel {
    padding: 34px;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.content-panel h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.content-panel h2:not(:first-child) {
    margin-top: 28px;
}

.content-panel p {
    margin: 0;
    color: var(--slate-700);
    font-size: 17px;
    line-height: 2;
}

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

.empty-state {
    display: none;
    padding: 44px;
    text-align: center;
    color: var(--slate-500);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.empty-state.is-visible {
    display: block;
}

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

.site-footer {
    margin-top: 70px;
    color: rgba(255, 255, 255, 0.75);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
}

.footer-brand p {
    max-width: 560px;
    line-height: 1.8;
}

.footer-links h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

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

.footer-links a:hover {
    color: var(--cyan-400);
}

.footer-bottom {
    padding: 20px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.52);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

    .mobile-toggle {
        display: block;
    }

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

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

    .split-section,
    .detail-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-search-panel {
        left: 16px;
        right: 16px;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .container,
    .nav-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        bottom: 148px;
    }

    .hero-control {
        display: none;
    }

    .hero-search-panel {
        bottom: 66px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search-panel input,
    .hero-search-panel a,
    .page-search input {
        width: 100%;
    }

    .section {
        padding-top: 40px;
    }

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

    .featured-grid .movie-card-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .category-grid,
    .category-overview-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .category-overview-card,
    .detail-info {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: 160px;
    }

    .ranking-row {
        grid-template-columns: 42px 82px minmax(0, 1fr);
        gap: 12px;
    }

    .ranking-number {
        width: 34px;
        height: 34px;
    }

    .ranking-row img {
        height: 96px;
    }

    .latest-row {
        grid-template-columns: 34px 76px minmax(0, 1fr);
    }

    .latest-row em {
        display: none;
    }

    .content-panel {
        padding: 22px;
    }
}

@media (max-width: 460px) {
    .site-logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .movie-grid,
    .featured-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid .movie-card-wide {
        grid-column: span 1;
    }

    .horizontal-scroll .movie-card {
        width: 220px;
        flex-basis: 220px;
    }
}
