:root {
    --sand-50: #faf8f3;
    --sand-100: #f5f0e5;
    --sand-200: #e8ddc9;
    --stone-50: #f7f6f4;
    --stone-100: #eeebe6;
    --stone-200: #ddd8cf;
    --stone-500: #80736a;
    --stone-600: #6a5f57;
    --stone-700: #4f453e;
    --stone-800: #3f3731;
    --stone-900: #2c2622;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    --desert-500: #d4844b;
    --desert-600: #c66a3f;
    --shadow-sand: 0 10px 30px -5px rgba(184, 144, 89, 0.2);
    --shadow-rose: 0 20px 50px -12px rgba(212, 132, 75, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--sand-50);
    color: var(--stone-800);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
    background: rgba(250, 248, 243, 0.96);
    box-shadow: var(--shadow-sand);
    backdrop-filter: blur(14px);
}

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

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

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.25);
}

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

.logo-text strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--rose-600), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text em {
    margin-top: 4px;
    color: var(--stone-600);
    font-size: 12px;
    font-style: normal;
}

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

.desktop-nav a {
    position: relative;
    color: var(--stone-700);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--desert-500);
    transition: width 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--desert-600);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--stone-700);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-active .mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.menu-active .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-active .mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

.page-main {
    padding-top: 76px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600) 58%, #ec4899);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    filter: blur(52px);
    pointer-events: none;
}

.hero::before {
    width: 360px;
    height: 360px;
    top: 7%;
    left: 6%;
}

.hero::after {
    width: 520px;
    height: 520px;
    right: -6%;
    bottom: -12%;
}

.hero-slider {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 660px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 54px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-kicker {
    display: inline-flex;
    padding: 10px 18px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
}

.hero h1,
.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

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

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
    color: var(--rose-600);
    background: #fff;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
}

.button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    aspect-ratio: 21 / 12;
    box-shadow: 0 30px 70px rgba(44, 38, 34, 0.36);
    background: rgba(255, 255, 255, 0.18);
}

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

.hero-poster-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.1));
}

.hero-poster-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
}

.hero-poster-info strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-poster-info span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.hero-dot.is-active {
    width: 32px;
    background: #fff;
}

.hero-search,
.filter-bar,
.search-panel {
    width: min(920px, calc(100% - 32px));
    margin: -34px auto 0;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-rose);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    backdrop-filter: blur(14px);
}

.filter-bar,
.search-panel {
    width: auto;
    margin: 28px 0 34px;
    box-shadow: var(--shadow-sand);
}

.hero-search input,
.filter-input,
.search-page-input {
    width: 100%;
    border: 1px solid var(--sand-200);
    outline: 0;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff;
    color: var(--stone-800);
    font-size: 15px;
}

.hero-search input:focus,
.filter-input:focus,
.search-page-input:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.hero-search a,
.search-button,
.filter-bar .button-primary,
.search-panel .button-primary {
    border: 0;
    border-radius: 16px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
    cursor: pointer;
}

.section {
    padding: 72px 0;
}

.section-muted {
    background: linear-gradient(135deg, var(--stone-50), var(--stone-100));
}

.section-dark {
    background: var(--stone-900);
    color: #fff;
}

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

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

.section-heading h2,
.page-heading h1 {
    margin: 0;
    color: var(--stone-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-dark .section-heading h2,
.page-heading h1 {
    color: #fff;
}

.section-heading p,
.page-heading p {
    margin: 8px 0 0;
    max-width: 720px;
    color: var(--stone-600);
    line-height: 1.8;
}

.section-dark .section-heading p,
.page-heading p {
    color: rgba(255, 255, 255, 0.86);
}

.section-link {
    color: var(--rose-600);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sand);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-rose);
}

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

.movie-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--stone-200);
}

.movie-card-featured .movie-thumb {
    aspect-ratio: 21 / 9;
}

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

.movie-card:hover .movie-thumb img,
.compact-card:hover img {
    transform: scale(1.08);
}

.play-mark {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    border-radius: 10px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
}

.rank-badge {
    left: auto;
    right: 12px;
    background: rgba(0, 0, 0, 0.68);
}

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

.movie-card-body h3 {
    margin: 10px 0 8px;
    color: var(--stone-800);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

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

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

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-tags span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-size: 12px;
    font-weight: 700;
}

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--stone-500);
    font-size: 12px;
}

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

.scroll-row .movie-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(135deg, #fff, var(--rose-50));
    box-shadow: var(--shadow-sand);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-rose);
}

.category-card h2,
.category-card h3 {
    margin: 0 0 12px;
    color: var(--stone-800);
    font-size: 24px;
    font-weight: 900;
}

.category-card p {
    margin: 0;
    color: var(--stone-600);
    line-height: 1.65;
}

.category-preview {
    list-style: none;
    margin: 16px 0 28px;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--stone-600);
    font-size: 13px;
}

.category-card > span {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: var(--rose-600);
    font-weight: 900;
}

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

.compact-card {
    position: relative;
    overflow: hidden;
    min-height: 110px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    gap: 16px;
    background: #fff;
    box-shadow: var(--shadow-sand);
}

.compact-card img {
    width: 128px;
    height: 110px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.compact-card div {
    padding-right: 16px;
}

.compact-card strong {
    display: block;
    color: var(--stone-800);
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.compact-card span:last-child {
    color: var(--stone-500);
    font-size: 13px;
}

.compact-rank {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
}

.page-hero {
    padding: 132px 0 54px;
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600));
    color: #fff;
}

.detail-main {
    padding-top: 104px;
    background: linear-gradient(180deg, var(--stone-50), #fff);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--stone-600);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--rose-600);
    font-weight: 700;
}

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

.detail-content,
.detail-sidebar,
.review-box {
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-sand);
}

.video-shell {
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    box-shadow: var(--shadow-rose);
}

.player-box {
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.player-box video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.55));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-600);
    font-size: 34px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26);
    cursor: pointer;
}

.player-message {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 4;
    padding: 12px 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.68);
    display: none;
}

.player-message.is-visible {
    display: block;
}

.detail-content {
    margin-top: 26px;
    padding: 30px;
}

.detail-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.detail-content h1 {
    margin: 0;
    color: var(--stone-800);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.genre-pill {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid #fecdd3;
    border-radius: 14px;
    color: var(--rose-600);
    font-weight: 800;
    background: linear-gradient(90deg, var(--rose-50), var(--purple-50));
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-100);
    font-size: 14px;
    font-weight: 700;
}

.detail-section {
    margin-top: 26px;
}

.detail-section h2,
.review-box h2,
.detail-sidebar h2 {
    margin: 0 0 16px;
    color: var(--stone-800);
    font-size: 24px;
    font-weight: 900;
}

.lead-text {
    margin: 0 0 18px;
    padding: 18px;
    border-left: 5px solid var(--rose-500);
    border-radius: 14px;
    color: var(--stone-700);
    background: var(--stone-50);
    font-size: 17px;
    line-height: 1.75;
}

.detail-section p,
.review-box p {
    color: var(--stone-700);
    line-height: 1.9;
    margin: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-100);
}

.review-box {
    margin-top: 26px;
    padding: 30px;
    border-left: 5px solid var(--rose-500);
    background: linear-gradient(135deg, var(--rose-50), var(--purple-50));
}

.detail-sidebar {
    position: sticky;
    top: 98px;
    padding: 22px;
}

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

.related-list .compact-card {
    grid-template-columns: 98px 1fr;
    min-height: 76px;
    border-radius: 14px;
    box-shadow: none;
    background: var(--stone-50);
}

.related-list .compact-card img {
    width: 98px;
    height: 76px;
}

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

.no-results {
    display: none;
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    color: var(--stone-600);
    text-align: center;
    box-shadow: var(--shadow-sand);
}

.no-results.is-visible {
    display: block;
}

.site-footer {
    margin-top: 80px;
    color: #d6d3d1;
    background: var(--stone-900);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
    gap: 42px;
}

.footer-logo .logo-text strong {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-logo .logo-text em,
.footer-brand p,
.footer-column a,
.footer-bottom {
    color: #a8a29e;
}

.footer-brand p {
    max-width: 460px;
    line-height: 1.8;
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 17px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-column a:hover {
    color: #fb7185;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
    text-align: center;
    font-size: 13px;
}

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

    .mobile-menu-button {
        display: flex;
    }

    .mobile-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        z-index: 49;
        display: grid;
        gap: 8px;
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        background: rgba(250, 248, 243, 0.98);
        box-shadow: var(--shadow-sand);
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .site-header.menu-active .mobile-nav {
        max-height: calc(100vh - 76px);
        padding: 16px 20px 24px;
        overflow-y: auto;
    }

    .mobile-nav a {
        padding: 13px 14px;
        border-radius: 14px;
        color: var(--stone-700);
        font-weight: 800;
    }

    .mobile-nav a.active,
    .mobile-nav a:hover {
        color: var(--desert-600);
        background: var(--sand-100);
    }

    .mobile-category-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--sand-200);
    }

    .hero-slider,
    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 32px;
        padding: 42px 0 82px;
    }

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

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

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

    .detail-sidebar {
        position: static;
    }

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

@media (max-width: 720px) {
    .header-inner {
        width: min(100% - 24px, 1180px);
        height: 68px;
    }

    .mobile-nav {
        top: 68px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text em {
        display: none;
    }

    .page-main {
        padding-top: 68px;
    }

    .hero,
    .hero-slider {
        min-height: 820px;
    }

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

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

    .hero-search,
    .filter-bar,
    .search-panel {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }

    .section-heading {
        display: block;
    }

    .movie-grid,
    .movie-grid.feature-grid,
    .compact-grid,
    .search-results,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .scroll-row .movie-card {
        flex-basis: 280px;
    }

    .compact-card {
        grid-template-columns: 110px 1fr;
    }

    .compact-card img {
        width: 110px;
    }

    .page-hero {
        padding: 110px 0 44px;
    }

    .detail-main {
        padding-top: 88px;
    }

    .detail-content,
    .review-box {
        padding: 22px;
    }

    .detail-title-row {
        display: block;
    }

    .genre-pill {
        margin-top: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
