:root {
    color-scheme: light;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --rose-700: #be123c;
    --pink-500: #ec4899;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(190, 18, 60, 0.16);
    --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.10);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --page-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    color: var(--slate-900);
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 26%, #fff8f0 100%);
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(244, 63, 94, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(190, 18, 60, 0.08);
}

.nav-wrap {
    width: min(var(--page-width), calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--rose-700);
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-400));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.34);
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
}

.nav-link,
.nav-drop-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--slate-600);
    border: 0;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
    color: var(--rose-700);
    background: var(--rose-50);
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 210px;
    padding: 12px;
    display: grid;
    gap: 4px;
    background: white;
    border: 1px solid var(--rose-100);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-drop-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-drop-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--slate-600);
}

.nav-drop-panel a:hover {
    color: var(--rose-700);
    background: var(--rose-50);
}

.top-search {
    display: flex;
    align-items: center;
    width: min(360px, 32vw);
    background: white;
    border: 1px solid var(--rose-100);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.10);
}

.top-search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--slate-800);
}

.top-search button,
.big-search button,
.inline-filter button {
    border: 0;
    color: white;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button {
    align-self: stretch;
    padding: 0 18px;
}

.top-search button:hover,
.big-search button:hover,
.inline-filter button:hover,
.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.24);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: var(--rose-700);
    background: var(--rose-50);
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: white;
    background: var(--slate-900);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 28%, rgba(236, 72, 153, 0.48), transparent 34%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(88, 28, 55, 0.72) 48%, rgba(15, 23, 42, 0.30) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.92), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--page-width), calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 54px;
    padding: 96px 0 74px;
}

.hero-copy {
    max-width: 740px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 12px;
    color: var(--rose-700);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.hero h1,
.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(44px, 8vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

.hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.9;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span {
    padding: 7px 11px;
    color: var(--rose-700);
    background: var(--rose-50);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.outline-link,
.card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-400));
    box-shadow: 0 16px 38px rgba(244, 63, 94, 0.36);
}

.ghost-button {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-4px);
}

.hero-poster img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 14px;
    color: white;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 36px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
    background: white;
}

.quick-search-band,
.page-section,
.page-hero,
.ranking-hero-grid,
.breadcrumbs,
.watch-layout {
    width: min(var(--page-width), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.quick-search-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 28px;
    align-items: center;
    margin-top: -48px;
    position: relative;
    z-index: 5;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(244, 63, 94, 0.12);
    backdrop-filter: blur(18px);
}

.quick-search-band h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.quick-search-band p {
    margin: 0;
    color: var(--slate-600);
}

.big-search,
.inline-filter {
    display: flex;
    background: white;
    border: 1px solid var(--rose-100);
    border-radius: 999px;
    overflow: hidden;
}

.big-search input,
.inline-filter input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: var(--slate-800);
    background: white;
}

.big-search input,
.big-search button,
.inline-filter input,
.inline-filter button {
    min-height: 52px;
}

.big-search button,
.inline-filter button {
    padding: 0 22px;
}

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

.soft-section {
    width: 100%;
    padding-left: max(16px, calc((100% - var(--page-width)) / 2));
    padding-right: max(16px, calc((100% - var(--page-width)) / 2));
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(255, 247, 237, 0.92));
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 520px;
    margin: 0;
    color: var(--slate-600);
    line-height: 1.8;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    min-height: 150px;
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid rgba(244, 63, 94, 0.12);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.18), transparent 68%);
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-row:hover,
.rank-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(190, 18, 60, 0.17);
}

.category-tile span,
.category-overview-card h2 {
    display: block;
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--slate-900);
    font-size: 22px;
    font-weight: 900;
}

.category-tile em,
.category-overview-card p {
    position: relative;
    z-index: 1;
    color: var(--slate-600);
    font-style: normal;
    line-height: 1.7;
}

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 300px);
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 20px;
    scroll-snap-type: x proximity;
}

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(244, 63, 94, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card {
    scroll-snap-align: start;
}

.poster-box {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(15, 23, 42, 0.78) 100%);
    opacity: 0.9;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(244, 63, 94, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.poster-badge,
.poster-duration {
    position: absolute;
    top: 12px;
    padding: 6px 9px;
    color: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.74);
    backdrop-filter: blur(8px);
}

.poster-badge {
    left: 12px;
}

.poster-duration {
    right: 12px;
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-card-body strong {
    min-height: 1.4em;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.32;
}

.movie-line {
    min-height: 3.2em;
    color: var(--slate-600);
    line-height: 1.6;
    font-size: 14px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--slate-400);
    font-size: 13px;
}

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

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

.rank-panel,
.side-recommend,
.detail-card,
.ranking-table,
.category-overview-card {
    border: 1px solid rgba(244, 63, 94, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.rank-panel,
.side-recommend {
    position: sticky;
    top: 100px;
    padding: 20px;
    border-radius: var(--radius-xl);
}

.rank-panel h2,
.side-recommend h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: var(--slate-50);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-number {
    color: var(--rose-600);
    font-size: 20px;
    font-weight: 900;
}

.rank-item img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-item strong,
.rank-item em {
    display: block;
}

.rank-item strong {
    color: var(--slate-900);
    line-height: 1.35;
}

.rank-item em {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 12px;
    font-style: normal;
}

.rank-item b {
    color: var(--rose-600);
}

.outline-link,
.card-more {
    margin-top: 18px;
    color: var(--rose-700);
    border: 1px solid var(--rose-100);
    background: var(--rose-50);
}

.sub-page {
    padding-bottom: 40px;
}

.page-hero {
    margin-top: 34px;
    padding: 54px;
    border-radius: 32px;
    color: white;
    background:
        radial-gradient(circle at 82% 28%, rgba(251, 146, 60, 0.46), transparent 30%),
        linear-gradient(135deg, var(--slate-900), #831843 58%, #9f1239);
    box-shadow: var(--shadow-soft);
}

.compact-hero h1,
.category-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.compact-hero p,
.category-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.9;
    font-size: 17px;
}

.category-hero .inline-filter,
.search-hero .inline-filter {
    max-width: 720px;
    margin-top: 26px;
}

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

.category-overview-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.category-samples {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    padding: 7px 10px;
    color: var(--rose-700);
    background: var(--rose-50);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.category-overview-card .card-more {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-top: auto;
}

.ranking-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ranking-hero-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
    color: white;
    box-shadow: var(--shadow-soft);
}

.ranking-hero-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

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

.ranking-hero-card span {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
}

.ranking-hero-card b,
.ranking-hero-card strong,
.ranking-hero-card em {
    display: block;
}

.ranking-hero-card b {
    color: #fecdd3;
    margin-bottom: 8px;
}

.ranking-hero-card strong {
    font-size: 26px;
}

.ranking-hero-card em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.ranking-table {
    overflow: hidden;
    border-radius: 28px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 70px 72px minmax(0, 1fr) 220px 70px;
    gap: 18px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--slate-100);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
    background: var(--rose-50);
}

.ranking-row img {
    width: 72px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-index {
    color: var(--rose-600);
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.ranking-title strong,
.ranking-title em {
    display: block;
}

.ranking-title strong {
    margin-bottom: 6px;
    font-size: 18px;
}

.ranking-title em,
.ranking-tags {
    color: var(--slate-500);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
}

.ranking-row b {
    color: var(--rose-600);
    font-size: 20px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 28px;
    color: var(--slate-500);
    font-size: 14px;
}

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

.detail-page {
    padding-bottom: 40px;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: stretch;
    margin-top: 24px;
}

.player-shell {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 32px;
    background: #05070d;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.movie-video {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: contain;
    background: #05070d;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: white;
    border: 0;
    background: radial-gradient(circle at 50% 48%, rgba(244, 63, 94, 0.38), rgba(15, 23, 42, 0.68) 46%, rgba(15, 23, 42, 0.86) 100%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 44px rgba(244, 63, 94, 0.36);
    font-size: 34px;
}

.play-layer strong {
    font-size: 18px;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
}

.detail-card > img {
    width: 120px;
    height: 170px;
    border-radius: 18px;
    object-fit: cover;
}

.detail-card h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.detail-card p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.75;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.detail-meta span {
    padding: 7px 10px;
    color: var(--slate-700);
    background: var(--slate-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

.detail-content article {
    padding: 34px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow-card);
}

.detail-content h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 26px;
}

.detail-content p {
    margin: 0 0 28px;
    color: var(--slate-700);
    line-height: 2;
    font-size: 16px;
}

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

.info-list div {
    padding: 14px;
    border-radius: 16px;
    background: var(--slate-50);
}

.info-list dt {
    color: var(--slate-400);
    font-size: 13px;
}

.info-list dd {
    margin: 6px 0 0;
    color: var(--slate-900);
    font-weight: 800;
}

.site-footer {
    margin-top: 60px;
    color: white;
    background: linear-gradient(135deg, #881337, #831843 48%, #9a3412);
}

.footer-grid {
    width: min(var(--page-width), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 52px 0 34px;
}

.footer-grid p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.footer-grid h3 {
    margin: 0 0 16px;
}

.footer-grid a {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid a:hover {
    color: white;
}

.footer-brand {
    color: white;
    font-size: 22px;
}

.footer-bottom {
    width: min(var(--page-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    color: rgba(255, 255, 255, 0.68);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.movie-card.is-hidden,
.ranking-row.is-hidden {
    display: none;
}

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

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .hero-poster img {
        height: 430px;
    }

    .watch-layout,
    .detail-content,
    .two-column-section {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .side-recommend {
        position: static;
    }
}

@media (max-width: 920px) {
    .nav-wrap {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .main-nav {
        order: 4;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 22px;
        background: white;
        border: 1px solid var(--rose-100);
    }

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

    .nav-dropdown:hover .nav-drop-panel,
    .nav-drop-panel {
        position: static;
        width: 100%;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border-radius: 16px;
    }

    .top-search {
        order: 3;
        width: 100%;
    }

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

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

    .hero-poster {
        max-width: 300px;
        transform: none;
    }

    .quick-search-band {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 10px;
    }

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

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

    .ranking-row {
        grid-template-columns: 48px 64px minmax(0, 1fr) 50px;
    }

    .ranking-tags {
        display: none;
    }
}

@media (max-width: 640px) {
    .brand-text {
        font-size: 19px;
    }

    .hero h1,
    .hero h2 {
        font-size: 42px;
    }

    .hero p,
    .compact-hero p,
    .category-hero p {
        font-size: 15px;
    }

    .hero-actions,
    .big-search,
    .inline-filter {
        flex-direction: column;
        border-radius: 22px;
    }

    .big-search input,
    .inline-filter input {
        width: 100%;
        min-height: 54px;
    }

    .big-search button,
    .inline-filter button {
        width: 100%;
        min-height: 48px;
    }

    .quick-search-band,
    .page-hero,
    .detail-content article {
        padding: 24px;
        border-radius: 24px;
    }

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

    .movie-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .scroll-row {
        grid-auto-columns: minmax(230px, 78vw);
    }

    .watch-layout {
        gap: 18px;
    }

    .player-shell,
    .movie-video {
        min-height: 280px;
        border-radius: 22px;
    }

    .detail-card {
        grid-template-columns: 92px minmax(0, 1fr);
        border-radius: 22px;
    }

    .detail-card > img {
        width: 92px;
        height: 132px;
    }

    .detail-card h1 {
        font-size: 24px;
    }

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

    .ranking-row {
        grid-template-columns: 38px 58px minmax(0, 1fr);
        gap: 12px;
    }

    .ranking-row b {
        display: none;
    }
}
