:root {
    color-scheme: light;
    --bg: #fffaf0;
    --paper: #ffffff;
    --paper-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #fde68a;
    --brand: #ea580c;
    --brand-dark: #92400e;
    --brand-soft: #ffedd5;
    --gold: #f59e0b;
    --dark: #0f172a;
    --dark-2: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-soft: 0 12px 30px rgba(234, 88, 12, 0.12);
    --radius: 22px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 38%, #fff7ed 100%);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(146, 64, 14, 0.12);
    border-bottom: 1px solid rgba(253, 230, 138, 0.65);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-dark);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #374151;
    font-weight: 700;
}

.main-nav a,
.mobile-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--brand-dark);
    box-shadow: var(--shadow-soft);
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 12px 24px 18px;
    background: #fff7ed;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    font-weight: 800;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(253, 186, 116, 0.55), transparent 32%), linear-gradient(135deg, #d97706 0%, #f97316 42%, #dc2626 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38));
}

.hero-shell {
    position: relative;
    min-height: 700px;
    display: grid;
    align-content: center;
    padding: 72px 0 82px;
}

.hero-kicker,
.section-head span,
.page-hero span,
.rank-intro span,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 940px;
    margin: 20px 0 14px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-lead {
    max-width: 740px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2vw, 24px);
}

.hero-search {
    width: min(720px, 100%);
    margin-bottom: 28px;
}

.hero-search form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.hero-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: #111827;
    background: transparent;
}

.hero-search button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.hero-search button,
.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.34);
}

.button-light {
    color: #9a3412;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

.hero-slider {
    position: relative;
    min-height: 350px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: center;
    padding: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.34)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

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

.hero-copy,
.hero-poster,
.hero-dots {
    position: relative;
    z-index: 1;
}

.hero-copy h2 {
    margin: 16px 0 12px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.hero-tags span,
.detail-tags a,
.tag-cloud a {
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-poster {
    align-self: stretch;
    min-height: 280px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

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

.hero-poster span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 999px;
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.9);
    font-weight: 900;
}

.hero-dots {
    position: absolute;
    right: 26px;
    bottom: 20px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

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

.stats-section {
    padding: 42px 0 20px;
    background: #ffffff;
}

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

.stat-card {
    min-height: 132px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.stat-card span {
    color: #4b5563;
    font-weight: 800;
}

.stat-blue { background: linear-gradient(135deg, #eff6ff, #ecfeff); color: #1d4ed8; }
.stat-green { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); color: #15803d; }
.stat-amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #b45309; }
.stat-rose { background: linear-gradient(135deg, #fff1f2, #fdf2f8); color: #be123c; }

.section {
    padding: 80px 0;
}

.section-soft {
    background: linear-gradient(180deg, #fffbeb, #ffffff);
}

.section-dark {
    color: #ffffff;
    background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.35), transparent 28%), linear-gradient(135deg, #111827, #0f172a);
}

.section-rank {
    background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head span,
.page-hero span,
.rank-intro span {
    margin: 0 auto 14px;
    color: var(--brand);
    background: #fff7ed;
    border-color: #fed7aa;
}

.section-head.light span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
}

.section-head h2,
.page-hero h1,
.rank-intro h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.section-head p,
.page-hero p,
.rank-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.section-head.light p {
    color: #cbd5e1;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
}

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

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

.movie-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.poster-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 38px;
    background: rgba(0, 0, 0, 0.16);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
}

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.28;
}

.movie-card h3 a:hover,
.rank-copy h3 a:hover {
    color: var(--brand);
}

.movie-meta,
.movie-tags,
.rank-copy p,
.rank-copy span {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 48px;
    margin: 10px 0 12px;
    overflow: hidden;
    color: #374151;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.movie-card-horizontal .movie-poster {
    aspect-ratio: auto;
    min-height: 170px;
}

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

.category-tile {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.18);
}

.category-tile span {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 900;
}

.category-tile small {
    color: #d1d5db;
    font-size: 14px;
}

.rank-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 42px;
    align-items: start;
}

.rank-intro {
    position: sticky;
    top: 100px;
}

.rank-intro span {
    margin-left: 0;
}

.rank-intro p {
    margin-bottom: 24px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 56px 82px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #dc2626);
    font-weight: 900;
}

.rank-thumb {
    overflow: hidden;
    width: 82px;
    height: 104px;
    border-radius: 14px;
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-copy h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.rank-copy span {
    display: block;
    margin-top: 6px;
}

.tag-section {
    background: #ffffff;
}

.tag-cloud {
    justify-content: center;
}

.tag-cloud a,
.detail-tags a {
    color: #9a3412;
    background: #fff7ed;
    box-shadow: var(--shadow-soft);
}

.page-hero {
    padding: 82px 0;
    text-align: center;
    background: radial-gradient(circle at 20% 10%, rgba(251, 146, 60, 0.22), transparent 28%), linear-gradient(180deg, #fffbeb, #ffffff);
}

.category-hero,
.search-hero,
.ranking-hero {
    background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.24), transparent 26%), linear-gradient(135deg, #fff7ed, #ffffff);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-overview-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-overview-thumbs img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.category-overview-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.category-overview-card span {
    color: var(--brand);
    font-weight: 900;
}

.filter-panel {
    margin-bottom: 34px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-search input {
    min-height: 48px;
    border: 2px solid #fed7aa;
    border-radius: 999px;
    padding: 0 18px;
    outline: 0;
}

.filter-search input:focus {
    border-color: var(--brand);
}

.filter-search button,
.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: #9a3412;
    background: #fff7ed;
    font-weight: 800;
}

.filter-chip {
    min-height: 38px;
}

.filter-chip.is-active {
    color: #ffffff;
    background: var(--brand);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-state {
    padding: 70px 20px;
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.54)), var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: blur(2px) saturate(1.05);
    transform: scale(1.04);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    align-items: center;
    min-height: 560px;
    padding: 62px 0;
}

.detail-cover {
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
}

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

.detail-cover span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 54px;
    background: rgba(0, 0, 0, 0.18);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 14px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.9);
    font-weight: 900;
}

.detail-copy h1 {
    margin: 16px 0;
    max-width: 860px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 820px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-meta-list span {
    border-radius: 999px;
    padding: 7px 13px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.player-section {
    background: #ffffff;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #dc2626);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.45);
    font-size: 34px;
    transform: translateX(3px);
}

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

.detail-content-section {
    background: linear-gradient(180deg, #fffbeb, #ffffff);
}

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

.detail-main-text,
.detail-side {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-main-text {
    padding: 32px;
}

.detail-main-text h2,
.detail-side h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.detail-main-text p {
    margin: 0 0 28px;
    color: #374151;
    font-size: 17px;
}

.detail-main-text p:last-child {
    margin-bottom: 0;
}

.detail-side {
    padding: 26px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px 16px;
    margin: 0 0 20px;
}

.detail-side dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
}

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

.full.rank-list {
    gap: 16px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #030712);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 56px 0 34px;
}

.footer-brand {
    color: #fbbf24;
    margin-bottom: 16px;
}

.site-footer p {
    margin: 0;
    color: #a7b0c0;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #fbbf24;
    font-size: 18px;
}

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

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
    color: #9ca3af;
}

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

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

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

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

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

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

    .hero-poster {
        display: none;
    }

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

    .featured-grid,
    .horizontal-grid,
    .rank-layout,
    .category-overview-grid,
    .detail-hero-inner,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .rank-intro {
        position: static;
    }

    .detail-cover {
        max-width: 320px;
    }
}

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

    .brand {
        font-size: 21px;
    }

    .hero-shell {
        min-height: 620px;
        padding: 48px 0 56px;
    }

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

    .hero-search input {
        min-height: 46px;
    }

    .hero-slider {
        min-height: 430px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 24px;
    }

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

    .stats-grid,
    .movie-grid,
    .catalog-grid,
    .related-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .movie-card-horizontal .movie-poster {
        min-height: 150px;
    }

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

    .rank-item {
        grid-template-columns: 42px 68px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .rank-number {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .rank-thumb {
        width: 68px;
        height: 86px;
    }

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

    .detail-cover {
        max-width: 240px;
    }

    .detail-meta-list,
    .hero-actions,
    .detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .player-overlay span {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
}
