
:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --cyan-500: #06b6d4;
    --blue-600: #2563eb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.18);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: var(--shadow-sm);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, #38bdf8, #06b6d4 45%, #2563eb);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.3);
    transition: transform 0.2s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    background: linear-gradient(90deg, #0284c7, #0891b2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-500);
    font-style: normal;
}

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

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

.nav-link:hover,
.mobile-nav-link:hover {
    color: var(--sky-600);
    background: var(--sky-50);
}

.nav-link.is-active,
.mobile-nav-link.is-active {
    color: var(--white);
    background: var(--sky-500);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--sky-50);
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    margin: 5px auto;
    background: var(--gray-700);
    border-radius: 99px;
}

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

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

.hero-carousel {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: var(--white);
    background: var(--gray-900);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1s ease;
    pointer-events: none;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(14, 165, 233, 0.58), transparent 32%),
        linear-gradient(90deg, rgba(2, 8, 23, 0.92), rgba(2, 8, 23, 0.68) 48%, rgba(2, 8, 23, 0.34)),
        linear-gradient(0deg, rgba(2, 8, 23, 0.86), transparent 46%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 60px;
    padding: 80px 0 160px;
}

.hero-copy {
    max-width: 760px;
    animation: fadeIn 0.65s ease both;
}

.hero-kicker,
.section-heading span,
.ranking-head span,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--sky-600);
    background: rgba(224, 242, 254, 0.96);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(40px, 7vw, 82px);
    line-height: 1.04;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

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

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

.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 11px;
    color: #075985;
    background: #e0f2fe;
    font-size: 13px;
    font-weight: 700;
}

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

.btn-primary,
.btn-glass,
.btn-link,
.section-more,
.filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 18px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    color: var(--white);
    background: var(--sky-500);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover,
.filter-reset:hover {
    transform: translateY(-2px);
    background: var(--sky-600);
    box-shadow: var(--shadow-md);
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.btn-link {
    color: rgba(255, 255, 255, 0.92);
    padding-inline: 6px;
}

.btn-link:hover {
    color: var(--white);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    transform: perspective(900px) rotateY(-8deg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 800;
}

.hero-bottom {
    position: absolute;
    left: 50%;
    bottom: 102px;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-dots,
.hero-category-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

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

.hero-category-links a {
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.hero-strip {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hero-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    border-radius: 16px;
    padding: 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.hero-mini-card img {
    width: 64px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
}

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

.section {
    padding: 72px 0;
    background: var(--white);
}

.section-light {
    background: var(--gray-50);
}

.section-heading {
    margin-bottom: 28px;
}

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

.section-heading h2 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--gray-500);
}

.section-more {
    color: var(--sky-600);
    background: var(--sky-50);
}

.section-more:hover {
    color: var(--white);
    background: var(--sky-500);
    transform: translateY(-2px);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 30px;
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.filter-search,
.filter-selects label {
    display: grid;
    gap: 7px;
}

.filter-search span,
.filter-selects span {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.filter-search input,
.filter-selects select {
    min-height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--gray-900);
    background: var(--gray-50);
    outline: none;
}

.filter-search input:focus,
.filter-selects select:focus {
    border-color: var(--sky-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

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

.filter-reset {
    border: 0;
    color: var(--white);
    background: var(--sky-500);
    cursor: pointer;
}

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

.movie-grid-home,
.movie-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(229, 231, 235, 0.86);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.36);
    box-shadow: var(--shadow-lg);
}

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

.movie-cover-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
}

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

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

.movie-cover-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-cover-layer {
    opacity: 1;
}

.play-circle,
.big-play {
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--sky-600);
    background: rgba(255, 255, 255, 0.94);
}

.play-circle {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.movie-type,
.rank-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.rank-mark {
    left: 12px;
    right: auto;
    background: var(--sky-500);
}

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

.movie-card-body h3 {
    min-height: 54px;
    margin: 0 0 10px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--sky-600);
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--gray-500);
    font-size: 14px;
}

.movie-one-line {
    min-height: 44px;
    margin: 0 0 14px;
    color: var(--gray-700);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

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

.category-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-entry {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.category-entry img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.category-entry:hover img {
    transform: scale(1.08);
    opacity: 0.5;
}

.category-entry div {
    position: absolute;
    inset: auto 18px 18px;
    color: var(--white);
}

.category-entry h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.category-entry p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

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

.ranking-box {
    border-radius: 22px;
    padding: 20px;
    background: var(--gray-900);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.sticky-side {
    position: sticky;
    top: 100px;
}

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

.ranking-head a {
    color: #bae6fd;
    font-weight: 800;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 34px 58px minmax(0, 1fr);
    grid-template-areas:
        "num img title"
        "num img info";
    gap: 4px 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.ranking-number {
    grid-area: num;
    color: #7dd3fc;
    font-size: 22px;
    font-weight: 900;
}

.ranking-item img {
    grid-area: img;
    width: 58px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.ranking-title {
    grid-area: title;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.ranking-info {
    grid-area: info;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, #0f172a, #0284c7);
}

.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
}

.small-hero {
    min-height: 320px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.page-hero h1 {
    max-width: 800px;
    margin: 16px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

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

.page-hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-layer,
.detail-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.56), transparent 34%),
        linear-gradient(90deg, rgba(2, 8, 23, 0.92), rgba(2, 8, 23, 0.46));
}

.compact-actions {
    margin-top: 24px;
}

.feature-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.feature-link {
    display: grid;
    gap: 6px;
    border-radius: 18px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-link span {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 900;
}

.feature-link em {
    color: var(--gray-500);
    font-style: normal;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
}

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

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0 72px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 820px;
    margin: 26px 0 0;
}

.detail-meta div {
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.detail-meta dt {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.detail-meta dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.player-section {
    padding-top: 54px;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
    cursor: pointer;
}

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

.big-play {
    width: 86px;
    height: 86px;
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.player-cover strong {
    font-size: clamp(22px, 4vw, 36px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

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

.detail-article,
.detail-side-card {
    border-radius: 22px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.detail-article h2 {
    margin: 0 0 14px;
    font-size: 28px;
}

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

.detail-article p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
}

.detail-side-card {
    display: grid;
    gap: 12px;
}

.detail-side-card h2 {
    margin: 0 0 4px;
}

.detail-side-card a {
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--sky-600);
    background: var(--sky-50);
    font-weight: 800;
}

.detail-side-card a:hover {
    color: var(--white);
    background: var(--sky-500);
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    color: var(--gray-500);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

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

.is-filter-hidden {
    display: none;
}

.site-footer {
    color: #d1d5db;
    background: var(--gray-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    padding: 36px 0;
}

.footer-grid strong {
    color: var(--white);
    font-size: 22px;
}

.footer-grid p {
    max-width: 580px;
    margin: 10px 0 0;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    color: #e5e7eb;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-content,
    .split-layout,
    .ranking-page-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .sticky-side {
        display: none;
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .nav-toggle {
        display: block;
    }

    .brand-text strong {
        font-size: 21px;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        min-height: 650px;
        padding-top: 58px;
        padding-bottom: 210px;
    }

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

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

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

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

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

    .detail-meta {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .header-inner {
        height: 66px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .brand-text em {
        display: none;
    }

    .hero-copy h1,
    .detail-copy h1 {
        font-size: 36px;
    }

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

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

    .hero-category-links {
        display: none;
    }

    .movie-grid,
    .movie-grid-home,
    .movie-grid-compact {
        grid-template-columns: 1fr;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .player-shell {
        border-radius: 18px;
    }
}
