:root {
    color-scheme: light;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --amber: #d97706;
    --rose: #e11d48;
    --blue: #2563eb;
    --emerald: #059669;
    --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.08);
    --shadow-md: 0 10px 24px rgb(15 23 42 / 0.12);
    --shadow-xl: 0 24px 60px rgb(15 23 42 / 0.20);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-900);
    background: linear-gradient(180deg, var(--slate-50) 0%, #eef2f7 50%, var(--white) 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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: rgb(255 255 255 / 0.94);
    border-bottom: 1px solid rgb(226 232 240 / 0.78);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 32px, var(--container));
    height: 72px;
    margin: 0 auto;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--slate-700), var(--slate-950));
    box-shadow: 0 10px 20px rgb(15 23 42 / 0.24);
}

.logo-copy {
    display: grid;
    line-height: 1.15;
}

.logo-name {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.logo-tagline {
    margin-top: 3px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link,
.mobile-nav-link {
    color: var(--slate-600);
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--slate-950);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--slate-100);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--slate-800);
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.home-hero {
    position: relative;
    width: min(100% - 32px, var(--container));
    margin: 28px auto 0;
}

.home-hero > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hero-slider {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--slate-900);
    box-shadow: var(--shadow-xl);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: 620px;
    padding: clamp(32px, 6vw, 76px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(2 6 23 / 0.92) 0%, rgb(2 6 23 / 0.72) 42%, rgb(2 6 23 / 0.25) 100%),
        linear-gradient(0deg, rgb(2 6 23 / 0.60), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    color: var(--white);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker {
    color: var(--amber);
}

.section-kicker.rose {
    color: var(--rose);
}

.section-kicker.blue {
    color: var(--blue);
}

.hero-content h2 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-content p {
    max-width: 620px;
    margin: 0;
    color: rgb(255 255 255 / 0.88);
    font-size: clamp(17px, 2.4vw, 22px);
    line-height: 1.7;
}

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

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

.hero-tags span,
.movie-tags span,
.detail-meta span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--white);
    background: rgb(255 255 255 / 0.18);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
}

.hero-actions,
.page-hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgb(15 23 42 / 0.18);
}

.button-primary {
    color: var(--slate-950);
    background: var(--white);
}

.button-ghost {
    color: var(--white);
    border-color: rgb(255 255 255 / 0.35);
    background: rgb(255 255 255 / 0.16);
    backdrop-filter: blur(8px);
}

.button-ghost.dark {
    color: var(--slate-900);
    border-color: var(--slate-300);
    background: rgb(255 255 255 / 0.60);
}

.button-dark {
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-700), var(--slate-950));
}

.hero-feature-card {
    position: absolute;
    right: clamp(20px, 5vw, 60px);
    bottom: clamp(24px, 5vw, 62px);
    z-index: 2;
    display: grid;
    width: min(360px, calc(100% - 40px));
    padding: 22px;
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 22px;
    color: var(--white);
    background: rgb(15 23 42 / 0.52);
    box-shadow: 0 24px 56px rgb(2 6 23 / 0.36);
    backdrop-filter: blur(14px);
}

.hero-feature-card span {
    color: #fbbf24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-feature-card strong {
    margin-top: 8px;
    font-size: 22px;
}

.hero-feature-card small {
    margin-top: 8px;
    color: rgb(255 255 255 / 0.78);
    line-height: 1.6;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgb(255 255 255 / 0.18);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-control:hover {
    background: rgb(255 255 255 / 0.28);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

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

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

.section-block,
.category-overview-block,
.player-section,
.detail-content,
.breadcrumb {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section-block,
.category-overview-block,
.player-section {
    padding: 72px 0;
}

.section-on-white {
    position: relative;
}

.section-on-white::before {
    content: "";
    position: absolute;
    inset: 0 calc((100vw - min(100vw - 32px, var(--container))) / -2);
    z-index: -1;
    background: rgb(255 255 255 / 0.72);
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-title-row h2,
.page-hero h1,
.detail-copy h1,
.story-card h2,
.detail-side-list h2 {
    margin: 0;
    color: var(--slate-950);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-title-row p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--slate-600);
    line-height: 1.75;
}

.text-link {
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--slate-950);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-link {
    display: grid;
    height: 100%;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-200), var(--slate-100));
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgb(2 6 23 / 0.62) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.poster-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--slate-950);
    background: var(--white);
    font-size: 12px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-action {
    opacity: 1;
    transform: translateY(0);
}

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

.movie-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-950);
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.movie-one-line {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags span {
    color: var(--slate-700);
    background: var(--slate-100);
    backdrop-filter: none;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: center;
}

.split-copy {
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-700), var(--slate-950));
    box-shadow: var(--shadow-xl);
}

.split-copy h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.split-copy p {
    margin: 18px 0 0;
    color: rgb(255 255 255 / 0.78);
    line-height: 1.8;
}

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

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

.rank-item a {
    display: grid;
    grid-template-columns: auto 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rank-item img {
    width: 58px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose), var(--amber));
    font-size: 13px;
    font-weight: 900;
}

.rank-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.category-card {
    display: grid;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgb(226 232 240 / 0.88);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--white), var(--slate-50));
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.category-card span {
    color: var(--slate-950);
    font-size: 19px;
    font-weight: 900;
}

.category-card p {
    margin: 12px 0;
    color: var(--slate-600);
    font-size: 13px;
    line-height: 1.65;
}

.category-card strong {
    align-self: end;
    color: var(--blue);
    font-size: 13px;
}

.page-hero,
.detail-hero {
    width: min(100% - 32px, var(--container));
    margin: 32px auto 0;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgb(37 99 235 / 0.22), transparent 34%),
        linear-gradient(135deg, var(--slate-100), var(--white));
    box-shadow: var(--shadow-md);
}

.page-hero p {
    max-width: 800px;
    margin: 16px 0 0;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.8;
}

.ranking-hero,
.search-hero,
.category-hero {
    background:
        radial-gradient(circle at top right, rgb(225 29 72 / 0.20), transparent 36%),
        linear-gradient(135deg, var(--white), var(--slate-100));
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.86);
    box-shadow: var(--shadow-sm);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    color: var(--slate-900);
    background: var(--white);
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgb(37 99 235 / 0.10);
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-selects label {
    min-width: 140px;
}

.filter-empty {
    display: none;
    margin-top: 24px;
    padding: 24px;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-lg);
    color: var(--slate-500);
    text-align: center;
    background: var(--white);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 28px;
    color: var(--slate-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--slate-700);
    font-weight: 800;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    background:
        radial-gradient(circle at 85% 10%, rgb(217 119 6 / 0.18), transparent 34%),
        linear-gradient(135deg, var(--white), var(--slate-100));
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

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

.detail-copy h1 {
    font-size: clamp(34px, 5.6vw, 62px);
}

.detail-one-line {
    margin: 18px 0 0;
    color: var(--slate-700);
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta {
    margin-top: 20px;
}

.detail-meta span,
.detail-tags span {
    color: var(--slate-700);
    background: var(--slate-100);
}

.detail-tags {
    margin-top: 14px;
}

.player-section {
    padding-bottom: 36px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: var(--slate-950);
    box-shadow: var(--shadow-xl);
}

.player-shell video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-shell video {
    background: #000;
}

.player-cover {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--white);
    background: #000;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.48);
}

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

.play-circle {
    position: relative;
    z-index: 2;
    display: grid;
    width: clamp(72px, 10vw, 108px);
    height: clamp(72px, 10vw, 108px);
    place-items: center;
    padding-left: 5px;
    border: 2px solid rgb(255 255 255 / 0.60);
    border-radius: 999px;
    color: var(--slate-950);
    background: rgb(255 255 255 / 0.92);
    box-shadow: 0 22px 50px rgb(0 0 0 / 0.34);
    font-size: clamp(28px, 4vw, 42px);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding: 36px 0 70px;
}

.story-card,
.detail-side-list {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.story-card {
    grid-column: 1;
}

.story-card h2,
.detail-side-list h2 {
    margin-bottom: 14px;
    font-size: clamp(24px, 3vw, 32px);
}

.story-card p {
    margin: 0;
    color: var(--slate-700);
    font-size: 16px;
    line-height: 1.95;
    text-align: justify;
}

.detail-side-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
}

.site-footer {
    margin-top: 36px;
    color: var(--slate-300);
    background: var(--slate-900);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 40px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 52px 0;
}

.footer-logo {
    color: var(--white);
    font-size: 20px;
}

.footer-brand p {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--slate-400);
    line-height: 1.8;
}

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

.footer-links h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 16px;
}

.footer-links a {
    display: block;
    margin-top: 10px;
    color: var(--slate-400);
    font-size: 14px;
}

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

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgb(148 163 184 / 0.18);
    color: var(--slate-500);
    font-size: 13px;
    text-align: center;
}

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

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

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

    .nav-toggle {
        display: block;
    }

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

    .hero-feature-card {
        display: none;
    }

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

    .split-section,
    .detail-hero,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .detail-side-list,
    .story-card {
        grid-column: auto;
        grid-row: auto;
    }

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

    .rank-list--wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: min(100% - 24px, var(--container));
        height: 66px;
    }

    .logo-name {
        font-size: 18px;
    }

    .home-hero,
    .section-block,
    .category-overview-block,
    .player-section,
    .detail-content,
    .breadcrumb,
    .page-hero,
    .detail-hero,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, var(--container));
    }

    .hero-slider,
    .hero-slide {
        min-height: 520px;
        border-radius: 22px;
    }

    .hero-slide {
        padding: 28px;
    }

    .hero-control {
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .hero-dots {
        bottom: 28px;
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .section-title-row {
        display: grid;
        align-items: start;
    }

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

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

    .movie-card strong {
        font-size: 15px;
    }

    .filter-selects,
    .filter-selects label {
        width: 100%;
    }

    .page-hero,
    .detail-hero {
        padding: 26px;
        border-radius: 22px;
    }

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

@media (max-width: 420px) {
    .movie-grid,
    .movie-grid--three,
    .movie-grid--catalog,
    .movie-grid--six,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .page-hero-actions,
    .detail-actions {
        display: grid;
    }
}
