:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --accent-500: #f43f5e;
    --secondary-500: #f59e0b;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.16);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--neutral-50);
    color: var(--neutral-900);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

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

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

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--neutral-600);
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 4px;
    border: 1px solid var(--neutral-200);
    border-radius: 14px;
    background: var(--white);
}

.header-search input {
    width: 220px;
    border: 0;
    outline: 0;
    padding: 8px 10px;
    background: transparent;
}

.header-search button,
.big-search button,
.quick-search button {
    border: 0;
    border-radius: 11px;
    padding: 9px 14px;
    color: var(--white);
    background: var(--primary-600);
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--neutral-200);
    background: var(--white);
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
}

.mobile-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--neutral-50);
    color: var(--neutral-700);
    font-weight: 700;
}

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

.hero-slider {
    position: relative;
    height: min(60vh, 650px);
    min-height: 430px;
    overflow: hidden;
    background: var(--neutral-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 35%, rgba(59, 130, 246, 0.22), transparent 30%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.08));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 650px;
    color: var(--white);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-100);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

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

.hero-tags span,
.detail-tags span,
.mini-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.section-more,
.text-link,
.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.primary-btn {
    min-height: 46px;
    padding: 0 22px;
    color: var(--white);
    background: var(--primary-600);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

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

.ghost-btn {
    min-height: 46px;
    padding: 0 20px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.42);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}

.quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: center;
    margin-top: -34px;
    padding: 24px;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.quick-search .eyebrow,
.section-heading .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
    color: var(--primary-600);
}

.quick-search h2 {
    margin: 4px 0 6px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}

.quick-search p {
    margin: 0;
    color: var(--neutral-600);
}

.quick-search form,
.big-search {
    display: flex;
    gap: 10px;
    padding: 6px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    background: var(--white);
}

.quick-search input,
.big-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 12px 14px;
    background: transparent;
}

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

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

.section-heading h2 {
    margin: 4px 0 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.section-more,
.text-link {
    color: var(--primary-700);
}

.poster-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 210px);
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 18px;
    scroll-snap-type: x proximity;
}

.poster-row .movie-card {
    scroll-snap-align: start;
}

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: 0.22s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--neutral-200);
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.06);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent);
}

.score,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
}

.score {
    right: 10px;
    bottom: 10px;
    background: var(--secondary-500);
}

.rank-badge {
    top: 10px;
    left: 10px;
    background: var(--accent-500);
}

.movie-card-body {
    padding: 13px 13px 15px;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 7px;
    overflow: hidden;
    color: var(--neutral-900);
    font-size: 15px;
    line-height: 1.38;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-card p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--neutral-600);
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--neutral-500);
    font-size: 12px;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 7px;
}

.mini-tags {
    margin-top: 10px;
}

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

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 20px;
    color: var(--white);
    background: var(--neutral-800);
    box-shadow: var(--shadow-sm);
}

.category-tile img,
.category-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-tile img {
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.45s ease;
}

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

.category-glow {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.12));
}

.category-tile strong,
.category-tile em,
.category-tile small {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 22px;
}

.category-tile em {
    font-style: normal;
    color: var(--primary-100);
    font-weight: 800;
}

.category-tile small {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 60px 82px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.ranking-number {
    color: var(--primary-600);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.ranking-cover {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--neutral-200);
}

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

.ranking-copy h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.ranking-copy p {
    margin: 0 0 8px;
    color: var(--neutral-600);
}

.ranking-copy div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--neutral-500);
    font-size: 13px;
}

.ranking-item > strong {
    color: var(--secondary-500);
    font-size: 20px;
}

.page-hero {
    padding: 70px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(244, 63, 94, 0.24), transparent 25%),
        linear-gradient(135deg, var(--primary-700), var(--neutral-900));
}

.page-hero-compact {
    padding: 48px 0;
}

.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

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

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

.category-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
}

.pill-link {
    padding: 8px 12px;
    background: var(--white);
    color: var(--neutral-700);
    box-shadow: var(--shadow-sm);
}

.pill-link.is-current,
.pill-link:hover {
    color: var(--white);
    background: var(--primary-600);
}

.filter-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 14px;
    background: var(--white);
}

.filter-box span {
    color: var(--neutral-500);
    font-size: 13px;
    font-weight: 800;
}

.filter-box input {
    width: min(290px, 45vw);
    border: 0;
    outline: 0;
    background: transparent;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.category-mosaic img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: var(--neutral-200);
}

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

.category-overview-copy p {
    margin: 0 0 12px;
    color: var(--neutral-600);
}

.category-overview-copy span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--neutral-900);
}

.detail-bg,
.detail-bg-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-bg {
    object-fit: cover;
    filter: blur(12px);
    opacity: 0.45;
    transform: scale(1.08);
}

.detail-bg-shade {
    background:
        radial-gradient(circle at 82% 20%, rgba(59, 130, 246, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72));
}

.detail-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 38px 0 46px;
}

.detail-hero-inner .breadcrumb {
    grid-column: 1 / -1;
}

.detail-cover {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.detail-copy h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.detail-copy p {
    max-width: 760px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.detail-copy .primary-btn {
    margin-top: 22px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    padding-top: 34px;
}

.detail-main,
.detail-side {
    min-width: 0;
}

.movie-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000000;
    box-shadow: var(--shadow-md);
}

.movie-player video,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player video {
    z-index: 1;
    background: #000000;
}

.player-cover {
    z-index: 2;
    cursor: pointer;
    background: #000000;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.62;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.24), transparent 36%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.2));
}

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

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--primary-600);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-size: 32px;
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: none;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.72);
    text-align: center;
}

.player-message.is-visible {
    display: block;
}

.article-block,
.side-card {
    margin-top: 22px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.article-block h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
}

.article-block p {
    margin: 0;
    color: var(--neutral-700);
    white-space: pre-line;
}

.side-card {
    position: sticky;
    top: 92px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0;
}

.side-card dt {
    color: var(--neutral-500);
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    color: var(--neutral-900);
}

.search-hero .big-search {
    max-width: 760px;
    margin-top: 24px;
}

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

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

.brand-footer .brand-text strong {
    color: var(--white);
}

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

.footer-group h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 17px;
}

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

.footer-group a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--neutral-400);
    text-align: center;
}

.is-hidden-by-filter {
    display: none !important;
}

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

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

@media (max-width: 900px) {
    .main-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .quick-search,
    .detail-layout,
    .footer-inner,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        grid-template-columns: 150px minmax(0, 1fr);
    }

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

@media (max-width: 700px) {
    .hero-slider {
        min-height: 520px;
        height: 72vh;
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 76px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search {
        margin-top: 0;
        border-radius: 0;
        width: 100%;
    }

    .quick-search form,
    .big-search {
        flex-direction: column;
    }

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

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

    .category-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-box,
    .filter-box input {
        width: 100%;
    }

    .ranking-item {
        grid-template-columns: 42px 72px minmax(0, 1fr);
    }

    .ranking-item > strong {
        grid-column: 3;
    }

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

    .detail-cover {
        width: min(210px, 65vw);
    }

    .detail-copy h1,
    .page-hero h1 {
        font-size: 36px;
    }

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

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

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

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

    .poster-row {
        grid-auto-columns: minmax(148px, 42vw);
    }

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

    .article-block,
    .side-card {
        padding: 18px;
    }
}
