:root {
    color-scheme: light;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --text: #292524;
    --muted: #78716c;
    --panel: #ffffff;
    --shadow: 0 18px 40px rgba(28, 25, 23, 0.12);
    --shadow-strong: 0 28px 80px rgba(28, 25, 23, 0.28);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, var(--amber-50), var(--stone-100));
}

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;
    color: #fff7ed;
    background: linear-gradient(90deg, var(--amber-900), var(--amber-800), var(--amber-900));
    box-shadow: 0 10px 30px rgba(28, 25, 23, 0.22);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--amber-900);
    background: var(--amber-300);
    border-radius: 999px;
    font-size: 15px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 21px;
    letter-spacing: 0.04em;
}

.brand-text small {
    margin-top: 3px;
    color: var(--amber-300);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    color: #fff7ed;
    font-weight: 650;
    transition: color 0.2s ease;
}

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

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--amber-300);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.nav-search input {
    width: 170px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 7px 10px;
}

.nav-search input::placeholder {
    color: rgba(255, 247, 237, 0.68);
}

.nav-search button,
.hero-search button {
    border: 0;
    color: white;
    cursor: pointer;
    font-weight: 700;
    background: var(--amber-600);
    border-radius: 999px;
    padding: 8px 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.hero-search button:hover {
    background: var(--amber-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 0;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

main {
    min-height: 62vh;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--stone-900);
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.18));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 92px;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    color: white;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--amber-300);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.eyebrow::before {
    content: "✦";
}

.hero h1,
.hero h2 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    text-shadow: 0 14px 35px rgba(0, 0, 0, 0.48);
}

.hero p {
    max-width: 780px;
    margin: 0 0 20px;
    color: #e7e5e4;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

.hero-meta,
.detail-meta,
.horizontal-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-meta span,
.detail-meta span,
.horizontal-meta span,
.card-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 5px 10px;
    color: #f5f5f4;
    font-size: 12px;
    backdrop-filter: blur(12px);
}

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

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

.primary-button {
    color: white;
    background: var(--amber-600);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.34);
}

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

.ghost-button {
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.ghost-button:hover {
    border-color: var(--amber-300);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    color: white;
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dots button.is-active {
    width: 34px;
    background: var(--amber-500);
}

.hero-search {
    position: absolute;
    right: max(24px, calc((100% - 1180px) / 2));
    bottom: 28px;
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.hero-search input {
    width: min(290px, 42vw);
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 9px 12px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.content-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0;
}

.movie-section {
    margin-bottom: 64px;
}

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

.section-heading h2 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: var(--stone-800);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    border-radius: 999px;
    background: var(--amber-600);
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.section-heading a {
    color: var(--amber-700);
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

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

.movie-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--stone-200);
}

.movie-card-compact .poster-wrap {
    height: 210px;
}

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

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

.poster-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.1));
    transition: opacity 0.24s ease;
}

.movie-card-link:hover .poster-layer {
    opacity: 1;
}

.poster-play {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.9);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.duration-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.movie-card-compact .card-content {
    padding: 13px;
}

.card-content strong {
    color: var(--stone-800);
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-compact .card-content strong {
    font-size: 15px;
}

.card-content em {
    flex: 1;
    color: var(--stone-600);
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta span {
    color: var(--stone-600);
    background: var(--stone-100);
}

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

.tag-row span,
.detail-tags span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--amber-800);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 700;
}

.feature-band {
    margin-bottom: 64px;
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--amber-100), #ffedd5);
    box-shadow: var(--shadow);
}

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

.horizontal-card a {
    display: grid;
    grid-template-columns: 174px 1fr;
    gap: 16px;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 12px 30px rgba(28, 25, 23, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(28, 25, 23, 0.18);
}

.horizontal-poster {
    position: relative;
    min-height: 190px;
    background: var(--stone-200);
}

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

.horizontal-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 18px 18px 18px 0;
}

.horizontal-info strong {
    color: var(--stone-800);
    font-size: 20px;
    line-height: 1.35;
}

.horizontal-info em {
    color: var(--stone-600);
    font-style: normal;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.horizontal-meta span {
    color: var(--amber-800);
    background: var(--amber-100);
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--stone-900);
    box-shadow: var(--shadow);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    opacity: 0.66;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-tile:hover img {
    opacity: 0.82;
    transform: scale(1.07);
}

.category-tile span {
    position: absolute;
    inset: auto 0 0 0;
    display: block;
    padding: 22px;
    color: white;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.category-tile strong {
    display: block;
    font-size: 22px;
    margin-bottom: 6px;
}

.category-tile em {
    display: block;
    color: #e7e5e4;
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
}

.dark-section {
    margin-bottom: 64px;
    padding: 34px;
    border-radius: 24px;
    color: white;
    background: var(--stone-800);
    box-shadow: var(--shadow);
}

.dark-section .section-heading h2,
.dark-section .section-heading p {
    color: white;
}

.dark-section .section-heading a {
    color: var(--amber-300);
}

.page-hero {
    color: white;
    background: radial-gradient(circle at 20% 20%, rgba(252, 211, 77, 0.32), transparent 30%), linear-gradient(90deg, var(--amber-900), var(--amber-800), var(--stone-900));
}

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

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #fde68a;
    font-size: 18px;
    line-height: 1.7;
}

.filter-panel {
    position: sticky;
    top: 86px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(214, 211, 209, 0.7);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(28, 25, 23, 0.08);
    backdrop-filter: blur(14px);
}

.filter-search {
    flex: 1;
    min-width: min(100%, 280px);
}

.filter-search input {
    width: 100%;
    border: 1px solid var(--stone-300);
    outline: 0;
    border-radius: 999px;
    background: white;
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons button {
    border: 0;
    color: var(--stone-700);
    cursor: pointer;
    border-radius: 999px;
    background: var(--stone-100);
    padding: 10px 14px;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
    color: white;
    background: var(--amber-600);
}

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 22px;
    min-height: 210px;
    overflow: hidden;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 4px;
    background: var(--stone-900);
}

.category-covers img {
    width: 100%;
    height: 100%;
    min-height: 98px;
    object-fit: cover;
}

.category-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px 24px 24px 0;
}

.category-copy strong {
    color: var(--stone-800);
    font-size: 28px;
}

.category-copy em {
    color: var(--stone-600);
    font-style: normal;
    line-height: 1.7;
}

.category-copy span {
    color: var(--amber-700);
    font-weight: 800;
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 46px;
}

.top-rank-card a {
    position: relative;
    display: block;
    min-height: 330px;
    overflow: hidden;
    border-radius: 24px;
    color: white;
    background: var(--stone-900);
    box-shadow: var(--shadow);
}

.top-rank-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    opacity: 0.74;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.top-rank-card a:hover img {
    opacity: 0.9;
    transform: scale(1.06);
}

.top-rank-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}

.top-rank-copy em {
    color: var(--amber-300);
    font-style: normal;
    font-weight: 900;
}

.top-rank-copy strong {
    display: block;
    margin: 8px 0;
    font-size: 26px;
}

.top-rank-copy span {
    display: -webkit-box;
    overflow: hidden;
    color: #e7e5e4;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rank-number {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: var(--amber-600);
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

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

.detail-bg,
.detail-bg-shade {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px);
    transform: scale(1.08);
    opacity: 0.42;
}

.detail-bg-shade {
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(28, 25, 23, 0.72));
}

.detail-shell {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 58px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: #fde68a;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: white;
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 22px;
    background: var(--stone-800);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 20px;
    color: #e7e5e4;
    font-size: 19px;
    line-height: 1.75;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 26px;
}

.detail-content {
    padding-top: 38px;
}

.player-card {
    margin-bottom: 38px;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: var(--shadow-strong);
}

.player-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-stage video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 16px;
    border: 0;
    color: white;
    cursor: pointer;
    text-align: center;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.24), rgba(0, 0, 0, 0.72));
    z-index: 3;
}

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

.big-play {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--amber-600);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
    font-size: 32px;
}

.player-cover span:last-child {
    max-width: 80%;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 900;
}

.floating-play {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    color: white;
    cursor: pointer;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.92);
    z-index: 2;
}

.detail-columns {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin-bottom: 56px;
}

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

.detail-article {
    padding: 30px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    color: var(--stone-800);
    font-size: 24px;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

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

.detail-side {
    align-self: start;
    padding: 24px;
}

.detail-side dl {
    margin: 0;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    color: var(--stone-700);
}

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

.detail-side a {
    color: var(--amber-700);
    font-weight: 800;
}

.site-footer {
    color: #d6d3d1;
    background: linear-gradient(90deg, var(--stone-900), var(--stone-800), var(--stone-900));
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    padding: 46px 0;
}

.footer-logo {
    margin-bottom: 12px;
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 520px;
    margin: 0;
    color: var(--stone-400);
    line-height: 1.8;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.footer-columns h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 16px;
}

.footer-columns a {
    display: block;
    margin: 8px 0;
    color: var(--stone-300);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(214, 211, 209, 0.18);
    padding: 18px;
    color: var(--stone-500);
    text-align: center;
    font-size: 14px;
}

.is-filtered-out {
    display: none;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
        border-radius: 18px;
        background: rgba(120, 53, 15, 0.98);
        box-shadow: var(--shadow-strong);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 10px;
    }

    .nav-search {
        width: 100%;
        border-radius: 16px;
    }

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

    .hero-search {
        display: none;
    }

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

    .horizontal-grid,
    .rank-list,
    .category-overview-grid,
    .footer-shell,
    .detail-columns {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 720px) {
    .hero {
        height: 520px;
    }

    .hero-content {
        bottom: 76px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 11px;
    }

    .hero-actions {
        gap: 8px;
    }

    .primary-button,
    .ghost-button {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

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

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

    .poster-wrap,
    .movie-card-compact .poster-wrap {
        height: 220px;
    }

    .horizontal-card a {
        grid-template-columns: 124px 1fr;
    }

    .horizontal-poster {
        min-height: 160px;
    }

    .horizontal-info {
        padding: 14px 14px 14px 0;
    }

    .horizontal-info strong {
        font-size: 16px;
    }

    .category-grid,
    .top-rank-grid,
    .footer-columns {
        grid-template-columns: 1fr;
    }

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

    .category-copy {
        padding: 22px;
    }

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

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

    .detail-shell {
        padding-top: 24px;
    }

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

    .filter-panel {
        position: static;
    }
}

@media (max-width: 460px) {
    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        display: none;
    }

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

    .poster-wrap,
    .movie-card-compact .poster-wrap {
        height: 310px;
    }

    .feature-band,
    .dark-section {
        padding: 22px;
    }
}
