:root {
    color-scheme: dark;
    --forest-950: #06100b;
    --forest-900: #0d1f15;
    --forest-850: #11281b;
    --forest-800: #173322;
    --earth-950: #170f0b;
    --earth-900: #241810;
    --earth-850: #2d1f15;
    --moss-700: #3f6335;
    --moss-600: #517c43;
    --moss-500: #6c9c57;
    --moss-400: #8abf73;
    --parchment-100: #fff7df;
    --parchment-200: #eadfbe;
    --parchment-300: #cfc29b;
    --parchment-400: #9f9270;
    --line-soft: rgba(255, 247, 223, 0.12);
    --surface-soft: rgba(36, 24, 16, 0.68);
    --surface-strong: rgba(13, 31, 21, 0.92);
    --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 10%, rgba(108, 156, 87, 0.22), transparent 28rem),
        linear-gradient(180deg, var(--forest-950), var(--forest-900) 45%, var(--earth-950));
    color: var(--parchment-200);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Microsoft YaHei",
        "PingFang SC",
        sans-serif;
    line-height: 1.7;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 31, 21, 0.94);
    border-bottom: 1px solid rgba(255, 247, 223, 0.10);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--moss-600), var(--moss-400));
    color: white;
    font-weight: 900;
    letter-spacing: -0.08em;
    box-shadow: 0 10px 28px rgba(108, 156, 87, 0.35);
}

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

.brand-text strong {
    color: var(--parchment-100);
    font-size: 1.1rem;
}

.brand-text small {
    color: var(--parchment-300);
    font-size: 0.75rem;
}

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

.nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--parchment-300);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--parchment-100);
    background: rgba(108, 156, 87, 0.16);
}

.header-search,
.mobile-search,
.big-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(6, 16, 11, 0.72);
    color: var(--parchment-100);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(138, 191, 115, 0.78);
    box-shadow: 0 0 0 3px rgba(108, 156, 87, 0.18);
}

.header-search button,
.mobile-search button,
.big-search button {
    border: 0;
    border-radius: 999px;
    background: var(--moss-600);
    color: white;
    cursor: pointer;
    font-weight: 800;
    padding: 10px 16px;
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-panel {
    border-top: 1px solid var(--line-soft);
    background: rgba(13, 31, 21, 0.98);
    padding: 16px;
}

.mobile-nav,
.mobile-category-links {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

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

.mobile-category-links a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--parchment-300);
}

.hero-carousel {
    position: relative;
    min-height: 560px;
    height: 70vh;
    overflow: hidden;
    background: var(--forest-950);
}

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

.hero-slide.image-missing img,
.category-tile.image-missing img,
.detail-masthead.image-missing img {
    display: none;
}

.hero-fallback {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(108, 156, 87, 0.28), transparent 44%),
        radial-gradient(circle at 74% 28%, rgba(234, 223, 190, 0.13), transparent 20rem),
        var(--forest-900);
}

.hero-overlay,
.detail-masthead-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--forest-950) 0%, rgba(6, 16, 11, 0.82) 36%, rgba(6, 16, 11, 0.18) 100%),
        linear-gradient(90deg, rgba(6, 16, 11, 0.72), transparent 62%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 86px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker,
.page-hero > span,
.section-heading span,
.rank-panel-head span,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--moss-400);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 16px 0;
    color: var(--parchment-100);
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.hero-copy p {
    margin: 0 0 22px;
    max-width: 720px;
    color: var(--parchment-200);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-meta,
.chips,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta span,
.chips span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--parchment-300);
    font-size: 0.85rem;
}

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

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

.primary-button {
    background: var(--moss-600);
    color: white;
    box-shadow: 0 14px 34px rgba(81, 124, 67, 0.32);
}

.primary-button:hover,
.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
    background: var(--moss-500);
    transform: translateY(-1px);
}

.ghost-button {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.07);
    color: var(--parchment-100);
}

.ghost-button:hover {
    border-color: rgba(138, 191, 115, 0.72);
    background: rgba(108, 156, 87, 0.13);
    transform: translateY(-1px);
}

.ghost-button.small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.primary-button.full {
    width: 100%;
    margin-top: 20px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    cursor: pointer;
    font-size: 2rem;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--moss-500);
}

.content-section,
.page-main {
    padding: 64px 0;
}

.page-main {
    min-height: 68vh;
}

.section-heading,
.category-overview-head,
.rank-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2,
.rank-panel-head h2,
.page-hero h1,
.detail-masthead h1 {
    margin: 8px 0 0;
    color: var(--parchment-100);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading h2,
.rank-panel-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading p,
.page-hero p,
.category-overview-head p,
.prose-card p {
    margin: 10px 0 0;
    color: var(--parchment-300);
}

.section-more {
    color: var(--moss-400);
    font-weight: 900;
}

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

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 223, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(36, 24, 16, 0.56);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-4px) scale(1.012);
    border-color: rgba(138, 191, 115, 0.44);
    box-shadow: var(--shadow-strong);
}

.movie-card a {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--earth-900);
}

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

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

.poster-fallback {
    display: none;
    position: absolute;
    inset: 0;
    place-items: center;
    padding: 18px;
    text-align: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(138, 191, 115, 0.25), transparent 14rem),
        linear-gradient(135deg, var(--earth-900), var(--forest-900));
}

.poster-frame.image-missing .poster-fallback {
    display: grid;
}

.poster-fallback strong {
    color: var(--parchment-100);
    line-height: 1.35;
}

.poster-fallback small {
    color: var(--parchment-300);
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
    transition: opacity 0.25s ease;
}

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

.card-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 54px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tags span,
.tag-cloud span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(13, 31, 21, 0.78);
    color: var(--parchment-100);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    backdrop-filter: blur(8px);
}

.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--moss-600);
    color: white;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(81, 124, 67, 0.92);
    color: white;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
    padding: 16px;
}

.movie-card-body h3 {
    margin: 0 0 8px;
    color: var(--parchment-100);
    font-size: 1.05rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-body p {
    min-height: 3.15em;
    margin: 0 0 12px;
    color: var(--parchment-300);
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    gap: 6px;
}

.movie-meta span {
    min-height: 24px;
    font-size: 0.75rem;
    padding: 2px 8px;
}

.movie-card.compact .movie-card-body p,
.movie-card.compact .movie-meta {
    display: none;
}

.category-band {
    background: rgba(36, 24, 16, 0.34);
    border-block: 1px solid rgba(255, 247, 223, 0.07);
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border: 1px solid rgba(255, 247, 223, 0.10);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    box-shadow: var(--shadow-soft);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 16, 11, 0.95), rgba(6, 16, 11, 0.18));
}

.category-tile > div {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 2;
}

.category-tile span {
    color: var(--moss-400);
    font-weight: 900;
}

.category-tile h3 {
    margin: 6px 0;
    color: var(--parchment-100);
    font-size: 1.45rem;
}

.category-tile p {
    margin: 0;
    color: var(--parchment-300);
}

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

.rank-panel,
.detail-sidebar,
.prose-card,
.filter-panel,
.category-overview-card {
    border: 1px solid rgba(255, 247, 223, 0.10);
    border-radius: var(--radius-lg);
    background: rgba(36, 24, 16, 0.58);
    box-shadow: var(--shadow-soft);
}

.rank-panel {
    position: sticky;
    top: 94px;
    padding: 22px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto 48px;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(6, 16, 11, 0.32);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(108, 156, 87, 0.14);
    transform: translateX(2px);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(108, 156, 87, 0.18);
    color: var(--moss-400);
    font-weight: 900;
}

.rank-title {
    min-width: 0;
    overflow: hidden;
    color: var(--parchment-100);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info {
    color: var(--parchment-400);
    font-size: 0.86rem;
}

.rank-row strong {
    color: var(--moss-400);
}

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

.page-hero {
    padding: 76px 0 36px;
}

.page-hero.small-hero {
    max-width: var(--container);
}

.page-hero h1,
.detail-masthead h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.category-hero {
    padding-bottom: 24px;
}

.filter-panel {
    margin: 10px 0 26px;
    padding: 20px;
}

.filter-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--parchment-100);
}

.filter-panel-head span {
    color: var(--moss-400);
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 190px));
    gap: 12px;
}

.filter-controls label {
    display: grid;
    gap: 6px;
    color: var(--parchment-300);
    font-size: 0.85rem;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
}

.category-overview-list {
    display: grid;
    gap: 26px;
}

.category-overview-card {
    padding: 24px;
}

.detail-masthead {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: var(--forest-900);
}

.detail-masthead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96);
}

.detail-masthead-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    padding: 90px 0 46px;
}

.detail-masthead-content p {
    max-width: 760px;
    color: var(--parchment-200);
    font-size: 1.08rem;
}

.player-section {
    margin-top: -28px;
    position: relative;
    z-index: 4;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 223, 0.13);
    border-radius: 22px;
    background: black;
    box-shadow: var(--shadow-strong);
}

.video-element {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
}

.video-overlay-button {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36));
    color: white;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-shell.is-playing .video-overlay-button,
.video-shell.is-ready .video-overlay-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-overlay-button span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(81, 124, 67, 0.94);
    font-size: 2rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.video-overlay-button strong {
    font-size: 1.3rem;
}

.video-overlay-button small {
    color: var(--parchment-300);
}

.video-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: var(--parchment-200);
    font-size: 0.85rem;
    padding: 7px 12px;
    backdrop-filter: blur(10px);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 42px 0 10px;
    align-items: start;
}

.detail-article,
.detail-sidebar {
    min-width: 0;
}

.detail-section {
    margin-bottom: 26px;
    padding: 26px;
    border: 1px solid rgba(255, 247, 223, 0.09);
    border-radius: var(--radius-lg);
    background: rgba(36, 24, 16, 0.46);
}

.detail-section h2,
.detail-sidebar h2 {
    margin: 0 0 14px;
    color: var(--parchment-100);
}

.detail-section p {
    margin: 0;
    color: var(--parchment-200);
}

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

.detail-sidebar {
    position: sticky;
    top: 94px;
    padding: 22px;
}

.detail-sidebar dl {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.detail-sidebar dt {
    color: var(--parchment-400);
}

.detail-sidebar dd {
    min-width: 0;
    margin: 0;
    color: var(--parchment-100);
    word-break: break-word;
}

.detail-sidebar a:not(.primary-button) {
    color: var(--moss-400);
}

.big-search {
    width: min(760px, 100%);
    margin-top: 24px;
}

.big-search input {
    flex: 1;
    height: 54px;
    padding: 0 20px;
}

.big-search button {
    min-height: 54px;
    padding: 0 24px;
}

.search-summary {
    margin-bottom: 18px;
    color: var(--parchment-300);
}

.prose-card {
    padding: 28px;
    max-width: 860px;
}

.prose-card p + p {
    margin-top: 18px;
}

.site-footer {
    margin-top: 64px;
    border-top: 1px solid rgba(255, 247, 223, 0.10);
    background: rgba(6, 16, 11, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
    padding: 42px 0 28px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: var(--parchment-100);
}

.footer-grid p {
    color: var(--parchment-300);
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 6px 0;
    color: var(--parchment-300);
}

.footer-grid a:hover {
    color: var(--moss-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 247, 223, 0.08);
    padding: 18px 0;
    color: var(--parchment-400);
    font-size: 0.9rem;
}

.is-hidden-by-filter {
    display: none !important;
}

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

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

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

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

    .rank-panel,
    .detail-sidebar {
        position: static;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero-carousel {
        min-height: 540px;
        height: 72vh;
    }

    .hero-content {
        padding-bottom: 82px;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .featured-grid,
    .all-grid,
    .two-column-grid,
    .mini-grid,
    .category-grid,
    .full-rank-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .category-overview-head,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .rank-row {
        grid-template-columns: 40px minmax(0, 1fr) 44px;
    }

    .rank-info {
        display: none;
    }

    .detail-sidebar dl {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .detail-section,
    .detail-sidebar,
    .filter-panel,
    .category-overview-card,
    .rank-panel {
        padding: 18px;
    }

    .page-hero {
        padding-top: 48px;
    }

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