:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.76);
    --panel-solid: #111827;
    --border: rgba(148, 163, 184, 0.22);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --soft: #94a3b8;
    --amber: #fbbf24;
    --amber-deep: #f59e0b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.11), transparent 32rem),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
    color: var(--text);
    min-height: 100vh;
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.container,
.content-section,
.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: linear-gradient(135deg, var(--amber), var(--amber-deep));
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.32);
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    border: 0;
    color: var(--muted);
    background: transparent;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 210px;
    padding: 10px;
    display: grid;
    gap: 4px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
}

.dropdown-panel a:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.1);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-nav a,
.mobile-category-links a {
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--muted);
}

.mobile-nav a:hover,
.mobile-category-links a:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.1);
}

.mobile-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.hero-slider {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.54) 48%, rgba(2, 6, 23, 0.86)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.18) 56%, rgba(2, 6, 23, 0.9) 100%);
}

.hero-vignette,
.detail-bg-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 28% 32%, rgba(251, 191, 36, 0.28), transparent 32rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 650px;
    padding-top: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 999px;
    color: var(--amber);
    background: rgba(251, 191, 36, 0.12);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-intro h1 {
    max-width: 860px;
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.hero-content p,
.page-hero p,
.detail-intro p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.8;
}

.hero-tags,
.detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-tags a,
.hero-tags span,
.detail-pills span {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(14px);
}

.hero-tags a {
    color: var(--amber);
}

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

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

.primary-btn {
    color: #111827;
    background: linear-gradient(135deg, var(--amber), var(--amber-deep));
    box-shadow: 0 16px 42px rgba(251, 191, 36, 0.28);
}

.ghost-btn,
.section-more {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(14px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.ghost-btn:hover,
.section-more:hover {
    color: var(--amber);
    border-color: rgba(251, 191, 36, 0.45);
}

.hero-thumbs {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 36px;
}

.hero-thumbs-inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(18px);
    text-align: left;
}

.hero-thumb img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-thumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    color: var(--amber);
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(251, 191, 36, 0.13);
}

.hero-search {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 98px;
    width: min(560px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(18px);
}

.hero-search input,
.filter-toolbar input,
.filter-toolbar select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: rgba(2, 6, 23, 0.62);
    border-radius: 999px;
}

.hero-search input {
    min-height: 44px;
    padding: 0 16px;
}

.hero-search button {
    border: 0;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    color: #111827;
    background: var(--amber);
    font-weight: 900;
}

.content-section {
    padding: 76px 0;
}

.content-section-tight {
    padding-top: 34px;
}

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

.section-heading-simple {
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 0;
    color: var(--soft);
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.54);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 18px 55px rgba(251, 191, 36, 0.12);
}

.poster-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.9));
}

.movie-card-compact .poster-frame {
    aspect-ratio: 16 / 9;
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 55%);
}

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

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

.card-badge,
.card-year {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.card-badge {
    left: 12px;
    color: #111827;
    background: rgba(251, 191, 36, 0.94);
}

.card-year {
    right: 12px;
    color: var(--text);
    background: rgba(2, 6, 23, 0.76);
}

.play-mark {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 62px;
    height: 62px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: rgba(251, 191, 36, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: scale(0.7);
    opacity: 0;
    transition: 0.25s ease;
}

.movie-card-link:hover .play-mark {
    opacity: 1;
    transform: scale(1);
}

.movie-card-body {
    padding: 18px;
}

.movie-card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

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

.ranking-panel,
.detail-panel,
.player-card,
.filter-shell,
.category-large-card,
.category-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.ranking-panel {
    padding: 22px;
    position: sticky;
    top: 96px;
}

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

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

.rank-link {
    display: grid;
    grid-template-columns: 36px 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.rank-link:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.09);
}

.rank-number {
    color: var(--amber);
    font-weight: 950;
}

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

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

.rank-copy strong,
.rank-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--soft);
    font-size: 12px;
    font-style: normal;
}

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

.category-card {
    overflow: hidden;
}

.category-card > a,
.category-large-head {
    display: block;
    padding: 24px;
}

.category-card span,
.category-large-head span {
    color: var(--amber);
    font-weight: 950;
}

.category-card h3,
.category-large-head h2 {
    margin: 10px 0 10px;
    font-size: 26px;
}

.category-card p,
.category-large-head p {
    margin: 0;
    color: var(--soft);
    line-height: 1.7;
}

.category-samples,
.category-large-links {
    padding: 0 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-samples a,
.category-large-links a,
.tag-cloud a {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(148, 163, 184, 0.1);
}

.category-samples a:hover,
.category-large-links a:hover,
.tag-cloud a:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.12);
}

.page-main {
    padding-top: 72px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 64px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.2), transparent 28rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.92));
}

.page-hero h1 {
    margin-top: 22px;
}

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

.breadcrumbs a:hover {
    color: var(--amber);
}

.filter-shell {
    padding: 18px;
    margin-bottom: 24px;
}

.filter-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, 180px);
    gap: 12px;
}

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

.filter-toolbar input,
.filter-toolbar select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.filter-empty {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    color: var(--muted);
    background: rgba(148, 163, 184, 0.08);
    text-align: center;
}

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

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

.ranking-row a {
    display: grid;
    grid-template-columns: 58px 104px 1fr 48px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.66);
    transition: 0.22s ease;
}

.ranking-row a:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(15, 23, 42, 0.94);
}

.ranking-index {
    color: var(--amber);
    font-size: 24px;
    font-weight: 950;
    text-align: center;
}

.ranking-row img {
    width: 104px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-info {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ranking-info strong {
    font-size: 20px;
}

.ranking-info em,
.ranking-info span {
    color: var(--soft);
    font-style: normal;
    line-height: 1.5;
}

.ranking-play {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: var(--amber);
}

.detail-main {
    padding-top: 72px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #020617;
}

.detail-bg {
    opacity: 0.4;
    filter: blur(2px);
}

.detail-bg-mask {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.92)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 55%, rgba(2, 6, 23, 0.9) 100%);
}

.detail-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 72px 0;
}

.detail-poster {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.26);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-intro h1 {
    margin-bottom: 20px;
}

.detail-actions {
    margin-top: 28px;
}

.player-section {
    padding: 72px 0 16px;
}

.player-card {
    padding: 18px;
}

.player-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 4px 16px;
}

.player-heading h2 {
    margin: 0;
    font-size: 24px;
}

.player-heading span {
    color: var(--amber);
}

.movie-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), rgba(2, 6, 23, 0.24));
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: var(--amber);
    font-size: 34px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    transform: translateX(3px);
}

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

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

.detail-panel {
    padding: 28px;
}

.detail-panel h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.rich-text {
    display: grid;
    gap: 14px;
    color: var(--muted);
    line-height: 1.9;
    text-align: justify;
}

.rich-text p {
    margin: 0;
}

.detail-side-panel {
    align-self: start;
    position: sticky;
    top: 96px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.info-list div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.info-list dt {
    color: var(--soft);
}

.info-list dd {
    margin: 0;
    color: var(--text);
}

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

.review-panel {
    margin-top: 24px;
}

.site-footer {
    margin-top: 50px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2fr;
    gap: 28px;
    padding: 42px 0;
}

.footer-grid p {
    max-width: 480px;
    color: var(--soft);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: 10px;
}

.footer-links a {
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
}

.footer-links a:hover {
    color: var(--amber);
    background: rgba(251, 191, 36, 0.12);
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--soft);
    text-align: center;
}

[data-movie-card].is-hidden {
    display: none;
}

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

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

    .ranking-panel,
    .detail-side-panel {
        position: static;
    }

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

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

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

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

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

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

    .hero-content {
        min-height: 620px;
        padding-top: 130px;
        align-items: center;
        text-align: center;
    }

    .hero-tags,
    .hero-actions,
    .detail-pills {
        justify-content: center;
    }

    .hero-thumbs {
        bottom: 20px;
    }

    .hero-thumbs-inner {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-thumb {
        min-width: 220px;
    }

    .hero-search {
        top: 86px;
    }

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

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

    .detail-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .detail-poster {
        width: min(320px, 100%);
        margin: 0 auto;
    }

    .breadcrumbs {
        justify-content: center;
    }

    .ranking-row a {
        grid-template-columns: 42px 86px 1fr;
    }

    .ranking-play {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container,
    .content-section,
    .header-inner {
        width: min(100% - 22px, 1180px);
    }

    .header-inner {
        height: 64px;
    }

    .page-main,
    .detail-main {
        padding-top: 64px;
    }

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

    .hero-content h1,
    .page-hero h1,
    .detail-intro h1 {
        font-size: 38px;
    }

    .hero-content p,
    .page-hero p,
    .detail-intro p {
        font-size: 16px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .hero-search input,
    .hero-search button {
        border-radius: 18px;
    }

    .hero-thumbs {
        display: none;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-large-grid {
        grid-template-columns: 1fr;
    }

    .filter-toolbar {
        grid-template-columns: 1fr;
    }

    .ranking-row a {
        grid-template-columns: 38px 78px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .ranking-info strong {
        font-size: 17px;
    }

    .ranking-info em {
        display: none;
    }

    .player-card,
    .detail-panel,
    .filter-shell {
        padding: 14px;
        border-radius: 20px;
    }

    .play-overlay span {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
