:root {
    --stone-950: #1e1c18;
    --stone-900: #4c4740;
    --stone-800: #5e584f;
    --stone-700: #70685f;
    --stone-600: #877d72;
    --stone-500: #a3998e;
    --stone-300: #d7d1c8;
    --stone-200: #e5e1da;
    --stone-100: #f5f3f0;
    --stone-50: #faf9f7;
    --earth-900: #5a4029;
    --earth-800: #704f33;
    --earth-700: #8a5f3e;
    --earth-600: #a47549;
    --earth-500: #b88d55;
    --earth-300: #dbc5a3;
    --earth-100: #f2ede4;
    --earth-50: #faf8f5;
    --canyon-900: #6e3021;
    --canyon-700: #9c3e2a;
    --canyon-600: #c44e2c;
    --moss-900: #363e2d;
    --moss-700: #4e5b3f;
    --moss-600: #61704a;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(49, 38, 26, 0.12);
    --shadow-card: 0 14px 32px rgba(49, 38, 26, 0.14);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 249, 247, 0.94);
    border-bottom: 1px solid rgba(229, 225, 218, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--stone-950);
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--earth-600), var(--canyon-600));
    box-shadow: 0 10px 24px rgba(164, 117, 73, 0.28);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.desktop-nav a,
.mobile-panel a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--stone-700);
    font-weight: 650;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--earth-700);
    background: var(--earth-100);
}

.nav-search {
    display: flex;
    align-items: center;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(49, 38, 26, 0.06);
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    background: transparent;
    color: var(--stone-900);
}

.nav-search button {
    border: 0;
    padding: 10px 16px;
    background: var(--earth-600);
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--stone-900);
    background: var(--earth-100);
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
}

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

.mobile-panel nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

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

.hero-pattern {
    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: 70px 70px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(219, 197, 163, 0.22), transparent 38%), linear-gradient(to top, rgba(30, 28, 24, 0.86), transparent 62%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    min-height: 680px;
    margin: 0 auto;
    padding: 76px 20px 82px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--earth-300);
    font-size: 14px;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title-block h1,
.sub-hero h1,
.detail-info h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero-title-block p,
.sub-hero p,
.detail-info .lead-text {
    max-width: 700px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

.hero-search-card {
    max-width: 620px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.hero-search-card form {
    display: flex;
    gap: 10px;
}

.hero-search-card input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 15px 18px;
    border-radius: 14px;
    color: var(--stone-900);
    background: rgba(255, 255, 255, 0.96);
}

.hero-search-card button,
.primary-btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 14px;
    background: var(--earth-600);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 28px rgba(164, 117, 73, 0.25);
}

.primary-btn:hover,
.hero-search-card button:hover {
    transform: translateY(-2px);
    background: var(--earth-700);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    font-weight: 800;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-carousel {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 22px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    background: rgba(30, 28, 24, 0.34);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.hero-copy h2 {
    margin: 12px 0 14px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
}

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

.hero-poster {
    position: relative;
    min-height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
}

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

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

.hero-poster span {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--canyon-600);
    font-weight: 900;
}

.hero-dots {
    position: absolute;
    bottom: -8px;
    right: 0;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 32px;
    border-radius: 999px;
    background: var(--earth-300);
}

.section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 20px;
}

.light-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
    background: var(--stone-50);
}

.white-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
    background: var(--white);
}

.section-head {
    max-width: 1240px;
    margin: 0 auto 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-head h2 {
    margin: 0 0 6px;
    color: var(--stone-950);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--stone-600);
}

.section-head a,
.side-card a,
.category-section-card .section-head a {
    color: var(--earth-700);
    font-weight: 800;
}

.movie-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(229, 225, 218, 0.86);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 26px rgba(49, 38, 26, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(164, 117, 73, 0.35);
    box-shadow: var(--shadow-card);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--stone-200);
}

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

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

.card-year {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(30, 28, 24, 0.72);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 16px;
}

.card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--earth-700);
    font-size: 12px;
    font-weight: 800;
}

.card-body h3 {
    margin: 0 0 8px;
    color: var(--stone-950);
    font-size: 18px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--earth-700);
}

.card-body p {
    min-height: 50px;
    margin: 0 0 12px;
    color: var(--stone-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.tag-row span {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-100);
    font-size: 12px;
    font-weight: 700;
}

.light-tags span {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.16);
}

.category-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 28, 24, 0.86), rgba(30, 28, 24, 0.18));
}

.category-tile strong,
.category-tile small {
    position: absolute;
    left: 20px;
    right: 20px;
}

.category-tile strong {
    bottom: 70px;
    font-size: 24px;
}

.category-tile small {
    bottom: 20px;
    color: rgba(255, 255, 255, 0.78);
}

.rank-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
    color: var(--white);
    background: linear-gradient(135deg, var(--moss-900), var(--earth-900));
}

.rank-layout {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: center;
}

.rank-feature {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.rank-feature h2 {
    margin: 14px 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
}

.rank-feature p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.78);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 52px 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    color: var(--stone-900);
    background: rgba(255, 255, 255, 0.94);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--canyon-600);
    font-weight: 900;
}

.rank-item img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-info {
    min-width: 0;
}

.rank-info strong,
.rank-info small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-info small {
    color: var(--stone-600);
}

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

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 0%, rgba(219, 197, 163, 0.2), transparent 34%);
}

.sub-hero > div {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 78px 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

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

.filter-panel {
    max-width: 1240px;
    margin: 0 auto 28px;
    padding: 18px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--stone-50);
    box-shadow: 0 10px 24px rgba(49, 38, 26, 0.06);
}

.filter-panel input {
    width: 100%;
    border: 1px solid var(--stone-200);
    border-radius: 14px;
    padding: 14px 16px;
    outline: 0;
    background: var(--white);
}

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

.chip-row,
.link-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip-row button,
.link-chip-row a {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--stone-700);
    background: var(--earth-100);
    font-weight: 750;
    cursor: pointer;
}

.chip-row button:hover,
.chip-row button.is-active,
.link-chip-row a:hover {
    color: var(--white);
    background: var(--earth-600);
}

.category-section-card {
    max-width: 1240px;
    margin: 0 auto 32px;
    padding: 28px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--stone-50);
}

.compact-head {
    padding: 0;
    margin-bottom: 22px;
}

.compact-grid .movie-card {
    box-shadow: none;
}

.compact-card .card-body p {
    min-height: 42px;
    font-size: 13px;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    filter: blur(6px);
}

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

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 28, 24, 0.92), rgba(90, 64, 41, 0.72));
}

.detail-shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 58px 20px 70px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

.detail-info h1 {
    font-size: clamp(40px, 6vw, 72px);
}

.player-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
    background: var(--stone-950);
}

.player-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.video-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.42);
}

.video-box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
    cursor: pointer;
}

.play-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--earth-600);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    font-size: 28px;
    padding-left: 5px;
}

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

.watch-info {
    margin-top: 20px;
    color: var(--white);
}

.watch-info h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.watch-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

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

.article-card,
.side-card,
.sticky-block {
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--stone-50);
    box-shadow: 0 12px 28px rgba(49, 38, 26, 0.07);
}

.article-card {
    padding: 30px;
}

.article-card h2,
.side-card h2,
.sticky-block h2 {
    margin: 0 0 14px;
    color: var(--stone-950);
}

.article-card p {
    margin: 0 0 24px;
    color: var(--stone-700);
    font-size: 16px;
}

.side-card,
.sticky-block {
    padding: 24px;
}

.side-card p,
.sticky-block p {
    color: var(--stone-600);
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0 0;
}

.info-list div {
    padding: 14px;
    border-radius: 14px;
    background: var(--white);
}

.info-list dt {
    color: var(--stone-500);
    font-size: 12px;
    font-weight: 800;
}

.info-list dd {
    margin: 4px 0 0;
    color: var(--stone-950);
    font-weight: 800;
}

.rank-page-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
    background: var(--stone-50);
}

.rank-page-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.full-rank .rank-item {
    grid-template-columns: 58px 86px minmax(0, 1fr);
    background: var(--white);
    border: 1px solid var(--stone-200);
}

.full-rank .rank-item img {
    width: 86px;
    height: 86px;
}

.sticky-block {
    position: sticky;
    top: 96px;
}

.sticky-block img {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin-top: 18px;
}

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

.footer-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 20px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo {
    color: var(--white);
}

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

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--earth-300);
}

.footer-bottom {
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--stone-500);
}

.movie-card.is-hidden {
    display: none;
}

.empty-state {
    max-width: 1240px;
    margin: 24px auto 0;
    padding: 22px;
    border-radius: 16px;
    color: var(--stone-700);
    background: var(--earth-50);
}

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

    .hero-shell,
    .rank-layout,
    .content-layout,
    .rank-page-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-slide {
        grid-template-columns: 1fr 220px;
    }

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

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

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

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

    .nav-shell {
        gap: 12px;
    }

    .site-logo {
        font-size: 17px;
    }

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

    .hero-shell {
        padding-top: 56px;
        padding-bottom: 64px;
        gap: 36px;
    }

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

    .hero-carousel {
        min-height: 760px;
    }

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

    .hero-poster {
        min-height: 320px;
        transform: none;
    }

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

    .hero-dots {
        left: 0;
        right: auto;
        bottom: -20px;
    }

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

    .three-grid,
    .four-grid,
    .six-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

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

    .info-list {
        grid-template-columns: 1fr;
    }

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

    .rank-item,
    .full-rank .rank-item {
        grid-template-columns: 44px 64px minmax(0, 1fr);
    }

    .rank-item img,
    .full-rank .rank-item img {
        width: 64px;
        height: 64px;
    }
}
