:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e2e8f0;
    --teal: #0f766e;
    --cyan: #0891b2;
    --blue: #2563eb;
    --yellow: #fde047;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

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

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: #fff;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.24);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #334155;
    font-weight: 700;
}

.desktop-nav > a,
.nav-dropdown > a {
    padding: 10px 0;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--teal);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 12px);
    width: 220px;
    padding: 10px;
    display: grid;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 4px);
}

.dropdown-panel a,
.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
}

.dropdown-panel a:hover,
.mobile-nav a:hover {
    background: #ecfeff;
    color: var(--teal);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 48%, #2563eb 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), transparent 44%);
    opacity: 0.38;
}

.hero-light {
    position: absolute;
    right: -180px;
    top: -180px;
    width: 480px;
    height: 480px;
    border-radius: 999px;
    background: rgba(253, 224, 71, 0.22);
    filter: blur(25px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    padding: 82px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 24px;
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

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

.hero-desc {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
}

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

.primary-btn,
.ghost-btn,
.more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    background: #fff;
    color: var(--teal);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: var(--yellow);
    color: #0f766e;
}

.ghost-btn {
    border: 2px solid rgba(255, 255, 255, 0.82);
    color: #fff;
}

.ghost-btn:hover {
    background: #fff;
    color: var(--teal);
}

.more-link {
    min-height: 40px;
    padding: 0 18px;
    color: var(--teal);
    background: #ecfeff;
}

.more-link:hover {
    transform: translateY(-2px);
    background: #ccfbf1;
}

.more-link.light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hero-focus {
    display: grid;
    gap: 10px;
    max-width: 680px;
}

.hero-focus a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-focus a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.hero-focus span,
.list-rank,
.rank-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.hero-focus strong,
.horizontal-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-focus em {
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 13px;
}

.hero-poster {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: translateY(-5px) scale(1.015);
}

.poster-glow {
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: 30px;
    background: linear-gradient(90deg, #fde047, #ec4899);
    filter: blur(18px);
    opacity: 0.72;
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.76));
}

.hero-poster-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px;
    display: grid;
    gap: 8px;
}

.hero-poster-info strong {
    font-size: 28px;
    line-height: 1.2;
}

.hero-poster-info em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: rgba(255, 255, 255, 0.86);
    font-style: normal;
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--teal);
    font-size: 30px;
    box-shadow: var(--shadow);
}

.content-section,
.category-preview {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 66px 0;
}

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

.section-head h2 {
    margin: 4px 0 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.compact-head h2 {
    font-size: 30px;
}

.light-head {
    color: #fff;
}

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

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

.movie-card {
    position: relative;
    display: grid;
    background: var(--panel);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(20, 184, 166, 0.38);
}

.cover-box {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e, #2563eb);
}

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

.movie-card:hover .cover-box img {
    transform: scale(1.08);
}

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.68));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
    opacity: 1;
}

.corner-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.rank-num {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0.8);
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.movie-card:hover .play-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-info {
    display: grid;
    gap: 9px;
    padding: 16px;
}

.movie-info strong {
    min-height: 48px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 17px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info strong {
    color: var(--teal);
}

.movie-line,
.horizontal-line {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-size: 14px;
}

.meta-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-row em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.category-band {
    padding: 66px 0;
    background: linear-gradient(135deg, #0f766e, #0891b2);
}

.category-band > .section-head,
.category-grid {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

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

.category-card {
    position: relative;
    min-height: 148px;
    padding: 24px;
    display: grid;
    align-content: center;
    gap: 8px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.36), transparent 34%);
    opacity: 0.8;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow);
}

.category-card span,
.category-card strong,
.category-card em {
    position: relative;
    z-index: 1;
}

.category-card span {
    font-size: 18px;
    font-weight: 900;
}

.category-card strong {
    font-size: 23px;
}

.category-card em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
}

.from-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.from-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.from-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.from-cyan { background: linear-gradient(135deg, #0891b2, #38bdf8); }
.from-purple { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.from-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.from-indigo { background: linear-gradient(135deg, #4f46e5, #0ea5e9); }
.from-slate { background: linear-gradient(135deg, #334155, #0f766e); }
.from-pink { background: linear-gradient(135deg, #db2777, #f97316); }
.from-emerald { background: linear-gradient(135deg, #059669, #22c55e); }

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

.horizontal-list,
.rank-list {
    display: grid;
    gap: 14px;
}

.horizontal-card {
    position: relative;
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card:hover {
    transform: translateX(4px);
    box-shadow: var(--soft-shadow);
}

.horizontal-card img {
    width: 142px;
    height: 96px;
    object-fit: cover;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
}

.horizontal-body {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.horizontal-title {
    font-size: 17px;
    font-weight: 900;
}

.rank-panel {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    box-shadow: var(--shadow);
}

.rank-panel .horizontal-card {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: none;
}

.rank-panel .horizontal-card img {
    width: 66px;
    height: 66px;
}

.rank-panel .horizontal-line,
.rank-panel .meta-row em {
    color: rgba(255, 255, 255, 0.72);
}

.list-rank.plain {
    background: rgba(255, 255, 255, 0.15);
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0891b2, #2563eb);
}

.page-hero > div {
    width: min(1180px, calc(100% - 32px));
    min-height: 320px;
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    align-content: center;
    gap: 14px;
}

.page-hero p:last-child {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.slim-hero > div {
    min-height: 280px;
}

.filter-panel {
    width: min(1180px, calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(16px);
}

.filter-panel h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

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

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

.filter-grid label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    outline: none;
}

.filter-grid input:focus,
.filter-grid select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.category-preview {
    padding-top: 20px;
    padding-bottom: 40px;
}

.overview-grid {
    width: 100%;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #0f172a;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.86));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 72px;
}

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

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb em {
    font-style: normal;
    color: #fff;
}

.detail-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.detail-cover {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    background: linear-gradient(135deg, #0f766e, #2563eb);
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy {
    display: grid;
    gap: 18px;
}

.detail-line {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 800;
}

.detail-tags .tag {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.detail-section {
    padding-bottom: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle at center, rgba(15, 118, 110, 0.18), rgba(2, 6, 23, 0.58));
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--teal);
    font-size: 34px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay:hover span {
    transform: scale(1.06);
    background: var(--yellow);
}

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

.player-state {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.player-state.is-visible {
    opacity: 1;
}

.article-section {
    padding-top: 18px;
}

.article-card {
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.article-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.article-card p {
    margin: 0 0 24px;
    color: #334155;
    font-size: 17px;
}

.article-card p:last-child {
    margin-bottom: 0;
}

.site-footer {
    margin-top: 40px;
    padding: 46px 0;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.footer-inner p {
    max-width: 680px;
    margin: 10px 0 0;
}

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

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

.copyright {
    color: rgba(255, 255, 255, 0.54);
}

[hidden] {
    display: none !important;
}

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

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

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

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

    .mobile-toggle {
        display: block;
    }

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

    .hero-inner {
        padding: 56px 0;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 360px;
        height: 360px;
    }

    .hero-focus a {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .hero-focus em {
        grid-column: 2;
    }

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

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

    .detail-cover {
        max-width: 260px;
    }
}

@media (max-width: 560px) {
    .nav-wrap {
        width: min(100% - 24px, 1180px);
    }

    .site-logo {
        font-size: 20px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-desc,
    .detail-line {
        font-size: 17px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 300px;
        height: 300px;
    }

    .content-section,
    .category-preview {
        padding: 42px 0;
    }

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

    .horizontal-card {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .horizontal-card img {
        width: 100px;
        height: 78px;
    }

    .list-rank {
        position: absolute;
        right: 14px;
        top: 14px;
    }

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

    .article-card {
        padding: 24px;
    }

    .play-overlay span {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
}
