:root {
    --bg: #0a0e1a;
    --bg-soft: #111827;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --muted-strong: #d1d5db;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --orange: #f97316;
    --red: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 32rem),
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.glass {
    border: 1px solid var(--border);
    background: var(--panel);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    background: rgba(10, 14, 26, 0.86);
    backdrop-filter: blur(18px);
}

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

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

.brand-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #111827;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.brand-text {
    background: linear-gradient(90deg, var(--amber-light), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 21px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted-strong);
    font-size: 15px;
}

.desktop-nav a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: inherit;
    transition: color 180ms ease;
}

.desktop-nav a:hover,
.nav-dropdown > button:hover {
    color: var(--amber-light);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 6px;
    width: 320px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(10, 14, 26, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: 180ms ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown__menu a {
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-dropdown__menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 250px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 8px 10px;
}

.header-search button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-search button,
.button--primary {
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #111827;
    box-shadow: 0 16px 35px rgba(245, 158, 11, 0.28);
}

.button--glass {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.09);
    color: var(--text);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--text);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--border);
    padding: 14px 24px 20px;
    background: rgba(10, 14, 26, 0.98);
}

.mobile-panel a {
    display: block;
    padding: 11px 0;
    color: var(--muted-strong);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    isolation: isolate;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease, visibility 900ms ease;
}

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 26, 0.98) 0%, rgba(10, 14, 26, 0.76) 42%, rgba(10, 14, 26, 0.12) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(10, 14, 26, 0.2) 45%, rgba(10, 14, 26, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    min-height: 620px;
    gap: 48px;
    padding: 110px 0 82px;
}

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

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 8vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags span,
.detail-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted-strong);
    font-size: 13px;
}

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

.hero-poster {
    display: block;
    overflow: hidden;
    border-radius: 28px;
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 14, 26, 0.72);
    color: var(--amber-light);
    font-weight: 800;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(10, 14, 26, 0.58);
    color: #fff;
    font-size: 36px;
    transform: translateY(-50%);
}

.hero-arrow--prev {
    left: 24px;
}

.hero-arrow--next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 180ms ease, background 180ms ease;
}

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

.home-sections,
.page-main > .container {
    padding-top: 56px;
}

.content-section {
    margin-bottom: 64px;
}

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

.section-heading h2,
.filter-panel h2,
.page-hero h1,
.detail-info h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

.section-more {
    color: var(--amber-light);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover {
    border-color: rgba(245, 158, 11, 0.48);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    transform: translateY(-6px);
}

.movie-card--horizontal {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.movie-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(249, 115, 22, 0.08));
}

.movie-card__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 260ms ease;
}

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

.movie-card--horizontal .movie-card__poster img {
    height: 100%;
    aspect-ratio: auto;
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.88));
}

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #111827;
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(10, 14, 26, 0.76);
    color: var(--amber-light);
}

.movie-card__body {
    padding: 18px;
}

.movie-card__title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 1.4em;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.movie-card__title:hover {
    color: var(--amber-light);
}

.movie-card__meta {
    margin: 8px 0;
    color: var(--amber-light);
    font-size: 13px;
    font-weight: 700;
}

.movie-card__desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.2em;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row span {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 12px;
}

.tag-row--large span {
    min-height: 32px;
    padding: 6px 12px;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 240ms ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.08), rgba(10, 14, 26, 0.92));
}

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

.category-tile strong {
    font-size: 22px;
}

.category-tile em {
    margin-top: 8px;
    color: var(--muted-strong);
    font-style: normal;
    line-height: 1.6;
}

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

.ranking-panel {
    border-radius: var(--radius);
    padding: 22px;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: 38px 56px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 180ms ease, transform 180ms ease;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.ranking-item__num {
    color: var(--amber-light);
    font-size: 18px;
    font-weight: 900;
}

.ranking-item img {
    width: 56px;
    height: 74px;
    border-radius: 10px;
    object-fit: cover;
}

.ranking-item__text {
    min-width: 0;
}

.ranking-item__text strong,
.ranking-item__text em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-item__text strong {
    color: var(--text);
}

.ranking-item__text em,
.ranking-item__heat {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.ranking-item__heat {
    color: var(--amber-light);
    font-weight: 900;
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    position: relative;
    padding: 88px 0 58px;
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(249, 115, 22, 0.08)),
        rgba(255, 255, 255, 0.02);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.8;
}

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

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

.filter-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: end;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 34px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(140px, 1fr));
    gap: 14px;
}

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

.filter-grid input,
.filter-grid select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: 0;
    background: rgba(10, 14, 26, 0.64);
    color: var(--text);
    padding: 12px 14px;
}

.empty-state {
    display: none;
    margin: 34px 0;
    padding: 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

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

.category-overview-grid {
    display: grid;
    gap: 20px;
    padding-bottom: 72px;
}

.category-overview {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 18px;
}

.category-overview__cover {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.12);
}

.category-overview__cover img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.category-overview h2 {
    margin: 10px 0;
    font-size: 30px;
}

.category-overview p {
    color: var(--muted-strong);
    line-height: 1.8;
}

.mini-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.mini-link-list a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted-strong);
    font-size: 13px;
}

.mini-link-list a:hover {
    color: var(--amber-light);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
}

.detail-hero__bg,
.detail-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-hero__bg {
    object-fit: cover;
    filter: blur(6px) saturate(1.08);
    transform: scale(1.06);
}

.detail-hero__shade {
    background:
        linear-gradient(90deg, rgba(10, 14, 26, 0.98), rgba(10, 14, 26, 0.74), rgba(10, 14, 26, 0.42)),
        linear-gradient(0deg, var(--bg), transparent 70%);
}

.detail-hero__inner {
    position: relative;
    z-index: 1;
    padding: 80px 0 72px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 42px;
    align-items: end;
}

.detail-poster {
    display: block;
    overflow: hidden;
    border-radius: 28px;
}

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

.detail-info h1 {
    max-width: 880px;
    font-size: clamp(40px, 7vw, 76px);
}

.detail-info p {
    max-width: 820px;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.9;
}

.detail-meta,
.tag-row--large {
    margin-top: 18px;
}

.detail-layout {
    display: grid;
    gap: 34px;
    padding-bottom: 74px;
}

.player-section,
.detail-content {
    border-radius: var(--radius);
    padding: 24px;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 0;
    background:
        radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 32%),
        linear-gradient(180deg, rgba(10, 14, 26, 0.18), rgba(10, 14, 26, 0.82));
    color: var(--text);
    text-align: center;
}

.player-cover.is-hidden {
    display: none;
}

.player-cover__icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #111827;
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(245, 158, 11, 0.36);
}

.player-cover strong {
    font-size: 26px;
}

.player-cover em {
    color: var(--muted-strong);
    font-style: normal;
}

.player-message {
    min-height: 1.5em;
    margin: 14px 0 0;
    color: var(--muted);
}

.detail-content h2 {
    margin: 0 0 12px;
    color: var(--amber-light);
    font-size: 24px;
}

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

.detail-content p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.95;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 72px;
}

.sitemap-section {
    border-radius: var(--radius);
    padding: 24px;
}

.sitemap-section--wide {
    grid-column: 1 / -1;
}

.sitemap-section h2 {
    margin: 0 0 16px;
    color: var(--amber-light);
}

.sitemap-section ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-section a {
    color: var(--muted-strong);
}

.sitemap-section a:hover {
    color: var(--amber-light);
}

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

.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(245, 158, 11, 0.18);
    background: rgba(10, 14, 26, 0.9);
}

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

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    line-height: 1.7;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--amber-light);
}

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

.footer-grid a:hover {
    color: var(--amber-light);
}

.brand--footer {
    margin-bottom: 14px;
}

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

    .menu-toggle {
        display: block;
    }

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

    .header-search {
        flex: 1;
        min-width: 180px;
    }

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

    .split-section,
    .ranking-layout,
    .filter-panel {
        grid-template-columns: 1fr;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }
}

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

    .header-inner {
        min-height: 64px;
        gap: 12px;
    }

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

    .header-search {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 560px;
    }

    .hero-content {
        padding: 92px 0 72px;
    }

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

    .hero-arrow {
        display: none;
    }

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

    .movie-grid,
    .movie-grid--horizontal,
    .category-grid,
    .footer-grid,
    .sitemap-grid,
    .sitemap-movies {
        grid-template-columns: 1fr;
    }

    .movie-card--horizontal {
        grid-template-columns: 120px 1fr;
    }

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

    .category-overview__cover img {
        min-height: 220px;
    }

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

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

    .detail-hero__inner {
        padding: 56px 0 58px;
    }

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

    .player-section,
    .detail-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .movie-card--horizontal {
        display: block;
    }

    .ranking-item {
        grid-template-columns: 34px 48px 1fr;
    }

    .ranking-item__heat {
        display: none;
    }
}
