:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --brown-900: #3b2507;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(217, 119, 6, 0.18);
    --shadow: 0 22px 60px rgba(120, 53, 15, 0.16);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 36%, #fffbeb 100%);
    min-height: 100vh;
}

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

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

main {
    overflow: hidden;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255, 251, 235, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1180px;
    height: 66px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.32);
}

.brand-text {
    font-size: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 650;
    color: #4b5563;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--amber-600);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.10);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #4b5563;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 10px 20px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    color: #4b5563;
}

.mobile-link:hover {
    background: var(--amber-100);
    color: var(--amber-600);
}

.hero {
    position: relative;
    min-height: 94vh;
    padding: 116px 20px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.20), transparent 32%), linear-gradient(135deg, #fffbeb, #fff7ed 48%, #fef3c7);
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(32px);
    opacity: 0.36;
    pointer-events: none;
}

.hero-glow.one {
    left: -120px;
    top: 110px;
    background: #f59e0b;
}

.hero-glow.two {
    right: -120px;
    bottom: 80px;
    background: #f97316;
}

.hero-slider {
    position: relative;
    width: min(1180px, 100%);
    min-height: 610px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 50px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    border-radius: 36px;
    opacity: 0.18;
    filter: blur(18px) saturate(1.2);
    transform: scale(1.05);
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #92400e, #f97316 52%, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p,
.page-hero p {
    margin: 0;
    max-width: 720px;
    color: #4b5563;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
}

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

.hero-tags span,
.hero-tags a,
.tag-row span,
.tag-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #92400e;
    font-size: 12px;
    font-weight: 750;
    border: 1px solid rgba(245, 158, 11, 0.24);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.btn.ghost {
    color: #92400e;
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(245, 158, 11, 0.36);
}

.btn.ghost.dark {
    color: #78350f;
    background: rgba(255, 251, 235, 0.88);
}

.btn.subtle {
    color: #92400e;
    background: #fff7ed;
    border-color: rgba(245, 158, 11, 0.22);
}

.hero-poster {
    border-radius: 30px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    background: #fff;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(146, 64, 14, 0.24);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.content-section,
.category-band,
.catalog-layout,
.detail-layout,
.search-panel,
.ranking-columns {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.content-section,
.category-band,
.search-panel,
.ranking-columns {
    padding: 76px 0;
}

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

.section-head.centered {
    justify-content: center;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more,
.soft-link {
    color: var(--amber-600);
    font-weight: 800;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(120, 53, 15, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #fef3c7;
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(249, 115, 22, 0.92);
}

.rank-badge {
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.32);
}

.card-body {
    padding: 18px;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.card-body h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.card-body h3 a:hover,
.compact-title:hover {
    color: var(--amber-600);
}

.card-body p,
.compact-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.category-band {
    width: 100%;
    max-width: none;
    padding-inline: max(20px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.72), rgba(255, 247, 237, 0.92));
}

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

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

.category-tile {
    position: relative;
    min-height: 166px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px;
    color: #fff;
    box-shadow: 0 18px 42px rgba(120, 53, 15, 0.12);
}

.category-bg,
.category-overlay {
    position: absolute;
    inset: 0;
}

.category-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.category-overlay {
    background: linear-gradient(180deg, rgba(32, 18, 2, 0.10), rgba(32, 18, 2, 0.76));
}

.category-tile:hover .category-bg {
    transform: scale(1.1);
}

.category-name,
.category-cta {
    position: relative;
    z-index: 1;
}

.category-name {
    font-size: 24px;
    font-weight: 900;
}

.category-cta {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 750;
}

.ranking-strip {
    padding: 72px 20px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.ranking-panel {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 36px;
    align-items: center;
    color: #fff;
}

.ranking-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 54px);
}

.ranking-panel p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.ranking-panel ol,
.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-panel li a {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.ranking-panel li span {
    color: #fffbeb;
    opacity: 0.88;
}

.ranking-panel li em {
    font-size: 12px;
    font-style: normal;
    opacity: 0.72;
}

.page-hero {
    position: relative;
    padding: 132px 20px 68px;
    background: radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.25), transparent 26%), linear-gradient(135deg, #fffbeb, #fff7ed);
}

.page-hero > div {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.small-hero {
    padding-bottom: 46px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 50px 0 80px;
}

.filter-box,
.info-card,
.rank-list-card,
.search-panel {
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 38px rgba(120, 53, 15, 0.10);
}

.filter-box {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 22px;
}

.filter-box h2 {
    margin: 0 0 14px;
}

.filter-box a {
    display: block;
    padding: 12px 0;
    color: #4b5563;
    font-weight: 750;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

.filter-box a:hover {
    color: var(--amber-600);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(245, 158, 11, 0.14);
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 12px;
    border-radius: 14px;
    background: #fff;
    color: #4b5563;
    border: 1px solid rgba(245, 158, 11, 0.18);
    font-weight: 800;
}

.pagination a:hover,
.pagination .is-current {
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.detail-hero {
    position: relative;
    min-height: 720px;
    padding: 118px 20px 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1f1305;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(1.18);
    transform: scale(1.08);
    opacity: 0.36;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 19, 5, 0.92), rgba(31, 19, 5, 0.58), rgba(31, 19, 5, 0.82));
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy h1 {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.detail-copy .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 21px;
    line-height: 1.8;
}

.player-section {
    width: min(1180px, calc(100% - 40px));
    margin: -60px auto 0;
    position: relative;
    z-index: 3;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.28);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    align-content: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.58));
    border: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

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

.big-play {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    padding-left: 5px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 20px 42px rgba(249, 115, 22, 0.34);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding: 52px 0 84px;
}

.detail-article,
.info-card {
    padding: 30px;
}

.detail-article {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.14);
    box-shadow: 0 16px 38px rgba(120, 53, 15, 0.08);
}

.detail-article h2,
.info-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.detail-article p {
    margin: 0 0 26px;
    color: #374151;
    line-height: 2;
    font-size: 17px;
}

.detail-side {
    display: grid;
    gap: 22px;
    align-content: start;
}

.info-card dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.info-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

.info-card dt {
    color: var(--muted);
}

.info-card dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.compact-card {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 10px;
    border-radius: 18px;
    box-shadow: none;
    background: rgba(255, 251, 235, 0.72);
}

.compact-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
}

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

.compact-info {
    min-width: 0;
    align-self: center;
}

.compact-title {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
}

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

.search-panel {
    padding: 28px;
    margin-top: 50px;
    margin-bottom: 70px;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto auto;
    gap: 14px;
    align-items: end;
}

.search-form label {
    display: grid;
    gap: 8px;
    color: #4b5563;
    font-weight: 800;
    font-size: 13px;
}

.search-form input,
.search-form select {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 14px;
    padding: 0 14px;
    font: inherit;
    background: #fff;
    color: #111827;
    outline: none;
}

.search-form input:focus,
.search-form select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.search-status {
    margin: 22px 0;
    color: var(--muted);
    font-weight: 750;
}

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

.rank-list-card {
    padding: 22px;
}

.compact-head {
    margin-bottom: 16px;
}

.rank-list li a {
    display: grid;
    grid-template-columns: 38px 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

.rank-list img {
    width: 56px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
}

.rank-no {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-weight: 900;
}

.rank-list strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.rank-list em {
    display: block;
    grid-column: 3;
    margin-top: -18px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.site-footer {
    background: linear-gradient(135deg, #451a03, #7c2d12);
    color: #fff;
}

.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 36px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.brand-footer .brand-text {
    color: #fff;
    background: none;
}

.footer-brand p,
.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-col h3 {
    color: #fcd34d;
    margin: 0 0 8px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.70);
    text-align: center;
}

@media (max-width: 1040px) {
    .movie-grid,
    .catalog-grid,
    .ranking-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slide,
    .detail-inner,
    .detail-layout,
    .catalog-layout,
    .ranking-panel,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 980px;
    }

    .hero-poster {
        width: min(420px, 100%);
        min-height: 500px;
        margin: 0 auto;
    }

    .hero-poster img {
        min-height: 500px;
    }

    .filter-box {
        position: static;
    }

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

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

    .menu-button {
        display: block;
    }

    .hero {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-slider {
        min-height: 850px;
    }

    .hero-slide {
        gap: 26px;
    }

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

    .hero p,
    .page-hero p,
    .detail-copy .lead {
        font-size: 17px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 420px;
    }

    .content-section,
    .category-band,
    .catalog-layout,
    .detail-layout,
    .search-panel,
    .ranking-columns,
    .player-section {
        width: min(100% - 28px, 1180px);
    }

    .movie-grid,
    .catalog-grid,
    .category-grid,
    .compact-category-grid,
    .ranking-columns {
        grid-template-columns: 1fr;
    }

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

    .detail-hero {
        min-height: auto;
        padding-top: 104px;
    }

    .detail-inner {
        gap: 28px;
    }

    .detail-poster {
        width: min(300px, 100%);
    }

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

    .detail-layout {
        padding-top: 30px;
    }

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

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