:root {
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #ec4899;
    --amber: #f59e0b;
    --purple: #8b5cf6;
    --green: #10b981;
    --blue: #3b82f6;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #fff1f5;
    --paper: #ffffff;
    --shadow: 0 18px 45px rgba(244, 63, 94, 0.13);
    --shadow-strong: 0 28px 80px rgba(17, 24, 39, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(135deg, #fff1f5 0%, #ffffff 40%, #fffbeb 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo__icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb7185, #e11d48);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.22);
}

.logo__text {
    font-size: 24px;
    background: linear-gradient(90deg, #f43f5e, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    position: relative;
    color: #374151;
    font-weight: 700;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--rose);
    transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--rose-dark);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    width: 100%;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    background: #fff;
}

.header-search input {
    width: 210px;
    border: 0;
    outline: 0;
    padding: 8px 8px 8px 14px;
    color: #374151;
}

.header-search button,
.hero-search button {
    border: 0;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    font-weight: 800;
    padding: 9px 18px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: #fff1f2;
    color: var(--rose-dark);
    padding: 8px 12px;
    font-size: 24px;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6 0%, #fff7ed 55%, #fff 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
    gap: 42px;
    padding: 86px 0 140px;
}

.hero__badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--rose-dark);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.12);
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.07em;
    background: linear-gradient(90deg, #be123c, #db2777, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__copy p {
    margin: 0 0 30px;
    max-width: 680px;
    color: #4b5563;
    font-size: 19px;
}

.hero-search {
    display: flex;
    width: min(100%, 620px);
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 14px;
    color: #374151;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    box-shadow: 0 15px 35px rgba(244, 63, 94, 0.24);
}

.btn-soft {
    color: #374151;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 15px 32px rgba(15, 23, 42, 0.08);
}

.btn-light {
    color: var(--rose-dark);
    background: #fff;
}

.hero-carousel {
    position: relative;
    min-height: 560px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.96fr 1fr;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.hero-slide__eyebrow {
    color: var(--rose-dark);
    font-size: 14px;
    font-weight: 900;
}

.hero-slide h2 {
    margin: 12px 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-slide p {
    margin: 0 0 18px;
    color: #4b5563;
}

.hero-slide__tags,
.movie-card__tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-slide__tags span,
.movie-card__tags span,
.tag-cloud span {
    padding: 5px 10px;
    border-radius: 999px;
    color: #9f1239;
    background: #ffe4e6;
    font-size: 12px;
    font-weight: 800;
}

.hero-slide .btn {
    width: fit-content;
    margin-top: 22px;
}

.hero-slide__poster {
    position: relative;
    overflow: hidden;
}

.hero-slide__poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

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

.hero-dots {
    position: absolute;
    left: 38px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: #f9a8d4;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.hero__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    opacity: 0.25;
    filter: blur(58px);
    animation: blob 8s ease-in-out infinite;
}

.hero__glow--one {
    top: 40px;
    left: 5%;
    background: #fb7185;
}

.hero__glow--two {
    top: 20px;
    right: 10%;
    background: #f472b6;
    animation-delay: 1.5s;
}

.hero__glow--three {
    bottom: 40px;
    left: 35%;
    background: #fbbf24;
    animation-delay: 3s;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(24px, -18px) scale(1.08);
    }
    66% {
        transform: translate(-18px, 22px) scale(0.94);
    }
}

.section {
    padding: 72px 0;
}

.section--white {
    background: #fff;
}

.section--soft {
    background: linear-gradient(135deg, #f9fafb, #fff1f2);
}

.section--warm {
    background: linear-gradient(135deg, #fffbeb, #fff1f2, #fdf2f8);
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading.center {
    text-align: center;
}

.section-heading.center .section-kicker {
    margin: 0 auto;
}

.section-heading.split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.section-heading h1,
.section-heading h2,
.page-hero h1 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.section-heading p,
.page-hero p {
    margin: 0;
    color: #6b7280;
    font-size: 17px;
}

.section-kicker {
    background: #ffe4e6;
    color: #be123c;
    box-shadow: none;
    font-size: 14px;
}

.section-kicker.purple {
    background: #ede9fe;
    color: #6d28d9;
}

.section-kicker.green {
    background: #d1fae5;
    color: #047857;
}

.section-kicker.amber {
    background: #fef3c7;
    color: #b45309;
}

.more-link {
    color: var(--rose-dark);
    font-weight: 900;
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 24px;
    color: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-card:hover,
.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.category-tile span,
.category-card span {
    display: block;
    margin-bottom: 12px;
    font-size: 34px;
}

.category-tile strong,
.category-card h2 {
    display: block;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.category-tile em,
.category-card p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-style: normal;
}

.category-tile--0,
.category-card:nth-child(6n + 1) {
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

.category-tile--1,
.category-card:nth-child(6n + 2) {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.category-tile--2,
.category-card:nth-child(6n + 3) {
    background: linear-gradient(135deg, #34d399, #14b8a6);
}

.category-tile--3,
.category-card:nth-child(6n + 4) {
    background: linear-gradient(135deg, #fb7185, #f472b6);
}

.category-tile--4,
.category-card:nth-child(6n + 5) {
    background: linear-gradient(135deg, #fbbf24, #f97316);
}

.category-tile--5,
.category-card:nth-child(6n + 6) {
    background: linear-gradient(135deg, #ef4444, #ec4899);
}

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

.category-card {
    min-height: 210px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #fef3c7);
}

.movie-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.movie-card__region {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #9f1239;
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 900;
}

.movie-card__body {
    padding: 18px;
}

.movie-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
}

.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-purple {
    background: #ede9fe;
    color: #6d28d9;
}

.badge-green {
    background: #d1fae5;
    color: #047857;
}

.badge-amber {
    background: #fef3c7;
    color: #b45309;
}

.badge-rose {
    background: #ffe4e6;
    color: #be123c;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.25;
}

.movie-card h3 a:hover {
    color: var(--rose-dark);
}

.movie-card p {
    display: -webkit-box;
    min-height: 50px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #6b7280;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card--featured .movie-card__poster {
    aspect-ratio: 16 / 10;
}

.movie-card--glass {
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(12px);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 44px;
    align-items: center;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 52px 74px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #ffe4e6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(244, 63, 94, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    border-color: #fb7185;
}

.rank-item__number {
    color: var(--rose-dark);
    font-size: 22px;
    font-weight: 950;
    text-align: center;
}

.rank-item img {
    width: 74px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
}

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

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

.rank-item strong {
    color: #111827;
}

.rank-item em {
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
}

.cta-section {
    padding: 78px 0;
    color: #fff;
    background: linear-gradient(135deg, #e11d48, #db2777);
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.cta-section p {
    margin: 0 auto 26px;
    max-width: 740px;
    color: #ffe4e6;
    font-size: 18px;
}

.page-hero {
    padding: 70px 0 54px;
    background: linear-gradient(135deg, #fff1f2, #fff7ed, #ffffff);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(160px, 220px));
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid #ffe4e6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    outline: 0;
    background: #fff;
    padding: 11px 12px;
    color: #374151;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #fb7185;
    box-shadow: 0 0 0 4px #ffe4e6;
}

.detail-page {
    padding: 34px 0 74px;
    background: #f9fafb;
}

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

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

.player-card,
.detail-content,
.side-card,
.detail-cover {
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.player-card {
    overflow: hidden;
    margin-bottom: 24px;
}

.player {
    position: relative;
    overflow: hidden;
    background: #020617;
}

.player__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(244, 63, 94, 0.4), rgba(2, 6, 23, 0.68));
    transition: opacity 0.22s ease;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    padding-left: 6px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 18px 45px rgba(244, 63, 94, 0.36);
    font-size: 34px;
}

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

.detail-content {
    padding: 28px;
}

.detail-badges,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-content h1 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.detail-lead {
    color: #4b5563;
    font-size: 18px;
}

.detail-meta {
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
}

.detail-content h2 {
    margin: 28px 0 10px;
    font-size: 24px;
}

.detail-content p {
    color: #4b5563;
}

.related-section {
    padding-bottom: 0;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.detail-nav a {
    flex: 1;
    padding: 18px;
    border-radius: 18px;
    color: #be123c;
    background: #fff;
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.08);
    font-weight: 900;
}

.detail-nav a:last-child {
    text-align: right;
}

.detail-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 22px;
}

.side-card {
    padding: 22px;
    margin-bottom: 22px;
}

.side-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.side-card a {
    display: block;
    padding: 10px 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 700;
}

.side-card a:hover {
    color: var(--rose-dark);
}

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

.ranking-panel {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.ranking-panel--wide {
    grid-column: 1 / -1;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 38px;
    padding: 54px 0 36px;
}

.footer-logo {
    color: #fff;
    font-size: 25px;
}

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

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

.site-footer a:not(.footer-logo) {
    display: block;
    margin: 8px 0;
    color: #9ca3af;
}

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

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 1100px) {
    .header-search {
        display: none;
    }

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

    .hero-carousel {
        min-height: 520px;
    }

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

@media (max-width: 820px) {
    .site-header__inner {
        min-height: 68px;
    }

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

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--shadow-strong);
    }

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

    .site-nav a {
        padding: 12px 10px;
    }

    .hero__inner {
        padding-top: 56px;
        padding-bottom: 96px;
    }

    .hero-search,
    .section-heading.split,
    .detail-nav {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-slide__poster {
        min-height: 230px;
        order: -1;
    }

    .hero-carousel {
        min-height: 660px;
    }

    .movie-grid--three,
    .featured-grid,
    .glass-grid,
    .rank-list--home,
    .ranking-layout,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 560px) {
    .container,
    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 22px, 1180px);
    }

    .logo__text {
        font-size: 20px;
    }

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

    .hero-carousel {
        min-height: 620px;
        border-radius: 24px;
    }

    .hero-slide__copy {
        padding: 24px;
    }

    .category-strip,
    .category-grid,
    .movie-grid--four {
        grid-template-columns: 1fr;
    }

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

    .rank-item img {
        width: 64px;
        height: 52px;
    }

    .detail-content,
    .side-card {
        padding: 20px;
    }
}
