:root {
    --stone-50: #faf9f7;
    --stone-100: #f5f3f0;
    --stone-200: #e5e1da;
    --stone-300: #d1cac0;
    --stone-400: #b8aea0;
    --stone-500: #9c8d7b;
    --stone-600: #87786a;
    --stone-700: #6f6259;
    --stone-800: #5c534c;
    --stone-900: #4c4740;
    --earth-50: #faf8f5;
    --earth-100: #f2ede4;
    --earth-200: #e8dcc8;
    --earth-300: #dbc5a3;
    --earth-400: #caa876;
    --earth-500: #b88d55;
    --earth-600: #a47549;
    --earth-700: #8a5f3e;
    --earth-900: #5a4029;
    --canyon-50: #fdf6f3;
    --canyon-100: #fae8df;
    --canyon-500: #d96840;
    --canyon-600: #c44e2c;
    --canyon-700: #a33f25;
    --canyon-900: #6e3021;
    --white: #ffffff;
    --shadow-soft: 0 18px 40px rgba(76, 71, 64, 0.12);
    --shadow-card: 0 12px 26px rgba(76, 71, 64, 0.10);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--stone-50);
    color: var(--stone-900);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 247, 0.95);
    border-bottom: 1px solid var(--stone-200);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    width: min(1280px, calc(100% - 32px));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    font-weight: 800;
    color: var(--stone-800);
    white-space: nowrap;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--earth-600);
    color: var(--white);
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(164, 117, 73, 0.28);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.nav-links a {
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 650;
    color: var(--stone-700);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    background: var(--stone-100);
    color: var(--earth-700);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    width: 260px;
    background: var(--white);
    border: 1px solid var(--stone-300);
    border-radius: 12px;
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    color: var(--stone-900);
    background: var(--white);
}

.header-search input {
    width: 100%;
    padding: 9px 12px;
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    background: var(--earth-600);
    color: var(--white);
    padding: 9px 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover {
    background: var(--earth-700);
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--stone-100);
    color: var(--stone-700);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--stone-200);
    background: var(--white);
}

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

.mobile-search {
    display: flex;
    width: min(100% - 32px, 620px);
    margin: 16px auto 8px;
    border: 1px solid var(--stone-300);
    border-radius: 12px;
    overflow: hidden;
}

.mobile-search input {
    flex: 1;
    padding: 10px 12px;
}

.mobile-links {
    width: min(100% - 32px, 620px);
    margin: 0 auto 16px;
    display: grid;
    gap: 8px;
}

.mobile-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--stone-700);
    background: var(--stone-50);
    font-weight: 650;
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(217, 104, 64, 0.24), transparent 30%),
        linear-gradient(0deg, rgba(76, 71, 64, 0.86), rgba(76, 71, 64, 0.16));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: 48px;
    align-items: center;
    padding: 64px 0;
}

.site-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--earth-300);
    font-weight: 750;
    letter-spacing: 0.04em;
}

.hero-heading h1 {
    margin: 16px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-heading p {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--stone-200);
    font-size: 20px;
}

.hero-search {
    display: flex;
    width: min(100%, 560px);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-search input {
    flex: 1;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.92);
}

.hero-search button {
    min-width: 104px;
    font-weight: 750;
}

.hero-stage {
    position: relative;
    min-height: 440px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    align-items: center;
    padding: 32px;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

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

.hero-copy h2 {
    margin: 14px 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.hero-copy p {
    color: var(--stone-200);
    font-size: 18px;
    margin: 0 0 20px;
}

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

.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--stone-100);
    font-size: 13px;
    font-weight: 650;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    background: var(--earth-600);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(164, 117, 73, 0.30);
}

.primary-btn:hover {
    background: var(--earth-700);
    transform: translateY(-2px);
}

.ghost-btn {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
}

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

.hero-poster {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--stone-900);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

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

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--earth-700);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-dots {
    position: absolute;
    left: 32px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

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

.hero-dots button.is-active {
    width: 46px;
    background: var(--earth-300);
}

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

.section-soft {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1280px) / 2));
    padding-right: max(16px, calc((100% - 1280px) / 2));
    background: var(--stone-50);
}

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

.section-head h2,
.rank-panel h2,
.detail-article h2,
.detail-side h2,
.footer h2 {
    margin: 0;
    color: var(--stone-900);
    font-size: 30px;
    line-height: 1.2;
}

.section-head p,
.rank-panel p {
    margin: 6px 0 0;
    color: var(--stone-600);
}

.section-head a {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--earth-700);
    background: var(--earth-100);
    font-weight: 750;
}

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

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

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

.movie-card-link {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(76, 71, 64, 0.18);
}

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

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.movie-card-link:hover .poster-shade {
    background: rgba(0, 0, 0, 0.35);
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    color: var(--earth-700);
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.25s ease;
}

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

.year-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.66);
    color: var(--white);
    font-size: 12px;
    font-weight: 750;
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-card-body strong {
    min-height: 48px;
    color: var(--stone-900);
    font-size: 17px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.movie-card-link:hover strong {
    color: var(--earth-700);
}

.movie-desc {
    color: var(--stone-600);
    font-size: 14px;
    min-height: 44px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.movie-meta em {
    font-style: normal;
    color: var(--stone-600);
    background: var(--stone-100);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
}

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

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

.category-tile,
.category-overview-card {
    min-height: 174px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--earth-50), var(--white));
    border: 1px solid var(--stone-200);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: var(--earth-300);
}

.category-tile span,
.category-title {
    color: var(--earth-700);
    font-size: 20px;
    font-weight: 850;
}

.category-tile strong {
    color: var(--stone-900);
    font-size: 15px;
    line-height: 1.4;
}

.category-tile em,
.category-overview-card p {
    color: var(--stone-600);
    font-style: normal;
    font-size: 14px;
}

.category-samples {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    color: var(--stone-700);
    font-weight: 650;
}

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

.wide-panel,
.rank-panel {
    min-width: 0;
}

.rank-panel {
    position: sticky;
    top: 88px;
    padding: 24px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.rank-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.rank-item {
    display: grid;
    grid-template-columns: 42px 64px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: var(--stone-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: var(--earth-50);
    transform: translateX(3px);
}

.rank-num,
.ranking-number {
    color: var(--canyon-600);
    font-weight: 900;
}

.rank-item img {
    width: 64px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--stone-200);
}

.rank-item strong,
.rank-item em {
    display: block;
}

.rank-item strong {
    color: var(--stone-900);
    line-height: 1.3;
}

.rank-item em {
    color: var(--stone-500);
    font-size: 13px;
    font-style: normal;
}

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

.page-hero > div {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.page-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--stone-200);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 22px;
    color: var(--stone-200);
}

.breadcrumb a {
    color: var(--earth-300);
    font-weight: 700;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 12px;
    margin-bottom: 28px;
}

.filter-panel input,
.filter-panel select {
    min-height: 46px;
    border: 1px solid var(--stone-300);
    border-radius: 12px;
    padding: 0 14px;
    box-shadow: 0 8px 20px rgba(76, 71, 64, 0.05);
}

.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);
}

.empty-state {
    display: none;
    margin: 32px 0 0;
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    color: var(--stone-600);
    background: var(--white);
}

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

.ranking-grid {
    display: grid;
    gap: 14px;
}

.ranking-card a {
    display: grid;
    grid-template-columns: 64px 150px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.ranking-card img {
    width: 150px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
    background: var(--stone-200);
}

.ranking-info {
    display: grid;
    gap: 6px;
}

.ranking-info strong {
    font-size: 20px;
    color: var(--stone-900);
}

.ranking-info em {
    color: var(--earth-700);
    font-style: normal;
    font-weight: 700;
}

.ranking-info p {
    margin: 0;
    color: var(--stone-600);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--stone-900);
}

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

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(76, 71, 64, 0.96), rgba(76, 71, 64, 0.72), rgba(110, 48, 33, 0.44));
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    min-height: 560px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 70px 0;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: var(--stone-800);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

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

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
}

.detail-copy p {
    max-width: 820px;
    margin: 0 0 20px;
    color: var(--stone-200);
    font-size: 19px;
}

.detail-meta span,
.detail-tags span {
    background: rgba(255, 255, 255, 0.13);
}

.detail-copy .primary-btn {
    margin-top: 28px;
}

.watch-section {
    padding-bottom: 30px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.68));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--earth-700);
    font-size: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.player-start strong {
    font-size: 18px;
}

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

.detail-content-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    padding-top: 30px;
}

.detail-article,
.detail-side {
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.detail-article {
    padding: 32px;
}

.detail-article h2 {
    margin-top: 0;
    margin-bottom: 14px;
}

.detail-article p {
    margin: 0 0 28px;
    color: var(--stone-700);
    font-size: 17px;
}

.detail-article p:last-child {
    margin-bottom: 0;
}

.detail-side {
    padding: 26px;
}

.detail-side h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

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

.detail-side div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--stone-200);
}

.detail-side div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-side dt {
    color: var(--stone-500);
    font-weight: 700;
}

.detail-side dd {
    margin: 0;
    color: var(--stone-800);
    font-weight: 700;
}

.detail-side a {
    color: var(--earth-700);
}

.footer {
    background: var(--stone-900);
    color: var(--stone-300);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    color: var(--stone-100);
}

.footer p {
    max-width: 520px;
    color: var(--stone-400);
}

.footer h2 {
    margin-bottom: 14px;
    color: var(--stone-100);
    font-size: 18px;
}

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

.footer a:hover,
.footer button:hover {
    color: var(--earth-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--stone-800);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer button {
    border: 0;
    background: transparent;
    color: var(--stone-400);
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .nav-links a:nth-last-child(-n + 4) {
        display: none;
    }

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

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

    .hero-inner,
    .hero-slide,
    .split-section,
    .detail-content-section {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: grid;
    }

    .hero-stage {
        min-height: 0;
    }

    .hero-poster {
        display: none;
    }

    .rank-panel {
        position: static;
    }
}

@media (max-width: 920px) {
    .nav-links,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-wrap {
        justify-content: space-between;
    }

    .hero-inner {
        min-height: auto;
        padding: 48px 0;
    }

    .hero-heading h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.03em;
    }

    .hero-slide {
        padding: 24px;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .detail-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .detail-poster {
        max-width: 280px;
    }

    .ranking-card a {
        grid-template-columns: 48px 112px 1fr;
        gap: 12px;
    }

    .ranking-card img {
        width: 112px;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .brand,
    .footer-brand {
        font-size: 18px;
    }

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

    .hero-inner {
        width: min(100% - 24px, 1280px);
        gap: 28px;
    }

    .hero-heading p,
    .hero-copy p,
    .detail-copy p {
        font-size: 16px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        width: 100%;
    }

    .hero-dots {
        position: static;
        margin-top: 18px;
    }

    .section,
    .section-soft {
        padding-top: 48px;
        padding-bottom: 48px;
    }

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

    .movie-grid,
    .movie-grid-featured,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card a {
        grid-template-columns: 40px 1fr;
    }

    .ranking-card img {
        display: none;
    }

    .detail-inner,
    .page-hero > div,
    .footer-inner,
    .section {
        width: min(100% - 24px, 1280px);
    }

    .detail-poster {
        max-width: 220px;
    }

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

    .player-shell {
        border-radius: 18px;
    }

    .player-start span {
        width: 64px;
        height: 64px;
    }
}
