:root {
    --stone-50: #faf9f7;
    --stone-100: #f5f3f0;
    --stone-200: #e5e1da;
    --stone-300: #d1cac0;
    --stone-500: #7c7168;
    --stone-600: #5c534c;
    --stone-800: #3d3732;
    --stone-900: #26221f;
    --earth-50: #faf8f5;
    --earth-100: #f2ede4;
    --earth-200: #e8dcc8;
    --earth-500: #b88d55;
    --earth-600: #a47549;
    --earth-700: #8a5f3e;
    --earth-900: #5a4029;
    --canyon-500: #d96840;
    --canyon-700: #a33f25;
    --canyon-900: #6e3021;
    --moss-600: #61704a;
    --shadow-soft: 0 18px 45px rgba(38, 34, 31, 0.12);
    --shadow-card: 0 12px 28px rgba(38, 34, 31, 0.09);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--stone-50);
    color: var(--stone-900);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 249, 247, 0.94);
    border-bottom: 1px solid var(--stone-200);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 68px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--earth-600), var(--canyon-700));
    box-shadow: 0 12px 25px rgba(164, 117, 73, 0.34);
}

.brand-text {
    font-size: 20px;
    color: var(--stone-900);
}

.nav-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.main-links {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.main-links a,
.mobile-category-links a {
    padding: 9px 12px;
    border-radius: 11px;
    color: var(--stone-600);
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-links a:hover,
.main-links a.is-active,
.mobile-category-links a:hover {
    color: var(--earth-700);
    background: var(--stone-100);
}

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

.nav-search input,
.filter-panel input,
.filter-panel select {
    height: 42px;
    border: 1px solid var(--stone-300);
    border-radius: 12px;
    background: #fff;
    color: var(--stone-900);
    outline: none;
    padding: 0 13px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    width: 210px;
}

.nav-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--earth-500);
    box-shadow: 0 0 0 4px rgba(184, 141, 85, 0.16);
}

.nav-search button,
.btn,
.rank-action,
.text-link {
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.btn.primary,
.rank-action {
    color: #fff;
    background: var(--earth-600);
    box-shadow: 0 10px 22px rgba(164, 117, 73, 0.25);
}

.nav-search button:hover,
.btn.primary:hover,
.rank-action:hover {
    background: var(--earth-700);
    transform: translateY(-1px);
}

.btn.ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.btn.full {
    display: block;
    text-align: center;
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--stone-100);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--stone-800);
}

.mobile-category-links {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--earth-900), var(--stone-800) 48%, var(--canyon-900));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 76px 76px;
}

.hero-shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    min-height: 620px;
    margin: 0 auto;
    padding: 56px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: center;
}

.hero-slider {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
}

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

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.12)), linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    padding: 64px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--earth-100);
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow.dark {
    color: var(--earth-700);
    background: var(--earth-100);
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 20px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-content p {
    margin: 0;
    max-width: 610px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 750;
}

.hero-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.tag-row span {
    color: var(--earth-700);
    background: var(--earth-100);
}

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

.hero-side {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.side-title {
    color: var(--earth-100);
    margin-bottom: 12px;
    font-weight: 850;
}

.hero-feature {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-feature:hover,
.hero-feature.is-active {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(-2px);
}

.hero-feature img {
    width: 86px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-feature span {
    font-weight: 800;
    line-height: 1.35;
}

.hero-dots {
    display: flex;
    gap: 8px;
    padding: 8px 2px 0;
}

.hero-dots button {
    width: 28px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: var(--earth-200);
}

.section-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 62px 22px;
}

.narrow-wrap {
    max-width: 980px;
}

.quick-zone {
    padding-top: 46px;
    padding-bottom: 26px;
}

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

.section-title.centered {
    display: block;
    text-align: center;
    max-width: 760px;
}

.section-title.light,
.section-title.light a {
    color: #fff;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-title p {
    margin: 10px 0 0;
    color: var(--stone-500);
}

.section-title a,
.text-link {
    color: var(--earth-700);
    font-weight: 850;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.quick-links a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--stone-700);
    border: 1px solid var(--stone-200);
    box-shadow: 0 8px 18px rgba(38, 34, 31, 0.05);
    font-weight: 760;
}

.quick-links a:hover {
    color: #fff;
    border-color: var(--earth-600);
    background: var(--earth-600);
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 8px 18px rgba(38, 34, 31, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: var(--earth-200);
    box-shadow: var(--shadow-card);
}

.card-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--stone-200);
}

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

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

.play-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 18px;
}

.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--stone-500);
    font-size: 12px;
    font-weight: 760;
}

.card-body h2 {
    margin: 9px 0 8px;
    font-size: 19px;
    line-height: 1.28;
}

.card-body h2 a:hover,
.rank-copy h2 a:hover,
.category-large-body h2 a:hover {
    color: var(--earth-700);
}

.card-body p {
    margin: 0 0 14px;
    color: var(--stone-600);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card.compact .card-body p {
    -webkit-line-clamp: 2;
}

.earth-panel {
    max-width: none;
    margin: 34px 0;
    padding-left: max(22px, calc((100vw - 1240px) / 2 + 22px));
    padding-right: max(22px, calc((100vw - 1240px) / 2 + 22px));
    background: linear-gradient(135deg, var(--earth-900), var(--canyon-900));
}

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

.category-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.category-card img,
.category-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img,
.category-large-card:hover img {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
}

.category-card div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

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

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 58px 132px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(38, 34, 31, 0.05);
}

.rank-number {
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--earth-700);
    background: var(--earth-100);
    font-weight: 900;
    font-size: 18px;
}

.rank-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: var(--stone-200);
}

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

.rank-copy h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.rank-copy p {
    margin: 0 0 8px;
    color: var(--stone-600);
}

.page-hero {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, var(--earth-900), var(--stone-800) 55%, var(--canyon-900));
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(217, 104, 64, 0.24), transparent 30%);
}

.page-hero-inner {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 76px 22px;
}

.compact-hero .page-hero-inner {
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.page-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.compact-hero p {
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--stone-600);
    font-size: 14px;
}

.light-breadcrumb {
    margin: 22px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.76);
}

.breadcrumb a:hover {
    color: var(--earth-700);
}

.light-breadcrumb a:hover {
    color: #fff;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 180px;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 8px 18px rgba(38, 34, 31, 0.05);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--stone-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
}

.filter-empty {
    margin: 22px 0;
    padding: 18px;
    border-radius: var(--radius-md);
    color: var(--stone-600);
    background: var(--stone-100);
    text-align: center;
    font-weight: 700;
}

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

.category-large-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.category-large-image {
    min-height: 240px;
    overflow: hidden;
    background: var(--stone-200);
}

.category-large-body {
    padding: 28px;
}

.category-large-body h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-large-body p {
    margin: 0 0 18px;
    color: var(--stone-600);
}

.detail-top {
    background: #fff;
    border-bottom: 1px solid var(--stone-200);
}

.detail-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 22px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

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

.player-card,
.detail-article,
.poster-panel,
.info-panel,
.prev-next a {
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 8px 18px rgba(38, 34, 31, 0.05);
}

.player-card {
    overflow: hidden;
    background: #000;
}

.video-shell {
    position: relative;
    background: #000;
}

.video-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    text-align: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(164, 117, 73, 0.9);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
    font-size: 30px;
}

.player-title {
    max-width: 84%;
    font-size: 22px;
    font-weight: 850;
}

.detail-article {
    padding: 30px;
}

.detail-heading h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.detail-heading p {
    margin: 0;
    color: var(--stone-600);
    font-size: 18px;
}

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

.detail-meta-grid span {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: var(--stone-100);
    color: var(--stone-700);
}

.detail-meta-grid strong {
    color: var(--stone-500);
    font-size: 12px;
}

.detail-tags {
    margin-bottom: 26px;
}

.copy-section {
    border-top: 1px solid var(--stone-200);
    padding-top: 24px;
    margin-top: 24px;
}

.copy-section h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.copy-section p {
    margin: 0;
    color: var(--stone-700);
    white-space: pre-line;
}

.detail-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 88px;
}

.poster-panel {
    padding: 14px;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 14px;
    background: var(--stone-200);
}

.info-panel {
    padding: 22px;
}

.info-panel h2 {
    margin: 0 0 14px;
}

.info-panel p {
    margin: 8px 0;
    color: var(--stone-700);
}

.info-panel a {
    color: var(--earth-700);
    font-weight: 800;
}

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

.prev-next a {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.prev-next span {
    color: var(--stone-500);
    font-size: 13px;
    font-weight: 800;
}

.prev-next strong {
    font-size: 17px;
}

.site-footer {
    margin-top: 40px;
    color: var(--stone-300);
    background: var(--stone-900);
}

.footer-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 52px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 34px;
}

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

.footer-brand p {
    max-width: 480px;
    color: var(--stone-300);
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

.footer-links a:hover {
    color: var(--earth-500);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 22px 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom button {
    border: 0;
    color: var(--earth-500);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

[data-movie-card][hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .main-links a:nth-child(n+6) {
        display: none;
    }

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

    .hero-side,
    .detail-side {
        position: static;
    }

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

    .side-title,
    .hero-dots {
        grid-column: 1 / -1;
    }

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

    .category-large-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .nav-panel {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 76px;
        display: none;
        padding: 16px;
        border: 1px solid var(--stone-200);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .nav-panel.is-open {
        display: grid;
    }

    .main-links,
    .nav-search,
    .mobile-category-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .main-links a:nth-child(n+6) {
        display: block;
    }

    .nav-search input {
        width: 100%;
    }

    .hero-section,
    .hero-shell {
        min-height: auto;
    }

    .hero-shell {
        padding-top: 30px;
        padding-bottom: 30px;
    }

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

    .hero-content {
        padding: 34px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .category-grid,
    .filter-panel,
    .footer-wrap,
    .detail-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rank-item {
        grid-template-columns: 46px 104px minmax(0, 1fr);
    }

    .rank-action {
        grid-column: 2 / -1;
        text-align: center;
    }

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

@media (max-width: 560px) {
    .nav-wrap {
        padding: 0 16px;
    }

    .brand-text {
        font-size: 18px;
    }

    .section-wrap,
    .page-hero-inner,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-slider {
        min-height: 560px;
        border-radius: 18px;
    }

    .hero-content {
        padding: 26px;
    }

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

    .hero-actions,
    .section-title,
    .footer-bottom,
    .prev-next {
        display: grid;
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .category-grid,
    .filter-panel,
    .footer-wrap,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 42px 86px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-copy p {
        display: none;
    }

    .detail-article {
        padding: 22px;
    }
}
