:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.76);
    --panel-strong: #0f172a;
    --line: rgba(148, 163, 184, 0.18);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.18), transparent 32rem),
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.12), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

[hidden] {
    display: none !important;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0));
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.solid,
.site-header.scrolled,
body.nav-open .site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    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: 12px;
    min-width: 0;
}

.logo-icon,
.footer-logo span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
    font-size: 14px;
}

.logo-text strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: 0.02em;
}

.logo-text small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a,
.mobile-nav a {
    color: #cbd5e1;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

.desktop-nav a {
    padding: 10px 14px;
    font-size: 14px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
}

.home-main {
    min-height: 100vh;
}

.page-main {
    min-height: 100vh;
    padding-top: 76px;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--bg-soft);
}

.hero-stage,
.hero-slide,
.hero-slide img,
.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 1s ease;
}

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

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

.hero-gradient {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.88)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.86));
}

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

.hero-content > * {
    max-width: 760px;
}

.hero-kicker,
.section-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before,
.page-hero span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 18px var(--cyan);
}

.hero h1,
.hero h2 {
    margin: 16px 0;
    color: var(--white);
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: clamp(16px, 2.5vw, 20px);
}

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

.hero-meta span,
.type-pill,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(8, 145, 178, 0.18);
    border: 1px solid rgba(34, 211, 238, 0.22);
}

.hero-meta span {
    padding: 6px 12px;
    font-size: 14px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease, color 0.25s ease;
}

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

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-strong), #0891b2);
    box-shadow: 0 14px 34px rgba(6, 182, 212, 0.24);
}

.btn.ghost {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(148, 163, 184, 0.22);
    backdrop-filter: blur(14px);
}

.btn.full {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(8, 145, 178, 0.75);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow.prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-arrow.next {
    right: 24px;
    transform: translateY(-50%);
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.75);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
    width: 34px;
    background: var(--cyan);
}

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

.home-search-panel {
    padding-top: 34px;
}

.quick-search,
.glass-section,
.ranking-panel,
.prose-panel,
.poster-panel,
.side-links,
.detail-article,
.player-shell,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-search {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.quick-search span {
    color: var(--cyan);
    font-weight: 700;
}

.quick-search h2 {
    margin: 4px 0 0;
    color: var(--white);
    font-size: clamp(24px, 4vw, 36px);
}

.quick-search form,
.filter-bar {
    display: flex;
    gap: 12px;
}

.quick-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    color: var(--text);
    background: rgba(2, 6, 23, 0.72);
    outline: none;
    padding: 0 14px;
}

.filter-bar {
    position: sticky;
    top: 88px;
    z-index: 15;
    margin-bottom: 28px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(14px);
}

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

.section-heading h2,
.panel-heading h2,
.page-hero h1,
.detail-hero h1,
.detail-article h2,
.poster-panel h2,
.side-links h2,
.prose-panel h2 {
    color: var(--white);
    line-height: 1.15;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 720px;
}

.section-link,
.text-link {
    color: var(--cyan);
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    min-height: 170px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.14), transparent 16rem),
        rgba(15, 23, 42, 0.76);
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 26px 70px rgba(6, 182, 212, 0.12);
}

.category-tile span {
    display: block;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}

.category-tile strong {
    display: block;
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.category-tile em {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

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

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

.compact-grid,
.latest-grid,
.archive-grid,
.ranking-page-grid {
    grid-template-columns: repeat(4, 1fr);
}

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.78);
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.movie-card.compact .poster-link {
    aspect-ratio: 16 / 11;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.78));
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(6, 182, 212, 0.86);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.type-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 12px;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-style: normal;
    font-weight: 900;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 17px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--cyan);
}

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

.meta-row {
    color: #64748b;
    font-size: 13px;
}

.meta-row span + span::before {
    content: "·";
    margin-right: 10px;
    color: #475569;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row span,
.detail-tags span {
    padding: 4px 8px;
    font-size: 12px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.panel-heading span {
    color: var(--cyan);
    font-weight: 800;
}

.panel-heading h2 {
    margin: 2px 0 18px;
    font-size: 28px;
}

.ranking-panel ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ranking-item a {
    display: grid;
    grid-template-columns: 34px 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.35);
    transition: background 0.25s ease;
}

.ranking-item a:hover {
    background: rgba(8, 145, 178, 0.15);
}

.ranking-num {
    color: var(--cyan);
    font-weight: 900;
    text-align: center;
}

.ranking-item img {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

.ranking-text strong,
.ranking-text small {
    display: block;
}

.ranking-text strong {
    color: var(--white);
    line-height: 1.25;
}

.ranking-text small {
    margin-top: 3px;
    color: var(--muted);
}

.glass-section {
    padding: 32px;
}

.page-hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: 64px 34px 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.9)),
        radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.14), transparent 22rem);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 780px;
    margin: 12px 0;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 22px;
    align-items: center;
    padding: 22px;
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
    color: var(--white);
}

.category-overview-card p {
    margin: 0 0 16px;
    color: var(--muted);
}

.empty-state {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.72);
}

.detail-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: end;
    overflow: hidden;
    margin-top: -76px;
    padding-top: 76px;
}

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

.detail-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
}

.detail-shade {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.94)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.28));
}

.detail-hero-content {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 54px;
}

.detail-hero h1 {
    max-width: 860px;
    margin: 16px 0;
    font-size: clamp(38px, 6vw, 66px);
    letter-spacing: -0.04em;
}

.detail-hero p {
    max-width: 820px;
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: 18px;
}

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

.detail-primary {
    display: grid;
    gap: 22px;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.player-shell video,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-shell video {
    object-fit: contain;
    z-index: 1;
}

.player-cover {
    z-index: 2;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.78;
}

.player-cover span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(6, 182, 212, 0.88);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.35);
    transform: translate(-50%, -50%);
    font-size: 30px;
}

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

.detail-article {
    padding: 28px;
}

.detail-article h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.detail-article h2 + p {
    margin-top: 0;
}

.detail-article p {
    color: #cbd5e1;
    font-size: 16px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.detail-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 98px;
}

.poster-panel,
.side-links,
.prose-panel {
    padding: 22px;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
}

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

.poster-panel p {
    margin: 0 0 18px;
    color: var(--muted);
}

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

.side-links h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.side-links a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #cbd5e1;
    background: rgba(2, 6, 23, 0.34);
}

.side-links a:hover {
    color: var(--cyan);
    background: rgba(8, 145, 178, 0.15);
}

.prose-panel {
    color: #cbd5e1;
}

.prose-panel h2 {
    margin-top: 0;
}

.prose-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.site-footer {
    margin-top: 54px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.84);
}

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

.footer-logo {
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 480px;
    color: var(--muted);
}

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

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

.footer-links a {
    display: block;
    margin: 8px 0;
    color: var(--muted);
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    color: #64748b;
    font-size: 14px;
}

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

    .menu-toggle {
        display: block;
    }

    body.nav-open .mobile-nav {
        display: block;
    }

    .category-grid,
    .movie-grid,
    .compact-grid,
    .latest-grid,
    .archive-grid,
    .ranking-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .ranking-panel,
    .detail-side {
        position: static;
    }
}

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

    .logo-text small {
        display: none;
    }

    .logo-text strong {
        font-size: 18px;
    }

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

    .hero-content {
        bottom: 76px;
    }

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

    .hero-arrow {
        display: none;
    }

    .quick-search,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .quick-search form,
    .filter-bar {
        flex-direction: column;
    }

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 12px;
    }

    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .latest-grid,
    .archive-grid,
    .ranking-page-grid,
    .category-overview-grid,
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-hero {
        min-height: 500px;
    }

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

    .content-section {
        padding: 40px 0;
    }
}

@media (max-width: 520px) {
    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .latest-grid,
    .archive-grid,
    .ranking-page-grid,
    .category-overview-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .prose-links {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .page-hero {
        padding: 42px 22px 30px;
    }

    .detail-article,
    .glass-section,
    .quick-search {
        padding: 22px;
    }
}
