:root {
    --color-silver: #c0c0c0;
    --color-silver-light: #e8e8e8;
    --color-silver-dark: #a8a8a8;
    --color-moonlight: #f5f5f7;
    --color-night-blue: #1a1f35;
    --color-deep-blue: #0f1419;
    --color-star-white: #ffffff;
    --color-text-primary: #e2e8f0;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --border-soft: rgba(148, 163, 184, 0.22);
    --bg-panel: rgba(15, 23, 42, 0.72);
    --bg-panel-soft: rgba(30, 41, 59, 0.46);
    --gradient-moonlight: linear-gradient(180deg, #0f1419 0%, #1a1f35 48%, #2a3347 100%);
    --gradient-silver: linear-gradient(135deg, #ffffff 0%, #e8e8e8 45%, #9ca3af 100%);
    --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.32);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text-primary);
    background: var(--gradient-moonlight);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -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;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.text-gradient {
    color: transparent;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    background-clip: text;
}

.glass-effect {
    background: rgba(15, 23, 42, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.silver-border {
    border: 1px solid var(--border-soft);
}

.silver-glow-hover,
.card-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.silver-glow-hover:hover,
.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 232, 232, 0.56);
    box-shadow: 0 0 34px rgba(192, 192, 192, 0.22), var(--shadow-card);
}

.fade-in {
    animation: fadeIn 0.55s ease both;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-width: 0 0 1px;
}

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

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

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #0f1419;
    background: var(--gradient-silver);
    border-radius: 999px;
    box-shadow: 0 0 24px rgba(192, 192, 192, 0.26);
}

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

.nav-link {
    color: #cbd5e1;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link.active {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    position: relative;
}

.header-search input {
    width: 240px;
    padding: 10px 44px 10px 16px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.filter-field input:focus,
.filter-field select:focus,
.search-page-form input:focus {
    border-color: rgba(232, 232, 232, 0.65);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.13);
}

.header-search button {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    border-radius: 999px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #e2e8f0;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 16px;
    border-width: 1px 0 0;
}

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

.mobile-nav-link {
    padding: 12px 4px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
}

.mobile-search button {
    padding: 11px 16px;
    color: #0f1419;
    background: var(--gradient-silver);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: #0f1419;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
    transition: opacity 0.8s ease, transform 4.5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.10), transparent 28%),
        linear-gradient(90deg, rgba(15, 20, 25, 0.96) 0%, rgba(15, 20, 25, 0.74) 42%, rgba(15, 20, 25, 0.34) 100%),
        linear-gradient(0deg, #0f1419 0%, rgba(15, 20, 25, 0.20) 42%, rgba(15, 20, 25, 0.36) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 96px;
}

.hero-copy {
    width: min(680px, 100%);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 14px 0 22px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.02;
    font-weight: 900;
}

.hero-copy p {
    width: min(640px, 100%);
    margin: 0 0 24px;
    color: #dbe4ef;
    font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
    padding: 6px 10px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.primary-button {
    color: #0f1419;
    background: var(--gradient-silver);
    box-shadow: 0 0 28px rgba(192, 192, 192, 0.24);
}

.ghost-button {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

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

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

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

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

.hero-dot.active {
    background: var(--color-silver-light);
}

.hero-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 32px;
    line-height: 1;
}

.section-block {
    padding: 56px 0;
}

.first-section {
    margin-top: -38px;
    position: relative;
    z-index: 6;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.stat-strip div {
    display: grid;
    gap: 4px;
    padding: 26px;
    background: rgba(15, 23, 42, 0.5);
}

.stat-strip strong {
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

.stat-strip span {
    color: var(--color-text-secondary);
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading.between,
.compact-heading.between {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-heading h2 {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.section-heading a {
    color: #cbd5e1;
    font-weight: 700;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: rgba(30, 41, 59, 0.38);
    border-radius: var(--radius-md);
}

.poster-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

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

.movie-card:hover .poster-frame img,
.overview-card:hover img,
.category-tile:hover img,
.editor-main:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 62%);
}

.poster-frame figcaption,
.rank-badge {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-weight: 800;
}

.poster-frame figcaption {
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    font-size: 12px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #0f1419;
    background: var(--gradient-silver);
    border-radius: 999px;
}

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

.movie-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: var(--color-text-muted);
    font-size: 13px;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: rgba(148, 163, 184, 0.55);
}

.movie-card.compact {
    min-width: 280px;
}

.movie-card.compact .movie-card-body {
    padding: 14px;
}

.movie-card.compact h3 {
    font-size: 16px;
}

.horizontal-scroller {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
}

.horizontal-scroller .movie-card {
    flex: 0 0 292px;
    scroll-snap-align: start;
}

.editor-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
}

.editor-main {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.45);
}

.editor-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editor-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12));
}

.editor-main div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 32px;
}

.editor-main span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.52);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.editor-main h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 32px;
}

.editor-main p {
    margin: 0;
    color: #cbd5e1;
}

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

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

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

.category-tile {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 150px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.5);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(51, 65, 85, 0.38));
}

.category-tile span,
.category-tile small {
    position: relative;
    z-index: 2;
}

.category-tile span {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.category-tile small {
    color: #cbd5e1;
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
    border-radius: var(--radius-md);
}

.compact-heading h2 {
    font-size: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 30px 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateX(4px);
}

.rank-number {
    color: var(--color-silver-light);
    font-weight: 900;
}

.rank-row img {
    width: 54px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

.rank-row strong {
    color: #ffffff;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    grid-column: 3;
    color: var(--color-text-muted);
    font-size: 12px;
    font-style: normal;
}

.masonry-grid {
    columns: 3 260px;
    column-gap: 20px;
}

.masonry-grid .movie-card {
    break-inside: avoid;
    margin-bottom: 20px;
}

.page-hero,
.detail-hero {
    position: relative;
    padding-top: 138px;
    overflow: hidden;
}

.compact-page-hero {
    padding-bottom: 70px;
    background:
        radial-gradient(circle at 25% 0%, rgba(192, 192, 192, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 20, 25, 0));
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
}

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

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

.breadcrumb a {
    color: #ffffff;
}

.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: rgba(203, 213, 225, 0.5);
}

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

.overview-card {
    position: relative;
    display: grid;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.45);
}

.overview-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transition: transform 0.5s ease;
}

.overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22));
}

.overview-card div {
    position: relative;
    z-index: 2;
    align-self: end;
    padding: 24px;
}

.overview-card span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.overview-card h2 {
    margin: 8px 0;
    color: #ffffff;
    font-size: 28px;
}

.overview-card p {
    margin: 0;
    color: #dbe4ef;
}

.filter-panel,
.search-page-form {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: var(--radius-md);
}

.filter-field {
    display: grid;
    gap: 7px;
}

.filter-field label,
.search-page-form label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.filter-field input,
.filter-field select,
.search-page-form input {
    width: 100%;
    padding: 12px 14px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    outline: none;
}

.search-page-form {
    grid-template-columns: 1fr;
}

.search-page-form div {
    display: flex;
    gap: 12px;
}

.search-page-form input {
    flex: 1;
}

.search-summary {
    margin: 0 0 22px;
    color: #cbd5e1;
}

.movie-card.hidden {
    display: none;
}

.detail-hero {
    min-height: 680px;
    padding-bottom: 72px;
    background-position: center;
    background-size: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 20, 25, 0.96) 0%, rgba(15, 20, 25, 0.78) 46%, rgba(15, 20, 25, 0.35) 100%),
        linear-gradient(0deg, #0f1419 0%, rgba(15, 20, 25, 0.20) 48%, rgba(15, 20, 25, 0.44) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 2;
}

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

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.detail-copy h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 78px);
    line-height: 1.03;
}

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

.detail-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.detail-meta-pills span {
    padding: 8px 12px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

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

.movie-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.38);
    border: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.25s ease;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    color: #0f1419;
    background: var(--gradient-silver);
    border-radius: 999px;
    font-size: 32px;
    box-shadow: 0 0 34px rgba(255, 255, 255, 0.20);
}

.player-start strong {
    display: block;
    font-size: 20px;
}

.player-shell.playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.player-status {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 7px 12px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
}

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

.detail-article,
.detail-sidebar {
    padding: 26px;
    border-radius: var(--radius-md);
}

.detail-article h2,
.detail-sidebar h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 24px;
}

.detail-article h2:not(:first-child) {
    margin-top: 28px;
}

.detail-article p {
    margin: 0;
    color: #dbe4ef;
    font-size: 17px;
}

.detail-sidebar dl {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
}

.detail-sidebar dt {
    color: var(--color-text-muted);
    font-size: 13px;
}

.detail-sidebar dd {
    margin: -8px 0 8px;
    color: #ffffff;
}

.site-footer {
    margin-top: 48px;
    padding: 54px 0 24px;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 32px;
}

.footer-grid p,
.footer-bottom {
    color: var(--color-text-secondary);
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    color: #cbd5e1;
}

.wrap-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

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

    .hero-slide {
        align-items: end;
        padding-bottom: 110px;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg, #0f1419 0%, rgba(15, 20, 25, 0.72) 52%, rgba(15, 20, 25, 0.50) 100%);
    }

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

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

    .editor-grid,
    .footer-grid,
    .detail-hero-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(260px, 100%);
    }
}

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

    .nav-shell {
        min-height: 64px;
    }

    .site-logo {
        font-size: 20px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
    }

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

    .hero-actions,
    .section-heading.between,
    .footer-bottom,
    .search-page-form div {
        align-items: stretch;
        flex-direction: column;
    }

    .featured-grid,
    .all-grid,
    .overview-grid,
    .category-grid,
    .editor-side,
    .stat-strip {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        min-height: auto;
    }

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