:root {
    color-scheme: light;
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --cyan-50: #ecfeff;
    --cyan-400: #22d3ee;
    --blue-500: #3b82f6;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 18px 45px rgba(2, 132, 199, 0.12);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
    --container: 1180px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--white) 0%, var(--sky-50) 44%, var(--cyan-50) 100%);
    color: var(--slate-800);
    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: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.96), rgba(239, 246, 255, 0.96), rgba(236, 254, 255, 0.96));
    border-bottom: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.12);
    backdrop-filter: blur(18px);
}
.header-shell {
    width: min(100% - 32px, var(--container));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}
.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--cyan-400));
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.28);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-text strong {
    color: var(--sky-700);
    font-size: 20px;
    letter-spacing: 0.02em;
}
.brand-text small {
    margin-top: 3px;
    color: var(--sky-500);
    font-size: 12px;
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}
.nav-link,
.mobile-link {
    border-radius: 999px;
    color: var(--slate-600);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav-link {
    padding: 9px 14px;
    font-size: 14px;
}
.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--sky-700);
    background: rgba(14, 165, 233, 0.12);
}
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-search input,
.mobile-search input,
.home-search-band input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--slate-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header-search input {
    width: 230px;
    padding: 10px 16px;
}
.header-search input:focus,
.mobile-search input:focus,
.home-search-band input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--sky-400);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}
.header-search button,
.mobile-search button,
.home-search-band button,
.primary-button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--blue-500));
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.26);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-search button,
.mobile-search button {
    padding: 10px 16px;
}
.header-search button:hover,
.mobile-search button:hover,
.home-search-band button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.34);
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.12);
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--sky-700);
}
.mobile-panel {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 0 0 18px;
}
.mobile-panel[hidden] {
    display: none;
}
.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.mobile-search input {
    flex: 1;
    padding: 11px 16px;
}
.mobile-link {
    display: block;
    padding: 10px 14px;
    margin: 4px 0;
}
.mobile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.mobile-categories a {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--sky-700);
    font-size: 13px;
}
.hero-carousel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, #38bdf8, #3b82f6 45%, #22d3ee);
}
.hero-slides {
    position: relative;
    min-height: 650px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) saturate(1.05);
    transform: scale(1.04);
    opacity: 0.24;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32), transparent 32%),
        linear-gradient(90deg, rgba(2, 132, 199, 0.88), rgba(37, 99, 235, 0.72), rgba(8, 145, 178, 0.8));
}
.hero-content {
    position: relative;
    width: min(100% - 32px, var(--container));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 60px;
    padding: 86px 0 92px;
}
.eyebrow {
    margin: 0 0 14px;
    color: rgba(240, 249, 255, 0.92);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 78px);
    text-shadow: 0 16px 42px rgba(15, 23, 42, 0.24);
}
.hero-desc {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(240, 249, 255, 0.94);
    font-size: clamp(17px, 2vw, 22px);
}
.hero-tags,
.detail-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-tags {
    margin-top: 24px;
}
.hero-tags span,
.detail-tags a,
.tag-row span {
    border-radius: 999px;
    font-weight: 800;
}
.hero-tags span {
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}
.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}
.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, background 0.2s ease;
}
.ghost-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}
.hero-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
    transform: rotate(2deg);
}
.hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-cover:hover img {
    transform: scale(1.06);
}
.hero-cover span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(14, 165, 233, 0.9);
    box-shadow: 0 16px 35px rgba(14, 165, 233, 0.38);
}
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    width: min(100% - 32px, var(--container));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transform: translateX(-50%);
}
.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}
.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(10px);
}
.hero-dots {
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}
.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}
.home-search-band,
.filter-panel,
.content-section,
.detail-content,
.player-section {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}
.home-search-band {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 32px;
    align-items: center;
    margin-top: -42px;
    padding: 28px;
    position: relative;
    z-index: 6;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}
.home-search-band h2 {
    margin: 0 0 6px;
    color: var(--slate-900);
    font-size: 24px;
}
.home-search-band p {
    margin: 0;
    color: var(--slate-600);
}
.home-search-band form {
    display: flex;
    gap: 10px;
}
.home-search-band input {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
}
.home-search-band button {
    padding: 0 20px;
}
.content-section {
    padding: 70px 0 0;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}
.section-heading h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}
.section-heading p {
    margin: 6px 0 0;
    color: var(--slate-600);
}
.section-more {
    min-width: max-content;
    color: var(--sky-600);
    font-weight: 900;
}
.category-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.category-card,
.category-overview-card {
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.86));
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.category-card {
    min-height: 150px;
    padding: 24px;
}
.category-card:hover,
.category-overview-card:hover,
.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.category-card span,
.category-overview-card h2 {
    color: var(--sky-700);
    font-size: 20px;
    font-weight: 950;
}
.category-card p,
.category-overview-card p {
    margin: 10px 0 0;
    color: var(--slate-600);
    font-size: 14px;
}
.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.large-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ranking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 9px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.movie-card[hidden] {
    display: none;
}
.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-100), var(--cyan-50));
}
.large-grid .movie-poster {
    aspect-ratio: 4 / 3;
}
.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.movie-card:hover .movie-poster img {
    transform: scale(1.08);
}
.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72));
}
.play-badge,
.card-rank {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
}
.play-badge {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    background: rgba(14, 165, 233, 0.88);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.32);
}
.card-rank {
    left: 12px;
    top: 12px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}
.movie-card-body {
    padding: 18px;
}
.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--sky-700);
    font-size: 12px;
    font-weight: 850;
}
.movie-card h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
}
.movie-card h3 a:hover {
    color: var(--sky-600);
}
.movie-card p {
    display: -webkit-box;
    margin: 9px 0 0;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.tag-row {
    margin-top: 14px;
}
.tag-row span,
.detail-tags a {
    padding: 5px 9px;
    color: var(--sky-700);
    background: rgba(14, 165, 233, 0.11);
    font-size: 12px;
}
.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--blue-500), var(--cyan-400));
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.18), transparent 26%);
}
.page-hero > div {
    position: relative;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 86px 0;
}
.small-hero > div,
.category-hero > div,
.search-hero > div,
.ranking-hero > div {
    max-width: var(--container);
}
.page-hero h1 {
    font-size: clamp(38px, 6vw, 70px);
}
.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(240, 249, 255, 0.95);
    font-size: 19px;
}
.filter-panel {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 12px;
    align-items: center;
    margin-top: 34px;
    padding: 18px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
}
.empty-state {
    margin: 48px 0 0;
    padding: 38px;
    border-radius: 24px;
    text-align: center;
    color: var(--slate-600);
    background: rgba(255, 255, 255, 0.78);
}
.category-overview-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
}
.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.category-cover-stack img {
    aspect-ratio: 1;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}
.category-overview-card h2 {
    margin: 0;
}
.category-overview-card span {
    display: inline-flex;
    margin-top: 12px;
    color: var(--sky-600);
    font-weight: 900;
}
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}
.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.04);
    opacity: 0.24;
}
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(2, 132, 199, 0.68), rgba(8, 145, 178, 0.65));
}
.detail-shell {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 42px 0 70px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    color: rgba(240, 249, 255, 0.78);
    font-size: 14px;
}
.breadcrumb a:hover {
    color: var(--white);
}
.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}
.detail-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}
.detail-copy h1 {
    max-width: 760px;
    font-size: clamp(36px, 5vw, 64px);
}
.detail-one-line {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(240, 249, 255, 0.94);
    font-size: 20px;
}
.detail-tags {
    margin-top: 22px;
}
.detail-tags a {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.player-section {
    padding-top: 50px;
}
.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
}
.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #020617;
}
.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.25), rgba(15, 23, 42, 0.32));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.player-overlay span {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-500));
    box-shadow: 0 20px 46px rgba(14, 165, 233, 0.42);
    font-size: 34px;
}
.player-shell.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    padding-top: 42px;
}
.story-card,
.info-card {
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.story-card {
    padding: 28px;
}
.story-card h2,
.info-card h2,
.footer-column h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 22px;
}
.story-card p {
    margin: 0;
    color: var(--slate-600);
    font-size: 16px;
}
.info-card {
    grid-row: span 2;
    padding: 28px;
}
.info-card dl {
    margin: 0;
}
.info-card div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}
.info-card div:last-child {
    border-bottom: 0;
}
.info-card dt {
    color: var(--slate-500);
    font-weight: 800;
}
.info-card dd {
    margin: 0;
    color: var(--slate-800);
}
.info-card a {
    color: var(--sky-700);
    font-weight: 900;
}
.related-section {
    padding-bottom: 78px;
}
.site-footer {
    margin-top: 78px;
    border-top: 1px solid rgba(14, 165, 233, 0.18);
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.9), rgba(224, 242, 254, 0.92));
}
.footer-shell {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0 34px;
}
.footer-brand p {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--slate-600);
}
.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-column li + li {
    margin-top: 8px;
}
.footer-column a {
    color: var(--slate-600);
}
.footer-column a:hover {
    color: var(--sky-700);
}
.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(14, 165, 233, 0.14);
    color: var(--slate-500);
    font-size: 14px;
}
@media (max-width: 1024px) {
    .header-search {
        display: none;
    }
    .hero-content {
        grid-template-columns: 1fr 280px;
        gap: 34px;
    }
    .movie-grid,
    .large-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .detail-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }
    .detail-content {
        grid-template-columns: 1fr;
    }
    .info-card {
        grid-row: auto;
    }
}
@media (max-width: 800px) {
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
    .header-shell {
        height: 64px;
    }
    .hero-carousel,
    .hero-slides,
    .hero-content {
        min-height: 720px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 28px;
        padding: 70px 0 96px;
    }
    .hero-cover {
        width: min(70vw, 280px);
        justify-self: center;
        transform: rotate(0deg);
    }
    .home-search-band {
        grid-template-columns: 1fr;
    }
    .home-search-band form,
    .mobile-search {
        flex-direction: column;
    }
    .movie-grid,
    .large-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter-panel {
        grid-template-columns: 1fr;
    }
    .category-overview-card {
        grid-template-columns: 1fr;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-cover {
        max-width: 280px;
    }
    .footer-shell {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
    }
}
@media (max-width: 540px) {
    .brand-text strong {
        font-size: 17px;
    }
    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }
    .movie-grid,
    .large-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .player-overlay span {
        width: 72px;
        height: 72px;
    }
}
