:root {
    --vintage-50: #faf8f3;
    --vintage-100: #f3ead8;
    --vintage-200: #e8dfc8;
    --vintage-800: #6d533a;
    --vintage-900: #5a4532;
    --aged-50: #f7f6f4;
    --aged-100: #eeeae5;
    --aged-200: #ddd5ca;
    --aged-300: #c8b8a3;
    --aged-600: #7d6b58;
    --aged-700: #67574a;
    --aged-800: #574a41;
    --aged-900: #4a3e3a;
    --sepia-50: #fbf8ef;
    --sepia-100: #f9f3e8;
    --sepia-200: #f2e6cd;
    --sepia-400: #d4bd7e;
    --sepia-500: #bf9f55;
    --sepia-600: #a68847;
    --sepia-700: #8d7139;
    --ink: #2b211a;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(43, 33, 26, 0.18);
    --soft-shadow: 0 12px 32px rgba(43, 33, 26, 0.10);
    --radius: 20px;
    --max: 88rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--vintage-50);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    line-height: 1.65;
}

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

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

img.image-empty {
    opacity: 0;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(90, 69, 50, 0.96);
    color: var(--vintage-50);
    box-shadow: 0 10px 30px rgba(43, 33, 26, 0.18);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 74px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--vintage-900);
    background: linear-gradient(135deg, var(--sepia-400), var(--sepia-600));
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 24px rgba(0, 0, 0, 0.20);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 23px;
    letter-spacing: 0.03em;
}

.brand-copy small {
    color: var(--vintage-200);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--vintage-200);
    font-weight: 600;
}

.nav-links a {
    position: relative;
    padding: 25px 0;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--sepia-400);
    transition: transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--sepia-400);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--vintage-50);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 0 22px 20px;
    background: var(--vintage-900);
}

.mobile-menu a {
    display: block;
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 0;
    color: var(--vintage-100);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    color: var(--vintage-50);
    background: linear-gradient(180deg, var(--vintage-900), var(--aged-900));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    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: 60px 60px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 56px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 82px 24px 96px;
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 24px;
    right: 24px;
    z-index: -1;
    opacity: 0.28;
    background-image: linear-gradient(90deg, rgba(43, 33, 26, 0.90), rgba(43, 33, 26, 0.36), rgba(43, 33, 26, 0.88)), var(--backdrop);
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(0.85);
    transform: scale(1.06);
}

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

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--sepia-400);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.page-banner h1,
.detail-copy h1 {
    margin: 0;
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: 1.04;
    text-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.hero-lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--vintage-100);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--sepia-100);
    color: var(--sepia-700);
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    padding: 8px 12px;
    color: var(--vintage-50);
    background: rgba(212, 189, 126, 0.18);
    border: 1px solid rgba(212, 189, 126, 0.34);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

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

.primary-button {
    color: var(--vintage-900);
    background: linear-gradient(135deg, var(--sepia-400), var(--sepia-600));
    box-shadow: 0 14px 34px rgba(166, 136, 71, 0.34);
}

.secondary-button {
    color: var(--vintage-50);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4.2;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--aged-800), var(--vintage-900));
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

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

.hero-slide.is-active .hero-poster img {
    transform: scale(1.035);
}

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    width: min(920px, calc(100% - 32px));
    transform: translateX(-50%);
}

.hero-search form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(250, 248, 243, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.hero-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: var(--vintage-50);
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(250, 248, 243, 0.74);
}

.hero-search button {
    border: 0;
    cursor: pointer;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    color: var(--vintage-50);
    background: rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-control.prev {
    left: 18px;
}

.hero-control.next {
    right: 18px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(250, 248, 243, 0.42);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--sepia-400);
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(250, 248, 243, 0), var(--vintage-50));
    pointer-events: none;
}

.main-shell {
    max-width: var(--max);
    margin: 0 auto;
    padding: 58px 22px;
}

.section-block {
    margin-bottom: 70px;
}

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

.section-kicker {
    display: block;
    width: 5px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--sepia-600);
}

.section-heading h2 {
    margin: 0;
    color: var(--vintage-900);
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
}

.section-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--aged-600);
}

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

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

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

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px;
}

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card.large {
    min-height: 100%;
}

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--aged-200), var(--vintage-200));
}

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

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-frame::after {
    opacity: 1;
}

.card-body {
    flex: 1;
    padding: 18px;
    background: var(--vintage-50);
}

.card-meta {
    margin-bottom: 7px;
    color: var(--aged-600);
    font-size: 13px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--vintage-900);
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: 20px;
    line-height: 1.25;
}

.movie-card h3 a:hover {
    color: var(--sepia-700);
}

.movie-card p {
    margin: 0;
    color: var(--aged-700);
    font-size: 14px;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span,
.detail-tags span {
    padding: 5px 9px;
}

.card-category {
    display: inline-flex;
    margin-top: 14px;
    color: var(--sepia-700);
    font-size: 13px;
    font-weight: 800;
}

.home-band {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 58px max(22px, calc((100vw - var(--max)) / 2 + 22px));
    background: var(--aged-100);
}

.home-band.sepia {
    background: linear-gradient(135deg, var(--sepia-50), var(--vintage-100));
}

.category-strip {
    display: grid;
    gap: 32px;
}

.category-preview {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--soft-shadow);
}

.category-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.category-preview-header h3 {
    margin: 0;
    color: var(--aged-800);
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: 25px;
}

.category-preview-header a {
    color: var(--sepia-700);
    font-weight: 800;
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--vintage-900);
    background: linear-gradient(135deg, var(--sepia-400), var(--sepia-600));
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.page-banner {
    position: relative;
    overflow: hidden;
    color: var(--vintage-50);
    background: linear-gradient(135deg, var(--vintage-900), var(--aged-900));
}

.banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 25% 30%, rgba(212, 189, 126, 0.32), transparent 30%), radial-gradient(circle at 74% 20%, rgba(255,255,255,0.12), transparent 26%);
}

.page-banner-content {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 88px 22px;
}

.page-banner h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
}

.page-banner p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--vintage-200);
    font-size: 18px;
}

.filter-panel {
    margin: -34px auto 48px;
    padding: 18px;
    position: relative;
    z-index: 3;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.filter-title {
    margin-bottom: 12px;
    color: var(--vintage-900);
    font-weight: 900;
}

.filter-controls {
    display: grid;
    grid-template-columns: 1fr 170px 170px;
    gap: 12px;
}

.filter-controls input,
.filter-controls select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--aged-200);
    border-radius: 999px;
    outline: 0;
    padding: 0 16px;
    color: var(--ink);
    background: var(--vintage-50);
}

.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--sepia-500);
    box-shadow: 0 0 0 4px rgba(191, 159, 85, 0.18);
}

.empty-state {
    margin: 14px 0 0;
    color: var(--aged-700);
    font-weight: 700;
}

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

.category-card {
    position: relative;
    min-height: 220px;
    padding: 26px;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--vintage-50);
    background: linear-gradient(135deg, var(--vintage-900), var(--aged-800));
    box-shadow: var(--soft-shadow);
}

.category-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -50px;
    border-radius: 50%;
    background: rgba(212, 189, 126, 0.18);
}

.category-card h2 {
    position: relative;
    margin: 0 0 12px;
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: 28px;
}

.category-card p,
.category-card ul {
    position: relative;
    color: var(--vintage-200);
}

.category-card ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.category-card .section-more {
    position: relative;
    display: inline-flex;
    margin-top: 18px;
    color: var(--sepia-400);
}

.ranking-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-item {
    display: grid;
    grid-template-columns: 66px 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.ranking-number {
    color: var(--sepia-700);
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: var(--aged-200);
}

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

.ranking-copy h2 {
    margin: 0;
    color: var(--vintage-900);
    font-size: 22px;
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
}

.ranking-copy p {
    margin: 7px 0 0;
    color: var(--aged-700);
}

.ranking-index {
    color: var(--sepia-700);
    font-weight: 900;
}

.detail-page {
    background: var(--vintage-50);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--vintage-50);
    background: linear-gradient(135deg, var(--vintage-900), var(--aged-900));
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image: linear-gradient(90deg, rgba(43, 33, 26, 0.90), rgba(43, 33, 26, 0.52)), var(--backdrop);
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(0.8);
    transform: scale(1.05);
}

.detail-shell {
    position: relative;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 70px 22px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    background: var(--aged-800);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
}

.detail-one-line {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--vintage-100);
    font-size: 20px;
}

.breadcrumbs {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 22px 0;
    color: var(--aged-600);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--sepia-700);
    font-weight: 800;
}

.player-section,
.detail-content,
.related-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 58px 22px 0;
}

.player-section h2,
.detail-content h2,
.related-section h2 {
    margin: 0 0 20px;
    color: var(--vintage-900);
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(26px, 3vw, 38px);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--vintage-50);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-mark {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--vintage-900);
    background: linear-gradient(135deg, var(--sepia-400), var(--sepia-600));
    font-size: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.player-error {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--vintage-50);
    background: rgba(90, 69, 50, 0.86);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
    gap: 32px;
}

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

.detail-article p {
    margin: 0 0 22px;
    color: var(--aged-800);
    font-size: 17px;
}

.detail-side dl {
    margin: 0;
}

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

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

.detail-side dt {
    color: var(--aged-600);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
    color: var(--ink);
}

.related-section {
    padding-bottom: 70px;
}

.site-footer {
    color: var(--aged-100);
    background: var(--aged-900);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 0.75fr 0.75fr;
    gap: 36px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 52px 22px;
}

.footer-main p {
    max-width: 520px;
    color: var(--aged-300);
}

.footer-brand strong {
    color: var(--vintage-50);
    font-family: Georgia, Cambria, "Times New Roman", "Noto Serif SC", serif;
    font-size: 26px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--vintage-100);
    font-size: 18px;
}

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

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

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

.site-footer a:hover {
    color: var(--sepia-400);
}

.footer-bottom {
    padding: 18px 22px;
    color: var(--aged-300);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 820px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 56px;
        padding-bottom: 150px;
        text-align: center;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 270px;
        margin: 0 auto;
    }

    .hero-poster {
        transform: none;
    }

    .feature-grid,
    .detail-shell,
    .detail-content,
    .footer-shell {
        grid-template-columns: 1fr;
    }

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

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

    .ranking-item {
        grid-template-columns: 52px 74px minmax(0, 1fr);
    }

    .ranking-index {
        grid-column: 3;
    }
}

@media (max-width: 640px) {
    .nav-shell {
        min-height: 66px;
        padding: 0 16px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 11px;
    }

    .hero {
        min-height: 760px;
    }

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

    .hero-control {
        display: none;
    }

    .hero-search form {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .hero-search input {
        min-height: 44px;
        text-align: center;
    }

    .main-shell,
    .page-banner-content,
    .detail-shell,
    .player-section,
    .detail-content,
    .related-section,
    .breadcrumbs {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .category-preview {
        padding: 18px;
    }

    .section-heading,
    .category-preview-header {
        align-items: flex-start;
        flex-direction: column;
    }

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