:root {
    --bg: #f8fafc;
    --bg-strong: #0f172a;
    --bg-soft: #e2e8f0;
    --text: #1f2937;
    --text-muted: #64748b;
    --white: #ffffff;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --teal: #0f766e;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 55px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 26px 80px rgba(15, 23, 42, 0.22);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(16px);
}

.site-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand__icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.32);
    transition: transform 0.25s ease;
}

.brand:hover .brand__icon {
    transform: scale(1.08) rotate(-3deg);
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__text strong {
    color: var(--white);
    font-size: 22px;
    line-height: 1.1;
}

.brand__text small {
    color: #94a3b8;
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

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

.nav-links a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 5px;
    border: 0;
    color: #cbd5e1;
    background: transparent;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
}

.nav-toggle em {
    font-style: normal;
    margin-left: 6px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

.mobile-menu__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 0 24px;
}

.mobile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.65), transparent 34%), linear-gradient(135deg, #0f172a, #1e293b 55%, #020617);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.hero-slide.is-active .hero-media img {
    transform: scale(1.08);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 185, 129, 0.85);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow--dark {
    color: var(--emerald-dark);
    background: rgba(16, 185, 129, 0.12);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
    max-width: 620px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: clamp(17px, 2.2vw, 22px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span,
.detail-meta span {
    padding: 8px 13px;
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

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

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

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

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.32);
}

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

.button--dark {
    color: var(--white);
    background: var(--slate-900);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
}

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

.hero-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    background: rgba(15, 23, 42, 0.45);
    font-size: 32px;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

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

.hero-dot.is-active {
    width: 38px;
    background: var(--emerald);
}

.section-block {
    margin-top: 64px;
}

.section-block--lifted {
    margin-top: -42px;
    position: relative;
    z-index: 5;
}

.home-search-panel {
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: 28px;
    align-items: center;
    margin-top: -52px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.home-search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-search-panel h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.search-jump {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.search-jump input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    color: var(--slate-900);
    background: var(--white);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-jump input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(16, 185, 129, 0.75);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.stats-strip div {
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.stats-strip strong {
    display: block;
    color: var(--slate-900);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1;
}

.stats-strip span {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

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

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.section-heading a {
    color: var(--emerald-dark);
    font-weight: 800;
}

.section-heading--plain {
    align-items: start;
}

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

.category-card,
.overview-card,
.prose-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.category-card a,
.overview-card__head {
    display: block;
    padding: 22px;
    min-height: 190px;
    background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.18), transparent 36%), linear-gradient(180deg, #ffffff, #f8fafc);
}

.category-card span,
.overview-card span {
    color: var(--emerald-dark);
    font-size: 13px;
    font-weight: 900;
}

.category-card h3,
.overview-card h2 {
    margin: 8px 0;
    color: var(--slate-900);
    font-size: 24px;
}

.category-card p,
.overview-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.category-card strong,
.overview-card strong {
    display: inline-block;
    margin-top: 16px;
    color: var(--slate-900);
}

.category-card ul,
.overview-card ul {
    display: grid;
    gap: 8px;
    padding: 16px 22px 22px;
    margin: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: 14px;
}

.category-card li a,
.overview-card li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

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

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

.movie-card,
.compact-card,
.rank-card,
.top-rank-card {
    min-width: 0;
}

.movie-card__link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at 20% 15%, rgba(16, 185, 129, 0.45), transparent 32%), linear-gradient(135deg, #0f172a, #1e293b 55%, #020617);
}

.poster-frame::after {
    content: attr(data-title);
    position: absolute;
    inset: auto 18px 18px 18px;
    z-index: 0;
    display: none;
    color: rgba(255, 255, 255, 0.86);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.poster-frame.is-missing::after {
    display: block;
}

.movie-card__poster {
    aspect-ratio: 16 / 9;
}

.movie-card__poster img,
.compact-card__cover img,
.rank-card__cover img,
.top-rank-card__cover img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card__link:hover img {
    transform: scale(1.08);
}

.poster-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(10px);
}

.poster-badge--left {
    left: 12px;
    background: rgba(16, 185, 129, 0.88);
}

.poster-badge--right {
    right: 12px;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(16, 185, 129, 0.82);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.movie-card__body strong {
    overflow: hidden;
    color: var(--slate-900);
    font-size: 19px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-card__meta,
.movie-card__desc {
    color: var(--text-muted);
    font-size: 14px;
}

.movie-card__desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

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

.compact-card__link {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.compact-card__cover {
    width: 110px;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
}

.compact-card__main {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.compact-card__main strong {
    overflow: hidden;
    color: var(--slate-900);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card__main span,
.compact-card__score {
    color: var(--text-muted);
    font-size: 13px;
}

.compact-card__score {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--emerald-dark);
    background: rgba(16, 185, 129, 0.12);
    font-weight: 900;
}

.hot-aside {
    position: sticky;
    top: 96px;
    padding: 28px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.35), transparent 34%), linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: var(--shadow-md);
}

.hot-aside h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.hot-aside p {
    color: #cbd5e1;
}

.page-hero {
    padding: 86px 0 72px;
    color: var(--white);
    background: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.45), transparent 30%), linear-gradient(135deg, #0f172a, #1e293b 48%, #020617);
}

.page-hero--compact {
    padding: 68px 0 58px;
}

.page-hero--rank {
    background: radial-gradient(circle at 78% 18%, rgba(244, 63, 94, 0.34), transparent 34%), linear-gradient(135deg, #0f172a, #1f2937 50%, #020617);
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 30px;
    align-items: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.page-hero__meta {
    display: grid;
    place-items: center;
    min-height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.page-hero__meta strong {
    font-size: 56px;
    line-height: 1;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 210px 210px auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-panel--wide {
    grid-template-columns: minmax(0, 1.3fr) 170px 180px 220px auto;
}

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

.result-count {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-weight: 800;
}

.empty-state {
    padding: 50px 24px;
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    text-align: center;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.pager-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 36px;
}

.pager-links a {
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--slate-900);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
}

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

.top-rank-card a {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow-md);
}

.top-rank-card__cover {
    aspect-ratio: 16 / 9;
}

.top-rank-card__text {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.top-rank-card__text em {
    color: var(--amber);
    font-style: normal;
    font-weight: 900;
}

.top-rank-card__text strong {
    font-size: 24px;
}

.top-rank-card__text small,
.top-rank-card__text span {
    color: #cbd5e1;
}

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

.rank-card__link {
    display: grid;
    grid-template-columns: 62px 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.rank-card__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    font-weight: 900;
}

.rank-card__cover {
    width: 120px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
}

.rank-card__text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rank-card__text strong {
    overflow: hidden;
    color: var(--slate-900);
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-card__text span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 14px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.rank-card__text em {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-card__hot {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--emerald-dark);
    background: rgba(16, 185, 129, 0.12);
    font-weight: 900;
    white-space: nowrap;
}

.detail-hero {
    padding: 64px 0;
    color: var(--white);
    background: radial-gradient(circle at 22% 18%, rgba(16, 185, 129, 0.34), transparent 32%), linear-gradient(135deg, #0f172a, #1e293b 50%, #020617);
}

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

.detail-poster {
    aspect-ratio: 3 / 4.2;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-copy h1 {
    color: var(--white);
    font-size: clamp(38px, 6vw, 68px);
}

.detail-copy p {
    max-width: 780px;
    color: #dbe4ef;
    font-size: 19px;
}

.detail-meta,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

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

.tag-pill {
    padding: 7px 12px;
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.28);
    font-size: 13px;
    font-weight: 800;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.28), rgba(0, 0, 0, 0.72));
}

.player-overlay span {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    font-size: 34px;
}

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

.video-player.is-playing .player-overlay {
    display: none;
}

.player-status {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 3;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(15, 23, 42, 0.74);
    font-size: 13px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.video-player.is-playing .player-status {
    display: none;
}

.player-info {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.player-info h2 {
    margin: 0 0 18px;
    color: var(--slate-900);
}

.player-info dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.player-info div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.player-info dt {
    color: var(--text-muted);
}

.player-info dd {
    margin: 0;
    color: var(--slate-900);
    font-weight: 800;
    text-align: right;
}

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

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

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

.detail-content p,
.prose-card p {
    margin: 0;
    color: var(--text);
    font-size: 17px;
}

.prose-card p + p {
    margin-top: 16px;
}

.genre-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-cloud span {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--emerald-dark);
    background: rgba(16, 185, 129, 0.12);
    font-weight: 800;
}

.site-footer {
    margin-top: 88px;
    padding: 54px 0 28px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1e293b 55%, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 20px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #64748b;
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1120px) {
    .nav-links {
        gap: 14px;
        font-size: 14px;
    }

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

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

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

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

    .nav-toggle {
        display: inline-flex;
    }

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

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

    .home-search-panel,
    .split-layout,
    .page-hero__grid,
    .detail-hero__grid,
    .player-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-search-panel {
        margin-top: 24px;
    }

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

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

    .hot-aside {
        position: static;
    }

    .rank-card__link {
        grid-template-columns: 46px 96px minmax(0, 1fr);
    }

    .rank-card__hot {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

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

    .brand__text strong {
        font-size: 18px;
    }

    .brand__icon {
        width: 38px;
        height: 38px;
    }

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

    .hero-copy p {
        font-size: 16px;
    }

    .hero-controls {
        bottom: 18px;
    }

    .home-search-panel,
    .stats-strip,
    .filter-panel,
    .filter-panel--wide {
        padding: 16px;
    }

    .search-jump,
    .stats-strip,
    .category-grid,
    .overview-grid,
    .movie-grid,
    .movie-grid--home,
    .top-rank-grid,
    .filter-panel,
    .filter-panel--wide {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .pager-links,
    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

    .compact-card__link {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .compact-card__score {
        grid-column: 2;
        justify-self: start;
    }

    .rank-card__link {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .rank-card__cover {
        display: none;
    }

    .detail-poster {
        max-width: 280px;
    }

    .mobile-menu__inner {
        grid-template-columns: 1fr;
    }
}
