@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Serif+SC:wght@500;700;900&display=swap");

:root {
    --dawn-50: #fff9f0;
    --dawn-100: #fff2df;
    --morning-50: #fff6ee;
    --morning-500: #f0601f;
    --sunrise-100: #ffe8d5;
    --sunrise-500: #ff6916;
    --sunrise-600: #f04e0c;
    --sunrise-700: #c73a0c;
    --ink-900: #111827;
    --ink-700: #374151;
    --ink-500: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f9fafb;
    --radius-xl: 1rem;
    --radius-2xl: 1.35rem;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 18px 45px rgb(17 24 39 / 0.13);
    --shadow-card: 0 10px 26px rgb(17 24 39 / 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, var(--dawn-50), #ffffff 34%, var(--soft));
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgb(229 231 235 / 0.75);
    box-shadow: var(--shadow-sm);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--ink-900);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 12px 24px rgb(255 105 22 / 0.32);
}

.brand-name {
    font-family: "Noto Serif SC", serif;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

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

.nav-link,
.mobile-link {
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--ink-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
    color: var(--sunrise-700);
    background: var(--sunrise-100);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--sunrise-100);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--sunrise-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

.mobile-brand {
    font-weight: 900;
    color: var(--sunrise-700);
    padding: 4px 12px 8px;
}

.mobile-link.muted {
    color: var(--ink-500);
    background: #fff7ed;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: #111827;
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgb(255 105 22 / 0.35), transparent 30%),
        linear-gradient(90deg, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.44) 48%, rgb(0 0 0 / 0.14)),
        linear-gradient(0deg, rgb(0 0 0 / 0.72), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1180px;
    color: #ffffff;
    padding-right: min(44vw, 560px);
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--sunrise-500);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
    font-family: "Noto Serif SC", serif;
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    max-width: 780px;
    text-shadow: 0 18px 45px rgb(0 0 0 / 0.36);
}

.hero-line {
    margin: 22px 0 0;
    max-width: 720px;
    color: rgb(255 255 255 / 0.92);
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.75;
}

.hero-meta {
    margin: 16px 0 0;
    color: rgb(255 255 255 / 0.78);
    font-weight: 700;
}

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
}

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgb(255 255 255 / 0.18);
    border: 1px solid rgb(255 255 255 / 0.22);
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-btn,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 18px 34px rgb(255 105 22 / 0.34);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    min-height: 48px;
    padding: 0 22px;
    color: #ffffff;
    border: 1px solid rgb(255 255 255 / 0.34);
    background: rgb(255 255 255 / 0.14);
    backdrop-filter: blur(10px);
}

.ghost-btn.light {
    background: rgb(255 255 255 / 0.22);
}

.compact-actions .ghost-btn {
    color: var(--ink-900);
    border-color: var(--line);
    background: #ffffff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgb(255 255 255 / 0.18);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

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

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

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-thumbs {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 78px;
    z-index: 8;
    width: min(380px, 35vw);
    display: grid;
    gap: 12px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 18px;
    color: #ffffff;
    background: rgb(255 255 255 / 0.14);
    border: 1px solid rgb(255 255 255 / 0.16);
    backdrop-filter: blur(14px);
}

.hero-thumb img {
    width: 80px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    font-weight: 900;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

main {
    width: 100%;
}

.content-section,
.search-panel,
.category-strip,
.category-list,
.detail-layout,
.player-section,
.more-related,
.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
    margin-top: 42px;
    padding: 22px;
    border-radius: var(--radius-2xl);
    background: rgb(255 255 255 / 0.88);
    border: 1px solid rgb(229 231 235 / 0.78);
    box-shadow: var(--shadow-card);
}

.search-box label {
    display: block;
    margin: 0 0 8px;
    color: var(--ink-700);
    font-weight: 900;
}

.site-search,
.category-filter,
.year-filter {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 18px;
    font: inherit;
    color: var(--ink-900);
    background: #ffffff;
    outline: none;
}

.site-search:focus,
.category-filter:focus,
.year-filter:focus {
    border-color: var(--sunrise-500);
    box-shadow: 0 0 0 4px rgb(255 105 22 / 0.12);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-reset {
    height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--ink-900);
    font-weight: 900;
    cursor: pointer;
}

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

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-head h2,
.strip-head h2,
.related-side h2,
.player-section h2,
.story-card h2,
.category-summary h2 {
    margin: 0;
    color: var(--ink-900);
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.section-more,
.text-btn {
    min-height: 40px;
    padding: 0 16px;
    color: var(--sunrise-700);
    background: var(--sunrise-100);
}

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

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

.movie-card {
    min-width: 0;
}

.card-link {
    display: block;
    height: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgb(229 231 235 / 0.78);
    box-shadow: 0 6px 18px rgb(17 24 39 / 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.cover-frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dawn-100), var(--sunrise-100));
}

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

.card-link:hover .cover-frame img {
    transform: scale(1.07);
}

.card-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgb(0 0 0 / 0.5);
    backdrop-filter: blur(8px);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 10px 20px rgb(239 68 68 / 0.25);
    font-size: 0.76rem;
}

.rank-badge.wide {
    font-size: 0.72rem;
}

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

.card-body strong {
    font-size: 1.03rem;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body em {
    color: var(--ink-500);
    font-style: normal;
    font-size: 0.88rem;
}

.card-tags {
    gap: 6px;
}

.card-tags span {
    padding: 3px 8px;
    color: var(--sunrise-700);
    background: #fff7ed;
    font-size: 0.76rem;
}

.card-line {
    color: var(--ink-700);
    font-size: 0.9rem;
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card.compact .card-link {
    display: grid;
    grid-template-columns: 112px 1fr;
}

.movie-card.compact .cover-frame {
    aspect-ratio: auto;
    min-height: 116px;
}

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

.movie-card.compact .card-line,
.movie-card.compact .card-tags {
    display: none;
}

.category-overview {
    padding-bottom: 10px;
}

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

.category-card {
    position: relative;
    display: grid;
    min-height: 170px;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow-card);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.68;
    transition: transform 0.35s ease;
}

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

.category-card span {
    position: relative;
    z-index: 2;
    align-self: end;
    padding: 18px;
    background: linear-gradient(0deg, rgb(0 0 0 / 0.76), transparent);
}

.category-card strong,
.category-card em {
    display: block;
}

.category-card strong {
    font-size: 1.25rem;
    font-weight: 900;
}

.category-card em {
    margin-top: 6px;
    color: rgb(255 255 255 / 0.82);
    font-style: normal;
    line-height: 1.55;
}

.category-strip {
    padding: 52px 0 0;
}

.strip-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

.strip-head p {
    margin: 8px 0 0;
    color: var(--ink-500);
    line-height: 1.65;
}

.strip-head a {
    color: var(--sunrise-700);
    font-weight: 900;
}

.strip-scroller {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.site-footer {
    margin-top: 72px;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
}

.footer-logo {
    font-family: "Noto Serif SC", serif;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 900;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgb(55 65 81 / 0.8);
    padding: 18px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.92rem;
}

.sub-page,
.movie-page {
    padding-top: 36px;
}

.page-hero,
.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.page-hero {
    padding: clamp(42px, 7vw, 84px);
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgb(255 255 255 / 0.18), transparent 28%),
        linear-gradient(135deg, #111827, #c73a0c 58%, #f0601f);
}

.page-hero.soft {
    color: var(--ink-900);
    background:
        radial-gradient(circle at 78% 12%, rgb(255 105 22 / 0.20), transparent 28%),
        linear-gradient(135deg, #ffffff, #fff7ed);
}

.page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.category-list {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.category-summary {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    padding: 18px;
    border-radius: var(--radius-2xl);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.summary-cover {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--dawn-100);
}

.summary-cover img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.category-summary p {
    color: var(--ink-700);
    line-height: 1.65;
}

.summary-links a {
    color: var(--sunrise-700);
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ink-500);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--sunrise-700);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(280px, 430px) 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(22px, 4vw, 48px);
    background:
        radial-gradient(circle at 88% 16%, rgb(255 105 22 / 0.15), transparent 30%),
        linear-gradient(135deg, #ffffff, var(--dawn-50));
}

.detail-cover {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: var(--dawn-100);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.detail-info {
    align-self: center;
}

.detail-info h1 {
    font-size: clamp(2.35rem, 5vw, 5rem);
}

.detail-line {
    color: var(--ink-700);
    font-size: 1.18rem;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-700);
    background: #ffffff;
    border: 1px solid var(--line);
    font-weight: 800;
}

.detail-tags span {
    color: var(--sunrise-700);
    background: #fff7ed;
    border-color: #fed7aa;
}

.player-section {
    margin-top: 34px;
}

.player-section h2 {
    margin-bottom: 18px;
}

.player-stage {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 38%, rgb(255 105 22 / 0.25), transparent 28%),
        rgb(0 0 0 / 0.52);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
    transition: opacity 0.2s ease;
}

.player-stage.ready .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-round {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
    box-shadow: 0 22px 42px rgb(255 105 22 / 0.38);
    font-size: 2.1rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    margin-top: 34px;
}

.detail-main,
.related-side {
    min-width: 0;
}

.story-card,
.related-side {
    border-radius: var(--radius-2xl);
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.story-card + .story-card {
    margin-top: 18px;
}

.story-card p {
    color: var(--ink-700);
    line-height: 1.92;
    font-size: 1.02rem;
}

.accent-card {
    border-left: 5px solid var(--sunrise-500);
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--ink-500);
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    color: var(--ink-900);
    font-weight: 700;
}

.related-side {
    position: sticky;
    top: 96px;
    align-self: start;
}

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

.more-related {
    padding-top: 46px;
}

.hidden-by-filter {
    display: none !important;
}

.no-results {
    grid-column: 1 / -1;
    padding: 34px;
    border-radius: var(--radius-2xl);
    color: var(--ink-700);
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--line);
}

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

    .hero-content {
        padding-right: 0;
    }

    .hero-thumbs {
        display: none;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-carousel {
        min-height: 620px;
        height: 76vh;
    }

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

    .hero-arrow {
        top: auto;
        bottom: 82px;
    }

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

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

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

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

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

    .footer-grid,
    .detail-hero,
    .detail-layout,
    .category-summary {
        grid-template-columns: 1fr;
    }

    .detail-cover img {
        min-height: 320px;
    }

    .related-side {
        position: static;
    }
}

@media (max-width: 560px) {
    .nav-wrap,
    .content-section,
    .search-panel,
    .category-strip,
    .category-list,
    .detail-layout,
    .player-section,
    .more-related,
    .breadcrumb,
    .page-hero,
    .detail-hero {
        width: min(100% - 22px, 1180px);
    }

    .hero-carousel {
        min-height: 650px;
    }

    .hero-content {
        width: min(100% - 26px, 1180px);
    }

    .hero-actions,
    .compact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .movie-grid,
    .catalog-grid,
    .category-grid,
    .strip-scroller {
        grid-template-columns: 1fr;
    }

    .movie-card.compact .card-link {
        grid-template-columns: 104px 1fr;
    }

    .page-hero,
    .detail-hero,
    .story-card,
    .related-side {
        border-radius: 20px;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
