:root {
    --bg: #f7f7f8;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --dark: #111827;
    --red: #dc2626;
    --orange: #f97316;
    --amber: #f59e0b;
    --blue: #2563eb;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.26);
}

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

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

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link,
.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.category-pill:hover,
.nav-link.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    border: 0;
    border-radius: 12px;
    padding: 9px 14px;
    color: #374151;
    background: #f3f4f6;
    font-weight: 800;
}

.category-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pill {
    min-height: 32px;
    padding: 6px 12px;
    background: #f3f4f6;
    font-size: 13px;
}

.hero-shell {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #7f1d1d 0%, #9a3412 42%, #b45309 100%);
    color: #fff;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.42) 0, rgba(251, 191, 36, 0) 26%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.14) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.14) 75%, transparent 75%, transparent);
    background-size: auto, auto, 62px 62px;
}

.hero-carousel {
    position: relative;
    max-width: 1280px;
    min-height: 620px;
    margin: 0 auto;
    padding: 72px 24px 88px;
}

.hero-slide {
    position: absolute;
    inset: 0 24px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 430px;
    align-items: center;
    gap: 56px;
    opacity: 0;
    transform: translateX(26px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fde68a;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
}

.hero-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 7px 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.12);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.12);
}

.btn-ghost.dark {
    color: var(--text);
    border-color: var(--line);
    background: #fff;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.hero-poster {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(251, 191, 36, 0.20));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.hero-poster::after,
.poster-frame::after,
.rank-thumb::after,
.detail-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.52));
    pointer-events: none;
}

.hero-poster img,
.poster-frame img,
.rank-thumb img,
.detail-poster img,
.mini-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #7f1d1d, #f97316);
}

.hero-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 28px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
}

.hero-dot.is-active {
    width: 34px;
    background: #fcd34d;
}

.search-strip,
.content-section,
.page-hero,
.detail-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.search-strip {
    margin-top: -38px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 28px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-strip h2,
.section-heading h2,
.hot-rank-panel h2,
.side-card h2,
.detail-section h2,
.sitemap-block h2 {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1.2;
}

.search-strip p,
.section-heading p,
.hot-rank-panel p,
.page-hero p,
.detail-section p,
.sitemap-block p {
    margin: 0;
    color: var(--muted);
}

.quick-search,
.filter-tools {
    display: flex;
    gap: 12px;
}

.quick-search input,
.quick-search button,
.filter-tools input,
.filter-tools select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 15px;
    font: inherit;
}

.quick-search input,
.filter-tools input {
    flex: 1;
    min-width: 0;
    background: #f9fafb;
}

.quick-search button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

.content-section {
    padding-top: 68px;
    padding-bottom: 34px;
}

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

.section-more {
    color: var(--red);
    font-weight: 900;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.14);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #991b1b, #f59e0b);
}

.movie-card:not(.movie-card-large) .poster-frame {
    aspect-ratio: 16 / 11;
}

.poster-frame img {
    transition: transform 0.45s ease;
}

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

.score-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
}

.score-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    background: rgba(220, 38, 38, 0.92);
}

.play-chip {
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

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

.movie-title {
    display: inline-block;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.32;
}

.movie-title:hover {
    color: var(--red);
}

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

.movie-meta span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.movie-meta span::after {
    content: "·";
    margin-left: 10px;
    color: #d1d5db;
}

.movie-meta span:last-child::after {
    content: "";
    margin: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.tag-row span {
    border-radius: 999px;
    padding: 4px 9px;
    color: #7c2d12;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

.hot-rank-panel,
.side-card,
.detail-main,
.sitemap-block,
.category-overview-card {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
}

.hot-rank-panel {
    position: sticky;
    top: 108px;
    align-self: start;
    padding: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #f9fafb;
}

.rank-row:hover,
.mini-link:hover {
    background: #fff7ed;
}

.rank-no {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

.rank-title {
    font-weight: 900;
}

.rank-score {
    color: var(--red);
    font-weight: 900;
}

.category-card {
    min-height: 190px;
    padding: 22px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #991b1b, #f97316);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.18);
}

.category-card:nth-child(2n) {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
}

.category-card:nth-child(3n) {
    background: linear-gradient(135deg, #047857, #0d9488);
}

.category-card h3 {
    margin: 16px 0 8px;
    font-size: 25px;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.category-card-count {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 900;
}

.page-hero {
    margin-top: 0;
    max-width: none;
    padding-top: 74px;
    padding-bottom: 76px;
    color: #fff;
    background: linear-gradient(135deg, #7f1d1d, #f97316);
}

.page-hero > div {
    max-width: 1280px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
}

.page-hero p {
    max-width: 840px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.category-hero {
    background: linear-gradient(135deg, #7f1d1d, #c2410c, #d97706);
}

.rank-hero {
    background: linear-gradient(135deg, #111827, #7f1d1d, #c2410c);
}

.search-hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8, #0891b2);
}

.filter-tools {
    max-width: 780px;
    margin-top: 26px;
}

.filter-tools select {
    color: #111827;
    background: #fff;
}

.category-page-grid,
.search-grid {
    align-items: start;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    padding: 24px;
}

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

.category-overview-head h2 {
    margin: 8px 0;
    font-size: 30px;
}

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

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

.mini-link {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.mini-link img {
    height: 56px;
    border-radius: 10px;
}

.mini-link strong,
.mini-link small {
    display: block;
}

.mini-link small {
    color: var(--muted);
}

.rank-list.full {
    gap: 16px;
}

.rank-card {
    display: grid;
    grid-template-columns: 56px 120px 1fr 88px;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
}

.rank-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-size: 20px;
    font-weight: 900;
}

.rank-thumb {
    position: relative;
    height: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #fee2e2;
}

.rank-main p {
    display: -webkit-box;
    margin: 6px 0 10px;
    color: var(--muted);
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-score-big {
    color: var(--red);
    font-size: 24px;
    text-align: right;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    filter: blur(8px);
    transform: scale(1.05);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(127, 29, 29, 0.86), rgba(194, 65, 12, 0.80));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 34px;
    padding-bottom: 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #991b1b, #f97316);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34);
}

.detail-poster img {
    aspect-ratio: 4 / 5;
}

.detail-score {
    top: 14px;
    right: 14px;
}

.detail-copy h1 {
    font-size: clamp(38px, 6vw, 70px);
}

.detail-one-line {
    max-width: 920px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 21px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 18px;
}

.detail-meta-grid div {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.10);
}

.detail-meta-grid strong,
.detail-meta-grid span,
.detail-meta-grid a {
    display: block;
}

.detail-meta-grid strong {
    color: #fed7aa;
    font-size: 12px;
}

.detail-tags span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
}

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

.detail-main {
    padding: 24px;
}

.player-panel {
    margin-bottom: 28px;
}

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

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.52), rgba(0, 0, 0, 0.54));
    font: inherit;
    cursor: pointer;
}

.player-overlay span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    font-size: 34px;
    backdrop-filter: blur(10px);
}

.video-frame.is-playing .player-overlay {
    display: none;
}

.player-note {
    margin: 10px 0 0;
    color: var(--muted);
}

.detail-section {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.detail-section p {
    font-size: 18px;
}

.detail-side {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 20px;
}

.sitemap-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sitemap-block {
    padding: 24px;
}

.sitemap-block.wide {
    grid-column: 1 / -1;
}

.sitemap-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.sitemap-block li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f9fafb;
}

.sitemap-block li a:hover {
    background: #fff7ed;
    color: var(--red);
}

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

.sitemap-movies span {
    color: var(--muted);
    font-size: 13px;
}

.empty-tip {
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    margin-top: 58px;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
}

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

.site-footer p,
.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

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

[hidden] {
    display: none !important;
}

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 30px;
    }

    .two-column-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

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

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

    .main-nav {
        display: none;
    }

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

    .category-nav {
        display: none;
        padding-top: 12px;
    }

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

    .hero-shell,
    .hero-carousel {
        min-height: 760px;
    }

    .hero-slide {
        inset: 0 24px 92px;
        grid-template-columns: 1fr;
        align-content: center;
    }

    .hero-poster {
        width: min(72vw, 300px);
        justify-self: center;
    }

    .search-strip,
    .quick-search,
    .filter-tools,
    .section-heading,
    .detail-layout,
    .detail-meta-grid,
    .footer-grid,
    .sitemap-layout,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .search-strip,
    .quick-search,
    .filter-tools,
    .section-heading {
        display: grid;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .category-overview-grid,
    .sitemap-movies {
        grid-template-columns: 1fr;
    }

    .rank-card {
        grid-template-columns: 46px 86px 1fr;
    }

    .rank-score-big {
        grid-column: 1 / -1;
        text-align: left;
    }
}

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

    .brand {
        min-width: 0;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }

    .content-section {
        padding-top: 44px;
    }

    .movie-card-body,
    .detail-main,
    .side-card,
    .sitemap-block {
        padding: 16px;
    }
}
