:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111c31;
    --panel-light: #1e293b;
    --line: #1e293b;
    --text: #ffffff;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --ocean: #0ea5e9;
    --ocean-dark: #0284c7;
    --amber: #f59e0b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 30rem), var(--bg);
    color: var(--text);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(1280px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.25);
    font-size: 15px;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

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

.desktop-nav a,
.mobile-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: #ffffff;
    background: #1e293b;
    transform: translateY(-1px);
}

.quick-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(390px, 36vw);
    margin-left: auto;
}

.quick-search input,
.mobile-nav input,
.search-page-form input,
.search-page-form select,
.page-filter-input {
    width: 100%;
    border: 1px solid #334155;
    border-radius: 12px;
    outline: none;
    background: #0b1220;
    color: #ffffff;
    padding: 11px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.mobile-nav input:focus,
.search-page-form input:focus,
.search-page-form select:focus,
.page-filter-input:focus {
    border-color: var(--ocean);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.quick-search button,
.mobile-nav button,
.search-page-form button {
    border: 0;
    border-radius: 12px;
    background: var(--ocean-dark);
    color: #ffffff;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-search button:hover,
.mobile-nav button:hover,
.search-page-form button:hover {
    background: var(--ocean);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: #1e293b;
    color: #ffffff;
    padding: 10px 12px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-nav form {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.hero-carousel {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08)), linear-gradient(0deg, #020617, transparent 28%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(720px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    transform: translateX(calc((min(1280px, 100vw - 32px) - min(720px, 100vw - 32px)) / -2));
}

.hero-badge {
    width: max-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ocean-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.hero-content h1 {
    margin: 24px 0 14px;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content p {
    display: -webkit-box;
    max-width: 680px;
    margin: 0;
    overflow: hidden;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hero-meta,
.hero-tags,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.hero-meta span {
    color: var(--muted);
    font-size: 14px;
}

.hero-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    color: #475569;
}

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 12px;
}

.primary-btn,
.ghost-btn,
.section-link,
.rank-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    min-height: 52px;
    padding: 0 26px;
    background: var(--ocean);
    color: #ffffff;
    box-shadow: 0 16px 42px rgba(14, 165, 233, 0.26);
}

.ghost-btn {
    min-height: 52px;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

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

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

.page-shell {
    padding: 36px 0 72px;
}

.panel-section {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 32px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.02em;
}

.section-link {
    padding: 10px 14px;
    background: #1e293b;
    color: #cbd5e1;
    font-size: 14px;
}

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

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

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

.movie-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.68);
    border-radius: var(--radius-lg);
    background: #1e293b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(14, 165, 233, 0.55);
    background: #233249;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
    transform: translateY(-4px);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020617;
}

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

.movie-card:hover .poster-wrap img {
    filter: brightness(1.08);
    transform: scale(1.04);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.04) 62%);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.88);
    color: #ffffff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-type {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    border-radius: 999px;
    background: var(--ocean-dark);
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.movie-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.movie-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card:hover .movie-body strong {
    color: #7dd3fc;
}

.movie-body em {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    overflow: hidden;
    color: var(--muted-2);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.movie-card-large .movie-body strong {
    font-size: 20px;
}

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

.scroll-row .movie-card {
    flex: 0 0 288px;
    scroll-snap-align: start;
}

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

.horizontal-card {
    display: flex;
    gap: 14px;
    overflow: hidden;
    border-radius: 14px;
    background: #1e293b;
    transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-card:hover {
    background: #24324a;
    transform: translateX(3px);
}

.horizontal-poster {
    position: relative;
    flex: 0 0 160px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.horizontal-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horizontal-poster span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.horizontal-body {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
    padding: 12px 14px 12px 0;
}

.horizontal-body strong,
.horizontal-body em,
.horizontal-body small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.horizontal-body strong {
    color: #ffffff;
}

.horizontal-body em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.horizontal-body small {
    color: var(--muted-2);
    font-size: 12px;
}

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

.category-tile,
.category-overview-card {
    display: grid;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.94));
    padding: 20px;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    border-color: rgba(14, 165, 233, 0.55);
    transform: translateY(-4px);
}

.category-tile span,
.category-overview-card strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.category-tile p,
.category-overview-card em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
}

.category-tile strong,
.category-overview-card small {
    color: #7dd3fc;
    font-size: 13px;
}

.category-tile small {
    display: grid;
    gap: 5px;
    margin-top: 4px;
}

.category-tile small a {
    overflow: hidden;
    color: var(--muted-2);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.category-covers img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
}

.category-info {
    display: grid;
    gap: 8px;
}

.page-hero {
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.68);
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at right, rgba(14, 165, 233, 0.22), transparent 32rem), linear-gradient(145deg, #0f172a, #020617);
    box-shadow: var(--shadow);
}

.small-hero {
    padding: clamp(34px, 7vw, 72px);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted-2);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #7dd3fc;
}

.filter-bar {
    margin-bottom: 22px;
}

.page-filter-input {
    max-width: 560px;
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 24px;
    align-content: start;
}

.player-card,
.detail-content,
.side-card {
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.86);
    box-shadow: var(--shadow);
}

.player-box {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24));
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
}

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

.overlay-play {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.92);
    box-shadow: 0 18px 46px rgba(14, 165, 233, 0.34);
    font-size: 30px;
}

.player-overlay strong {
    max-width: min(720px, 80%);
    font-size: clamp(20px, 3vw, 34px);
    text-align: center;
}

.player-state {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    color: #ffffff;
    font-size: 14px;
    pointer-events: none;
}

.detail-content {
    display: grid;
    gap: 24px;
    padding: clamp(22px, 4vw, 34px);
}

.detail-content h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.detail-meta,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span {
    border-radius: 999px;
    background: #1e293b;
    color: #cbd5e1;
    padding: 7px 12px;
    font-size: 13px;
}

.detail-content section {
    border-top: 1px solid rgba(51, 65, 85, 0.7);
    padding-top: 22px;
}

.detail-content h2,
.side-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 22px;
}

.detail-content p,
.side-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.9;
}

.side-card {
    padding: 18px;
}

.poster-side img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
}

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

.side-list .horizontal-card {
    background: #0b1220;
}

.side-list .horizontal-poster {
    flex-basis: 122px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 62px 154px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.62);
    border-radius: 18px;
    background: #111c31;
    padding: 12px 16px 12px 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(14, 165, 233, 0.56);
    transform: translateX(4px);
}

.rank-number {
    color: var(--ocean);
    font-size: 26px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 154px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
}

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

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

.rank-info strong {
    font-size: 18px;
}

.rank-info em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.rank-info small {
    color: var(--muted-2);
}

.rank-action {
    padding: 10px 14px;
    background: #1e293b;
    color: #dbeafe;
    font-size: 13px;
}

.search-panel {
    display: grid;
    gap: 22px;
}

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

.search-summary {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    border-top: 1px solid rgba(30, 41, 59, 0.96);
    background: #0f172a;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr 1fr;
    gap: 32px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
}

.footer-brand p {
    max-width: 520px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

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

.site-footer a {
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    padding: 18px 0 28px;
    color: var(--muted-2);
    font-size: 13px;
}

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

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

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

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

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

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

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero-content {
        transform: none;
        width: min(720px, calc(100% - 48px));
    }

    .hero-arrow {
        display: none;
    }

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

    .panel-section {
        padding: 22px;
    }

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

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

    .rank-action {
        display: none;
    }

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

@media (max-width: 620px) {
    .header-inner {
        height: 64px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .hero-carousel {
        height: 72vh;
        min-height: 520px;
    }

    .hero-shade {
        background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.28));
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 84px;
    }

    .hero-content h1 {
        margin-top: 16px;
    }

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

    .horizontal-poster {
        flex-basis: 132px;
    }

    .rank-row {
        grid-template-columns: 40px 96px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .rank-number {
        font-size: 20px;
    }

    .rank-row img {
        width: 96px;
    }

    .small-hero {
        padding: 28px;
    }
}
