:root {
    --night-950: #0a1929;
    --night-900: #102a43;
    --night-850: #16324f;
    --night-800: #1e3a56;
    --night-700: #243b53;
    --night-500: #829ab1;
    --night-400: #9fb3c8;
    --night-300: #bcccdc;
    --night-200: #d9e2ec;
    --night-100: #f0f4f8;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --red-500: #ef4444;
    --green-500: #22c55e;
    --blue-500: #3b82f6;
    --border: rgba(188, 204, 220, 0.14);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --glow: 0 0 28px rgba(245, 158, 11, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--night-100);
    background: var(--night-950);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 25, 41, 0.88);
    border-bottom: 1px solid rgba(188, 204, 220, 0.1);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(10, 25, 41, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--night-950);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    border-radius: 14px;
    font-weight: 900;
    box-shadow: var(--glow);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, var(--night-100), var(--amber-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    color: var(--night-500);
    font-size: 0.72rem;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    color: var(--night-300);
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--amber-400);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.nav-search,
.mobile-search,
.big-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.mobile-search input,
.big-search input,
.filter-panel input {
    width: 100%;
    color: var(--night-100);
    background: rgba(16, 42, 67, 0.82);
    border: 1px solid rgba(188, 204, 220, 0.16);
    border-radius: 999px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-search input {
    width: 230px;
    padding: 10px 16px;
}

.nav-search button,
.mobile-search button {
    color: var(--night-950);
    background: var(--amber-500);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus {
    border-color: rgba(245, 158, 11, 0.75);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    background: rgba(16, 42, 67, 0.96);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--night-100);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(188, 204, 220, 0.1);
    padding: 16px;
    background: rgba(10, 25, 41, 0.98);
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mobile-panel nav a {
    padding: 12px 14px;
    color: var(--night-200);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
}

.mobile-search input {
    padding: 12px 14px;
}

.hero {
    position: relative;
    min-height: 690px;
    padding-top: 74px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.15), transparent 28%), var(--night-950);
}

.hero-stage {
    position: absolute;
    inset: 74px 0 0;
}

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

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

.hero-slide > img,
.detail-hero > img,
.category-tile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide > img {
    position: absolute;
    inset: 0;
    filter: saturate(1.1) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 25, 41, 0.96), rgba(10, 25, 41, 0.62) 42%, rgba(10, 25, 41, 0.2)), linear-gradient(0deg, var(--night-950), rgba(10, 25, 41, 0.1) 40%, rgba(10, 25, 41, 0.25));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 56px;
    padding-bottom: 74px;
}

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

.eyebrow,
.page-hero p,
.section-head p,
.panel-head p,
.detail-title-row p {
    color: var(--amber-400);
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.48);
}

.hero-copy p,
.page-hero span {
    display: block;
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--night-200);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
}

.hero-tags,
.card-tags,
.chip-row,
.tag-cloud,
.rank-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.card-tags span,
.chip-row span,
.chip-row button,
.tag-cloud span,
.rank-tabs a {
    color: var(--amber-300, #fcd34d);
    background: rgba(245, 158, 11, 0.13);
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
}

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

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

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

.btn.primary {
    color: var(--night-950);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    box-shadow: var(--glow);
}

.btn.ghost {
    color: var(--night-100);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.btn.text {
    color: var(--amber-400);
    padding-inline: 4px;
}

.btn.full {
    width: 100%;
    margin-top: 18px;
}

.hero-poster {
    display: block;
    transform: translateY(16px);
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--night-800), var(--night-950));
    border: 1px solid rgba(188, 204, 220, 0.12);
    box-shadow: var(--shadow);
}

.poster-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.28), transparent 34%), linear-gradient(135deg, rgba(16, 42, 67, 0.75), rgba(10, 25, 41, 0.96));
}

.poster-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.25s ease;
}

.poster-frame img.image-off,
.hero-slide > img.image-off,
.detail-hero > img.image-off,
.category-tile > img.image-off,
.category-collage img.image-off,
.category-card-large img.image-off {
    opacity: 0;
}

.portrait-frame {
    aspect-ratio: 2 / 3;
    border-radius: 22px;
}

.landscape-frame {
    aspect-ratio: 16 / 10;
    border-radius: 18px 18px 0 0;
}

.wide-frame {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
}

.hero-poster .poster-frame {
    width: 300px;
    border-radius: 28px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52), var(--glow);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    color: var(--night-100);
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 2rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 36px;
    height: 4px;
    padding: 0;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: var(--amber-500);
}

.section {
    padding: 78px 0;
}

.block-dark {
    background: var(--night-950);
}

.block-gradient {
    background: linear-gradient(180deg, var(--night-900), var(--night-950));
}

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

.section-head h2,
.panel-head h2,
.filter-panel h2,
.side-panel h2,
.article-block h2 {
    margin: 0;
    color: var(--night-100);
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    letter-spacing: -0.04em;
}

.section-link {
    color: var(--amber-400);
    font-weight: 800;
}

.grid {
    display: grid;
}

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

.compact-grid,
.category-movie-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.movie-card {
    position: relative;
    overflow: hidden;
    display: block;
    color: var(--night-100);
    background: rgba(16, 42, 67, 0.62);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.42);
    background: rgba(30, 58, 86, 0.76);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

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

.play-badge {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--night-950);
    background: rgba(245, 158, 11, 0.95);
    border-radius: 999px;
    box-shadow: var(--glow);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.card-body strong {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    color: var(--night-100);
    font-size: 1rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--night-400);
    font-size: 0.88rem;
    font-style: normal;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body small {
    color: var(--night-500);
    font-size: 0.78rem;
}

.card-tags span {
    padding: 4px 8px;
    font-size: 0.72rem;
}

.compact-card .card-body {
    padding: 12px 4px 0;
    background: transparent;
}

.compact-card {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.compact-card .card-body strong {
    min-height: auto;
    font-size: 0.95rem;
}

.compact-card .poster-frame {
    border-radius: 18px;
}

.rating-pill,
.big-score,
.rank-score {
    color: var(--night-950);
    background: var(--amber-500);
    border-radius: 999px;
    font-weight: 900;
}

.rating-pill {
    justify-self: start;
    padding: 4px 9px;
    font-size: 0.78rem;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.movie-card-wide .card-body {
    padding: 0;
}

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

.stack-list {
    display: grid;
    gap: 16px;
}

.rank-panel,
.filter-panel,
.side-panel,
.poster-card,
.detail-card {
    background: rgba(16, 42, 67, 0.66);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.rank-panel,
.filter-panel {
    padding: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 92px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(245, 158, 11, 0.08);
}

.rank-num {
    color: var(--amber-400);
    font-size: 1.2rem;
    font-weight: 900;
    text-align: center;
}

.rank-frame {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    box-shadow: none;
}

.rank-info {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rank-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    overflow: hidden;
    color: var(--night-400);
    font-size: 0.85rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info small {
    color: var(--night-500);
}

.rank-score {
    min-width: 46px;
    padding: 8px 10px;
    text-align: center;
}

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

.category-tile {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: var(--night-900);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 41, 0.08), rgba(10, 25, 41, 0.94));
}

.category-tile img {
    position: absolute;
    inset: 0;
}

.category-tile span,
.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 1;
}

.category-tile span,
.category-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--night-950);
    background: var(--amber-500);
    border-radius: 14px;
    font-weight: 900;
    box-shadow: var(--glow);
}

.category-tile strong {
    margin-top: 12px;
    font-size: 1.3rem;
}

.category-tile em {
    margin-top: 8px;
    color: var(--night-300);
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.6;
}

.page-hero {
    position: relative;
    padding: 154px 0 76px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 15%, rgba(245, 158, 11, 0.22), transparent 34%), linear-gradient(135deg, var(--night-900), var(--night-950));
}

.slim-hero {
    text-align: center;
}

.slim-hero .container {
    display: grid;
    justify-items: center;
}

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

.small-actions {
    margin-top: 24px;
}

.filter-panel label {
    display: block;
    margin-bottom: 12px;
    color: var(--night-200);
    font-weight: 800;
}

.filter-panel input,
.big-search input {
    padding: 14px 18px;
    border-radius: 18px;
}

.filter-chips,
.search-chips {
    margin-top: 16px;
}

.chip-row button {
    color: var(--night-200);
    cursor: pointer;
}

.chip-row button:hover,
.chip-row button.is-selected {
    color: var(--night-950);
    background: var(--amber-500);
}

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

.category-card-large {
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    color: var(--night-100);
    background: rgba(16, 42, 67, 0.68);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.36);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    min-height: 260px;
    background: linear-gradient(135deg, var(--night-800), var(--night-950));
}

.category-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
}

.category-content h2 {
    margin: 0;
    font-size: 1.7rem;
}

.category-content p {
    margin: 0;
    color: var(--night-300);
    line-height: 1.8;
}

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

.full-rank .rank-row {
    grid-template-columns: 58px 130px minmax(0, 1fr) auto;
}

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

.rank-tabs {
    justify-content: center;
    margin-top: 24px;
}

.search-hero .container {
    max-width: 880px;
}

.big-search {
    margin-top: 30px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(188, 204, 220, 0.14);
    border-radius: 999px;
}

.big-search input {
    border-radius: 999px;
}

.detail-hero {
    position: fixed;
    inset: 0 0 auto;
    height: 520px;
    z-index: -1;
    background: var(--night-950);
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 41, 0.72), var(--night-950)), linear-gradient(90deg, var(--night-950), rgba(10, 25, 41, 0.28));
}

.detail-section {
    padding-top: 118px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--night-400);
    font-size: 0.9rem;
}

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

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

.detail-main {
    display: grid;
    gap: 22px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(188, 204, 220, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

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

.video-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--night-100);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.68));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-start span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    color: var(--night-950);
    background: var(--amber-500);
    border-radius: 999px;
    box-shadow: var(--glow);
    font-size: 2rem;
}

.video-start strong {
    font-size: 1.15rem;
}

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

.video-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: none;
    padding: 12px 14px;
    color: var(--night-100);
    background: rgba(239, 68, 68, 0.9);
    border-radius: 14px;
    text-align: center;
}

.video-message.is-visible {
    display: block;
}

.detail-card {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.detail-title-row h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.big-score {
    min-width: 70px;
    padding: 12px 14px;
    font-size: 1.4rem;
    text-align: center;
}

.lead-text {
    margin: 20px 0 0;
    color: var(--night-200);
    font-size: 1.12rem;
    line-height: 1.8;
}

.tag-cloud {
    margin-top: 22px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.stat-grid div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
}

.stat-grid span {
    display: block;
    color: var(--night-500);
    font-size: 0.78rem;
}

.stat-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--night-100);
}

.article-block {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(188, 204, 220, 0.12);
}

.article-block h2 {
    font-size: 1.45rem;
}

.article-block p {
    color: var(--night-300);
    margin: 14px 0 0;
    line-height: 1.9;
}

.detail-side {
    display: grid;
    gap: 18px;
}

.poster-card,
.side-panel {
    padding: 18px;
}

.side-panel dl {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
}

.side-panel dt {
    color: var(--night-500);
    font-size: 0.8rem;
}

.side-panel dd {
    margin: 4px 0 0;
    color: var(--night-200);
    line-height: 1.5;
}

.related-section {
    padding-top: 54px;
}

.site-footer {
    background: var(--night-950);
    border-top: 1px solid rgba(188, 204, 220, 0.1);
    padding-top: 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 38px;
}

.footer-grid p {
    max-width: 500px;
    color: var(--night-400);
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--night-100);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: var(--night-400);
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    margin-top: 42px;
    padding: 22px 16px;
    color: var(--night-500);
    border-top: 1px solid rgba(188, 204, 220, 0.08);
    text-align: center;
}

.is-hidden {
    display: none !important;
}

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

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

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

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

    .two-column,
    .ranking-layout,
    .detail-grid,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

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

    .hero {
        min-height: 640px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 82px;
    }

    .hero-poster {
        display: none;
    }

    .hero-nav {
        display: none;
    }

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

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

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

    .category-card-large {
        grid-template-columns: 1fr;
    }

    .category-collage {
        min-height: 190px;
    }

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

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

    .rank-score {
        grid-column: 2 / 4;
        justify-self: start;
    }
}

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

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text em {
        display: none;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

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

    .btn {
        width: 100%;
    }

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

    .movie-card-wide {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    .page-hero {
        padding: 128px 0 56px;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-title-row {
        display: grid;
    }

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

    .big-search {
        flex-direction: column;
        border-radius: 24px;
    }

    .rank-info em {
        display: none;
    }
}
