:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --blue-600: #2563eb;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.09);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav-shell {
    max-width: var(--container);
    height: 72px;
    padding: 0 24px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    font-size: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sky-400), var(--blue-600));
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.32);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-4deg);
}

.brand-name {
    font-size: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--slate-700);
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
}

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

.desktop-nav a:hover {
    color: var(--sky-600);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: var(--slate-100);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 14px 24px 22px;
    border-top: 1px solid var(--slate-200);
    background: #ffffff;
}

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

.mobile-nav a {
    display: block;
    padding: 11px 4px;
    color: var(--slate-700);
    font-weight: 650;
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 8px;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--slate-950);
}

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

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.36), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.63) 42%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.28) 50%, rgba(2, 6, 23, 0.16) 100%);
}

.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 150px;
    padding: 0 28px;
}

.hero-copy {
    width: min(720px, 100%);
    margin: 0 auto;
    max-width: var(--container);
    color: #ffffff;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sky-500);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #bae6fd;
    padding: 8px 14px;
    border: 1px solid rgba(186, 230, 253, 0.35);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.15);
    backdrop-filter: blur(10px);
}

.hero-copy h1 {
    margin: 22px 0 16px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
    max-width: 760px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--sky-700, #0369a1);
    background: rgba(224, 242, 254, 0.95);
    border: 1px solid rgba(125, 211, 252, 0.4);
    font-size: 12px;
    font-weight: 750;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
}

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

.primary-button,
.ghost-button,
.section-link,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.32);
}

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

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-button.light {
    color: var(--sky-700, #0369a1);
    border-color: rgba(14, 165, 233, 0.2);
    background: #ffffff;
}

.hero-control-panel {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: min(calc(100% - 48px), var(--container));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto minmax(280px, 520px) minmax(280px, 1fr);
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-radius: 999px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.95);
}

.hero-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--slate-800);
    background: transparent;
}

.hero-search button,
.filter-search button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: var(--sky-600);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
}

.hero-category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-category-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #ffffff;
    white-space: nowrap;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
}

.content-section,
.page-hero,
.breadcrumb,
.detail-hero {
    width: min(calc(100% - 48px), var(--container));
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    margin-top: 64px;
}

.page-main {
    padding: 42px 0 80px;
}

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

.section-heading h2,
.page-hero h1,
.intro-copy h2,
.detail-info h1,
.detail-article h2 {
    margin: 8px 0 0;
    color: var(--slate-900);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.section-link,
.text-link {
    color: var(--sky-700, #0369a1);
    background: var(--sky-50);
    border: 1px solid rgba(14, 165, 233, 0.18);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #0369a1);
}

.poster-link img,
.detail-poster img,
.category-covers img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.poster-link:hover img {
    transform: scale(1.06);
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.35;
    background:
        radial-gradient(circle at 20% 18%, rgba(56, 189, 248, 0.45), transparent 28%),
        linear-gradient(135deg, #020617, #075985);
}

.poster-shine {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78));
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.32);
}

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

.movie-card-body h2 {
    margin: 8px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.32;
    font-weight: 850;
}

.movie-card-body h2 a:hover {
    color: var(--sky-600);
}

.movie-card-body p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: var(--slate-300, #cbd5e1);
}

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

.movie-card-compact .movie-card-body h2 {
    font-size: 16px;
}

.movie-card-compact .tag-row span:nth-child(n+4) {
    display: none;
}

.horizontal-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.horizontal-cards .movie-card {
    scroll-snap-align: start;
}

.intro-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 34px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 10%, rgba(186, 230, 253, 0.32), transparent 26%),
        linear-gradient(135deg, #0f172a, #075985 58%, #0284c7);
    box-shadow: var(--shadow-soft);
}

.intro-copy h2 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(28px, 4.5vw, 52px);
}

.intro-copy p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

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

.category-tile {
    min-height: 190px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:nth-child(even) {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(135deg, #0f172a, #0369a1);
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.category-tile span {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.category-tile strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    line-height: 1.7;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 7vw, 86px);
    border-radius: var(--radius-xl);
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.34), transparent 30%),
        linear-gradient(135deg, #020617, #075985 70%, #0284c7);
    box-shadow: var(--shadow-soft);
}

.page-hero h1 {
    max-width: 880px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
}

.page-hero p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    min-height: 210px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.category-covers {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--slate-100);
}

.category-covers img {
    position: relative;
    min-height: 174px;
    object-fit: cover;
}

.category-card-large h2 {
    margin: 8px 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.category-card-large p {
    color: var(--slate-600);
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.filter-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.filter-search input,
.filter-grid select {
    width: 100%;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--slate-800);
    background: #ffffff;
    outline: none;
}

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

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

.movie-card.is-hidden {
    display: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--slate-500);
    font-size: 14px;
    font-weight: 700;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: clamp(26px, 5vw, 56px);
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.detail-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 24px;
    background: linear-gradient(135deg, #020617, #075985);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.detail-info h1 {
    font-size: clamp(38px, 5.8vw, 76px);
}

.detail-line {
    max-width: 840px;
    color: var(--slate-600);
    font-size: 19px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 9px 13px;
    color: var(--slate-700);
    border-radius: 999px;
    background: var(--slate-100);
    font-weight: 800;
}

.player-section {
    scroll-margin-top: 92px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.28), transparent 26%),
        #020617;
    box-shadow: var(--shadow-soft);
}

.player-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
}

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    border: 0;
    cursor: pointer;
    background:
        radial-gradient(circle at center, rgba(14, 165, 233, 0.28), transparent 30%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.78));
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
    box-shadow: 0 18px 42px rgba(14, 165, 233, 0.38);
}

.play-icon::before {
    content: "";
    margin-left: 6px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid #ffffff;
}

.play-layer strong {
    font-size: 22px;
    letter-spacing: 0.08em;
}

.detail-article {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.detail-article h2 {
    font-size: clamp(24px, 3vw, 34px);
}

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

.site-footer {
    margin-top: 80px;
    color: var(--slate-600);
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
}

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

.footer-brand {
    color: var(--sky-600);
    font-size: 24px;
}

.footer-shell p {
    max-width: 520px;
    line-height: 1.8;
}

.footer-shell h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 17px;
}

.footer-tags,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-tags span,
.footer-links a {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--sky-600);
    background: var(--sky-50);
}

.copyright {
    padding: 18px 24px;
    text-align: center;
    color: var(--slate-500);
    border-top: 1px solid var(--slate-100);
}

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

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

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

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

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

    .menu-toggle {
        display: flex;
    }

    .hero-slider {
        min-height: 660px;
        height: 82vh;
    }

    .hero-content {
        bottom: 245px;
    }

    .hero-control-panel {
        bottom: 18px;
    }

    .hero-category-strip {
        padding-bottom: 2px;
    }

    .content-section,
    .page-hero,
    .breadcrumb,
    .detail-hero {
        width: min(calc(100% - 28px), var(--container));
    }

    .intro-panel,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

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

@media (max-width: 640px) {
    .nav-shell {
        height: 64px;
        padding: 0 14px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 21px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

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

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

    .hero-search input {
        padding: 12px 14px;
    }

    .movie-grid,
    .compact-grid,
    .ranking-grid,
    .category-grid,
    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .movie-card-body h2 {
        font-size: 16px;
    }

    .movie-card-body p {
        font-size: 13px;
    }

    .tag-row span:nth-child(n+4) {
        display: none;
    }

    .page-hero {
        padding: 34px 22px;
    }

    .detail-poster {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }

    .play-icon {
        width: 72px;
        height: 72px;
    }

    .footer-shell {
        width: min(calc(100% - 28px), var(--container));
    }
}

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