:root {
    color-scheme: dark;
    --bg: #050b18;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(34, 211, 238, 0.2);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --blue: #38bdf8;
    --orange: #fb923c;
    --green: #34d399;
    --purple: #c084fc;
    --pink: #f472b6;
    --shadow: 0 24px 70px rgba(8, 145, 178, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(8, 145, 178, 0.28), transparent 32rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.22), transparent 28rem),
        linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(8, 145, 178, 0.12);
}

.header-shell {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(1240px, calc(100% - 28px));
    min-height: 76px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 16px;
    color: #ecfeff;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(135deg, #06b6d4, #2563eb 58%, #1e1b4b);
    box-shadow: 0 14px 34px rgba(34, 211, 238, 0.24);
    font-weight: 900;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #67e8f9, #60a5fa, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em {
    margin-top: 4px;
    color: rgba(103, 232, 249, 0.68);
    font-size: 0.72rem;
    font-style: normal;
}

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

.nav-link,
.mobile-link {
    border-radius: 14px;
    color: #cbd5e1;
    transition: 0.22s ease;
}

.nav-link {
    padding: 10px 13px;
    font-size: 0.94rem;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #a5f3fc;
    background: rgba(8, 145, 178, 0.18);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18);
}

.header-search {
    display: flex;
    align-items: center;
    width: 238px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    overflow: hidden;
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 10px 12px 10px 16px;
    color: var(--text);
    background: transparent;
}

.header-search button {
    border: 0;
    padding: 10px 15px;
    color: #082f49;
    background: linear-gradient(90deg, #67e8f9, #38bdf8);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 14px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #67e8f9;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(34, 211, 238, 0.14);
    padding: 14px 18px 20px;
    background: rgba(2, 6, 23, 0.96);
}

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

.mobile-nav,
.mobile-categories {
    display: grid;
    gap: 8px;
}

.mobile-link,
.mobile-categories a {
    padding: 12px 14px;
}

.mobile-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.mobile-categories a {
    border-radius: 14px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.68);
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 54px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    padding: 90px max(32px, calc((100vw - 1180px) / 2)) 70px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
    filter: blur(2px) saturate(1.18);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.97) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(2, 6, 23, 0.46) 100%),
        radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.26), transparent 28rem);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.sub-hero span,
.category-hero > div > span,
.section-heading span,
.category-card span,
.category-overview-card span,
.detail-content header > span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    padding: 7px 12px;
    color: #67e8f9;
    background: rgba(8, 145, 178, 0.14);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero h1,
.sub-hero h1,
.category-hero h1,
.detail-content h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.5rem, 8vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #f8fafc, #a5f3fc 46%, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p,
.sub-hero p,
.category-hero p,
.detail-content header p {
    max-width: 760px;
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.9;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-tags span {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 7px 12px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.86rem;
}

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

.btn,
.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn {
    min-height: 48px;
    padding: 0 24px;
}

.btn:hover,
.inline-link:hover,
.movie-card:hover,
.category-card:hover,
.category-overview-card:hover,
.rank-item:hover,
.feature-card:hover {
    transform: translateY(-3px);
}

.btn.primary {
    color: #082f49;
    background: linear-gradient(90deg, #67e8f9, #38bdf8);
    box-shadow: 0 16px 34px rgba(56, 189, 248, 0.26);
}

.btn.ghost {
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #a5f3fc;
    background: rgba(15, 23, 42, 0.6);
}

.hero-poster {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 30px 90px rgba(8, 145, 178, 0.28);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 999px;
    color: white;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 36px;
    background: #67e8f9;
}

.home-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    margin: -58px auto 56px;
    position: relative;
    z-index: 8;
}

.home-quick a,
.category-card,
.category-overview-card,
.movie-card,
.rank-item,
.feature-card,
.player-card,
.detail-content,
.detail-side {
    border: 1px solid rgba(34, 211, 238, 0.16);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.54));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.home-quick a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 22px;
    padding: 24px;
}

.home-quick span {
    color: var(--muted);
    font-size: 0.9rem;
}

.home-quick strong {
    color: #e0f2fe;
    font-size: 1.25rem;
}

.section {
    padding: 46px 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

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

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

.rail-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 26px 80px rgba(8, 145, 178, 0.24);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.78);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover img,
.feature-card:hover img,
.rank-item:hover img {
    transform: scale(1.06);
}

.year-badge,
.play-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.year-badge {
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ecfeff;
    background: rgba(2, 6, 23, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.play-badge {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: #082f49;
    background: #67e8f9;
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.28);
}

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

.movie-title {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    color: #f8fafc;
    font-size: 1.03rem;
    font-weight: 850;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 3.15em;
    margin: 10px 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta,
.rank-meta,
.side-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-meta span,
.rank-meta span,
.rank-meta strong,
.side-meta span {
    border-radius: 999px;
    padding: 5px 9px;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.12);
    font-size: 0.75rem;
}

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

.category-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 26px;
    padding: 24px;
    overflow: hidden;
    transition: 0.22s ease;
}

.category-card h3,
.category-overview-card h2,
.feature-card strong {
    margin: 14px 0 10px;
    font-size: 1.35rem;
}

.category-card p,
.category-overview-card p,
.footer-brand p {
    color: var(--muted);
    line-height: 1.75;
}

.category-card strong {
    color: #e0f2fe;
}

.tone-cyan { --tone: #22d3ee; }
.tone-orange { --tone: #fb923c; }
.tone-green { --tone: #34d399; }
.tone-blue { --tone: #60a5fa; }
.tone-purple { --tone: #c084fc; }
.tone-red { --tone: #f87171; }
.tone-pink { --tone: #f472b6; }
.tone-yellow { --tone: #facc15; }
.tone-indigo { --tone: #818cf8; }
.tone-teal { --tone: #2dd4bf; }

.category-card,
.category-overview-card,
.category-hero {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone, #22d3ee) 20%, transparent), var(--shadow);
}

.sub-hero,
.category-hero {
    margin-top: 42px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 34px;
    padding: clamp(28px, 6vw, 64px);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 24rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.52));
    box-shadow: var(--shadow);
}

.sub-hero h1,
.category-hero h1,
.detail-content h1 {
    font-size: clamp(2.2rem, 6vw, 4.8rem);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    border-radius: 28px;
    padding: 20px;
    transition: 0.22s ease;
}

.category-cover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-cover-grid img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    object-fit: cover;
}

.inline-link {
    margin-top: 12px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    padding: 9px 14px;
    color: #a5f3fc;
}

.category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
}

.feature-card {
    display: block;
    overflow: hidden;
    border-radius: 26px;
    transition: 0.22s ease;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card strong {
    display: block;
    padding: 16px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 190px 210px;
    gap: 14px;
    margin-bottom: 26px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 24px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.68);
}

.filter-panel label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 16px;
    outline: 0;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(2, 6, 23, 0.64);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 134px minmax(0, 1fr);
    gap: 18px;
    border-radius: 24px;
    padding: 14px;
    transition: 0.22s ease;
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.rank-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rank-cover span {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 999px;
    padding: 7px 9px;
    color: #082f49;
    background: #67e8f9;
    font-size: 0.8rem;
    font-weight: 900;
}

.rank-copy h2 {
    margin: 8px 0 10px;
    font-size: 1.4rem;
}

.rank-copy p {
    color: var(--muted);
    line-height: 1.75;
}

.watch-shell {
    padding-top: 34px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #a5f3fc;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.player-card,
.detail-side,
.detail-content {
    border-radius: 28px;
    overflow: hidden;
}

.player-frame {
    position: relative;
    width: 100%;
    background: #000;
}

.player-frame video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: #082f49;
    background:
        radial-gradient(circle, rgba(103, 232, 249, 0.24), transparent 13rem),
        rgba(2, 6, 23, 0.28);
    cursor: pointer;
}

.player-overlay span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: linear-gradient(135deg, #67e8f9, #38bdf8);
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.34);
    font-size: 2rem;
}

.player-overlay.is-hidden {
    display: none;
}

.detail-side {
    padding: 16px;
}

.detail-poster {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.side-meta {
    margin-top: 14px;
}

.detail-content {
    margin-top: 24px;
    padding: clamp(24px, 5vw, 44px);
}

.detail-content header {
    margin-bottom: 28px;
}

.detail-content header p {
    margin: 0;
}

.detail-block {
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    padding-top: 24px;
    margin-top: 24px;
}

.detail-block h2 {
    margin: 0 0 12px;
    color: #a5f3fc;
    font-size: 1.45rem;
}

.detail-block p {
    margin: 0;
    color: #cbd5e1;
    line-height: 2;
}

.meta-block dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.meta-block div {
    border-radius: 18px;
    padding: 16px;
    background: rgba(2, 6, 23, 0.46);
}

.meta-block dt {
    color: var(--muted);
    font-size: 0.84rem;
}

.meta-block dd {
    margin: 8px 0 0;
    color: var(--text);
    font-weight: 800;
}

.site-footer {
    margin-top: 60px;
    border-top: 1px solid rgba(34, 211, 238, 0.16);
    background: rgba(2, 6, 23, 0.72);
}

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

.brand.compact .brand-mark {
    width: 38px;
    height: 38px;
}

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

.footer-links h2 {
    margin: 0 0 8px;
    color: #a5f3fc;
    font-size: 1rem;
}

.footer-links a {
    color: var(--muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    padding: 18px;
    color: var(--muted);
    text-align: center;
    font-size: 0.88rem;
}

[data-card].is-hidden {
    display: none;
}

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

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

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

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

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        display: none;
    }
}

@media (max-width: 760px) {
    .header-shell {
        min-height: 66px;
    }

    .brand-copy strong {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
        padding: 74px 22px 78px;
    }

    .hero-poster {
        width: min(240px, 74vw);
    }

    .hero-arrow {
        top: auto;
        bottom: 24px;
    }

    .hero-arrow.prev {
        left: 22px;
    }

    .hero-arrow.next {
        right: 22px;
    }

    .home-quick {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

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

    .category-overview-card,
    .category-hero,
    .footer-shell,
    .filter-panel,
    .rank-item {
        grid-template-columns: 1fr;
    }

    .category-cover-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 480px) {
    .movie-grid,
    .compact-grid,
    .rail-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .meta-block dl {
        grid-template-columns: 1fr;
    }
}
