:root {
    color-scheme: light;
    --red-950: #450a0a;
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --stone-950: #0c0a09;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow-lg: 0 20px 45px rgba(127, 29, 29, 0.18);
    --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.12);
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 42%, #fff7ed 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 4px solid var(--red-800);
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 242, 242, 0.96), rgba(255, 251, 235, 0.96));
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 32px rgba(127, 29, 29, 0.12);
}

.header-inner {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    min-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: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 24px;
    background: linear-gradient(135deg, var(--red-700), var(--amber-700));
    box-shadow: 0 10px 24px rgba(185, 28, 28, 0.28);
}

.brand-icon.small {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.brand strong {
    display: block;
    font-size: 24px;
    line-height: 1.05;
    background: linear-gradient(90deg, var(--red-900), var(--amber-800));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: var(--gray-600);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    padding: 9px 13px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--red-800);
    background: rgba(254, 226, 226, 0.78);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--red-900);
    background: #fee2e2;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--red-950), var(--red-800) 56%, var(--amber-900));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255, 255, 255, 0.12) 49px), radial-gradient(circle at 15% 20%, rgba(251, 191, 36, 0.38), transparent 32%), radial-gradient(circle at 85% 15%, rgba(248, 113, 113, 0.28), transparent 28%);
}

.hero-slide {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, var(--max));
    min-height: 600px;
    margin: 0 auto;
    display: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
    gap: 44px;
    align-items: center;
    padding: 68px 0 108px;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(69, 10, 10, 0.92), rgba(127, 29, 29, 0.72), rgba(120, 53, 15, 0.36)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
    opacity: 0.34;
    transform: scale(1.04);
}

.hero-slide.is-active {
    display: grid;
    animation: heroFade 0.55s ease both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label,
.section-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 20px 0 12px;
    max-width: 820px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    color: #fde68a;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.15;
}

.hero-copy p {
    max-width: 760px;
    margin: 0;
    color: #fee2e2;
    font-size: 18px;
}

.hero-tags,
.tag-row,
.detail-tags,
.tag-cloud {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-cloud span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button,
.section-link,
.panel-head a,
.pagination a,
.pagination strong,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 13px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--red-600), var(--amber-700));
    box-shadow: 0 14px 26px rgba(220, 38, 38, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.panel-head a:hover,
.pagination a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(127, 29, 29, 0.16);
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
}

.ghost-button.dark {
    color: var(--red-800);
    border-color: #fecaca;
    background: #fff7ed;
}

.full {
    width: 100%;
}

.hero-poster {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    transform: rotate(1.5deg);
    border: 8px solid rgba(255, 255, 255, 0.12);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: linear-gradient(135deg, #7f1d1d, #92400e);
}

.hero-poster span {
    position: absolute;
    left: 20px;
    bottom: 20px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(220, 38, 38, 0.94);
    color: #ffffff;
    font-weight: 900;
}

.hero-control {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 94px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-control button,
.hero-dots button {
    border: 0;
    cursor: pointer;
}

.hero-control > button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 28px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    padding: 0;
}

.hero-dots button.is-active {
    width: 30px;
    background: #fbbf24;
}

.hero-search {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(100% - 32px, 860px);
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.hero-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 2px solid transparent;
    outline: none;
    border-radius: 13px;
    background: #fff7ed;
    color: var(--gray-900);
}

.hero-search input {
    padding: 0 18px;
    min-height: 52px;
}

.hero-search button {
    border: 0;
    border-radius: 13px;
    min-width: 110px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--red-600), var(--amber-700));
    font-weight: 900;
    cursor: pointer;
}

.content-section {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 72px 0;
}

.content-section.tinted,
.content-section.gray {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - var(--max)) / 2));
    padding-right: max(16px, calc((100% - var(--max)) / 2));
}

.content-section.tinted {
    background: linear-gradient(90deg, #fff1f2, #fffbeb);
}

.content-section.gray {
    background: linear-gradient(180deg, #f9fafb, #ffffff);
}

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

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

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

.section-link,
.panel-head a {
    color: var(--red-800);
    background: #fee2e2;
}

.featured-grid,
.movie-grid,
.big-category-grid,
.category-panels {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: #fecaca;
    box-shadow: 0 28px 45px rgba(127, 29, 29, 0.22);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #7f1d1d, #b45309);
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover img {
    transform: scale(1.08);
}

.card-rank,
.play-chip {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
}

.card-rank {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red-600);
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.58);
    font-size: 12px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
}

.meta-line {
    color: var(--red-700);
    font-size: 12px;
    font-weight: 800;
}

.movie-card strong {
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.32;
}

.card-desc {
    color: var(--gray-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row em {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--red-700);
    background: #fee2e2;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.movie-card-compact .card-body {
    padding: 14px;
}

.movie-card-compact strong {
    font-size: 16px;
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 50px 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(127, 29, 29, 0.16);
}

.rank-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--red-600);
    font-weight: 950;
}

.rank-row img {
    width: 92px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #7f1d1d, #b45309);
}

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

.rank-copy strong,
.rank-copy span {
    display: block;
}

.rank-copy strong {
    margin-bottom: 4px;
    color: var(--gray-900);
}

.rank-copy span,
.rank-meta {
    color: var(--gray-600);
    font-size: 13px;
}

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

.category-panel,
.side-card,
.player-card,
.big-category-card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-panel {
    padding: 22px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.panel-head h3 {
    margin: 0;
    font-size: 24px;
}

.panel-head p {
    margin: 4px 0 0;
    color: var(--gray-600);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, var(--red-950), var(--red-800), var(--amber-900));
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 255, 255, 0.14) 51px), radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.45), transparent 30%);
}

.page-hero > div {
    position: relative;
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 72px 0;
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: #fee2e2;
    font-size: 18px;
}

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

.big-category-card {
    min-height: 190px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    border: 2px solid #fee2e2;
}

.big-category-card span {
    color: var(--red-700);
    font-weight: 900;
}

.big-category-card strong {
    font-size: 28px;
}

.big-category-card em {
    color: var(--gray-600);
    font-style: normal;
    font-size: 14px;
}

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

.genre-cloud a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.genre-cloud span {
    font-weight: 800;
}

.genre-cloud strong {
    color: var(--red-700);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
    gap: 14px;
    align-items: end;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-bar label {
    display: grid;
    gap: 7px;
}

.filter-bar span {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 900;
}

.filter-bar input,
.filter-bar select {
    min-height: 46px;
    padding: 0 14px;
}

.result-line {
    margin: 14px 0 24px;
    color: var(--gray-600);
}

.result-line strong {
    color: var(--red-700);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
}

.top-pagination {
    margin: 0 0 28px;
}

.pagination a,
.pagination strong,
.pagination span {
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--gray-700);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.pagination strong {
    color: #ffffff;
    background: var(--red-600);
}

.pagination span {
    color: var(--gray-400);
}

.detail-layout {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 36px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

.player-card {
    overflow: hidden;
}

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

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.12), rgba(0, 0, 0, 0.54));
    transition: opacity 0.2s ease;
}

.player-shell.is-playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-ring {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red-600), var(--amber-700));
    box-shadow: 0 18px 38px rgba(220, 38, 38, 0.38);
    font-size: 34px;
    padding-left: 5px;
}

.player-overlay strong {
    font-size: 20px;
}

.detail-copy {
    padding: 30px;
}

.detail-tags {
    margin-bottom: 16px;
}

.detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fee2e2;
    color: var(--red-700);
    font-weight: 850;
    font-size: 13px;
}

.detail-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.08;
}

.one-line {
    margin: 0 0 20px;
    color: var(--red-800);
    font-size: 19px;
    font-weight: 850;
}

.detail-copy section {
    margin-top: 28px;
}

.detail-copy h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-copy p {
    color: var(--gray-700);
    margin: 0;
    text-align: justify;
}

.review-box {
    padding: 22px;
    border-left: 5px solid var(--red-600);
    border-radius: 16px;
    background: linear-gradient(90deg, #fffbeb, #fff1f2);
}

.detail-side {
    display: grid;
    gap: 22px;
    align-content: start;
}

.side-card {
    padding: 20px;
}

.poster-side {
    position: sticky;
    top: 104px;
}

.poster-side img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7f1d1d, #b45309);
}

.mini-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.site-footer {
    margin-top: 32px;
    border-top: 4px solid var(--red-800);
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #030712);
}

.footer-inner {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
}

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

.site-footer p {
    max-width: 460px;
    color: #9ca3af;
}

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

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #d1d5db;
}

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

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

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

    .featured-grid,
    .big-category-grid,
    .genre-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .poster-side {
        position: static;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 70px;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .site-nav a {
        width: 100%;
        padding: 12px 14px;
    }

    .hero {
        min-height: auto;
    }

    .hero-slide,
    .hero-slide.is-active {
        grid-template-columns: 1fr;
        padding: 44px 0 150px;
        min-height: auto;
    }

    .hero-poster {
        max-width: 360px;
        margin: 0 auto;
    }

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

    .hero-search button {
        min-height: 48px;
    }

    .home-rank,
    .category-panels,
    .footer-inner,
    .filter-bar {
        grid-template-columns: 1fr;
    }

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

    .rank-meta {
        display: none;
    }
}

@media (max-width: 640px) {
    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 20px;
    }

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

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

    .movie-grid,
    .dense-grid,
    .featured-grid,
    .big-category-grid,
    .genre-cloud,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .detail-copy {
        padding: 22px;
    }

    .page-hero > div {
        padding: 52px 0;
    }
}
