/* Generated site styles: readable static CSS */
:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --panel-strong: #1e293b;
    --text: #e5edf7;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --line: rgba(148, 163, 184, 0.18);
    --amber: #f59e0b;
    --amber-strong: #d97706;
    --orange: #ea580c;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --radius-small: 14px;
    --container: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 5%, rgba(245, 158, 11, 0.12), transparent 26rem),
        radial-gradient(circle at 86% 18%, rgba(234, 88, 12, 0.12), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

.site-container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.88);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.24);
}

.brand-text {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
    color: var(--muted-strong);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #ffffff;
}

.header-search {
    display: flex;
    align-items: center;
    width: min(280px, 25vw);
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
}

.header-search input,
.mobile-search input,
.filter-input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
}

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

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    background: var(--amber);
    color: #111827;
    font-weight: 800;
    padding: 8px 13px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
}

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

.mobile-nav-inner {
    display: grid;
    gap: 14px;
    padding: 16px 0 20px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.6);
}

.page-stack {
    display: grid;
    gap: 56px;
    padding: 34px 0 0;
}

.page-hero-offset {
    padding-top: 34px;
}

.hero-shell {
    display: grid;
    gap: 18px;
}

.hero-stage {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #000000;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    align-items: center;
    gap: 44px;
    padding: clamp(28px, 5vw, 72px);
    opacity: 0;
    transform: scale(1.025);
    pointer-events: none;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.72) 46%, rgba(2, 6, 23, 0.22)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.12));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--amber);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.45rem, 6vw, 5.8rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-lead,
.page-hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted-strong);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.8;
}

.hero-tags,
.card-tags,
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 24px;
}

.tag-chip,
.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.11);
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 700;
}

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

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

.primary-button {
    padding: 0 22px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #111827;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.25);
}

.ghost-button,
.section-action {
    padding: 0 18px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.62);
    color: #ffffff;
}

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

.hero-poster {
    justify-self: end;
    width: min(100%, 330px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    color: #ffffff;
    font-size: 2rem;
    transform: translateY(-50%);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.7);
    overflow: hidden;
}

.hero-strip > span {
    flex: none;
    color: #ffffff;
    font-weight: 900;
}

.hero-mini-list,
.movie-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.hero-mini-list::-webkit-scrollbar,
.movie-row::-webkit-scrollbar {
    display: none;
}

.hero-mini-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 238px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.55);
    transition: background 0.2s ease;
}

.hero-mini-card:hover {
    background: rgba(30, 41, 59, 0.86);
}

.hero-mini-card img {
    width: 62px;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    object-fit: cover;
}

.hero-mini-card span {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-section,
.filter-panel,
.page-hero,
.detail-panel,
.text-panel,
.ranking-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.content-section {
    padding: clamp(18px, 3vw, 30px);
}

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

.section-heading.simple {
    align-items: center;
}

.section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 950;
    letter-spacing: -0.03em;
}

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

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

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

.movie-row .movie-card {
    flex: 0 0 210px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.52);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.36);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.25);
}

.poster-link,
.poster-frame {
    display: block;
}

.poster-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #1e293b);
}

.poster-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.75), transparent 48%);
}

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.9);
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.9);
    color: #111827;
    font-size: 0.76rem;
    font-weight: 900;
}

.card-content {
    padding: 14px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--muted);
}

.movie-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #fbbf24;
}

.movie-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 9px 0 12px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-tags .tag-chip {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 0.74rem;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: 28px;
    padding: clamp(20px, 3vw, 32px);
    align-items: center;
}

.filter-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.filter-copy p,
.filter-count {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.filter-controls {
    display: grid;
    gap: 14px;
}

.filter-input {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.58);
}

.filter-chip {
    border-color: var(--line);
    background: rgba(30, 41, 59, 0.72);
    color: var(--muted-strong);
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

.empty-message {
    display: none;
    margin: 24px 0 0;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

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

.split-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.9fr);
    gap: 26px;
    align-items: start;
}

.ranking-card {
    padding: 22px;
}

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

.rank-list.extended {
    max-height: 850px;
    overflow: auto;
    padding-right: 4px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.44);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(30, 41, 59, 0.78);
    transform: translateX(3px);
}

.rank-number {
    color: #fbbf24;
    font-size: 1.05rem;
    font-weight: 950;
}

.rank-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--amber);
}

.rank-thumb {
    overflow: hidden;
    border-radius: 12px;
}

.rank-thumb img {
    width: 64px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

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

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

.rank-info strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.rank-info em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
}

.rank-heat {
    color: var(--amber);
    font-size: 0.82rem;
    font-weight: 900;
}

.spotlight-band {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 30px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(15, 23, 42, 0.75)),
        rgba(15, 23, 42, 0.75);
}

.spotlight-copy h2 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 3.3rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.spotlight-copy p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted-strong);
    line-height: 1.8;
}

.spotlight-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spotlight-stats strong,
.spotlight-stats span {
    display: grid;
    place-items: center;
    min-height: 80px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.48);
}

.spotlight-stats strong {
    color: #fbbf24;
    font-size: 2rem;
    font-weight: 950;
}

.spotlight-stats span {
    color: var(--muted-strong);
    font-weight: 800;
}

.page-hero {
    padding: clamp(28px, 5vw, 54px);
    background:
        radial-gradient(circle at 86% 12%, rgba(245, 158, 11, 0.18), transparent 22rem),
        rgba(15, 23, 42, 0.75);
}

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

.category-card {
    position: relative;
    display: grid;
    min-height: 170px;
    overflow: hidden;
    align-content: end;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    padding: 18px;
    background: #111827;
}

.category-card img,
.category-card-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-card img {
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-shade {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.18));
}

.category-card strong,
.category-card em {
    position: relative;
    z-index: 1;
}

.category-card strong {
    color: #ffffff;
    font-size: 1.24rem;
    font-weight: 950;
}

.category-card em {
    margin-top: 4px;
    color: #fbbf24;
    font-style: normal;
    font-weight: 800;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: start;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: #fbbf24;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    border: 0;
    background: radial-gradient(circle, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.45));
    color: #ffffff;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    color: #111827;
    font-size: 1.7rem;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(245, 158, 11, 0.32);
}

.player-overlay strong {
    font-size: 1.1rem;
}

.detail-panel {
    padding: clamp(20px, 3vw, 30px);
}

.detail-titlebar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.detail-titlebar h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 16px 0 0;
    color: #fbbf24;
    font-size: 1.08rem;
    line-height: 1.75;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.detail-meta-grid div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.5);
}

.detail-meta-grid span,
.detail-meta-grid strong {
    display: block;
}

.detail-meta-grid span {
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-meta-grid strong {
    overflow: hidden;
    margin-top: 6px;
    color: #ffffff;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-text,
.detail-tags-block {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.detail-text h2,
.detail-tags-block h2,
.text-panel h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.28rem;
    font-weight: 900;
}

.detail-text p,
.text-panel p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.9;
}

.detail-text + .detail-text p,
.text-panel p + p,
.text-panel h2:not(:first-child) {
    margin-top: 18px;
}

.detail-tags {
    margin-top: 10px;
}

.detail-sidebar {
    display: grid;
    gap: 22px;
}

.poster-detail-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
}

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

.poster-detail-card div {
    padding: 16px;
}

.poster-detail-card strong,
.poster-detail-card span {
    display: block;
}

.poster-detail-card strong {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 950;
}

.poster-detail-card span {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.55;
}

.sticky-card {
    position: sticky;
    top: 94px;
}

.related-area {
    padding-top: 42px;
}

.narrow-page {
    max-width: 920px;
}

.text-panel {
    padding: clamp(22px, 4vw, 38px);
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(150px, 0.7fr));
    gap: 32px;
    padding: 44px 0;
}

.footer-logo {
    margin-bottom: 14px;
}

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

.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.site-footer section a {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer section a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

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

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

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

    .compact-grid,
    .ranking-columns,
    .split-feature,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 820px) {
    :root {
        --container: min(100vw - 24px, 680px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-text {
        font-size: 0.96rem;
    }

    .hero-stage {
        min-height: 640px;
        border-radius: 22px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
        padding: 28px;
    }

    .hero-poster {
        display: none;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .hero-strip,
    .filter-panel,
    .spotlight-band,
    .detail-titlebar,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-panel {
        display: grid;
    }

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

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

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

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

    .rank-heat {
        display: none;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .movie-row .movie-card {
        flex-basis: 76vw;
    }

    .hero-actions,
    .section-heading,
    .detail-titlebar {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .ghost-button,
    .section-action {
        width: 100%;
    }

    .hero-arrow {
        display: none;
    }
}
