:root {
    --site-bg: #fafaf9;
    --site-card: #ffffff;
    --site-ink: #1c1917;
    --site-muted: #78716c;
    --site-soft: #f5f0e8;
    --site-line: #e7e5e4;
    --primary: #a67c4a;
    --primary-dark: #7f5e36;
    --primary-light: #f5f0e8;
    --accent: #0f766e;
    --shadow-soft: 0 16px 48px rgba(28, 25, 23, 0.10);
    --shadow-card: 0 10px 30px rgba(28, 25, 23, 0.08);
}

html {
    scroll-behavior: smooth;
}

body.site-shell {
    min-height: 100vh;
    margin: 0;
    color: var(--site-ink);
    background: var(--site-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--site-line);
    box-shadow: 0 8px 30px rgba(28, 25, 23, 0.06);
    backdrop-filter: blur(16px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon,
.footer-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

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

.logo-text strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--site-ink);
}

.logo-text small {
    margin-top: 3px;
    color: var(--site-muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    color: #57534e;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #fff;
    color: var(--site-ink);
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 10px 24px 18px;
    border-top: 1px solid var(--site-line);
    background: #fff;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #57534e;
    font-weight: 700;
    text-decoration: none;
}

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

.hero-slider {
    position: relative;
    min-height: 560px;
    height: 70vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f0e8 0%, #f0f9ff 54%, #fff7ed 100%);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    transform: scale(1.05);
}

.hero-bg::after,
.page-hero-bg::after,
.detail-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0.36) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

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

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #1c1917;
}

.hero-copy p {
    max-width: 700px;
    margin: 0 0 24px;
    color: #44403c;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-tags,
.detail-meta,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-tags span,
.detail-meta span,
.card-tags span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    color: #57534e;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(214, 211, 209, 0.8);
    border-radius: 999px;
    text-decoration: none;
}

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

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

.primary-button {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 16px 28px rgba(166, 124, 74, 0.22);
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(166, 124, 74, 0.28);
}

.ghost-button {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(166, 124, 74, 0.25);
}

.ghost-button:hover,
.pill-link:hover,
.text-link:hover {
    color: #fff;
    background: var(--primary);
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin-top: 26px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(214, 211, 209, 0.78);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.hero-search input,
.filter-input,
.filter-select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--site-ink);
    background: transparent;
}

.hero-search input {
    min-height: 44px;
    padding: 0 16px;
}

.hero-search button {
    min-width: 94px;
    min-height: 44px;
    color: #fff;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
}

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

.hero-controls {
    position: absolute;
    right: 24px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    color: var(--primary);
    font-size: 30px;
    line-height: 1;
    border-radius: 999px;
}

.hero-dots {
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--primary);
    opacity: 1;
}

.hero-category-bar {
    position: absolute;
    right: 24px;
    bottom: 88px;
    left: 24px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    pointer-events: none;
}

.hero-category-bar a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 16px;
    color: #57534e;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(214, 211, 209, 0.8);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.07);
    pointer-events: auto;
}

.content-section {
    padding: 76px 24px;
    background: #fff;
}

.soft-section {
    background: linear-gradient(180deg, #fafaf9 0%, #f5f0e8 100%);
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-heading h2,
.ranking-head h2,
.sidebar-card h2,
.detail-card h2 {
    margin: 0;
    color: var(--site-ink);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--site-muted);
    line-height: 1.75;
}

.section-more,
.text-link {
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--site-card);
    border: 1px solid rgba(231, 229, 228, 0.8);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(166, 124, 74, 0.28);
    box-shadow: 0 20px 44px rgba(28, 25, 23, 0.12);
    transform: translateY(-5px);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e7e5e4;
    aspect-ratio: 16 / 10;
}

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

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

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

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

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

.card-meta {
    margin: 0 0 8px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card h3,
.movie-card h2 {
    margin: 0 0 10px;
    color: var(--site-ink);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-card h3 a,
.movie-card h2 a {
    color: inherit;
    text-decoration: none;
}

.card-summary {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #57534e;
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-tags {
    gap: 6px;
}

.card-tags span {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 12px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 34px;
    align-items: start;
}

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

.category-feature {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(231, 229, 228, 0.85);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.category-feature-img {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    background: #e7e5e4;
}

.category-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-feature-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 900;
}

.category-feature-copy em,
.related-info em,
.rank-main em {
    display: block;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.55;
    font-style: normal;
}

.ranking-panel,
.sidebar-card,
.poster-card,
.detail-card,
.player-card,
.filter-panel,
.category-tile,
.ranking-card {
    background: #fff;
    border: 1px solid rgba(231, 229, 228, 0.86);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.ranking-head {
    margin-bottom: 16px;
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 76px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.rank-row:hover {
    background: #fafaf9;
}

.rank-num,
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    background: var(--primary);
    border-radius: 999px;
}

.rank-cover {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    background: #e7e5e4;
}

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

.rank-main strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 900;
}

.rank-heat {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f0e8 0%, #fff 52%, #f0f9ff 100%);
}

.page-hero {
    min-height: 360px;
}

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

.page-hero-bg img,
.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
}

.page-hero-inner,
.detail-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 74px 24px;
}

.page-hero h1,
.detail-inner h1 {
    max-width: 860px;
    margin: 0 0 16px;
    color: var(--site-ink);
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero p,
.detail-inner p {
    max-width: 760px;
    margin: 0;
    color: #57534e;
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--site-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 800;
}

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

.category-tile {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
}

.category-tile-img {
    min-height: 270px;
    background: #e7e5e4;
}

.category-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile-body {
    padding: 24px;
}

.category-tile-body h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 900;
}

.category-tile-body h2 a {
    color: inherit;
    text-decoration: none;
}

.category-tile-body p {
    margin: 0 0 16px;
    color: #57534e;
    line-height: 1.75;
}

.category-tile-body ul {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.category-tile-body li a {
    color: var(--site-ink);
    text-decoration: none;
    font-weight: 700;
}

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

.filter-input,
.filter-select {
    min-height: 46px;
    padding: 0 14px;
    background: #fafaf9;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

.empty-state {
    display: none;
    padding: 56px 20px;
    color: var(--site-muted);
    text-align: center;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 18px;
}

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

.ranking-page-list {
    display: grid;
    gap: 18px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
}

.ranking-card-img {
    background: #e7e5e4;
}

.ranking-card-img img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.ranking-card-body {
    position: relative;
    padding: 24px;
}

.ranking-card-body h2 {
    margin: 0 0 10px 48px;
    font-size: 26px;
    font-weight: 900;
}

.ranking-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.ranking-card-body p:not(.card-meta) {
    color: #57534e;
    line-height: 1.75;
}

.ranking-card .rank-badge {
    position: absolute;
    top: 24px;
    left: 24px;
}

.rank-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
}

.rank-actions span {
    color: var(--primary-dark);
    font-weight: 900;
}

.rank-actions a {
    color: var(--primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.detail-hero {
    min-height: 420px;
}

.detail-section {
    padding: 40px 24px 76px;
    background: #fafaf9;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.player-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(166, 124, 74, 0.18), rgba(0, 0, 0, 0.68));
}

.player-button-icon {
    position: relative;
    z-index: 4;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    color: #fff;
    font-size: 34px;
    background: var(--primary);
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

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

.detail-card {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.detail-title-row h2 {
    font-size: clamp(26px, 4vw, 42px);
}

.pill-link {
    min-height: 36px;
    padding: 0 15px;
    color: var(--primary-dark);
    background: var(--primary-light);
    white-space: nowrap;
}

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

.article-block {
    margin-top: 26px;
}

.article-block h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.article-block p {
    margin: 0;
    color: #44403c;
    font-size: 16px;
    line-height: 1.95;
}

.review-block {
    padding: 22px;
    background: var(--primary-light);
    border-radius: 18px;
}

.detail-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 96px;
}

.poster-card {
    overflow: hidden;
    padding: 16px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
}

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

.sidebar-card {
    padding: 20px;
}

.sidebar-card h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

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

.related-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.related-thumb {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    background: #e7e5e4;
}

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

.related-info strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.35;
}

.site-footer {
    color: #d6d3d1;
    background: #1c1917;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 54px 24px;
}

.footer-logo {
    margin-bottom: 16px;
    color: #d6aa72;
    font-size: 20px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 520px;
    margin: 0;
    color: #a8a29e;
    line-height: 1.85;
}

.footer-links h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

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

.footer-links a {
    color: #d6d3d1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #d6aa72;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px;
    color: #a8a29e;
    border-top: 1px solid #292524;
}

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

@media (max-width: 1180px) {
    .hero-inner,
    .split-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-sidebar,
    .ranking-panel {
        display: none;
    }

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

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

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

    .mobile-toggle {
        display: block;
    }

    .nav-inner {
        height: 66px;
        padding: 0 18px;
    }

    .hero-slider {
        height: auto;
        min-height: 680px;
    }

    .hero-inner {
        padding: 54px 18px 170px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-controls {
        right: 18px;
        bottom: 34px;
        left: 18px;
        justify-content: center;
    }

    .hero-category-bar {
        bottom: 92px;
    }

    .content-section,
    .detail-section {
        padding: 48px 18px;
    }

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

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

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

    .category-tile,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .category-tile-img,
    .ranking-card-img img {
        min-height: 220px;
    }

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

    .rank-heat {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .logo-text small {
        display: none;
    }

    .hero-search {
        border-radius: 20px;
        flex-direction: column;
    }

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

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

    .category-feature {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .page-hero-inner,
    .detail-inner {
        padding: 54px 18px;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-title-row {
        flex-direction: column;
    }

    .player-button-icon {
        width: 72px;
        height: 72px;
    }
}
