:root {
    --color-primary-50: #f0f9ff;
    --color-primary-100: #e0f2fe;
    --color-primary-500: #0ea5e9;
    --color-primary-600: #0284c7;
    --color-primary-700: #0369a1;
    --color-secondary-500: #f59e0b;
    --color-accent-500: #ef4444;
    --color-neutral-50: #fafaf9;
    --color-neutral-100: #f5f5f4;
    --color-neutral-200: #e7e5e4;
    --color-neutral-300: #d6d3d1;
    --color-neutral-500: #78716c;
    --color-neutral-600: #57534e;
    --color-neutral-700: #44403c;
    --color-neutral-900: #1c1917;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(2, 132, 199, 0.12);
    --shadow-lg: 0 20px 60px rgba(28, 25, 23, 0.18);
    --radius-sm: 0.5rem;
    --radius-md: 0.85rem;
    --radius-lg: 1.4rem;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-neutral-50);
    color: var(--color-neutral-900);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, 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;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(231, 229, 228, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--container);
    height: 4rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.brand-text em {
    color: var(--color-neutral-500);
    font-size: 0.75rem;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link,
.mobile-link {
    border-radius: 0.75rem;
    color: var(--color-neutral-600);
    font-size: 0.92rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-link {
    padding: 0.55rem 0.85rem;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
    background: var(--color-primary-50);
    color: var(--color-primary-700);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.icon-button {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: var(--color-neutral-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.icon-button:hover {
    background: var(--color-neutral-100);
    color: var(--color-neutral-900);
}

.mobile-menu-button {
    display: none;
}

.header-search,
.mobile-nav {
    display: none;
    border-top: 1px solid var(--color-neutral-200);
}

.header-search.is-open,
.mobile-nav.is-open {
    display: block;
    animation: slideDown 0.25s ease both;
}

.search-form {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.75rem;
}

.search-form input,
.large-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid var(--color-neutral-300);
    border-radius: 0.85rem;
    background: #fff;
    color: var(--color-neutral-900);
    outline: none;
    transition: 0.2s ease;
}

.search-form input,
.large-search input {
    padding: 0.8rem 1rem;
}

.filter-bar input,
.filter-bar select {
    padding: 0.72rem 0.8rem;
}

.search-form input:focus,
.large-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.search-form button,
.large-search button {
    border: 0;
    border-radius: 0.85rem;
    padding: 0.78rem 1.3rem;
    background: var(--color-primary-600);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-nav {
    padding: 0.75rem 1rem 1rem;
}

.mobile-link {
    display: block;
    padding: 0.8rem 1rem;
}

.hero {
    position: relative;
    max-width: var(--container);
    min-height: 620px;
    margin: 1.25rem auto 0;
    padding: 0 1rem;
}

.hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: var(--radius-lg);
    background: #0f172a;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

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

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.65) 38%, rgba(15, 23, 42, 0.12) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 45%);
}

.hero-copy {
    position: absolute;
    left: clamp(1.25rem, 5vw, 4.5rem);
    bottom: clamp(7rem, 16vw, 10rem);
    width: min(680px, calc(100% - 2rem));
    color: #fff;
}

.hero-kicker {
    color: var(--color-secondary-500);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.7rem;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.hero-copy p {
    max-width: 640px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-tags {
    margin-top: 1.25rem;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.primary-button,
.ghost-button,
.section-more,
.small-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

.primary-button {
    background: var(--color-primary-600);
    color: #fff;
    padding: 0.78rem 1.35rem;
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.25);
}

.primary-button:hover {
    background: var(--color-primary-700);
    transform: translateY(-1px);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.74rem 1.25rem;
    backdrop-filter: blur(10px);
}

.ghost-button.light {
    color: var(--color-primary-700);
    background: #fff;
    border-color: rgba(14, 165, 233, 0.2);
}

.hero-panel {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1.2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.hero-search {
    grid-column: 1 / 2;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
}

.hero-search button {
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-secondary-500);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.hero-categories {
    grid-column: 1 / 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-categories a {
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-thumbs {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

.hero-thumb {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.9rem;
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    text-align: left;
    transition: 0.2s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    border-color: var(--color-secondary-500);
    transform: translateY(-2px);
}

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

.hero-thumb span {
    display: block;
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-main,
.content-section,
.site-footer .footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-section {
    margin-top: 3rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0.35rem 0 0;
    color: var(--color-neutral-600);
}

.section-more {
    color: var(--color-primary-700);
    padding: 0.5rem 0.8rem;
    background: var(--color-primary-50);
    white-space: nowrap;
}

.poster-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0 1rem;
    scroll-snap-type: x proximity;
}

.poster-strip::-webkit-scrollbar {
    height: 0.45rem;
}

.poster-strip::-webkit-scrollbar-thumb {
    background: var(--color-neutral-300);
    border-radius: 999px;
}

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

.movie-card {
    min-width: 0;
}

.movie-card-carousel {
    width: 13.5rem;
    flex: 0 0 13.5rem;
    scroll-snap-align: start;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-neutral-200), var(--color-primary-100));
    box-shadow: var(--shadow-sm);
}

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

.movie-card:hover .poster-link img,
.rank-row:hover .rank-thumb img {
    transform: scale(1.055);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 45%);
    opacity: 0.92;
}

.rating-badge,
.type-badge {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.rating-badge {
    left: 0.55rem;
    bottom: 0.55rem;
    padding: 0.22rem 0.52rem;
    background: rgba(245, 158, 11, 0.9);
}

.type-badge {
    top: 0.55rem;
    right: 0.55rem;
    padding: 0.2rem 0.5rem;
    background: rgba(2, 132, 199, 0.88);
}

.movie-card-body {
    padding-top: 0.65rem;
}

.movie-card h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
}

.movie-card h3 a {
    transition: color 0.2s ease;
}

.movie-card:hover h3 a {
    color: var(--color-primary-700);
}

.card-meta,
.card-line {
    margin: 0.3rem 0 0;
    color: var(--color-neutral-500);
    font-size: 0.82rem;
}

.card-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    margin-top: 0.55rem;
}

.tag-row span {
    background: var(--color-neutral-100);
    color: var(--color-neutral-600);
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 6vw, 4.5rem);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.22), transparent 35%),
        linear-gradient(135deg, #0f172a, #075985 55%, #0f172a);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 820px;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

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

.category-tile {
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-neutral-200);
    overflow: hidden;
    transition: 0.2s ease;
}

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

.category-tile-main {
    min-height: 10rem;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--color-primary-50), #fff);
}

.category-tile-main span {
    color: var(--color-primary-700);
    font-weight: 900;
    font-size: 1.15rem;
}

.category-tile-main strong {
    color: var(--color-neutral-700);
    font-size: 0.92rem;
}

.category-samples {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.2rem 1.2rem;
    color: var(--color-neutral-600);
    font-size: 0.9rem;
}

.category-samples a:hover {
    color: var(--color-primary-700);
}

.filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.rank-list {
    display: grid;
    gap: 0.75rem;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 3.2rem 4.8rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-md);
    background: #fff;
    transition: 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: var(--shadow-md);
}

.rank-num {
    color: var(--color-primary-700);
    font-size: 1.3rem;
    font-weight: 900;
    text-align: center;
}

.rank-thumb {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 0.65rem;
    background: var(--color-neutral-200);
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rank-info h3 {
    margin: 0;
    font-size: 1rem;
}

.rank-info p {
    margin: 0.25rem 0;
    color: var(--color-neutral-600);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--color-neutral-500);
    font-size: 0.8rem;
}

.small-play {
    padding: 0.45rem 0.8rem;
    background: var(--color-primary-50);
    color: var(--color-primary-700);
}

.large-search {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed var(--color-neutral-300);
    border-radius: var(--radius-md);
    color: var(--color-neutral-600);
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1.25rem 0;
    color: var(--color-neutral-500);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--color-primary-700);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: center;
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 3vw, 2.5rem);
    background:
        radial-gradient(circle at 25% 0%, rgba(14, 165, 233, 0.16), transparent 38%),
        #fff;
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-md);
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-neutral-200);
    box-shadow: var(--shadow-lg);
}

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

.detail-copy h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.detail-one-line {
    color: var(--color-neutral-600);
    font-size: 1.1rem;
    margin: 1rem 0;
}

.detail-meta {
    margin: 1rem 0;
}

.detail-meta span {
    background: var(--color-primary-50);
    color: var(--color-primary-700);
}

.detail-tags span {
    background: var(--color-neutral-100);
}

.player-section,
.detail-article,
.related-section {
    margin-top: 2.5rem;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-lg);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.64));
    color: #fff;
    transition: 0.25s ease;
}

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

.play-circle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-600);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.32);
    font-size: 1.8rem;
    padding-left: 0.2rem;
}

.play-overlay strong {
    font-size: 1.15rem;
}

.detail-article {
    display: grid;
    gap: 1rem;
}

.detail-article section {
    padding: 1.4rem;
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-md);
    background: #fff;
}

.detail-article h2 {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
}

.detail-article p {
    margin: 0;
    color: var(--color-neutral-700);
}

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

.info-list div {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 0.5rem;
}

.info-list dt {
    color: var(--color-neutral-500);
}

.info-list dd {
    margin: 0;
    color: var(--color-neutral-900);
    font-weight: 700;
}

.site-footer {
    margin-top: 4rem;
    background: var(--color-neutral-900);
    color: var(--color-neutral-300);
}

.footer-inner {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.site-footer .brand-text strong {
    color: #fff;
}

.site-footer p {
    max-width: 520px;
    color: var(--color-neutral-300);
}

.site-footer h2 {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 1rem;
}

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

.site-footer a:hover {
    color: var(--color-primary-500);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-neutral-500);
    font-size: 0.9rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .compact-rank {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero {
        min-height: auto;
        margin-top: 0.85rem;
    }

    .hero-stage,
    .hero-slide img {
        min-height: 640px;
    }

    .hero-copy {
        bottom: 14rem;
    }

    .hero-panel {
        left: 1.5rem;
        right: 1.5rem;
        grid-template-columns: 1fr;
    }

    .hero-search,
    .hero-categories,
    .hero-thumbs {
        grid-column: 1;
    }

    .hero-thumbs {
        grid-row: auto;
        grid-template-columns: repeat(5, 9rem);
        overflow-x: auto;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

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

    .detail-poster {
        max-width: 280px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-text em {
        display: none;
    }

    .search-form,
    .large-search,
    .hero-search {
        flex-direction: column;
    }

    .hero-copy h1 {
        font-size: 2.35rem;
    }

    .hero-copy {
        bottom: 18rem;
    }

    .hero-stage,
    .hero-slide img {
        min-height: 760px;
    }

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 2.4rem 3.5rem minmax(0, 1fr);
    }

    .rank-row .small-play {
        display: none;
    }

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

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