* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #020617;
    color: #e2e8f0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.site-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.16);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.24);
    display: grid;
    place-items: center;
    transition: transform 0.7s ease, background 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(180deg);
    background: rgba(34, 211, 238, 0.24);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #22d3ee;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.brand-copy em {
    color: rgba(103, 232, 249, 0.78);
    font-size: 12px;
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #22d3ee;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(51, 65, 85, 0.6);
    color: #ffffff;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(51, 65, 85, 0.55);
    background: #0f172a;
}

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

.mobile-panel__inner {
    padding: 18px 0 24px;
    display: grid;
    gap: 14px;
}

.mobile-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.mobile-logo span {
    display: block;
    color: rgba(103, 232, 249, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.mobile-link {
    color: #cbd5e1;
    font-weight: 600;
    padding: 8px 0;
}

.mobile-link:hover,
.mobile-link.is-active {
    color: #22d3ee;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
    background: #020617;
}

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

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

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

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.35) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.35) 54%, rgba(2, 6, 23, 0.62) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 72px;
}

.hero-copy {
    width: min(720px, 100%);
    display: grid;
    gap: 22px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges a,
.hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
}

.hero-badges a {
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.14);
}

.hero h1,
.hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.hero p {
    margin: 0;
    max-width: 660px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: #06b6d4;
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.28);
}

.button-primary:hover {
    background: #0891b2;
    box-shadow: 0 20px 48px rgba(6, 182, 212, 0.42);
}

.button-muted {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
}

.button-muted:hover {
    background: rgba(51, 65, 85, 0.95);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow--prev {
    left: 20px;
}

.hero-arrow--next {
    right: 20px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.search-strip {
    background: linear-gradient(180deg, #020617, #0f172a);
    border-top: 1px solid rgba(51, 65, 85, 0.45);
    border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.search-strip__inner {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 28px;
    align-items: center;
    padding: 28px 0;
}

.search-strip strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 6px;
}

.search-strip p {
    margin: 0;
    color: #94a3b8;
}

.search-box,
.inline-filter {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.86);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.search-box input,
.inline-filter input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
}

.search-box button {
    border: 0;
    padding: 0 24px;
    color: #ffffff;
    background: #06b6d4;
    cursor: pointer;
    font-weight: 800;
}

.inline-filter {
    width: min(420px, 100%);
}

.inline-filter--wide {
    width: min(560px, 100%);
}

.section {
    padding: 72px 0;
}

.section-gradient {
    background: linear-gradient(180deg, #020617, #0f172a);
}

.section-gradient-reverse {
    background: linear-gradient(180deg, #0f172a, #020617);
}

.section-dark {
    background: #0f172a;
}

.section-deep {
    background: #020617;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-heading > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.14);
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.2;
}

.section-heading p {
    margin: 4px 0 0;
    color: #94a3b8;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.56);
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.45);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-4px) scale(1.015);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 24px 52px rgba(6, 182, 212, 0.16);
}

.movie-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

.movie-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.28), transparent);
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-card__tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #22d3ee;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

.movie-card__body {
    min-height: 112px;
    display: grid;
    gap: 7px;
    padding: 14px 16px 16px;
}

.movie-card__body strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.movie-card:hover .movie-card__body strong {
    color: #22d3ee;
}

.movie-card__body span {
    color: #cbd5e1;
    font-size: 13px;
}

.movie-card__body em {
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card--small .movie-card__body {
    min-height: 96px;
}

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

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

.category-card,
.category-overview-hero {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
    padding: 22px;
    background: #1e293b;
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.45);
}

.category-card img,
.category-overview-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.42s ease, opacity 0.42s ease;
}

.category-card span,
.category-overview-hero span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.28));
}

.category-card strong,
.category-card em,
.category-overview-hero strong,
.category-overview-hero em {
    position: relative;
}

.category-card strong,
.category-overview-hero strong {
    color: #ffffff;
    font-size: 23px;
    font-weight: 900;
}

.category-card em,
.category-overview-hero em {
    margin-top: 6px;
    color: #cbd5e1;
    font-style: normal;
    line-height: 1.55;
}

.category-card:hover img,
.category-overview-hero:hover img {
    transform: scale(1.08);
    opacity: 0.78;
}

.year-block {
    margin-top: 42px;
}

.year-block:first-of-type {
    margin-top: 0;
}

.year-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: #22d3ee;
    font-size: 24px;
}

.year-block h3 span {
    width: 5px;
    height: 32px;
    border-radius: 999px;
    background: #22d3ee;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

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

.rank-row,
.compact-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.52);
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover,
.compact-card:hover {
    background: rgba(30, 41, 59, 0.92);
    transform: translateY(-2px);
}

.rank-row b {
    width: 42px;
    flex: 0 0 42px;
    color: #22d3ee;
    font-size: 22px;
    text-align: center;
}

.rank-row img,
.compact-card img {
    width: 126px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
}

.compact-card img {
    width: 112px;
    height: 68px;
}

.rank-row__content,
.compact-card span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.rank-row strong,
.compact-card strong {
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row em {
    color: #94a3b8;
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-row span,
.compact-card em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.section-link {
    display: inline-flex;
    margin-top: 18px;
    color: #22d3ee;
    font-weight: 800;
}

.page-shell {
    min-height: 70vh;
    padding: 58px 0 76px;
    background: linear-gradient(180deg, #020617, #0f172a 45%, #020617);
}

.page-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 26px;
    margin-bottom: 36px;
    padding: 40px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(30, 41, 59, 0.78));
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.5), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.page-hero--compact {
    align-items: center;
}

.page-hero span {
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
    font-size: 12px;
}

.page-hero h1 {
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 17px;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.45);
}

.category-overview-hero {
    min-height: 230px;
    border-radius: 24px 24px 0 0;
    box-shadow: none;
}

.overview-preview {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.rank-page {
    max-width: 980px;
}

.search-status {
    margin: 0 0 22px;
    color: #22d3ee;
    font-size: 20px;
    font-weight: 900;
}

.detail-page {
    min-height: 80vh;
    padding: 28px 0 76px;
    background: #020617;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a {
    color: #22d3ee;
}

.breadcrumb strong {
    max-width: 48vw;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #cbd5e1;
}

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(51, 65, 85, 0.55);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.12), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.92);
    box-shadow: 0 18px 56px rgba(6, 182, 212, 0.42);
    font-size: 36px;
}

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

.detail-panel,
.side-card,
.poster-card {
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.48);
}

.detail-panel {
    padding: 28px;
}

.detail-title-row h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.15;
}

.detail-title-row p {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.detail-badges,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-badges a,
.detail-badges span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

.detail-badges a {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.14);
}

.tag-cloud span {
    min-height: 28px;
    border-radius: 999px;
    color: #94a3b8;
    font-size: 13px;
}

.detail-block {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(51, 65, 85, 0.7);
}

.detail-block h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 22px;
}

.detail-block p {
    margin: 0 0 12px;
    color: #cbd5e1;
    line-height: 1.9;
}

.detail-block .lead {
    color: #e2e8f0;
    font-size: 18px;
}

.review-box {
    padding: 20px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.62);
}

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

.poster-card {
    overflow: hidden;
    padding: 16px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.poster-card .button {
    width: 100%;
}

.side-card {
    padding: 18px;
}

.related-section {
    margin-top: 42px;
}

.filter-item.is-hidden {
    display: none;
}

.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(51, 65, 85, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 36px 0;
}

.footer-grid strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 8px;
}

.footer-grid p {
    margin: 0;
    max-width: 680px;
    color: #94a3b8;
}

.footer-grid nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-grid a {
    color: #cbd5e1;
}

.footer-grid a:hover {
    color: #22d3ee;
}

.footer-bottom {
    padding: 16px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

@media (min-width: 1400px) {
    .hero {
        height: 80vh;
    }
}

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

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

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

    .detail-side {
        position: static;
        grid-template-columns: minmax(0, 0.85fr) 1fr;
    }
}

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

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: 620px;
        height: 76vh;
    }

    .hero-arrow {
        display: none;
    }

    .search-strip__inner,
    .two-column,
    .page-hero,
    .category-overview-grid,
    .footer-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 28px;
    }
}

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

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

    .brand-copy em {
        display: none;
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding-bottom: 66px;
    }

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

    .hero-actions .button {
        flex: 1 1 150px;
        padding: 0 18px;
    }

    .section {
        padding: 52px 0;
    }

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

    .rank-row img,
    .compact-card img {
        width: 96px;
        height: 62px;
    }

    .rank-row b {
        display: none;
    }

    .detail-panel {
        padding: 20px;
    }

    .breadcrumb strong {
        max-width: 70vw;
    }
}
