:root {
    color-scheme: dark;
    --bg: #030712;
    --bg-soft: #0b1120;
    --panel: #111827;
    --panel-soft: rgba(17, 24, 39, 0.76);
    --line: #1f2937;
    --line-soft: rgba(148, 163, 184, 0.18);
    --text: #f9fafb;
    --muted: #9ca3af;
    --subtle: #6b7280;
    --primary: #10b981;
    --primary-soft: rgba(16, 185, 129, 0.18);
    --primary-line: rgba(16, 185, 129, 0.48);
    --blue-soft: rgba(59, 130, 246, 0.18);
    --purple-soft: rgba(168, 85, 247, 0.18);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --radius: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100% - 32px));
    height: 64px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #34d399;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--primary-line);
    border-radius: 12px;
    background: var(--primary-soft);
    box-shadow: 0 0 32px rgba(16, 185, 129, 0.18);
    font-size: 13px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #d1d5db;
    font-size: 14px;
}

.desktop-nav a,
.mobile-nav a,
.site-footer a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.site-footer a:hover {
    color: #34d399;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.78);
    color: var(--text);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: #e5e7eb;
}

.mobile-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.98);
}

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

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(31, 41, 55, 0.7);
    color: #d1d5db;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    background: var(--bg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-shade,
.detail-hero-mask,
.featured-mask,
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.18) 0%, rgba(3, 7, 18, 0.72) 52%, #030712 100%);
}

.hero-shade::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 22% 72%, rgba(16, 185, 129, 0.24), transparent 42%), linear-gradient(90deg, rgba(3, 7, 18, 0.86), transparent 72%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 120px 0 112px;
}

.hero-copy {
    width: min(680px, 100%);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid var(--primary-line);
    border-radius: 999px;
    background: var(--primary-soft);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 18px 0 16px;
    color: var(--text);
    font-size: clamp(36px, 7vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero p,
.page-hero p,
.detail-hero p {
    max-width: 760px;
    margin: 0;
    color: #d1d5db;
    font-size: clamp(16px, 2.1vw, 20px);
}

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

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

.hero-tags span,
.card-tags span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.82);
    color: #d1d5db;
    font-size: 12px;
}

.hero-tags span,
.tag-cloud span {
    padding: 6px 11px;
}

.card-tags span {
    padding: 4px 8px;
}

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

.primary-btn,
.ghost-btn,
.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.primary-btn,
.hero-search button {
    border: 0;
    background: #059669;
    color: #ffffff;
    cursor: pointer;
}

.primary-btn:hover,
.hero-search button:hover {
    transform: translateY(-1px);
    background: #10b981;
}

.ghost-btn {
    border: 1px solid var(--line-soft);
    background: rgba(17, 24, 39, 0.52);
    color: #e5e7eb;
}

.ghost-btn:hover {
    border-color: var(--primary-line);
    color: #34d399;
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2));
    bottom: 120px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.hero-dots button.is-active {
    height: 32px;
    border-color: #34d399;
    background: #34d399;
}

.hero-search {
    position: absolute;
    right: 50%;
    bottom: 34px;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(220px, 520px) auto;
    gap: 12px;
    width: min(760px, calc(100% - 32px));
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.72);
    box-shadow: var(--shadow);
    transform: translateX(50%);
    backdrop-filter: blur(16px);
}

.hero-search label {
    display: grid;
    gap: 2px;
}

.hero-search span,
.filters-panel label span {
    color: #9ca3af;
    font-size: 12px;
}

.hero-search input,
.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: rgba(3, 7, 18, 0.72);
    color: var(--text);
}

.hero-search input {
    min-height: 44px;
    padding: 0 14px;
}

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

.intro-section {
    padding-bottom: 40px;
}

.section-heading {
    max-width: 840px;
}

.section-heading span,
.section-title-row span {
    color: #34d399;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.section-title-row h2,
.related-side h2,
.detail-content h2 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.18;
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.quick-links a {
    padding: 10px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: #d1d5db;
    background: rgba(17, 24, 39, 0.72);
}

.quick-links a:hover {
    border-color: var(--primary-line);
    color: #34d399;
}

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

.section-title-row a {
    color: #34d399;
    font-weight: 700;
}

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

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

.movie-card {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.horizontal-cards .card-cover {
    aspect-ratio: 16 / 10;
}

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

.movie-card:hover img,
.small-card:hover img,
.category-tile:hover,
.category-card-cover:hover {
    transform: scale(1.08);
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.76) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-gradient {
    opacity: 1;
}

.card-year,
.rank-badge,
.card-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-year {
    top: 12px;
    right: 12px;
    padding: 5px 8px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: #34d399;
}

.card-play {
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #34d399;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    display: grid;
    gap: 6px;
}

.card-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #f3f4f6;
    font-size: 16px;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card:hover strong,
.small-card:hover strong,
.category-card h2 a:hover {
    color: #34d399;
}

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

.card-line {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--subtle);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.featured-section,
.category-section {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.52), rgba(3, 7, 18, 0.95));
}

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

.featured-main {
    position: relative;
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 36px;
    border-radius: 22px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.featured-main strong,
.featured-main em,
.featured-main .pill {
    position: relative;
    z-index: 2;
}

.featured-main strong {
    display: block;
    margin-top: 14px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.featured-main em {
    max-width: 680px;
    margin-top: 12px;
    color: #d1d5db;
    font-style: normal;
}

.featured-list,
.related-list {
    display: grid;
    gap: 14px;
}

.small-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.72);
    transition: background 0.2s ease, border 0.2s ease;
}

.small-card:hover {
    border-color: var(--primary-line);
    background: rgba(31, 41, 55, 0.92);
}

.small-cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: #111827;
}

.small-card strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 4px;
    color: var(--text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.horizontal-cards {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-cards .movie-card {
    width: 294px;
    flex: 0 0 294px;
    scroll-snap-align: start;
}

.horizontal-cards::-webkit-scrollbar {
    height: 8px;
}

.horizontal-cards::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #1f2937;
}

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background-position: center;
    background-size: cover;
    transition: transform 0.35s ease, border 0.2s ease;
}

.category-tile:hover {
    border-color: var(--primary-line);
}

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

.category-tile strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
}

.category-tile em {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    color: #d1d5db;
    font-size: 14px;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-samples {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    color: #9ca3af;
    font-size: 12px;
}

.sub-page {
    padding-top: 64px;
}

.page-hero,
.detail-hero {
    position: relative;
    min-height: 360px;
    background-position: center;
    background-size: cover;
}

.small-hero {
    display: flex;
    align-items: flex-end;
    background: radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.22), transparent 34%), linear-gradient(135deg, #0b1120 0%, #030712 72%);
}

.page-hero > div,
.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 54px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #9ca3af;
    font-size: 14px;
}

.breadcrumb a {
    color: #34d399;
}

.filters-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.6fr) minmax(180px, 0.8fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.72);
}

.filters-panel > div {
    display: grid;
    gap: 2px;
}

.filters-panel > div span {
    color: #34d399;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.filters-panel > div strong {
    color: var(--text);
    font-size: 18px;
}

.filters-panel label {
    display: grid;
    gap: 6px;
}

.filter-input,
.filter-select {
    min-height: 46px;
    padding: 0 14px;
}

.empty-state {
    display: none;
    margin: 40px 0 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.72);
    color: var(--muted);
    text-align: center;
}

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

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

.category-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(17, 24, 39, 0.72);
}

.category-card-cover {
    display: flex;
    min-height: 210px;
    align-items: flex-end;
    padding: 20px;
    background-position: center;
    background-size: cover;
    transition: transform 0.35s ease;
}

.category-card-cover span {
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.72);
    padding: 7px 12px;
    color: #34d399;
    font-weight: 800;
}

.category-card > div {
    padding: 22px;
}

.category-card h2 {
    margin: 0;
    font-size: 22px;
}

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

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

.category-card-links a {
    display: -webkit-box;
    overflow: hidden;
    color: #d1d5db;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.detail-page {
    padding-top: 64px;
}

.detail-hero {
    min-height: 430px;
}

.detail-hero-mask {
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.46), rgba(3, 7, 18, 0.9) 74%, #030712 100%), radial-gradient(circle at 18% 60%, rgba(16, 185, 129, 0.2), transparent 36%);
}

.detail-hero-inner {
    padding-top: 150px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.detail-main,
.related-side,
.detail-content,
.player-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(17, 24, 39, 0.72);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.player-card {
    overflow: hidden;
}

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

.video-shell video {
    width: 100%;
    height: 100%;
    background: #000000;
    object-fit: contain;
}

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.78));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.play-circle {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid var(--primary-line);
    border-radius: 999px;
    background: var(--primary-soft);
    color: #34d399;
    font-size: 28px;
    box-shadow: 0 0 42px rgba(16, 185, 129, 0.28);
}

.detail-content {
    margin-top: 22px;
    padding: 28px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.84);
    color: #d1d5db;
    font-size: 13px;
}

.detail-content h2,
.related-side h2 {
    margin-top: 0;
    font-size: 24px;
}

.detail-content p {
    margin: 0 0 24px;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.85;
}

.tag-cloud {
    margin: 0 0 28px;
}

.related-side {
    position: sticky;
    top: 88px;
    padding: 22px;
}

.site-footer {
    margin-top: 76px;
    border-top: 1px solid var(--line);
    background: #030712;
}

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

.footer-grid p {
    max-width: 560px;
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.footer-grid a:not(.brand) {
    display: block;
    margin-top: 9px;
    color: var(--muted);
}

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

.copyright {
    margin: 0;
    padding: 22px 16px;
    border-top: 1px solid var(--line);
    color: var(--subtle);
    text-align: center;
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 16px;
        font-size: 13px;
    }

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

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

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

    .mobile-toggle {
        display: block;
    }

    .hero-inner {
        align-items: center;
        padding-bottom: 150px;
    }

    .hero-dots {
        right: 24px;
        bottom: 164px;
    }

    .hero-search,
    .filters-panel,
    .featured-grid,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-search {
        bottom: 22px;
    }

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

    .related-side {
        position: static;
    }
}

@media (max-width: 620px) {
    .nav-wrap {
        width: min(100% - 24px, 1280px);
    }

    .brand {
        font-size: 17px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-inner {
        min-height: 760px;
        width: min(100% - 24px, 1280px);
        padding-top: 96px;
        padding-bottom: 210px;
    }

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 34px;
    }

    .hero-actions,
    .quick-links,
    .section-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-search {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
    }

    .hero-dots {
        right: 20px;
        bottom: 250px;
    }

    .section-wrap {
        width: min(100% - 24px, 1280px);
        padding: 52px 0;
    }

    .movie-grid,
    .catalog-grid,
    .category-grid,
    .category-list-page {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .card-body strong {
        font-size: 14px;
    }

    .card-line {
        display: none;
    }

    .featured-main {
        min-height: 340px;
        padding: 24px;
    }

    .small-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .category-tile {
        min-height: 220px;
        padding: 18px;
    }

    .page-hero > div,
    .detail-hero-inner {
        width: min(100% - 24px, 1280px);
    }

    .detail-content,
    .related-side {
        padding: 20px;
    }
}
