:root {
    --bg: #f8fafc;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --panel: #ffffff;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --orange: #f97316;
    --red: #ef4444;
    --slate: #0f172a;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #0f172a, #1e293b 46%, #0f172a);
    box-shadow: 0 12px 35px rgba(2, 6, 23, 0.3);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand span:last-child,
.footer-brand b {
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.38);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 9px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

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

.hero {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.64), rgba(15, 23, 42, 0.4)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 25%, rgba(34, 211, 238, 0.26), transparent 34%), radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.32), transparent 32%);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
}

.hero-kicker,
.page-hero p,
.detail-kicker {
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.16);
    border: 1px solid rgba(103, 232, 249, 0.22);
    backdrop-filter: blur(10px);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 26px 0 18px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 700px;
    margin: 0 0 24px;
    color: #e2e8f0;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-tags span,
.detail-meta span,
.movie-meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.primary-btn,
.ghost-btn,
.home-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    border: 0;
    color: #ffffff;
    font-weight: 850;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 34px rgba(6, 182, 212, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.primary-btn:hover,
.home-search button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 42px rgba(6, 182, 212, 0.42);
    filter: saturate(1.08);
}

.ghost-btn {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.hero-poster {
    position: absolute;
    right: max(32px, calc((100vw - 1200px) / 2));
    top: 50%;
    z-index: 2;
    width: min(340px, 28vw);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.46);
    transform: translateY(-50%);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.82);
    box-shadow: 0 0 32px rgba(6, 182, 212, 0.55);
    transform: translate(-50%, -50%);
}

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

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

.hero-dot.is-active {
    width: 58px;
    background: #22d3ee;
}

.search-band {
    position: relative;
    z-index: 3;
    margin-top: -46px;
    padding: 0 16px;
}

.search-panel {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 28px;
    align-items: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-panel h2 {
    margin: 0 0 4px;
    font-size: 26px;
}

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

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

.home-search input,
.filter-bar input,
.filter-bar select {
    min-height: 50px;
    width: 100%;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.section-wrap {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 0;
}

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

.section-heading p {
    margin: 0 0 4px;
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading a,
.rank-panel-head a {
    color: var(--cyan);
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.movie-card-link {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.featured-grid .poster-frame {
    aspect-ratio: 16 / 9;
}

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.78), transparent 58%);
    opacity: 0.8;
}

.movie-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-size: 12px;
    font-weight: 850;
}

.rank-badge {
    left: 10px;
    right: auto;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.poster-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.82);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.movie-meta-row span {
    color: #0e7490;
    background: #ecfeff;
    border-color: #cffafe;
}

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

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    padding: 22px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-shadow: var(--shadow);
    background: #0f172a;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
    transition: transform 0.5s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.14));
}

.category-tile span,
.category-tile p {
    position: relative;
    z-index: 2;
}

.category-tile span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile p {
    margin: 8px 0 0;
    color: #dbeafe;
    font-size: 14px;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.rank-panel,
.related-panel {
    border-radius: 24px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rank-panel {
    position: sticky;
    top: 92px;
}

.rank-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 900;
}

.rank-row {
    display: grid;
    grid-template-columns: 36px 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.rank-row:first-of-type {
    border-top: 0;
}

.rank-index {
    color: var(--orange);
    font-weight: 900;
}

.rank-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-copy {
    min-width: 0;
}

.rank-copy b,
.rank-copy em {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-copy b {
    font-size: 15px;
}

.rank-copy em {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    min-height: 300px;
    padding: 76px 16px;
    color: #ffffff;
    background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.34), transparent 30%), linear-gradient(135deg, #0f172a, #1d4ed8 48%, #0f172a);
}

.page-hero > div {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero span {
    display: block;
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
}

.filter-bar {
    position: sticky;
    top: 84px;
    z-index: 4;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.76);
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.92);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.filter-bar select {
    max-width: 190px;
}

.category-overview-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.category-overview-card:hover {
    transform: translateY(-5px);
}

.category-overview-link {
    display: block;
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    background: #0f172a;
}

.category-collage img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

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

.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-overview-body p {
    min-height: 48px;
    margin: 0 0 16px;
    color: var(--muted);
}

.category-overview-body span {
    color: var(--cyan);
    font-weight: 900;
}

.ranking-list {
    margin-top: 30px;
    padding: 12px 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.55)), var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.28), transparent 32%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #67e8f9;
}

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

.detail-poster {
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.48);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy h1 {
    margin: 24px 0 16px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 760px;
    margin: 0 0 24px;
    color: #e2e8f0;
    font-size: 20px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.24);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
    cursor: pointer;
}

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

.player-cover span {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 44px rgba(6, 182, 212, 0.55);
    font-size: 34px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.detail-article {
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-article h2,
.related-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    text-align: justify;
}

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

.movie-info-list div {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.movie-info-list dt {
    color: var(--muted);
    font-size: 13px;
}

.movie-info-list dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tag-cloud a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0e7490;
    background: #ecfeff;
    font-size: 14px;
    font-weight: 800;
}

.related-more {
    padding-top: 32px;
}

.site-footer {
    margin-top: 90px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 18px;
}

.site-footer p {
    margin: 14px 0 0;
    color: #94a3b8;
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #22d3ee;
}

.footer-bottom {
    padding: 20px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    text-align: center;
}

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

@media (max-width: 1080px) {
    .featured-grid,
    .top-three-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .rank-panel {
        position: static;
    }

    .hero-poster {
        opacity: 0.55;
        right: 24px;
    }
}

@media (max-width: 760px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 18px;
        background: #0f172a;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
    }

    .hero {
        height: 620px;
    }

    .hero-content {
        justify-content: end;
        padding-bottom: 92px;
    }

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

    .hero-poster {
        top: 34px;
        right: 16px;
        width: 150px;
        transform: none;
        opacity: 0.72;
    }

    .search-panel,
    .home-search,
    .filter-bar,
    .detail-layout,
    .split-section,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-bar select {
        max-width: none;
    }

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

    .featured-grid,
    .poster-grid,
    .top-three-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .section-wrap {
        padding-top: 54px;
    }

    .detail-poster {
        width: min(250px, 74vw);
    }

    .detail-copy h1 {
        font-size: 40px;
    }

    .movie-info-list {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 30px 72px minmax(0, 1fr);
    }
}

@media (max-width: 460px) {
    .poster-grid,
    .featured-grid,
    .top-three-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-body p {
        min-height: auto;
    }
}
