: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;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-50: #fff7ed;
    --cyan-50: #ecfeff;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 28px 80px rgba(15, 23, 42, 0.26);
    font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8fafc;
    color: var(--slate-800);
    line-height: 1.6;
}

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: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0));
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark,
.footer-logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: radial-gradient(circle at 30% 20%, var(--amber-400), var(--amber-600));
    box-shadow: 0 14px 35px rgba(245, 158, 11, 0.32);
}

.brand-copy {
    display: grid;
    line-height: 1.25;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.02em;
}

.brand-copy small {
    font-size: 12px;
    opacity: 0.72;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 700;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    opacity: 0.86;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--amber-400);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-500);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    min-width: 250px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled .header-search,
.site-header.is-open .header-search {
    border-color: rgba(15, 23, 42, 0.08);
    background: var(--slate-100);
}

.header-search input,
.mobile-search input,
.search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
}

.header-search input {
    padding: 8px 12px;
}

.header-search button,
.mobile-search button,
.search-panel button {
    border: 0;
    cursor: pointer;
    color: var(--white);
    background: var(--amber-500);
    border-radius: 999px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button {
    padding: 8px 15px;
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel button:hover {
    background: var(--amber-600);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--slate-800);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 800;
}

.mobile-link.is-active,
.mobile-link:hover {
    color: var(--amber-600);
    background: #fff7ed;
}

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: var(--slate-100);
}

.mobile-search input {
    padding: 9px 12px;
}

.mobile-search button {
    padding: 9px 16px;
}

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

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 38%, rgba(245, 158, 11, 0.28), rgba(15, 23, 42, 0) 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.88) 42%, rgba(15, 23, 42, 0.12) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.06) 45%);
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 2;
    transform: translateY(-45%);
    color: var(--white);
    max-width: min(1180px, calc(100% - 32px));
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--amber-400);
    font-weight: 900;
    letter-spacing: 0.08em;
}

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

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

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

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    box-shadow: 0 18px 36px rgba(245, 158, 11, 0.32);
}

.btn-soft {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

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

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

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

.section,
.quick-cats {
    padding: 72px 0;
}

.section-muted {
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.section-warm {
    background: linear-gradient(135deg, var(--orange-50), #fffbeb);
}

.section-cool {
    background: linear-gradient(135deg, var(--cyan-50), #f0fdfa);
}

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

.section-heading h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--slate-500);
}

.section-link {
    flex-shrink: 0;
    color: var(--amber-600);
    font-weight: 900;
}

.category-chips,
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-chips a,
.filter-bar button {
    border: 0;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.category-chips a:hover,
.filter-bar button:hover,
.filter-bar button.is-active {
    color: var(--white);
    background: var(--amber-500);
    transform: translateY(-2px);
}

.poster-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    min-width: 0;
}

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

.movie-card-link {
    display: grid;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-box {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--slate-900);
}

.poster-box img,
.feature-card img,
.rank-card img,
.detail-poster img,
.category-thumb-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card-link:hover .poster-box img,
.feature-card a:hover img,
.rank-card a:hover img {
    transform: scale(1.08);
}

.poster-box::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0));
}

.poster-score {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--white);
    background: var(--amber-500);
    font-size: 13px;
    font-weight: 900;
}

.movie-card-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.movie-card-body strong {
    color: var(--slate-900);
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-card-body em,
.feature-layer em,
.rank-info em {
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-badges span,
.tag-cloud span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 12px;
}

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

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

.rank-card a {
    position: relative;
    display: grid;
    grid-template-columns: 126px 1fr;
    min-height: 176px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-card a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.rank-card img {
    min-height: 176px;
}

.rank-num {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--amber-600);
    font-weight: 900;
}

.rank-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
}

.rank-info strong {
    color: var(--slate-900);
    font-size: 20px;
    line-height: 1.25;
}

.rank-info span {
    color: var(--amber-600);
    font-weight: 900;
}

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

.feature-card a {
    position: relative;
    display: block;
    height: 360px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--slate-900);
    box-shadow: var(--shadow-soft);
}

.feature-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 10px;
    padding: 28px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.2) 70%, rgba(2, 6, 23, 0));
}

.feature-layer span {
    width: max-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--amber-500);
    font-size: 13px;
    font-weight: 900;
}

.feature-layer strong {
    font-size: 26px;
    line-height: 1.2;
}

.feature-layer em {
    color: #cbd5e1;
}

.page-main,
.detail-main {
    padding-top: 74px;
}

.page-hero {
    padding: 86px 0 76px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.34), rgba(15, 23, 42, 0) 30%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero-small {
    padding-bottom: 58px;
}

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

.page-hero p:not(.hero-eyebrow) {
    max-width: 820px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 210px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease;
}

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

.category-thumb-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    background: var(--slate-900);
}

.category-overview-body {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 24px;
}

.category-overview-body strong {
    color: var(--slate-900);
    font-size: 28px;
    line-height: 1.15;
}

.category-overview-body em {
    color: var(--slate-600);
    font-style: normal;
}

.category-overview-body span {
    color: var(--amber-600);
    font-weight: 800;
}

.search-panel {
    display: flex;
    width: min(680px, 100%);
    gap: 10px;
    padding: 8px;
    margin-top: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
}

.search-panel input {
    padding: 13px 18px;
    color: var(--white);
}

.search-panel input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

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

.filter-bar {
    margin-top: 22px;
}

.detail-hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.42;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.24), rgba(2, 6, 23, 0) 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.84) 55%, rgba(15, 23, 42, 0.72));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    margin-bottom: 28px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 44px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 2 / 3;
    background: var(--slate-900);
    box-shadow: var(--shadow-strong);
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 760px;
    margin: 20px 0 0;
    color: #cbd5e1;
    font-size: 19px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
    box-shadow: var(--shadow-strong);
}

.movie-player video {
    width: 100%;
    height: 100%;
    background: var(--slate-950);
    object-fit: contain;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.42));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-ring {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    box-shadow: 0 24px 52px rgba(245, 158, 11, 0.35);
    font-size: 32px;
}

.player-cover strong {
    max-width: min(90%, 820px);
    font-size: clamp(22px, 4vw, 42px);
    line-height: 1.15;
}

.player-state {
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 3;
    margin: 0;
    color: #fde68a;
    font-size: 14px;
    pointer-events: none;
}

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

.article-card {
    padding: 30px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.article-card h2 {
    margin: 0 0 18px;
    color: var(--slate-900);
    font-size: 26px;
}

.article-card p {
    margin: 0 0 14px;
    color: var(--slate-700);
    font-size: 17px;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 28px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 760px;
    margin-bottom: 36px;
}

.footer-brand h2,
.footer-brand p {
    margin: 0;
}

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

.footer-brand p {
    margin-top: 6px;
}

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

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

.footer-grid ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-grid a:hover {
    color: var(--amber-400);
}

.footer-grid p {
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 26px;
    margin-top: 34px;
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    color: #94a3b8;
    font-size: 14px;
}

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

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

    .rank-grid,
    .rank-list,
    .category-overview-grid,
    .prose-wrap {
        grid-template-columns: 1fr;
    }

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

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

    .nav-toggle {
        display: block;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: 560px;
        height: 72vh;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72)),
            linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.18));
    }

    .section,
    .quick-cats {
        padding: 48px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .poster-grid-six,
    .poster-grid-five,
    .poster-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rank-card a {
        grid-template-columns: 112px 1fr;
    }

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

    .category-overview-card a {
        grid-template-columns: 1fr;
    }

    .category-thumb-strip {
        min-height: 180px;
    }

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

    .detail-poster {
        width: min(280px, 78vw);
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        transform: translateY(-40%);
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 13px;
    }

    .poster-grid-six,
    .poster-grid-five,
    .poster-grid-four {
        gap: 14px;
    }

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

    .movie-card-body strong {
        font-size: 14px;
    }

    .movie-card-body em {
        display: none;
    }

    .rank-card a {
        grid-template-columns: 96px 1fr;
        min-height: 146px;
    }

    .rank-card img {
        min-height: 146px;
    }

    .rank-info {
        padding: 14px;
    }

    .rank-info strong {
        font-size: 16px;
    }

    .rank-info em {
        display: none;
    }

    .search-panel {
        border-radius: 22px;
        flex-direction: column;
    }

    .search-panel button {
        width: 100%;
    }

    .article-card {
        padding: 22px;
    }

    .play-ring {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }
}
