:root {
    --color-primary: #e11d48;
    --color-primary-dark: #be123c;
    --color-secondary: #db2777;
    --color-dark: #111827;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff1f2;
    --color-line: #e5e7eb;
    --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --max-width: 1180px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

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

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

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

button,
input {
    font: inherit;
}

.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.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.site-header-inner {
    width: min(100% - 32px, var(--max-width));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 12px 22px rgba(225, 29, 72, 0.28);
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    padding: 10px 14px;
    color: #4b5563;
    font-weight: 700;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-primary);
    background: var(--color-soft);
}

.header-search {
    display: flex;
    align-items: center;
    width: 290px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #ffffff;
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.hero-search input,
.page-search input,
.local-filter {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text);
}

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

.header-search button,
.mobile-search button,
.hero-search button,
.page-search button {
    border: 0;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    cursor: pointer;
    transition: 0.2s ease;
}

.header-search button {
    align-self: stretch;
    padding: 0 16px;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.page-search button:hover,
.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(225, 29, 72, 0.25);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-dark);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-menu.is-open {
    display: grid;
    gap: 10px;
}

.mobile-search {
    display: flex;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.mobile-search input {
    padding: 12px 14px;
}

.mobile-search button {
    padding: 0 18px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f9fafb;
    font-weight: 800;
}

.mobile-link.is-active {
    color: var(--color-primary);
    background: var(--color-soft);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(244, 63, 94, 0.18), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(219, 39, 119, 0.16), transparent 32%),
        linear-gradient(135deg, #fff1f2 0%, #fdf2f8 45%, #eef2ff 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--max-width));
    min-height: 680px;
    margin: 0 auto;
    padding: 58px 0 74px;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 38px;
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(30px);
    opacity: 0.38;
}

.hero-glow-one {
    left: -120px;
    top: 120px;
    background: #fb7185;
}

.hero-glow-two {
    right: -120px;
    bottom: 80px;
    background: #a78bfa;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title-block h1,
.page-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(38px, 7vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.hero-title-block p,
.page-hero p {
    color: #4b5563;
    font-size: 18px;
}

.hero-search,
.page-search {
    display: flex;
    width: min(100%, 560px);
    margin-top: 28px;
    padding: 7px;
    border: 1px solid rgba(244, 63, 94, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card);
}

.hero-search input,
.page-search input {
    padding: 14px 18px;
}

.hero-search button,
.page-search button {
    padding: 0 24px;
    border-radius: 999px;
    white-space: nowrap;
}

.hero-slider {
    position: relative;
    min-height: 540px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 24px;
    padding: 28px;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: 0.45s ease;
}

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

.hero-copy h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
    background: var(--color-soft);
}

.hero-badges,
.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hero-badges span,
.movie-tags span,
.detail-tags span {
    padding: 5px 10px;
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: #ffe4e6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.ghost-button {
    color: #374151;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(229, 231, 235, 0.88);
}

.ghost-button:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 55px rgba(17, 24, 39, 0.22);
    background: linear-gradient(135deg, #fecdd3, #e0e7ff);
}

.hero-poster img,
.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hero-poster:hover img,
.movie-card:hover .movie-cover img {
    transform: scale(1.05);
}

.hero-controls {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrow,
.hero-dot {
    pointer-events: auto;
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    color: var(--color-primary);
    font-size: 30px;
    line-height: 1;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.3);
    transition: 0.2s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--color-primary);
}

.feature-strip {
    width: min(100% - 32px, var(--max-width));
    margin: -42px auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-strip a {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(229, 231, 235, 0.82);
    transition: 0.2s ease;
}

.feature-strip a:hover,
.movie-card:hover,
.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.feature-strip strong {
    display: block;
    color: #111827;
    font-size: 20px;
}

.feature-strip span {
    color: var(--color-muted);
}

.section-wrap {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 72px 0;
}

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

.section-head h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.05em;
}

.section-head a {
    color: var(--color-primary);
    font-weight: 900;
}

.centered {
    justify-content: center;
    text-align: center;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    transition: 0.25s ease;
}

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

.score-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(12px);
}

.movie-content {
    padding: 16px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
}

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

.movie-content h3 a:hover,
.rank-title:hover,
.category-preview-links a:hover,
.footer-links a:hover {
    color: var(--color-primary);
}

.movie-content p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

.movie-card-compact .movie-cover {
    aspect-ratio: auto;
    min-height: 142px;
}

.movie-card-compact .movie-content h3 {
    font-size: 16px;
}

.movie-card-compact .movie-tags {
    display: none;
}

.category-band {
    padding: 72px 16px;
    background: linear-gradient(135deg, #eef2ff, #fdf2f8 50%, #fff1f2);
}

.category-grid,
.category-overview-grid {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-card,
.category-overview-card {
    min-height: 178px;
    padding: 22px;
    color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: 0.25s ease;
}

.category-card span,
.category-overview-main span {
    display: inline-flex;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-card strong {
    display: block;
    margin-top: 16px;
    font-size: 19px;
    line-height: 1.35;
}

.category-card em {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    font-size: 13px;
}

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

.from-indigo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.from-emerald {
    background: linear-gradient(135deg, #10b981, #0f766e);
}

.from-amber {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

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

.from-cyan {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

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

.from-teal {
    background: linear-gradient(135deg, #14b8a6, #047857);
}

.from-fuchsia {
    background: linear-gradient(135deg, #d946ef, #e11d48);
}

.from-blue {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

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

.ranking-panel,
.story-card {
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.ranking-panel {
    padding: 22px;
}

.sticky-panel {
    position: sticky;
    top: 92px;
}

.compact-head {
    align-items: center;
    margin-bottom: 16px;
}

.compact-head h2 {
    font-size: 24px;
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 13px 0;
    border-bottom: 1px solid #f3f4f6;
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.rank-title {
    color: #111827;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    grid-column: 2;
    color: var(--color-muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.large-rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    padding: 20px 26px;
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.page-hero {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 74px 0 34px;
}

.small-page-hero {
    text-align: center;
}

.small-page-hero p {
    max-width: 760px;
    margin: 16px auto 0;
}

.category-page-hero,
.ranking-hero,
.search-hero {
    width: min(100% - 32px, var(--max-width));
    margin-top: 32px;
    padding: 54px;
    color: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.category-page-hero h1,
.category-page-hero p,
.category-page-hero .section-kicker,
.ranking-hero h1,
.ranking-hero p,
.ranking-hero .section-kicker,
.search-hero h1,
.search-hero p,
.search-hero .section-kicker {
    color: #ffffff;
}

.category-page-hero .page-search,
.search-hero .page-search {
    margin-left: auto;
    margin-right: auto;
}

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

.category-overview-card {
    min-height: 230px;
    display: grid;
    gap: 18px;
}

.category-overview-main h2 {
    margin: 18px 0 8px;
    font-size: 28px;
}

.category-overview-main p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
}

.category-overview-main strong {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.94);
}

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

.category-preview-links a {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.local-filter {
    max-width: 260px;
    padding: 12px 15px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #ffffff;
}

.breadcrumb {
    width: min(100% - 32px, var(--max-width));
    margin: 22px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-muted);
    font-size: 14px;
}

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

.detail-layout {
    width: min(100% - 32px, var(--max-width));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 26px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.28);
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 24px;
    color: #ffffff;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.78));
    transition: 0.25s ease;
    z-index: 3;
}

.player-cover:hover {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.68));
}

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

.play-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    color: var(--color-primary);
    font-size: 30px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.player-cover strong {
    font-size: 22px;
}

.player-cover em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.84);
}

.detail-info {
    padding: 30px;
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

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

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.detail-meta-list li {
    padding: 12px;
    border-radius: 15px;
    background: #f9fafb;
}

.detail-meta-list span {
    display: block;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
}

.detail-meta-list strong {
    color: #111827;
}

.article-section {
    padding-top: 34px;
    padding-bottom: 0;
}

.story-card {
    padding: 32px;
}

.story-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 26px;
}

.story-card h2:not(:first-child) {
    margin-top: 28px;
}

.story-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.site-footer {
    margin-top: 40px;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 0.85fr 0.9fr;
    gap: 28px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

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

.footer-links a {
    color: #9ca3af;
}

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

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

.empty-state {
    grid-column: 1 / -1;
    padding: 44px;
    color: var(--color-muted);
    text-align: center;
    border: 1px dashed #d1d5db;
    border-radius: 22px;
    background: #ffffff;
}

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

    .hero-inner,
    .detail-layout,
    .split-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .hero-inner {
        min-height: auto;
        padding: 44px 0 80px;
    }

    .hero-slider {
        min-height: 620px;
    }

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

    .hero-poster {
        max-width: 280px;
        margin: 0 auto;
    }

    .feature-strip,
    .category-overview-grid,
    .large-rank-list {
        grid-template-columns: 1fr;
    }

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

    .category-page-hero,
    .ranking-hero,
    .search-hero {
        padding: 34px 24px;
    }

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

    .local-filter {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .site-header-inner {
        height: 64px;
    }

    .brand-text {
        font-size: 18px;
    }

    .hero-title-block h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-search,
    .page-search {
        border-radius: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search button,
    .page-search button {
        min-height: 44px;
    }

    .hero-slide {
        padding: 18px;
        min-height: 620px;
    }

    .hero-controls {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .feature-strip,
    .movie-grid,
    .movie-list-grid,
    .category-grid,
    .detail-meta-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-info,
    .story-card,
    .ranking-panel {
        padding: 22px;
    }

    .section-wrap {
        padding: 48px 0;
    }
}
