:root {
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #ec4899;
    --pink-soft: #fdf2f8;
    --gray-950: #111827;
    --gray-900: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 10px 25px rgba(244, 63, 94, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(135deg, var(--gray-50), #fff1f5 48%, #fdf2f8);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
    backdrop-filter: blur(16px);
}

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--rose), var(--pink), #fb7185);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 650;
}

.desktop-nav a,
.mobile-panel a,
.site-footer a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover,
.site-footer a:hover {
    color: var(--rose);
}

.header-search {
    display: flex;
    align-items: center;
    width: 260px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 8px 12px;
    background: transparent;
    color: var(--gray-900);
}

.header-search button,
.large-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--white);
    font-weight: 700;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    cursor: pointer;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--pink-soft);
    cursor: pointer;
}

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

.mobile-panel {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding: 18px 16px 20px;
    background: rgba(255, 255, 255, 0.97);
}

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

.mobile-panel nav {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-panel form {
    display: flex;
    gap: 8px;
}

.mobile-panel input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    outline-color: var(--rose);
}

.mobile-panel button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--rose);
    color: var(--white);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose), var(--pink));
}

.hero-slides {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-backdrop,
.ranking-backdrop,
.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-backdrop::after,
.ranking-backdrop::after,
.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 28%), radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.18), transparent 30%);
}

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

.eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.hero-desc,
.hero-movie-desc,
.page-hero p,
.ranking-hero p,
.detail-line {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.hero-focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-focus span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.hero-focus strong {
    color: var(--white);
}

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

.hero-tags span,
.tag-row span,
.genre-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 850;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn.primary {
    background: var(--white);
    color: var(--rose);
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.btn.ghost.dark {
    background: rgba(17, 24, 39, 0.08);
    color: var(--gray-900);
    border-color: rgba(17, 24, 39, 0.08);
}

.btn.soft {
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-900);
}

.hero-poster,
.ranking-poster {
    position: relative;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.34);
    transform: rotate(2deg);
}

.hero-poster img,
.ranking-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.18);
}

.hero-poster span,
.ranking-poster strong {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.68);
    color: var(--white);
    backdrop-filter: blur(12px);
    font-weight: 850;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
}

.hero-controls button {
    border: 0;
    color: var(--white);
    cursor: pointer;
}

.hero-controls > button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 24px;
    line-height: 1;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.is-active {
    width: 26px;
    background: var(--white);
}

.category-strip {
    margin-top: -34px;
    position: relative;
    z-index: 4;
}

.category-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    border-radius: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.category-strip-inner strong {
    color: var(--gray-900);
    margin-right: 8px;
}

.category-strip-inner a,
.tag-cloud a,
.filter-chips button {
    border: 0;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #fff1f2, #fdf2f8);
    color: var(--rose);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-strip-inner a:hover,
.tag-cloud a:hover,
.filter-chips button:hover,
.filter-chips button.is-active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(90deg, #ffe4e6, #fce7f3);
}

.content-stack {
    display: grid;
    gap: 64px;
    padding: 66px 0 80px;
}

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

.section-heading h2,
.tag-panel h2,
.side-panel h2,
.player-section h2,
.story-card h2,
.meta-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 950;
    color: var(--gray-900);
}

.section-more {
    color: var(--rose);
    font-weight: 850;
}

.featured-grid,
.movie-grid,
.category-grid,
.overview-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

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

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

.movie-card {
    min-width: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(244, 63, 94, 0.18);
}

.movie-card a {
    display: block;
    height: 100%;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #fce7f3);
}

.poster-wrap img,
.movie-card > a > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.poster-label,
.rank-badge {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 850;
    color: var(--white);
    background: rgba(244, 63, 94, 0.9);
    backdrop-filter: blur(8px);
}

.poster-label {
    right: 12px;
}

.rank-badge {
    left: 12px;
}

.card-body,
.list-card-body,
.rank-card-body {
    padding: 16px;
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 780;
}

.movie-card h3 {
    margin: 9px 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-card p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span,
.genre-row span,
.detail-tags a {
    background: var(--pink-soft);
    color: var(--rose-dark);
}

.soft-panel,
.rank-panel,
.tag-panel {
    border-radius: var(--radius-xl);
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.82), rgba(253, 242, 248, 0.82));
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.08);
}

.horizontal-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 3px 3px 18px;
}

.horizontal-row .compact-card {
    width: 300px;
    flex: 0 0 auto;
}

.compact-link {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
}

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

.compact-card h3 {
    margin-top: 2px;
}

.compact-card span {
    color: var(--rose);
    font-size: 13px;
    font-weight: 800;
}

.list-card a {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0;
}

.list-card img {
    width: 150px;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

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

.rank-card a {
    display: grid;
    grid-template-columns: 62px 92px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
}

.rank-index {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    color: var(--white);
    font-weight: 950;
}

.rank-card img {
    width: 92px;
    height: 122px;
    object-fit: cover;
    border-radius: 14px;
}

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

.category-card,
.category-overview-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 22px;
    background: var(--white);
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(244, 63, 94, 0.15);
}

.category-covers,
.overview-covers {
    display: flex;
    min-height: 132px;
    margin-bottom: 18px;
}

.category-covers img,
.overview-covers img {
    width: 34%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    margin-right: -8%;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.16);
    background: var(--pink-soft);
}

.category-card h3,
.category-overview-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 950;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.category-samples span {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--rose);
    background: var(--pink-soft);
    font-size: 12px;
    font-weight: 800;
}

.tag-panel h2 {
    margin-bottom: 18px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    border-top: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--white), var(--gray-100));
}

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

.site-footer p {
    color: var(--gray-600);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 950;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--gray-600);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 18px 16px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

.page-hero,
.ranking-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    color: var(--white);
}

.page-hero .eyebrow,
.ranking-hero .eyebrow,
.detail-copy .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
    max-width: 900px;
}

.category-page-hero {
    background: linear-gradient(135deg, #fb7185, #ec4899 52%, #be185d);
}

.listing-section,
.search-listing {
    padding: 56px 0 84px;
}

.filter-panel {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
    border-radius: var(--radius-xl);
    padding: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

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

.filter-panel input,
.large-search input {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 14px 18px;
    outline-color: var(--rose);
    color: var(--gray-900);
    background: var(--white);
}

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

.empty-state {
    display: none;
    margin: 34px 0 0;
    border-radius: var(--radius-xl);
    padding: 38px;
    text-align: center;
    background: var(--white);
    color: var(--gray-600);
    box-shadow: var(--shadow);
}

.empty-state.is-visible {
    display: block;
}

.large-search {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

.search-tags {
    margin-bottom: 28px;
}

.category-overview-link {
    display: block;
}

.category-overview-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--gray-200);
}

.category-overview-card li a {
    color: var(--gray-700);
    font-weight: 780;
}

.category-overview-card li a:hover {
    color: var(--rose);
}

.ranking-hero {
    min-height: 430px;
    background: var(--gray-950);
}

.ranking-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 42px;
    z-index: 1;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 58px 0 84px;
}

.side-panel {
    position: sticky;
    top: 92px;
    align-self: start;
    border-radius: var(--radius-xl);
    padding: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.side-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.detail-hero {
    padding: 38px 0 64px;
    background: var(--gray-950);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 760;
}

.breadcrumb a:hover {
    color: var(--white);
}

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

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

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}

.detail-meta {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
    margin-top: 18px;
}

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

.detail-content {
    padding: 56px 0 84px;
}

.player-section,
.story-card,
.meta-card {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

.player-section {
    padding: 24px;
    margin-bottom: 30px;
}

.player-section h2 {
    margin-bottom: 18px;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #05070c;
    aspect-ratio: 16 / 9;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05070c;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(244, 63, 94, 0.24), rgba(0, 0, 0, 0.52));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 18px 48px rgba(244, 63, 94, 0.4);
    font-size: 36px;
    text-indent: 4px;
}

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

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

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

.story-card,
.meta-card {
    padding: 28px;
}

.story-card h2,
.meta-card h2 {
    margin: 0 0 16px;
}

.story-card p {
    margin: 0 0 26px;
    color: var(--gray-700);
    font-size: 17px;
    line-height: 2;
}

.meta-card dl {
    display: grid;
    gap: 14px;
    margin: 0 0 20px;
}

.meta-card dl div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.meta-card dt {
    color: var(--gray-500);
    font-weight: 850;
}

.meta-card dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 760;
}

.meta-card a {
    color: var(--rose);
}

.detail-neighbors {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.detail-neighbors a {
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 760;
}

.related-section {
    margin-top: 46px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.page-hero .container,
.detail-copy,
.ranking-hero-inner {
    animation: fadeIn 0.65s ease both;
}

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

    .menu-button {
        display: block;
    }

    .header-search {
        width: min(42vw, 280px);
    }

    .hero-content,
    .ranking-hero-inner,
    .detail-grid,
    .article-layout,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .ranking-poster,
    .detail-poster {
        max-width: 320px;
    }

    .side-panel {
        position: static;
    }

    .movie-grid.five-col,
    .movie-grid.four-col,
    .movie-grid.three-col,
    .featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .header-search {
        display: none;
    }

    .hero,
    .hero-slides,
    .hero-content {
        min-height: 700px;
    }

    .hero-content {
        align-content: center;
        gap: 26px;
        padding: 28px 0 72px;
    }

    .hero-copy h1,
    .page-hero h1,
    .ranking-hero h1,
    .detail-copy h1 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .hero-desc,
    .hero-movie-desc,
    .page-hero p,
    .ranking-hero p,
    .detail-line {
        font-size: 16px;
    }

    .movie-grid,
    .movie-grid.five-col,
    .movie-grid.four-col,
    .movie-grid.three-col,
    .movie-grid.two-col,
    .featured-grid,
    .category-grid,
    .overview-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .list-card a {
        grid-template-columns: 1fr;
    }

    .list-card img {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .rank-card a {
        grid-template-columns: 44px 82px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-card img {
        width: 82px;
        height: 108px;
    }

    .large-search {
        display: grid;
    }

    .soft-panel,
    .rank-panel,
    .tag-panel,
    .player-section,
    .story-card,
    .meta-card {
        padding: 20px;
    }
}

@media (max-width: 540px) {
    .movie-grid,
    .movie-grid.five-col,
    .movie-grid.four-col,
    .movie-grid.three-col,
    .movie-grid.two-col,
    .featured-grid,
    .category-grid,
    .overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-poster,
    .ranking-poster,
    .detail-poster {
        max-width: 260px;
    }

    .content-stack {
        gap: 42px;
        padding-top: 54px;
    }

    .page-hero,
    .ranking-hero,
    .detail-hero {
        padding: 58px 0;
    }

    .compact-link,
    .rank-card a {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .rank-index {
        display: none;
    }

    .meta-card dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
