:root {
    --bg: #f9fafb;
    --paper: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --soft: #f1f5f9;
    --teal: #14b8a6;
    --teal-dark: #0f766e;
    --teal-soft: #ccfbf1;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shell: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(var(--shell), calc(100% - 40px));
    height: 72px;
    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;
    font-weight: 800;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), #22d3ee);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.28);
}

.logo-copy {
    display: grid;
    line-height: 1.2;
}

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

.logo-copy small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

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

.nav-link,
.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: #334155;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-dropdown:hover > a,
.nav-link.is-active,
.nav-dropdown > a.is-active {
    color: var(--teal-dark);
    background: #ecfeff;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 220px;
    padding: 10px;
    display: grid;
    gap: 4px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    padding: 10px 12px;
    color: #334155;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 650;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 13px;
    background: var(--soft);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto 14px;
    padding: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

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

.mobile-nav a {
    padding: 10px 12px;
    color: #334155;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.hero {
    position: relative;
    height: 68vh;
    min-height: 520px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-slide > img,
.detail-hero > img,
.ranking-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.08));
}

.hero-content {
    position: absolute;
    inset: 0;
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-copy {
    max-width: 660px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow.dark {
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.hero h1,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.ranking-hero p,
.detail-copy p {
    max-width: 690px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 20px);
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #0f766e;
    background: #ccfbf1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), #06b6d4);
    box-shadow: 0 16px 28px rgba(20, 184, 166, 0.25);
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-button.dark {
    color: var(--teal-dark);
    border-color: rgba(20, 184, 166, 0.25);
    background: #ecfeff;
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.hero-card {
    width: min(340px, 30vw);
    padding: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
}

.hero-card span {
    display: grid;
    gap: 4px;
    padding: 14px 6px 4px;
    color: #ffffff;
}

.hero-card strong {
    font-size: 18px;
}

.hero-card small {
    color: rgba(255, 255, 255, 0.74);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 34px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
    background: var(--teal);
}

.section {
    padding: 56px 0;
}

.pull-up {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

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

.section-heading h2,
.panel-title h2,
.side-card h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

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

.section-kicker {
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.featured-banner {
    position: relative;
    display: block;
    min-height: 330px;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow);
    background: #0f172a;
}

.featured-banner img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-banner:hover img {
    transform: scale(1.04);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: clamp(26px, 5vw, 54px);
    color: #ffffff;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.24));
}

.featured-overlay em {
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 12px;
    color: #ffffff;
    background: var(--teal);
    border-radius: 999px;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.featured-overlay strong {
    max-width: 720px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 900;
}

.featured-overlay small {
    max-width: 620px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.poster-shell {
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #134e4a);
}

.poster-shell img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .poster-shell img {
    transform: scale(1.06);
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-card strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 52px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.card-meta em {
    padding: 4px 8px;
    background: #f8fafc;
    border-radius: 999px;
    font-style: normal;
    font-weight: 750;
}

.movie-card-wide {
    flex-direction: row;
}

.movie-card-wide .poster-shell {
    width: 150px;
    flex: 0 0 150px;
}

.movie-card-wide .poster-shell img {
    height: 100%;
    min-height: 210px;
}

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

.ranking-panel,
.side-card,
.content-card,
.player-card,
.category-overview-card,
.catalog-controls {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
}

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

.panel-title {
    margin-bottom: 18px;
}

.panel-title span {
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.rank-num {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    background: var(--teal-soft);
    border-radius: 12px;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
}

.ranking-item small {
    color: var(--muted);
}

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

.category-tile {
    min-height: 170px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff, #ecfeff);
    border: 1px solid rgba(20, 184, 166, 0.20);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-tile span {
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
}

.category-tile small {
    margin-top: 12px;
    color: var(--muted);
}

.page-hero {
    padding: 90px 0 72px;
}

.soft-hero,
.category-hero {
    background: radial-gradient(circle at top left, #ccfbf1, transparent 34%), linear-gradient(135deg, #ffffff, #f8fafc);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    color: #0f172a;
}

.page-hero p {
    color: #475569;
}

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

.category-overview-card {
    padding: 22px;
}

.category-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

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

.category-card-head a,
.category-jump {
    color: var(--teal-dark);
    font-weight: 850;
}

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

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

.compact-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 16px;
}

.compact-card img {
    width: 68px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    background: #0f172a;
}

.compact-card span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.compact-card strong {
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
}

.compact-card small {
    color: var(--muted);
}

.catalog-section {
    padding-top: 34px;
}

.catalog-controls {
    margin-bottom: 28px;
    padding: 18px;
}

.catalog-controls label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
}

.search-box input,
.filter-row select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-box input:focus,
.filter-row select:focus {
    background: #ffffff;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

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

.empty-state {
    margin-top: 14px;
    padding: 16px;
    color: var(--muted);
    text-align: center;
    background: #f8fafc;
    border-radius: 14px;
}

.ranking-hero,
.detail-hero {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: #020617;
}

.ranking-hero-layer,
.detail-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.18));
}

.ranking-hero-content,
.detail-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

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

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

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

.breadcrumb em {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    color: #ffffff;
}

.detail-heading {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card,
.content-card,
.side-card {
    padding: 20px;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    background: #000000;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.36);
}

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

.video-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: blur(1px);
}

.play-circle {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), #06b6d4);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.45);
    font-size: 18px;
    font-weight: 900;
}

.content-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 24px;
}

.content-card p {
    margin: 0 0 22px;
    color: #334155;
    font-size: 16px;
}

.info-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.info-table dl {
    margin: 0;
    padding: 14px;
    background: #f8fafc;
    border-radius: 14px;
}

.info-table dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.info-table dd {
    margin: 4px 0 0;
    color: #0f172a;
    font-weight: 850;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
}

.side-card h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.category-jump {
    display: block;
    margin-top: 10px;
    padding: 12px 14px;
    background: #ecfeff;
    border-radius: 14px;
}

.site-footer {
    margin-top: 40px;
    padding: 42px 0;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-shell {
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.site-footer p {
    max-width: 700px;
    margin: 8px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 16px;
    font-weight: 800;
}

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

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

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

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

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

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 680px;
    }

    .hero-content {
        align-items: end;
        padding: 96px 0 86px;
    }

    .hero-card {
        display: none;
    }

    .hero-arrow {
        top: auto;
        bottom: 28px;
        transform: none;
    }

    .hero-prev {
        left: 20px;
    }

    .hero-next {
        right: 20px;
    }

    .hero-dots {
        bottom: 46px;
    }

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

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

    .detail-heading {
        grid-template-columns: 150px minmax(0, 1fr);
        align-items: center;
    }

    .detail-copy h1 {
        font-size: clamp(30px, 8vw, 52px);
    }

    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .shell,
    .nav-shell,
    .mobile-nav,
    .footer-shell {
        width: min(100% - 28px, var(--shell));
    }

    .nav-shell {
        height: 66px;
    }

    .logo-copy small {
        display: none;
    }

    .hero h1,
    .page-hero h1,
    .ranking-hero h1 {
        font-size: 40px;
    }

    .hero p,
    .page-hero p,
    .ranking-hero p,
    .detail-copy p {
        font-size: 15px;
    }

    .section {
        padding: 38px 0;
    }

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

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .filter-row,
    .info-table {
        grid-template-columns: 1fr;
    }

    .movie-card-wide {
        flex-direction: column;
    }

    .movie-card-wide .poster-shell {
        width: auto;
        flex: auto;
    }

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

    .detail-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .detail-poster {
        width: 156px;
    }

    .play-circle {
        width: 78px;
        height: 78px;
        font-size: 15px;
    }
}
