:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: #111827;
    --bg-card-2: #1e293b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --line: rgba(148, 163, 184, 0.18);
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --red: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 32rem), linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.brand-text {
    font-size: 24px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(34, 211, 238, 0.34);
}

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

.nav-link {
    padding: 10px 12px;
    color: #cbd5e1;
    border-radius: 999px;
    transition: 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active,
.dropdown-trigger:hover {
    color: #ffffff;
    background: rgba(148, 163, 184, 0.13);
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    border: 0;
    background: transparent;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 190px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    color: #cbd5e1;
    border-radius: 12px;
}

.dropdown-panel a:hover {
    color: #ffffff;
    background: rgba(34, 211, 238, 0.12);
}

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

.header-search input,
.mobile-search input,
.page-search-input,
.sort-select {
    border: 1px solid var(--line);
    outline: 0;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.92);
    border-radius: 999px;
    transition: 0.22s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.page-search-input:focus,
.sort-select:focus {
    border-color: rgba(34, 211, 238, 0.72);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.82);
    border-radius: 12px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-link {
    display: block;
    padding: 12px 14px;
    color: #cbd5e1;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.08);
}

.mobile-link.is-active,
.mobile-link:hover {
    color: #ffffff;
    background: rgba(34, 211, 238, 0.14);
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.mobile-search input {
    min-width: 0;
    padding: 12px 14px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #020617;
}

.hero-panel {
    display: none;
    min-height: 620px;
    position: relative;
}

.hero-panel.is-active {
    display: block;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #0f172a, #164e63);
    transform: scale(1.02);
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.78) 42%, rgba(15, 23, 42, 0.18) 100%), linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, transparent 32%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 130px;
    max-width: 1180px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 660px;
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.72;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    color: #dffbff;
    background: rgba(8, 145, 178, 0.22);
    border: 1px solid rgba(103, 232, 249, 0.26);
    border-radius: 999px;
    font-size: 14px;
}

.hero-meta,
.detail-stats,
.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.hero-meta {
    margin-bottom: 28px;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.55);
}

.btn-link {
    color: var(--cyan);
}

.btn-light {
    color: #075985;
    background: #ffffff;
}

.hero-picks {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 30px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.hero-tab {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    color: #dbeafe;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.72);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    transition: 0.22s ease;
}

.hero-tab.is-active,
.hero-tab:hover {
    border-color: rgba(34, 211, 238, 0.58);
    background: rgba(8, 145, 178, 0.28);
}

.hero-tab img {
    width: 62px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

.hero-tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.section {
    padding: 72px 0;
}

.section-band {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.88));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-deep {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.2), transparent 32rem), #020617;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

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

.section-link {
    color: var(--cyan);
    font-weight: 800;
    white-space: nowrap;
}

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

.movie-card {
    overflow: hidden;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    transition: 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 24px 70px rgba(8, 145, 178, 0.18);
}

.poster-link,
.poster-wrap {
    display: block;
    position: relative;
}

.poster-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent 52%);
    opacity: 0;
    transition: 0.24s ease;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.9);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: 0.24s ease;
}

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

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

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

.movie-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-info h3 a:hover,
.side-more:hover {
    color: var(--cyan);
}

.card-line {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.card-meta span {
    padding: 5px 8px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 999px;
}

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

.category-tile,
.category-overview-main {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    padding: 24px;
    border-radius: 26px;
    color: #ffffff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    transition: 0.24s ease;
}

.category-tile:hover,
.category-overview-main:hover {
    transform: translateY(-4px) scale(1.01);
}

.category-icon {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
}

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

.category-tile em {
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
}

.tone-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.tone-orange {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.tone-purple {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.tone-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.tone-blue {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.tone-cyan {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.tone-amber {
    background: linear-gradient(135deg, #d97706, #facc15);
}

.spotlight-grid,
.ranking-list,
.side-list {
    display: grid;
    gap: 16px;
}

.rank-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    align-items: stretch;
    padding: 14px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: 0.22s ease;
}

.rank-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-3px);
}

.rank-poster {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

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

.rank-num {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.32);
}

.rank-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rank-info h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
}

.rank-info p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    font-size: 13px;
}

.rank-meta span {
    padding: 5px 8px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 999px;
}

.cta {
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.28);
}

.cta h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 42px);
}

.cta p {
    margin: 0;
    color: #dffbff;
    line-height: 1.7;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: #020617;
}

.compact-hero {
    min-height: 310px;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.25), transparent 28rem), linear-gradient(135deg, #020617, #0f172a);
}

.page-hero img,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

.page-hero-mask,
.detail-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.32));
}

.page-hero .container,
.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 76px 0;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 18px;
}

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

.category-overview {
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.category-overview-main {
    display: block;
    min-height: 200px;
    border-radius: 0;
}

.category-overview-main span {
    font-size: 38px;
}

.category-overview-main h2 {
    margin: 12px 0 10px;
    font-size: 30px;
}

.category-overview-main p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.category-overview ul {
    margin: 0;
    padding: 18px 22px 22px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.category-overview li a {
    color: #cbd5e1;
}

.category-overview li a:hover {
    color: var(--cyan);
}

.filter-panel {
    margin-bottom: 26px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1.2fr 240px;
    gap: 16px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.filter-panel label {
    display: block;
    margin: 0 0 8px;
    color: #e2e8f0;
    font-weight: 800;
}

.page-search-input,
.sort-select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 16px;
}

.filter-buttons {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-buttons button {
    border: 1px solid var(--line);
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 999px;
    padding: 9px 14px;
    transition: 0.22s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.52);
    background: rgba(8, 145, 178, 0.26);
}

.empty-state {
    margin-bottom: 22px;
    padding: 18px;
    color: #cbd5e1;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

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

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

.detail-cover {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #0f172a, #164e63);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.lead-text {
    max-width: 760px;
    margin: 0 0 20px;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.75;
}

.detail-stats {
    margin-bottom: 28px;
}

.detail-stats span {
    padding: 8px 11px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

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

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

.movie-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.32));
    transition: 0.2s ease;
}

.player-layer:hover {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.22));
}

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

.big-play {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.34);
    font-size: 30px;
}

.player-layer strong {
    max-width: 80%;
    font-size: 24px;
    text-align: center;
}

.detail-article,
.side-column {
    margin-top: 24px;
    padding: 26px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.detail-article h2,
.side-column h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.detail-article p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.9;
}

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

.info-list div {
    padding: 14px;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 16px;
}

.info-list dt {
    color: var(--muted);
    font-size: 13px;
}

.info-list dd {
    margin: 4px 0 0;
    color: #ffffff;
    font-weight: 700;
}

.side-column {
    position: sticky;
    top: 96px;
    margin-top: 0;
}

.side-column .rank-card {
    grid-template-columns: 118px 1fr;
    padding: 10px;
}

.side-column .rank-poster {
    min-height: 76px;
}

.side-column .rank-info h3 {
    font-size: 16px;
}

.side-column .rank-info p {
    display: none;
}

.side-column .rank-meta span:nth-child(n + 3) {
    display: none;
}

.side-more {
    display: block;
    margin-top: 18px;
    padding: 13px 16px;
    text-align: center;
    color: #ffffff;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 16px;
}

.site-footer {
    margin-top: 72px;
    padding: 48px 0 28px;
    background: rgba(15, 23, 42, 0.92);
    border-top: 1px solid var(--line);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 20px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

.site-footer a {
    color: #cbd5e1;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

[hidden] {
    display: none !important;
}

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

    .hero-picks {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .side-column {
        position: static;
    }

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

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

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

    .brand-text {
        font-size: 20px;
    }

    .hero,
    .hero-panel,
    .hero-content {
        min-height: 690px;
    }

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

    .hero-picks {
        grid-template-columns: 1fr;
        bottom: 18px;
    }

    .hero-tab:nth-child(n + 4) {
        display: none;
    }

    .movie-grid,
    .category-grid,
    .category-overview-grid,
    .filter-panel,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-card {
        grid-template-columns: 128px 1fr;
    }

    .detail-cover {
        max-width: 260px;
    }

    .info-list {
        grid-template-columns: 1fr;
    }

    .cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 66px;
    }

    .hero-content h1,
    .detail-copy h1,
    .page-hero h1 {
        font-size: 40px;
    }

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

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

    .movie-card h3 {
        font-size: 16px;
    }

    .card-line {
        min-height: 42px;
        font-size: 13px;
    }

    .card-meta span:nth-child(2) {
        display: none;
    }

    .rank-card,
    .side-column .rank-card {
        grid-template-columns: 96px 1fr;
        gap: 12px;
    }

    .rank-poster {
        min-height: 74px;
    }

    .rank-info h3 {
        font-size: 16px;
    }

    .rank-info p {
        font-size: 13px;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .section {
        padding: 48px 0;
    }

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