:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --purple: #8b5cf6;
    --purple-dark: #7c3aed;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --orange: #f97316;
    --yellow: #facc15;
    --green: #10b981;
    --red: #ef4444;
    --text: #1f2937;
    --muted: #6b7280;
    --light: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.09);
    --radius-xl: 24px;
    --radius-lg: 18px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-logo-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #111827;
    background: var(--yellow);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
}

.nav-links a {
    opacity: 0.92;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fde68a;
    opacity: 1;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #ffffff;
    border-radius: 999px;
}

.hero-section {
    padding: 56px 0;
    background: linear-gradient(90deg, #fce7f3, #f3e8ff, #dbeafe);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 44px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.sub-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: transparent;
    background: linear-gradient(90deg, var(--pink-dark), var(--purple-dark));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy p,
.sub-hero p {
    max-width: 720px;
    margin: 0;
    color: #374151;
    font-size: 18px;
}

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

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

.primary-button {
    min-height: 48px;
    padding: 0 30px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.25);
}

.ghost-button {
    min-height: 48px;
    padding: 0 26px;
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.side-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.hero-search {
    display: flex;
    max-width: 620px;
    margin-top: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: 0;
    outline: 0;
}

.hero-search button {
    padding: 0 24px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    cursor: pointer;
    font-weight: 800;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    padding: 7px 13px;
    color: var(--purple-dark);
    background: linear-gradient(90deg, #fce7f3, #ede9fe);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 65px rgba(76, 29, 149, 0.26);
    transform: translateZ(0);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.hero-poster-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 30px;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.hero-poster-overlay span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(236, 72, 153, 0.9);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-poster-overlay h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.hero-poster-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    color: transparent;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
}

.section-link {
    flex: 0 0 auto;
    padding: 10px 18px;
    color: var(--purple-dark);
    background: #f5f3ff;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: #111827;
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img {
    transform: scale(1.1);
}

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(236, 72, 153, 0.9);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 46px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
}

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

.movie-card-body h3,
.wide-copy h3,
.rank-card h3,
.mini-movie-card h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card-body p,
.wide-copy p,
.rank-card p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta,
.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.meta-line.small {
    font-size: 12px;
}

.pastel-band {
    background: linear-gradient(90deg, #eff6ff, #faf5ff);
}

.wide-list {
    display: grid;
    gap: 22px;
}

.wide-movie-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.wide-poster {
    overflow: hidden;
    border-radius: 16px;
}

.wide-poster img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.wide-copy h3 {
    font-size: 26px;
}

.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 270px;
    gap: 22px;
    overflow-x: auto;
    padding: 6px 4px 22px;
    scroll-snap-type: x proximity;
}

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

.waterfall-band {
    background: linear-gradient(135deg, #fefce8, #fdf2f8, #faf5ff);
}

.waterfall-grid {
    column-count: 4;
    column-gap: 22px;
}

.waterfall-grid .movie-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 22px;
    break-inside: avoid;
}

.waterfall-grid .movie-card:nth-child(3n + 1) .poster-wrap img {
    aspect-ratio: 4 / 5;
}

.waterfall-grid .movie-card:nth-child(3n + 2) .poster-wrap img {
    aspect-ratio: 1 / 1;
}

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

.category-card,
.category-overview-card {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    color: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.16));
}

.category-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card > div {
    position: absolute;
    inset: auto 18px 18px;
}

.category-card h3,
.category-overview-copy h2 {
    margin: 0 0 8px;
    font-size: 25px;
}

.category-card p,
.category-overview-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.category-count {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.category-overview-card {
    min-height: 310px;
    padding: 22px;
}

.category-thumb-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    opacity: 0.72;
}

.category-thumb-stack img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.category-overview-copy {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
}

.category-overview-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    color: #111827;
    background: #fde68a;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.ranking-band {
    background: linear-gradient(90deg, #fff7ed, #fdf2f8);
}

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

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

.rank-card {
    display: grid;
    grid-template-columns: 58px 132px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-no {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    border-radius: 16px;
    font-weight: 900;
}

.rank-card img {
    width: 132px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
}

.sub-hero {
    padding: 64px 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}

.sub-hero h1 {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.sub-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.gradient-hero,
.search-hero,
.category-hero {
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
}

.from-pink-to-purple {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.from-rose-to-orange {
    background: linear-gradient(135deg, #f43f5e, #f97316);
}

.from-blue-to-purple {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.from-teal-to-blue {
    background: linear-gradient(135deg, #0d9488, #3b82f6);
}

.from-yellow-to-pink {
    background: linear-gradient(135deg, #eab308, #ec4899);
}

.from-red-to-orange {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.from-green-to-teal {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.from-indigo-to-cyan {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
}

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

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb.dark {
    color: rgba(255, 255, 255, 0.75);
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-box-large input,
.search-filter-row select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: var(--text);
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-box-large input:focus,
.search-filter-row select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.filter-panel button,
.search-box-large button {
    min-height: 46px;
    padding: 0 20px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
}

.filter-count {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 700;
}

.search-box-large {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 760px;
    margin-top: 24px;
}

.search-filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin-top: 14px;
}

.movie-top {
    padding: 28px 0;
    background: linear-gradient(180deg, #111827, #1f2937);
}

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

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.movie-player.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    color: #111827;
    background: #ffffff;
    border-radius: 999px;
    font-size: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.player-status {
    position: absolute;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 999px;
    font-size: 12px;
    pointer-events: none;
}

.detail-card,
.side-card,
.info-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.detail-card {
    margin-top: 24px;
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.detail-meta span {
    padding: 7px 12px;
    color: #374151;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.detail-block {
    margin-top: 24px;
}

.detail-block h2,
.side-card h2,
.info-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.detail-block p,
.info-card p {
    margin: 0;
    color: #374151;
    line-height: 1.85;
}

.review-block {
    padding: 22px;
    background: linear-gradient(135deg, #faf5ff, #fdf2f8);
    border-radius: 18px;
}

.tag-row.large span {
    padding: 9px 14px;
    font-size: 14px;
}

.movie-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 22px;
}

.side-card {
    padding: 20px;
}

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

.cover-card p {
    color: var(--muted);
}

.side-button {
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

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

.mini-movie-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.mini-movie-card img {
    width: 118px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-movie-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

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

.info-card {
    padding: 28px;
}

.site-footer {
    margin-top: 64px;
    color: #ffffff;
    background: linear-gradient(90deg, #111827, #1f2937, #111827);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
    padding: 44px 0;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 14px;
}

.site-footer h2 {
    color: transparent;
    background: linear-gradient(90deg, #f472b6, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-footer p,
.site-footer a {
    display: block;
    margin: 8px 0;
    color: #9ca3af;
    font-size: 14px;
}

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

.footer-slogan {
    color: #f9a8d4 !important;
    font-weight: 800;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

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

@media (max-width: 1024px) {
    .poster-grid,
    .more-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .waterfall-grid {
        column-count: 3;
    }

    .rank-list.compact,
    .movie-detail-layout,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .movie-sidebar {
        position: static;
    }
}

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

    .nav-links {
        position: absolute;
        top: 64px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.98), rgba(59, 130, 246, 0.98));
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

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

    .nav-links a {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.12);
    }

    .hero-grid,
    .wide-movie-card,
    .filter-panel,
    .search-box-large,
    .search-filter-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 36px 0;
    }

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

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

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

    .waterfall-grid {
        column-count: 2;
    }

    .rank-card {
        grid-template-columns: 44px 96px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-card img {
        width: 96px;
        height: 68px;
    }

    .site-logo {
        font-size: 20px;
    }
}

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

    .site-logo-text {
        max-width: 8em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-copy h1,
    .sub-hero h1 {
        font-size: 38px;
    }

    .poster-grid,
    .more-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .movie-card-body h3 {
        font-size: 15px;
    }

    .movie-card-body p {
        display: none;
    }

    .waterfall-grid {
        column-count: 1;
    }

    .horizontal-scroll {
        grid-auto-columns: 76vw;
    }

    .mini-movie-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .mini-movie-card img {
        width: 96px;
        height: 66px;
    }

    .detail-card,
    .side-card,
    .info-card {
        padding: 18px;
    }
}
