:root {
    --rose-50: #fff1f2;
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --rose-500: #f43f5e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-soft: 0 20px 50px rgba(17, 24, 39, 0.12);
    --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 32%, #f9fafb 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.34);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(3deg);
}

.brand-copy strong,
.footer-brand strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
    background-clip: text;
    color: transparent;
}

.brand-copy small,
.footer-brand small {
    display: block;
    margin-top: 3px;
    color: var(--gray-500);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link,
.mobile-nav-link {
    color: var(--gray-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--pink-600);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.inline-filter input,
.search-toolbar input,
.search-toolbar select {
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-900);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 240px;
    padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.inline-filter input:focus,
.search-toolbar input:focus,
.search-toolbar select:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button,
.clear-search {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.22);
}

.mobile-menu-button {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--pink-600);
    background: var(--pink-100);
    font-weight: 800;
}

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

.mobile-panel-inner {
    padding: 18px 0;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--gray-50);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--pink-600);
    background: var(--pink-50);
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-stage,
.hero-slide {
    min-height: 680px;
}

.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-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(1.18) brightness(0.64);
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(236, 72, 153, 0.42), transparent 28%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62) 50%, rgba(17, 24, 39, 0.30));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: center;
    color: var(--white);
}

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

.hero-copy h1 {
    max-width: 820px;
    margin: 18px 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-line {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

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

.hero-tags span,
.pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--pink-600);
    background: var(--pink-50);
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.text-button,
.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 14px 34px rgba(236, 72, 153, 0.35);
}

.ghost-button {
    min-height: 48px;
    padding: 0 24px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-button.dark {
    color: var(--pink-600);
    border-color: var(--pink-100);
    background: var(--pink-50);
}

.primary-button:hover,
.ghost-button:hover,
.card-action:hover,
.text-button:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    background: rgba(236, 72, 153, 0.86);
    backdrop-filter: blur(10px);
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

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

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

.stats-strip div {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.stats-strip strong {
    display: block;
    color: var(--pink-600);
    font-size: 32px;
    line-height: 1;
}

.stats-strip span {
    display: block;
    margin-top: 8px;
    color: var(--gray-500);
    font-weight: 700;
}

.content-section,
.page-main {
    padding-top: 64px;
}

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

.section-heading.narrow {
    margin-bottom: 18px;
}

.section-heading h2,
.page-hero h1,
.ranking-panel h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading a,
.text-button {
    color: var(--pink-600);
    font-weight: 900;
}

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

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink-100);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--gray-100);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.08) rotate(1deg);
}

.poster-shine {
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.68));
}

.movie-type,
.rank-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(236, 72, 153, 0.92);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.rank-badge {
    left: 12px;
    right: auto;
    background: rgba(17, 24, 39, 0.78);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

.card-action {
    margin-top: auto;
    min-height: 36px;
    padding: 0 14px;
    color: var(--pink-600);
    background: var(--pink-50);
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(155deg, #111827, #31203b 48%, #831843);
    box-shadow: var(--shadow-soft);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 32px 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(3px);
}

.rank-number {
    color: var(--pink-100);
    font-weight: 900;
}

.rank-row img {
    width: 56px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-text strong,
.rank-text small {
    display: block;
}

.rank-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-text small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

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

.category-tile,
.category-overview-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile {
    padding: 16px;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.16);
}

.category-thumbs,
.category-cover {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 14px;
}

.category-thumbs img,
.category-cover img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
}

.category-tile strong,
.category-tile span,
.category-tile p {
    display: block;
}

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

.category-tile span {
    margin-top: 4px;
    color: var(--pink-600);
    font-weight: 800;
}

.category-tile p {
    margin: 8px 0 0;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
}

.page-main {
    padding-bottom: 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
    color: var(--gray-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink-600);
    font-weight: 800;
}

.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: var(--gray-500);
}

.page-hero {
    padding: 48px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 86% 18%, rgba(236, 72, 153, 0.20), transparent 28%),
        linear-gradient(135deg, #ffffff, #fff1f8);
    box-shadow: var(--shadow-soft);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--gray-500);
    font-size: 17px;
    line-height: 1.8;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

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

.category-cover img {
    aspect-ratio: 2 / 3;
}

.category-overview-card h2 {
    margin: 8px 0;
}

.category-overview-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

.inline-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.inline-filter label {
    color: var(--gray-700);
    font-weight: 800;
}

.inline-filter input {
    width: min(360px, 100%);
    padding: 12px 16px;
}

.search-toolbar {
    position: sticky;
    top: 84px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px auto auto;
    gap: 14px;
    align-items: end;
    margin: 28px 0;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.search-toolbar label span {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
}

.search-toolbar input,
.search-toolbar select {
    width: 100%;
    padding: 12px 14px;
}

.search-count {
    color: var(--pink-600);
    white-space: nowrap;
}

.ranking-wide-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 82% 20%, rgba(236, 72, 153, 0.35), transparent 28%),
        linear-gradient(135deg, #111827, #30223f 54%, #831843);
    box-shadow: var(--shadow-soft);
}

.detail-poster {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
    margin: 14px 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 860px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.player-section {
    padding-top: 48px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #06070a;
    box-shadow: var(--shadow-soft);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: var(--white);
    cursor: pointer;
    background:
        radial-gradient(circle at center, rgba(236, 72, 153, 0.40), transparent 34%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.34), rgba(17, 24, 39, 0.72));
}

.play-icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 20px 46px rgba(236, 72, 153, 0.42);
    font-size: 34px;
    text-indent: 6px;
}

.player-start strong {
    font-size: 24px;
}

.player-start small {
    color: rgba(255, 255, 255, 0.76);
}

.player-shell.is-playing .player-start {
    display: none;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    color: var(--white);
    font-size: 13px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 40px;
}

.prose-card {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.prose-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
}

.prose-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 2;
}

.site-footer {
    margin-top: 80px;
    padding: 48px 0 22px;
    color: var(--white);
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 34px;
}

.site-footer p,
.site-footer a,
.site-footer small {
    color: rgba(255, 255, 255, 0.68);
}

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

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

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

.footer-links a:hover {
    color: var(--pink-100);
}

.footer-stat {
    color: var(--pink-100) !important;
    font-weight: 800;
}

.copyright {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

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

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

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

    .two-column-section,
    .detail-hero,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }

    .hero-content {
        grid-template-columns: 1fr 260px;
    }
}

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

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

    .hero,
    .hero-stage,
    .hero-slide,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 48px;
        padding-bottom: 72px;
    }

    .hero-poster {
        width: min(260px, 78vw);
        transform: rotate(0deg);
    }

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

    .movie-grid,
    .catalog-grid,
    .featured-grid,
    .related-grid,
    .ranking-wide-list,
    .category-grid,
    .category-overview-grid,
    .detail-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .search-toolbar {
        position: static;
        grid-template-columns: 1fr;
    }

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

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

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

    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .mobile-nav {
        grid-template-columns: 1fr;
    }

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

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

    .stats-strip,
    .movie-grid,
    .catalog-grid,
    .featured-grid,
    .related-grid,
    .ranking-wide-list,
    .category-grid,
    .category-overview-grid,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-hero {
        padding: 20px;
    }

    .play-icon {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }
}
