:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --text: #3f2505;
    --muted: #8a5a16;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(120, 53, 15, 0.12);
    --shadow-soft: 0 8px 24px rgba(120, 53, 15, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 45%, var(--amber-100));
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.95), rgba(255, 237, 213, 0.95));
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(146, 64, 14, 0.10);
}

.nav-shell {
    max-width: 1280px;
    height: 66px;
    margin: 0 auto;
    padding: 0 24px;
    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;
    color: var(--amber-700);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.brand-text,
.footer-brand {
    font-size: 26px;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--amber-800);
    font-weight: 650;
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--amber-500);
    transition: width 0.2s ease;
}

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

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

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.mobile-search input,
.quick-search-band input,
.search-panel input,
.filter-bar input,
.filter-bar select {
    border: 1px solid var(--amber-200);
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--amber-900);
    outline: none;
    background: rgba(255, 255, 255, 0.86);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.quick-search-band input:focus,
.search-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24);
}

.nav-search input {
    width: min(22vw, 280px);
}

.nav-search button,
.mobile-search button,
.quick-search-band button,
.search-panel button,
.primary-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.quick-search-band button:hover,
.search-panel button:hover,
.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.34);
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: var(--amber-800);
    font-size: 26px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--amber-100);
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 24px 22px;
}

.mobile-panel.open {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-search input {
    flex: 1;
}

.mobile-links {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 10px 0;
    color: var(--amber-800);
    font-weight: 700;
}

.hero {
    position: relative;
    height: min(72vh, 720px);
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.44) 48%, rgba(0, 0, 0, 0.10));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 72px;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    color: white;
}

.hero-badge {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--amber-500);
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.32);
}

.hero-content h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    max-width: 780px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.55;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
}

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

.ghost-button {
    border-radius: 999px;
    padding: 10px 18px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 750;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.42);
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.66);
}

.hero-arrow.left {
    left: 26px;
}

.hero-arrow.right {
    right: 26px;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.hero-dot.active {
    width: 34px;
    background: var(--amber-500);
}

.quick-search-band {
    width: min(1180px, calc(100% - 48px));
    margin: -34px auto 42px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(253, 230, 138, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.quick-search-band strong {
    display: block;
    margin-bottom: 4px;
    color: var(--amber-900);
    font-size: 24px;
}

.quick-search-band span {
    color: var(--amber-700);
}

.quick-search-band form {
    display: flex;
    gap: 10px;
}

.quick-search-band input {
    flex: 1;
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.page-top {
    padding-top: 34px;
    padding-bottom: 56px;
}

.space-stack {
    display: grid;
    gap: 56px;
}

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

.section-head h2 {
    margin: 0;
    color: var(--amber-900);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--amber-700);
}

.section-more {
    color: var(--amber-700);
    font-weight: 800;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(253, 230, 138, 0.88);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    height: 0;
    padding-top: 62%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.movie-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.movie-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.66);
    font-size: 12px;
    font-weight: 700;
}

.play-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(0, 0, 0, 0.42);
    font-size: 44px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover {
    opacity: 1;
}

.movie-info {
    padding: 18px;
}

.movie-title {
    display: -webkit-box;
    min-height: 54px;
    margin-bottom: 10px;
    color: var(--amber-900);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-title:hover {
    color: var(--amber-600);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--amber-600);
    font-size: 13px;
}

.movie-meta span,
.tag-row span,
.detail-tags a,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-weight: 650;
}

.movie-meta span {
    padding: 5px 8px;
}

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

.tag-row span {
    padding: 5px 9px;
    font-size: 12px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 260px 1fr;
}

.horizontal-card .movie-poster {
    height: 100%;
    min-height: 180px;
    padding-top: 0;
}

.horizontal-card .movie-title {
    min-height: auto;
}

.large-card .movie-poster {
    padding-top: 56%;
}

.large-card .movie-title {
    font-size: 24px;
}

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 320px);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.soft-panel {
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.88), rgba(255, 237, 213, 0.95));
    box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.7);
}

.soft-panel.deep {
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.94), rgba(255, 237, 213, 0.95));
}

.recommend-list {
    display: grid;
    gap: 18px;
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    background: var(--amber-900);
}

.category-tile img,
.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-tile:hover img,
.category-card:hover img {
    transform: scale(1.08);
    opacity: 0.62;
}

.category-tile span,
.category-tile small,
.category-card div {
    position: relative;
    z-index: 1;
}

.category-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: white;
}

.category-tile span {
    font-size: 22px;
    font-weight: 850;
}

.category-tile small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.45;
}

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

.category-card {
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    padding: 28px;
    color: white;
}

.category-card h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.category-card p {
    max-width: 560px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.88);
}

.category-card span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--amber-500);
    font-weight: 800;
}

.page-hero {
    border-radius: 32px;
    padding: clamp(36px, 6vw, 64px);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(249, 115, 22, 0.18)), white;
    box-shadow: var(--shadow-soft);
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-weight: 800;
}

.page-hero h1 {
    margin: 0 0 12px;
    color: var(--amber-900);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.06;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: var(--amber-700);
    font-size: 18px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--amber-700);
    font-size: 14px;
}

.breadcrumb a {
    font-weight: 800;
}

.filter-bar,
.search-panel {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--amber-200);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.filter-bar input,
.search-panel input {
    flex: 1;
}

.filter-bar select {
    min-width: 160px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 54px 150px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(253, 230, 138, 0.84);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-soft);
}

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

.rank-thumb {
    height: 92px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--amber-100);
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-main > a {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--amber-900);
    font-size: 20px;
    font-weight: 850;
}

.rank-main p {
    display: -webkit-box;
    margin: 0 0 10px;
    color: var(--amber-700);
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-main div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--amber-600);
    font-size: 13px;
}

.rank-main span {
    border-radius: 999px;
    background: var(--amber-100);
    padding: 5px 9px;
    font-weight: 700;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-panel {
    border-radius: 24px;
    background: #0a0a0a;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: rgba(0, 0, 0, 0.34);
    color: white;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-size: 34px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

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

.content-card,
.side-card,
.prose-card {
    border: 1px solid rgba(253, 230, 138, 0.86);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.content-card {
    padding: clamp(22px, 4vw, 34px);
}

.content-card h1 {
    margin: 0 0 16px;
    color: var(--amber-900);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
}

.content-card h2 {
    margin: 28px 0 12px;
    color: var(--amber-900);
    font-size: 24px;
}

.content-card p {
    margin: 0 0 14px;
    color: var(--amber-800);
    line-height: 1.85;
}

.detail-meta,
.detail-tags,
.detail-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.detail-meta span,
.detail-tags a {
    padding: 7px 11px;
    font-size: 13px;
}

.detail-fields {
    margin-top: 24px;
    color: var(--amber-700);
}

.detail-fields span {
    padding: 9px 12px;
    border-radius: 14px;
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
}

.detail-aside {
    display: grid;
    align-content: start;
    gap: 18px;
}

.detail-cover {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
    background: var(--amber-100);
}

.side-card {
    padding: 22px;
}

.side-card h2 {
    margin: 0 0 16px;
    color: var(--amber-900);
}

.side-card dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.side-card dt {
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    color: var(--amber-900);
    font-weight: 700;
}

.nearby-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.nearby-links a {
    padding: 12px 16px;
    border-radius: 16px;
    background: white;
    color: var(--amber-700);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

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

.prose-card {
    padding: clamp(28px, 5vw, 54px);
}

.prose-card h1 {
    margin: 0 0 18px;
    color: var(--amber-900);
    font-size: clamp(34px, 5vw, 54px);
}

.prose-card h2 {
    margin: 28px 0 10px;
    color: var(--amber-900);
}

.prose-card p {
    color: var(--amber-800);
    line-height: 1.9;
}

.site-footer {
    margin-top: 70px;
    padding: 50px 0 24px;
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.30), rgba(255, 237, 213, 0.96));
    border-top: 1px solid rgba(253, 230, 138, 0.76);
}

.footer-grid {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--amber-900);
    font-size: 18px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--amber-700);
    line-height: 1.7;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 48px));
    margin: 28px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(253, 230, 138, 0.85);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.is-hidden-card {
    display: none !important;
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 16px;
    }

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

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

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

    .detail-cover {
        min-height: auto;
        max-height: 520px;
    }

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

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

    .menu-button {
        display: block;
    }

    .nav-shell {
        padding: 0 18px;
    }

    .hero {
        min-height: 520px;
        height: 66vh;
    }

    .hero-content {
        bottom: 72px;
        width: calc(100% - 40px);
    }

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

    .hero-content p {
        font-size: 17px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-band {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
    }

    .quick-search-band form,
    .search-panel,
    .filter-bar {
        flex-direction: column;
    }

    .page-shell,
    .footer-grid,
    .footer-bottom {
        width: calc(100% - 32px);
    }

    .movie-grid,
    .movie-grid.three-col,
    .movie-grid.two-col,
    .movie-grid.four-col,
    .category-grid,
    .category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .horizontal-card .movie-poster {
        height: 0;
        min-height: 0;
        padding-top: 62%;
    }

    .rank-item {
        grid-template-columns: 42px 92px 1fr;
        gap: 12px;
    }

    .rank-main > a {
        font-size: 17px;
    }
}

@media (max-width: 560px) {
    .brand-text {
        font-size: 22px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .movie-grid,
    .movie-grid.three-col,
    .movie-grid.two-col,
    .movie-grid.four-col,
    .category-grid,
    .category-card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .soft-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .rank-item {
        grid-template-columns: 38px 1fr;
    }

    .rank-thumb {
        display: none;
    }

    .footer-bottom,
    .nearby-links {
        flex-direction: column;
    }
}
