:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --orange-500: #f97316;
    --red-500: #ef4444;
    --yellow-500: #eab308;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1f2937;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 26px 70px rgba(15, 23, 42, 0.24);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
    min-width: 320px;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan-400), var(--blue-600));
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.28);
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.08) rotate(3deg);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-text em {
    font-style: normal;
    font-size: 12px;
    color: #67e8f9;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.nav-link {
    font-weight: 650;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.25s ease, transform 0.25s ease;
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    padding: 10px;
}

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

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
}

.mobile-link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--cyan-400);
    background: rgba(255, 255, 255, 0.08);
}

.page-shell {
    min-height: 65vh;
}

.hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-950), var(--slate-900) 45%, #164e63);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.35), transparent 28%), radial-gradient(circle at 78% 24%, rgba(37, 99, 235, 0.24), transparent 30%);
    animation: softPulse 7s ease-in-out infinite alternate;
}

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

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 0.9s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(15, 23, 42, 0.34) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 190px;
    background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
    align-items: center;
    gap: 56px;
    padding-top: 20px;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan-500);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-summary {
    margin: 0 0 26px;
    color: rgba(226, 232, 240, 0.92);
    font-size: 20px;
    line-height: 1.8;
}

.hero-tags,
.tag-row,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-row span,
.tag-row a,
.pill-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.hero-tags span {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-poster {
    position: relative;
    display: block;
    height: 420px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: perspective(1200px) rotateY(-8deg);
}

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

.cover-wrap {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 48%, #06b6d4);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-card-row {
    position: relative;
    z-index: 5;
    margin-top: -82px;
    margin-bottom: 56px;
}

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

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

.large-gap {
    gap: 24px;
}

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

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

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

.movie-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--gray-800);
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.movie-poster {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden;
}

.compact-grid .movie-poster,
.small-grid .movie-poster {
    height: 190px;
}

.movie-poster img,
.hero-poster img,
.rank-cover img {
    transition: transform 0.55s ease;
}

.movie-card:hover img,
.hero-poster:hover img,
.rank-card:hover img {
    transform: scale(1.09);
}

.movie-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0);
    transition: background 0.3s ease;
}

.movie-card:hover .movie-hover,
.hero-poster:hover .movie-hover {
    background: rgba(2, 6, 23, 0.32);
}

.play-mark,
.overlay-play {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    transform: scale(0.55);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-mark::before,
.overlay-play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--blue-600);
}

.movie-card:hover .play-mark,
.hero-poster:hover .play-mark,
.player-overlay .overlay-play {
    opacity: 1;
    transform: scale(1);
}

.movie-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange-500), var(--red-500));
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.24);
}

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

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

.movie-card:hover .movie-body strong {
    color: var(--blue-600);
}

.movie-desc,
.movie-body span:not(.movie-poster):not(.movie-hover):not(.movie-badge) {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-body small {
    color: var(--gray-500);
    font-weight: 700;
}

.section-block {
    padding: 44px 0;
}

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

.section-head.compact {
    margin-bottom: 12px;
}

.section-head h2,
.sub-hero h1,
.detail-card h1,
.content-card h2 {
    margin: 0;
    color: var(--gray-800);
    letter-spacing: -0.03em;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 38px);
}

.text-link {
    color: var(--blue-600);
    font-weight: 800;
    transition: color 0.25s ease;
}

.text-link:hover {
    color: var(--cyan-500);
}

.feature-panel,
.category-band,
.content-card,
.category-tile {
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.feature-panel {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.category-stack {
    display: grid;
    gap: 28px;
    padding-bottom: 36px;
}

.category-band {
    background: #ffffff;
}

.category-intro {
    margin: 0 0 24px;
    color: var(--gray-600);
    line-height: 1.8;
}

.category-red {
    background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.category-blue {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.category-purple {
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
}

.category-green,
.category-emerald {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.category-orange {
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.category-cyan {
    background: linear-gradient(135deg, #ecfeff, #f0f9ff);
}

.category-pink {
    background: linear-gradient(135deg, #fdf2f8, #fff1f2);
}

.category-slate {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.category-indigo {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.sub-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 74px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-950), var(--slate-900) 48%, #164e63);
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(34, 211, 238, 0.3), transparent 30%), radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.24), transparent 28%);
}

.sub-hero .container {
    position: relative;
    z-index: 2;
}

.sub-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 62px);
    margin-bottom: 16px;
}

.sub-hero p:not(.eyebrow) {
    max-width: 780px;
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 19px;
    line-height: 1.8;
}

.filter-box {
    max-width: 640px;
    margin-top: 28px;
}

.filter-box input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    outline: none;
    backdrop-filter: blur(12px);
}

.filter-box input::placeholder {
    color: rgba(226, 232, 240, 0.78);
}

.pill-row {
    margin-top: 24px;
}

.pill-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.pill-link.is-current,
.pill-link:hover {
    background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
}

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

.category-tile {
    display: grid;
    gap: 22px;
}

.category-tile-main span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue-600);
    font-weight: 900;
}

.category-tile-main h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-tile-main p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.75;
}

.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-mini-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.rank-list {
    display: grid;
    gap: 14px;
    padding: 48px 0;
}

.rank-card {
    display: grid;
    grid-template-columns: 62px 104px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 22px;
}

.rank-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue-600);
    text-align: center;
}

.rank-cover {
    position: relative;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
}

.rank-info {
    display: grid;
    gap: 6px;
    min-width: 0;
}

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

.rank-info em {
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rank-meta {
    color: var(--gray-600);
    font-weight: 800;
    white-space: nowrap;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 26px 0;
    color: var(--gray-500);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--blue-600);
}

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

.player-card,
.detail-card,
.sticky-panel,
.content-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
    background: #000000;
}

.player-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
    border: 0;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay strong {
    font-size: 18px;
    letter-spacing: 0.04em;
}

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

.detail-card {
    margin-top: 24px;
    padding: 30px;
}

.detail-card h1 {
    font-size: clamp(30px, 5vw, 46px);
    margin-bottom: 14px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--gray-600);
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--gray-100);
}

.tag-row {
    margin-bottom: 24px;
}

.tag-row a,
.tag-row span {
    color: var(--gray-700);
    background: var(--gray-100);
}

.tag-row a {
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

.detail-card section {
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
    margin-top: 24px;
}

.detail-card h2,
.sticky-panel h2 {
    margin: 0 0 14px;
    color: var(--gray-800);
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.95;
    font-size: 16px;
}

.detail-side {
    padding-top: 74px;
}

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

.side-list {
    display: grid;
    gap: 14px;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
    box-shadow: none;
    border: 1px solid var(--gray-100);
}

.movie-card-horizontal .movie-poster {
    height: 92px;
}

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

.movie-card-horizontal .movie-body strong {
    min-height: auto;
    font-size: 14px;
}

.movie-card-horizontal .movie-body span,
.movie-card-horizontal .movie-body small {
    font-size: 12px;
}

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

.content-card {
    padding: 34px;
    margin: 48px auto;
    max-width: 980px;
}

.support-grid .content-card {
    margin: 0;
}

.content-card h2 {
    font-size: 28px;
    margin: 0 0 16px;
}

.content-card p {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 16px;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 52px 0;
}

.footer-brand {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

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

.site-footer a {
    color: #94a3b8;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px max(16px, calc((100vw - var(--container)) / 2));
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    color: #64748b;
    font-size: 14px;
}

@keyframes softPulse {
    from {
        opacity: 0.55;
        transform: scale(1);
    }
    to {
        opacity: 0.95;
        transform: scale(1.04);
    }
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 14px;
        font-size: 14px;
    }

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

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

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

    .detail-side {
        padding-top: 0;
    }

    .sticky-panel {
        position: static;
    }
}

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

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero {
        height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        align-content: center;
        padding-top: 0;
    }

    .hero-poster {
        height: 280px;
        transform: none;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-summary {
        font-size: 17px;
    }

    .hero-card-row {
        margin-top: -46px;
    }

    .movie-grid,
    .hero-grid,
    .small-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .category-overview,
    .support-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-card {
        grid-template-columns: 44px 88px minmax(0, 1fr);
    }

    .rank-meta {
        grid-column: 3;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

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

    .brand-text em {
        display: none;
    }

    .hero {
        height: 720px;
    }

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

    .hero-actions {
        display: grid;
    }

    .hero-controls {
        bottom: 20px;
    }

    .movie-grid,
    .hero-grid,
    .small-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-poster,
    .compact-grid .movie-poster,
    .small-grid .movie-poster {
        height: 210px;
    }

    .feature-panel,
    .category-band,
    .content-card,
    .category-tile,
    .detail-card {
        padding: 22px;
        border-radius: 22px;
    }

    .sub-hero {
        padding: 64px 0 50px;
    }

    .rank-card {
        grid-template-columns: 38px 78px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-cover {
        height: 64px;
    }

    .rank-info em {
        display: none;
    }

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