:root {
    color-scheme: light;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-soft: 0 18px 45px rgba(146, 64, 14, 0.12);
    --shadow-card: 0 14px 34px rgba(17, 24, 39, 0.1);
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--amber-50) 0%, var(--white) 38%, #fff7ed 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 251, 235, 0.94);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--amber-700);
    letter-spacing: -0.04em;
}

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

.brand-text {
    font-size: 1.45rem;
    white-space: nowrap;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    padding: 11px 92px 11px 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 18px;
}

.header-search button:hover,
.mobile-search button:hover {
    background: var(--amber-600);
    transform: translateY(-1px);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.nav-link {
    color: #78350f;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-100);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--amber-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

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

.mobile-nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--amber-700);
    background: var(--amber-50);
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 6px;
}

.mobile-search input {
    padding: 10px 14px;
}

.mobile-search button {
    padding: 0 16px;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-track,
.hero-slide,
.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100% - 1280px) / 2));
    bottom: 72px;
    z-index: 2;
    max-width: 760px;
    color: var(--white);
    padding-right: 28px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 13px;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero-content h1,
.inner-hero h1,
.detail-copy h1 {
    margin: 18px 0 16px;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-content h1 {
    max-width: 900px;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.58);
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.hero-meta span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

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

.hero-tags span,
.tag-list span,
.tag-row {
    color: #92400e;
    background: var(--amber-100);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-tags span {
    padding: 6px 12px;
    color: var(--amber-100);
    background: rgba(245, 158, 11, 0.28);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.primary-button,
.ghost-button,
.text-button,
.watch-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
    padding: 13px 28px;
    color: var(--white);
    background: var(--amber-500);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.28);
}

.primary-button:hover,
.watch-link:hover {
    transform: translateY(-2px) scale(1.02);
    background: var(--amber-600);
}

.ghost-button {
    padding: 12px 24px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-button.light {
    color: var(--amber-700);
    border-color: var(--amber-200);
    background: var(--white);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.45);
    font-size: 2rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

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

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

.hero-dot.is-active {
    width: 32px;
    background: var(--white);
}

.quick-categories {
    background: linear-gradient(90deg, #78350f, #9a3412);
}

.quick-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    gap: 12px;
    padding: 18px 0;
    overflow-x: auto;
}

.quick-inner a {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--amber-50);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 900;
}

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

.page-main {
    padding-bottom: 56px;
}

.section-block,
.region-block,
.category-preview,
.article-card,
.player-card,
.related-section {
    margin: 52px 0;
}

.section-heading,
.category-preview-head {
    margin-bottom: 26px;
}

.section-heading h2,
.category-preview-head h2,
.article-card h2,
.year-block h3 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p,
.category-preview-head p,
.article-card p,
.inner-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--gray-500);
    font-size: 1.05rem;
}

.with-link,
.category-preview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.with-link a,
.text-button {
    color: var(--amber-600);
    font-weight: 900;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card a {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card a:hover {
    border-color: rgba(245, 158, 11, 0.48);
    box-shadow: var(--shadow-card);
    transform: translateY(-6px);
}

.poster-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

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

.movie-card a:hover img,
.latest-item:hover img,
.ranking-item:hover img {
    transform: scale(1.08);
}

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.year-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.92);
}

.rank-badge {
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ef4444, var(--orange-500));
}

.movie-info {
    display: grid;
    gap: 7px;
    padding: 16px;
}

.movie-info strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 1.1rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card a:hover strong,
.latest-item:hover strong,
.ranking-content a:hover h2 {
    color: var(--amber-600);
}

.movie-meta,
.movie-genre {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.movie-summary {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-700);
    font-size: 0.94rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.is-compact .movie-info {
    padding: 13px;
}

.is-compact .movie-summary {
    -webkit-line-clamp: 1;
}

.feature-block,
.year-section {
    margin: 64px 0;
    padding: 32px;
    border-radius: var(--radius-3xl);
    background: linear-gradient(135deg, var(--amber-100), #ffedd5);
    box-shadow: var(--shadow-soft);
}

.dark-heading h2,
.dark-heading p {
    color: var(--white);
}

.feature-block .dark-heading h2,
.feature-block .dark-heading p {
    color: var(--gray-900);
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

.feature-side {
    display: grid;
    gap: 22px;
}

.region-block:nth-of-type(even),
.category-preview:nth-of-type(even) {
    padding: 32px;
    border-radius: var(--radius-3xl);
    background: linear-gradient(90deg, var(--amber-50), #fff7ed);
}

.year-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.year-block {
    margin-top: 28px;
}

.year-block h3 {
    color: var(--amber-300);
    font-size: 1.6rem;
}

.list-stack {
    display: grid;
    gap: 16px;
}

.latest-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.latest-poster {
    position: relative;
    overflow: hidden;
    min-height: 170px;
}

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

.latest-poster em {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    font-style: normal;
    font-weight: 900;
}

.latest-text {
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 22px;
}

.latest-text strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.latest-text span,
.latest-text small {
    color: var(--gray-500);
}

.inner-hero {
    min-height: 330px;
    display: grid;
    align-items: center;
    color: var(--white);
    padding: 72px max(24px, calc((100% - 1280px) / 2));
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.42), transparent 36%), linear-gradient(135deg, #431407, #7c2d12 56%, #92400e);
}

.inner-hero h1 {
    max-width: 900px;
    font-size: clamp(2.35rem, 5vw, 4.9rem);
}

.inner-hero p {
    color: rgba(255, 255, 255, 0.78);
}

.soft-hero,
.search-hero {
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.36), transparent 34%), linear-gradient(135deg, #78350f, #9a3412);
}

.ranking-hero {
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.36), transparent 34%), linear-gradient(135deg, #111827, #7c2d12);
}

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

.filter-panel {
    position: sticky;
    top: 88px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 180px 190px;
    gap: 14px;
    margin: -30px auto 34px;
    padding: 18px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.filter-panel input,
.filter-panel select {
    height: 46px;
    padding: 0 16px;
}

.empty-state {
    display: none;
    margin: 28px 0;
    padding: 28px;
    border-radius: var(--radius-xl);
    color: var(--gray-500);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.empty-state.is-visible {
    display: block;
}

.ranking-list {
    display: grid;
    gap: 18px;
    margin: 46px 0;
}

.ranking-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 18px;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.ranking-poster {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
}

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

.ranking-poster strong {
    position: absolute;
    left: 10px;
    top: 10px;
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, #ef4444, var(--orange-500));
}

.ranking-content h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    line-height: 1.2;
}

.ranking-content p {
    margin: 8px 0;
    color: var(--gray-600);
}

.tag-list span {
    padding: 5px 10px;
}

.watch-link {
    padding: 10px 18px;
    color: var(--white);
    background: var(--amber-500);
}

.detail-main {
    background: linear-gradient(180deg, var(--gray-900) 0, var(--gray-900) 430px, var(--amber-50) 431px);
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
}

.detail-backdrop,
.detail-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-backdrop {
    object-fit: cover;
    filter: blur(6px) saturate(0.9);
    transform: scale(1.06);
}

.detail-overlay {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.58)), linear-gradient(0deg, rgba(17, 24, 39, 1), rgba(17, 24, 39, 0.2));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 64px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.breadcrumbs a:hover {
    color: var(--amber-300);
}

.detail-intro {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 34px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
    aspect-ratio: 16 / 10;
}

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

.detail-copy h1 {
    max-width: 920px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.detail-copy p {
    max-width: 860px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
}

.detail-layout {
    position: relative;
    z-index: 3;
    padding-bottom: 58px;
}

.player-card,
.article-card {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--black);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
}

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), rgba(0, 0, 0, 0.6));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover span {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-size: 2.4rem;
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.36);
}

.play-cover strong {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

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

.article-card {
    padding: 34px;
}

.article-card h2 {
    font-size: 1.8rem;
}

.article-card p {
    margin-bottom: 24px;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.site-footer {
    color: var(--amber-50);
    background: linear-gradient(135deg, #78350f, #431407);
}

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

.footer-brand {
    color: var(--amber-200);
    font-size: 1.45rem;
}

.footer-inner p {
    max-width: 420px;
    color: rgba(255, 251, 235, 0.78);
}

.footer-links,
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 10px;
}

.footer-links a,
.footer-tags a {
    padding: 7px 11px;
    border-radius: 999px;
    color: rgba(255, 251, 235, 0.86);
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover,
.footer-tags a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

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

    .menu-button {
        display: block;
    }

    .header-search {
        max-width: none;
    }

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

    .feature-grid,
    .detail-intro,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 420px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        gap: 12px;
    }

    .brand-text {
        font-size: 1.15rem;
    }

    .header-search {
        display: none;
    }

    .hero-carousel {
        min-height: 560px;
        height: 74vh;
    }

    .hero-content {
        left: 24px;
        bottom: 78px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
    }

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

    .feature-block,
    .year-section,
    .region-block:nth-of-type(even),
    .category-preview:nth-of-type(even) {
        padding: 22px;
        border-radius: 24px;
    }

    .latest-item,
    .ranking-item {
        grid-template-columns: 1fr;
    }

    .latest-poster {
        min-height: 220px;
    }

    .with-link,
    .category-preview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-panel {
        position: static;
        grid-template-columns: 1fr;
        border-radius: 24px;
        margin-top: 24px;
    }

    .detail-intro {
        align-items: start;
    }

    .detail-hero {
        min-height: auto;
    }

    .detail-hero-inner {
        padding-bottom: 36px;
    }
}

@media (max-width: 560px) {
    .page-container,
    .header-inner,
    .quick-inner,
    .footer-inner,
    .mobile-nav {
        width: min(100% - 24px, 1280px);
    }

    .hero-content h1,
    .inner-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }

    .movie-grid,
    .small-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .hero-prev,
    .hero-next {
        display: none;
    }

    .poster-frame {
        aspect-ratio: 16 / 9;
    }

    .inner-hero {
        min-height: 280px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .article-card {
        padding: 24px;
    }
}
