
:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --rose-700: #be123c;
    --pink-500: #ec4899;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    --indigo-600: #4f46e5;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
    --radius-lg: 18px;
    --radius-xl: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--purple-50) 0%, var(--white) 36%, var(--rose-50) 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(250, 245, 255, 0.96), rgba(255, 241, 242, 0.96));
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600));
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
    font-size: 16px;
}

.brand-text strong {
    display: block;
    font-size: 21px;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.brand-text small {
    display: block;
    margin-top: 2px;
    color: var(--gray-600);
    font-size: 12px;
}

.brand:hover .brand-text strong {
    color: var(--rose-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    padding: 25px 0 23px;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--rose-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose-700);
}

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

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--gray-700);
    font-size: 26px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(115deg, var(--rose-600), var(--pink-500), var(--purple-600));
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.2) 55%, rgba(17, 24, 39, 0.38));
}

.hero-content {
    position: relative;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: center;
    color: var(--white);
}

.hero-copy h1 {
    margin: 14px 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    margin: 0 0 28px;
    color: #ffe4e6;
    font-size: clamp(18px, 2vw, 25px);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .hero-kicker,
.detail-title-block .hero-kicker {
    color: #ffe4e6;
}

.hero-feature {
    max-width: 720px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-xl);
    background: rgba(17, 24, 39, 0.34);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.hero-feature h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.hero-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--rose-700), var(--rose-600));
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.btn-light {
    color: var(--rose-700);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(255, 255, 255, 0.2);
}

.btn.full {
    width: 100%;
}

.hero-panel {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
}

.hero-panel h3 {
    margin: 0 0 18px;
    font-size: 20px;
}

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

.hero-mini {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-mini:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateX(4px);
}

.hero-mini img {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-mini span {
    font-weight: 800;
    line-height: 1.4;
}

.quick-search {
    margin-top: -42px;
    position: relative;
    z-index: 4;
}

.search-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.search-strip strong,
.search-strip span {
    display: block;
}

.search-strip strong {
    font-size: 20px;
}

.search-strip span {
    margin-top: 4px;
    color: var(--gray-500);
}

.home-search {
    display: flex;
    min-width: min(520px, 100%);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
    background: var(--gray-50);
}

.home-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 20px;
    background: transparent;
}

.home-search button {
    border: 0;
    padding: 0 24px;
    color: var(--white);
    background: var(--rose-600);
    font-weight: 800;
    cursor: pointer;
}

.page-stack {
    padding: 70px 0;
}

.section {
    margin-bottom: 78px;
}

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

.section-title-row h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.03em;
}

.compact-row h2 {
    font-size: 30px;
}

.more-link {
    color: var(--rose-700);
    font-weight: 800;
}

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--purple-100));
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.poster-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(225, 29, 72, 0.92);
    font-size: 12px;
    font-weight: 800;
}

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

.card-tags,
.detail-pills,
.tag-cloud,
.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-tags span,
.detail-pills span,
.tag-cloud span,
.tag-line span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--rose-700);
    background: var(--rose-50);
    font-size: 12px;
    font-weight: 700;
}

.movie-card strong {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--gray-800);
    font-size: 17px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

.movie-card:hover strong {
    color: var(--rose-700);
}

.movie-card small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.genre-line {
    margin-top: auto;
    color: var(--gray-500);
    font-size: 12px;
}

.tag-line {
    min-height: 22px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.ranking-card,
.sidebar-card,
.detail-card,
.filter-panel,
.category-card,
.cta-panel {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.ranking-card {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.ranking-card h2,
.sidebar-card h2,
.detail-card h2 {
    margin: 8px 0 18px;
}

.rank-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.rank-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: var(--gray-50);
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
    background: var(--rose-50);
    transform: translateX(4px);
}

.rank-no {
    grid-row: span 2;
    color: var(--rose-600);
    font-size: 22px;
    font-weight: 900;
}

.rank-title {
    font-weight: 800;
}

.rank-meta {
    color: var(--gray-500);
    font-size: 12px;
}

.category-band {
    padding: 36px;
    border-radius: var(--radius-xl);
    background: linear-gradient(90deg, var(--rose-100), var(--purple-100));
}

.cta-panel {
    padding: 52px 24px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: 36px;
}

.cta-panel p {
    max-width: 760px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    padding: 70px 0;
}

.soft-hero {
    background: linear-gradient(135deg, var(--purple-50), var(--rose-50));
}

.gradient-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500), var(--purple-600));
}

.page-hero h1 {
    margin: 10px 0;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    line-height: 1.85;
}

.gradient-hero .eyebrow,
.gradient-hero .breadcrumb,
.gradient-hero .breadcrumb a {
    color: #ffe4e6;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--gray-600);
    font-size: 14px;
}

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

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

.category-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 10px;
    background: linear-gradient(135deg, var(--rose-100), var(--purple-100));
}

.category-preview img {
    aspect-ratio: 2 / 3;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.category-info {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.category-info strong {
    font-size: 21px;
}

.category-info small {
    color: var(--gray-600);
    line-height: 1.7;
}

.category-info em {
    color: var(--rose-700);
    font-style: normal;
    font-weight: 900;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 22px;
    margin-bottom: 18px;
}

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

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 0 14px;
    outline: 0;
    background: var(--gray-50);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.filter-panel button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    color: var(--white);
    background: var(--gray-900);
    font-weight: 800;
    cursor: pointer;
}

.result-count {
    margin: 0 0 24px;
    color: var(--gray-600);
}

.result-count strong {
    color: var(--rose-700);
}

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

.ranking-wide-row {
    display: grid;
    grid-template-columns: 72px 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-wide-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ranking-wide-row img {
    width: 92px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-index {
    color: var(--rose-600);
    font-size: 28px;
    font-weight: 950;
}

.ranking-copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.ranking-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-meta {
    color: var(--gray-500);
    white-space: nowrap;
}

.detail-main {
    background: linear-gradient(180deg, var(--purple-50), var(--white));
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
}

.detail-bg,
.detail-layer {
    position: absolute;
    inset: 0;
}

.detail-bg {
    background-position: center;
    background-size: cover;
    transform: scale(1.06);
    filter: blur(5px);
    opacity: 0.72;
}

.detail-layer {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.62), rgba(225, 29, 72, 0.48));
}

.detail-head {
    position: relative;
    padding: 48px 0 70px;
}

.detail-head .breadcrumb,
.detail-head .breadcrumb a {
    color: #ffe4e6;
}

.detail-head-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-poster {
    width: 260px;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.detail-title-block h1 {
    margin: 14px 0 16px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-title-block p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.85;
}

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

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18));
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
    box-shadow: 0 16px 38px rgba(225, 29, 72, 0.42);
    font-size: 28px;
}

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

.detail-card h2 {
    margin-top: 30px;
    font-size: 24px;
}

.detail-card h2:first-of-type {
    margin-top: 26px;
}

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

.lead-text {
    color: var(--gray-800);
    font-size: 18px;
    font-weight: 700;
}

.detail-card blockquote {
    margin: 0;
    padding: 22px 24px;
    border-left: 5px solid var(--rose-600);
    border-radius: 0 18px 18px 0;
    color: var(--gray-700);
    background: var(--rose-50);
    line-height: 2;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    padding: 22px;
}

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

.related-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--gray-50);
    transition: background 0.25s ease, transform 0.25s ease;
}

.related-item:hover {
    background: var(--rose-50);
    transform: translateX(4px);
}

.related-poster {
    overflow: hidden;
    border-radius: 12px;
}

.related-poster img {
    width: 112px;
    height: 74px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover img {
    transform: scale(1.08);
}

.related-item strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-item small {
    color: var(--gray-500);
}

.sitemap-list {
    columns: 4 220px;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    list-style: none;
}

.sitemap-list li {
    break-inside: avoid;
    margin: 0 0 10px;
}

.sitemap-list a {
    color: var(--gray-700);
}

.sitemap-list a:hover {
    color: var(--rose-700);
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(90deg, var(--gray-900), #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 20px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--white);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: #d1d5db;
    transition: color 0.25s ease;
}

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

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

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

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

    .hero-panel,
    .ranking-card,
    .detail-sidebar {
        position: static;
    }

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

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

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

    .header-inner {
        min-height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 70px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow-md);
    }

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

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

    .nav-link::after {
        display: none;
    }

    .nav-link.active,
    .nav-link:hover {
        background: var(--rose-50);
    }

    .hero,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        padding: 72px 0 92px;
        grid-template-columns: 1fr;
    }

    .hero-feature {
        padding: 20px;
    }

    .search-strip,
    .section-title-row,
    .footer-grid {
        flex-direction: column;
        align-items: stretch;
        display: flex;
    }

    .home-search {
        min-width: 100%;
        min-height: 46px;
    }

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

    .category-band {
        padding: 22px;
    }

    .category-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .ranking-wide-row {
        grid-template-columns: 48px 76px 1fr;
    }

    .ranking-wide-row img {
        width: 76px;
        height: 60px;
    }

    .ranking-meta {
        grid-column: 3;
        white-space: normal;
    }

    .detail-head-grid {
        grid-template-columns: 130px 1fr;
        gap: 18px;
    }

    .detail-poster {
        width: 130px;
        border-radius: 18px;
    }

    .detail-title-block p {
        font-size: 15px;
    }

    .detail-layout {
        padding-top: 28px;
    }

    .detail-card,
    .sidebar-card {
        padding: 20px;
    }
}

@media (max-width: 440px) {
    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .movie-card strong {
        min-height: 42px;
        font-size: 15px;
    }

    .tag-line {
        display: none;
    }

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

    .detail-poster {
        width: 180px;
    }
}
