:root {
    --bg: #fff7f8;
    --bg-soft: #fff1f2;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #ffe4e6;
    --pink: #ec4899;
    --red: #ef4444;
    --orange: #f97316;
    --gold: #f59e0b;
    --shadow: 0 18px 45px rgba(244, 63, 94, 0.15);
    --shadow-soft: 0 10px 30px rgba(31, 41, 55, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff7f8 0%, #f9fafb 42%, #ffffff 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 248, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(244, 63, 94, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand span:last-child {
    font-size: 1.18rem;
    background: linear-gradient(90deg, var(--pink), var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffe4e6, #fed7aa);
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.18);
}

.brand-mark svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--pink);
    stroke-width: 2.6;
    stroke-linejoin: round;
}

.brand-mark svg path:last-child {
    fill: var(--red);
    stroke: var(--red);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    font-size: 0.94rem;
    color: #4b5563;
    flex: 1;
}

.desktop-nav a {
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--red));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--red);
    transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px var(--line);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 10px;
    background: #374151;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    background: rgba(255, 247, 248, 0.98);
    border-top: 1px solid var(--line);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #4b5563;
}

.mobile-nav a:hover {
    background: #fff1f2;
    color: var(--red);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 70px;
    background: radial-gradient(circle at 10% 15%, rgba(236, 72, 153, 0.28), transparent 28%), radial-gradient(circle at 85% 25%, rgba(249, 115, 22, 0.28), transparent 32%), linear-gradient(135deg, #fff1f2 0%, #fff7ed 50%, #ffffff 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.22;
    animation: floatGlow 7s ease-in-out infinite;
}

.hero::before {
    width: 190px;
    height: 190px;
    left: 8%;
    top: 20%;
    background: var(--pink);
}

.hero::after {
    width: 240px;
    height: 240px;
    right: 8%;
    bottom: 8%;
    background: var(--orange);
    animation-delay: 1.8s;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-18px) scale(1.04);
    }
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
    align-items: center;
    gap: 38px;
}

.hero-copy {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--red);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.12);
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.65rem, 7vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, var(--pink), var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-slide-title {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2.6rem);
    letter-spacing: -0.04em;
}

.hero-desc {
    max-width: 690px;
    margin: 16px 0 24px;
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

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

.button-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--red), var(--orange));
    box-shadow: var(--shadow);
}

.button-secondary {
    color: #be123c;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.16), 0 10px 24px rgba(244, 63, 94, 0.08);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px) scale(1.02);
}

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

.hero-tags a,
.hero-tags span {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #4b5563;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.13);
}

.hero-stage {
    position: relative;
    min-height: 530px;
}

.hero-visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

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

.hero-poster-card {
    position: relative;
    height: 100%;
    min-height: 530px;
    overflow: hidden;
    border-radius: 32px;
    background: #111827;
    box-shadow: 0 30px 90px rgba(127, 29, 29, 0.28);
}

.hero-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

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

.hero-poster-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 15%, rgba(15, 23, 42, 0.35) 58%, rgba(15, 23, 42, 0.88) 100%);
}

.poster-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #ffffff;
}

.poster-caption strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.poster-caption span {
    color: rgba(255, 255, 255, 0.82);
}

.hero-dots {
    position: relative;
    z-index: 5;
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, var(--pink), var(--red));
}

.floating-strip {
    position: relative;
    z-index: 6;
    margin-top: -34px;
}

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

.feature-strip-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-strip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-strip-card img {
    width: 130px;
    height: 88px;
    border-radius: 18px;
    object-fit: cover;
}

.feature-strip-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.feature-strip-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-content {
    padding: 58px 0;
}

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

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--red);
    background: #fff1f2;
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

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

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 39, 0.78) 100%);
}

.play-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--red));
    font-weight: 800;
    font-size: 0.84rem;
    box-shadow: 0 10px 18px rgba(244, 63, 94, 0.25);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold), var(--red));
    font-weight: 900;
    box-shadow: 0 12px 20px rgba(245, 158, 11, 0.28);
}

.movie-info {
    padding: 16px;
}

.movie-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 900;
    transition: color 0.2s ease;
}

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

.movie-info p {
    min-height: 42px;
    margin: 8px 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #9f1239;
    font-size: 0.78rem;
    font-weight: 800;
}

.movie-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff1f2;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.75rem;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    border-radius: 28px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 241, 242, 0.9));
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -34px;
    top: -34px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(249, 115, 22, 0.18));
}

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

.category-tile strong {
    position: relative;
    display: block;
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.category-tile p {
    position: relative;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.category-tile span {
    position: relative;
    display: inline-flex;
    margin-top: 18px;
    color: var(--red);
    font-weight: 900;
}

.content-block {
    margin-top: 58px;
}

.filter-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.search-box {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    min-height: 48px;
    border-radius: 999px;
    background: #f9fafb;
    box-shadow: inset 0 0 0 1px #f3f4f6;
}

.search-box svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 2;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-controls select {
    min-height: 48px;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 0 36px 0 14px;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 800;
}

.hero-mini {
    padding: 54px 0;
    background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.22), transparent 36%), linear-gradient(135deg, #fff1f2, #fff7ed 55%, #ffffff);
    border-bottom: 1px solid var(--line);
}

.hero-mini h1 {
    max-width: 900px;
    margin: 14px 0 12px;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-mini p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #6b7280;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #be123c;
    font-weight: 800;
}

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

.player-card {
    overflow: hidden;
    border-radius: 30px;
    background: #111827;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.22);
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.72));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-play {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--red));
    box-shadow: 0 22px 38px rgba(244, 63, 94, 0.32);
}

.player-play svg {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    fill: #ffffff;
}

.detail-card {
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-card p {
    color: var(--muted);
    line-height: 1.85;
}

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

.detail-meta span {
    padding: 8px 11px;
    border-radius: 999px;
    color: #9f1239;
    background: #fff1f2;
    font-weight: 800;
    font-size: 0.88rem;
}

.prose-card {
    margin-top: 22px;
    padding: 26px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.prose-card h2 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.prose-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
}

.side-panel {
    position: sticky;
    top: 92px;
    height: fit-content;
}

.side-poster {
    overflow: hidden;
    border-radius: 26px;
    background: #111827;
    box-shadow: var(--shadow-soft);
}

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

.side-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.side-box h2,
.side-box h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
}

.info-list {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.info-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list strong {
    color: #374151;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 18px;
    background: #f9fafb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: #fff1f2;
    transform: translateX(3px);
}

.compact-card img {
    width: 72px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
}

.compact-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
}

.compact-card em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 0.8rem;
}

.pager-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.pager-links a {
    flex: 1;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    color: #be123c;
    font-weight: 900;
}

.site-footer {
    margin-top: 50px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fff7f8, #ffffff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 46px 0 28px;
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

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

.site-footer a:hover {
    color: var(--red);
}

.footer-bottom {
    padding: 18px 0 28px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

@media (max-width: 1080px) {
    .desktop-nav {
        gap: 13px;
        font-size: 0.86rem;
    }

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

    .hero-copy {
        min-height: auto;
    }

    .hero-stage,
    .hero-poster-card {
        min-height: 460px;
    }

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

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

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

    .side-panel {
        position: static;
    }
}

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

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

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

    .hero {
        padding-top: 40px;
    }

    .hero-stage,
    .hero-poster-card {
        min-height: 390px;
    }

    .feature-strip-card {
        grid-template-columns: 104px 1fr;
    }

    .feature-strip-card img {
        width: 104px;
        height: 76px;
    }

    .filter-panel {
        flex-direction: column;
        align-items: stretch;
    }

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

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

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

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

    .brand span:last-child {
        font-size: 1rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

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

    .hero-actions,
    .pager-links,
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-poster-card,
    .hero-stage {
        min-height: 320px;
    }

    .detail-card,
    .prose-card {
        padding: 20px;
        border-radius: 22px;
    }
}
