:root {
    --rose: #f43f5e;
    --rose-dark: #be123c;
    --orange: #f97316;
    --amber: #f59e0b;
    --emerald: #10b981;
    --teal: #14b8a6;
    --blue: #3b82f6;
    --indigo: #6366f1;
    --violet: #8b5cf6;
    --slate: #0f172a;
    --stone: #57534e;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #f8fafc;
    --line: #e5e7eb;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #ffffff;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.35);
}

.brand-text {
    font-size: 25px;
    color: transparent;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
}

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

.nav-link,
.mobile-nav-link {
    font-weight: 700;
    color: #374151;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--rose);
}

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

.header-search input,
.mobile-search input,
.filter-bar input {
    width: 230px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 16px;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14);
}

.header-search button,
.mobile-search button,
.filter-bar button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #111827;
    background: #f3f4f6;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid #eef2f7;
    padding: 14px 16px 18px;
}

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

.mobile-nav,
.mobile-search {
    display: grid;
    gap: 12px;
}

.mobile-search {
    grid-template-columns: 1fr auto;
    margin-top: 14px;
}

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

.category-strip {
    border-top: 1px solid rgba(229, 231, 235, 0.65);
    background: rgba(248, 250, 252, 0.9);
}

.category-strip-inner {
    min-height: 42px;
    display: flex;
    gap: 22px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.category-strip a {
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.category-strip a:hover {
    color: var(--rose);
}

.hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: #ffffff;
    background: var(--slate);
}

.hero-track,
.hero-slide,
.hero-slide > img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: radial-gradient(circle at 30% 20%, #fb7185, #111827 62%);
    transform: scale(1.04);
}

.hero-overlay {
    background:
        radial-gradient(circle at 76% 28%, rgba(249, 115, 22, 0.28), transparent 34%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.28)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.14));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 360px;
    align-items: center;
    gap: 54px;
    padding: 80px 0 92px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffe4e6;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.hero p,
.page-hero p,
.detail-copy p {
    max-width: 780px;
    margin: 0 0 24px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.btn-primary,
.btn-ghost,
.text-link,
.side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    padding: 14px 26px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 16px 36px rgba(244, 63, 94, 0.3);
}

.btn-ghost {
    padding: 13px 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.btn-primary:hover,
.btn-ghost:hover,
.text-link:hover,
.side-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #fb7185, #111827);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.hero-arrow,
.hero-dot {
    pointer-events: auto;
    cursor: pointer;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.36);
    backdrop-filter: blur(12px);
}

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

.hero-dot.active {
    width: 34px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
}

.section-block {
    padding: 66px 0;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    box-shadow: 0 16px 32px rgba(244, 63, 94, 0.22);
}

.section-head h2,
.ranking-head h2,
.content-panel h2,
.player-section h2,
.side-card h2 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 5px 0 0;
    color: var(--muted);
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 63, 94, 0.45);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f43f5e, #111827);
}

.movie-card.compact .poster-link {
    aspect-ratio: 3 / 4;
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-link img,
.category-card:hover img,
.category-cover:hover img {
    transform: scale(1.06);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent 58%);
}

.card-play {
    position: absolute;
    left: 16px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.34);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.58);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 950;
}

.card-body h3 a:hover {
    color: var(--rose);
}

.card-body p {
    min-height: 46px;
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    padding: 5px 9px;
    color: #be123c;
    background: #ffe4e6;
}

.category-section {
    background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #111827;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.category-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
}

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

.category-card:hover img {
    opacity: 0.55;
}

.category-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.08));
}

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

.category-card strong {
    font-size: 24px;
    font-weight: 950;
}

.category-card em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
}

.ranking-panel,
.side-card,
.content-panel,
.player-section,
.ranking-table,
.category-overview-card {
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
    align-self: start;
    position: sticky;
    top: 122px;
    padding: 22px;
}

.ranking-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ranking-head a,
.text-link {
    color: var(--rose);
    font-weight: 900;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 40px 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: #f9fafb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: #fff1f2;
    transform: translateX(4px);
}

.rank-number,
.table-rank {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 950;
}

.rank-row img {
    width: 72px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #fb7185, #111827);
}

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

.rank-info strong,
.table-title strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em,
.table-title em {
    display: block;
    overflow: hidden;
    color: #6b7280;
    font-style: normal;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-views {
    color: var(--rose);
    font-weight: 900;
    font-size: 13px;
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    padding: 70px 0 74px;
}

.gradient-hero {
    background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 32%), linear-gradient(135deg, var(--rose), var(--orange));
}

.ranking-hero {
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #f59e0b, #ef4444);
}

.search-hero {
    background: radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(135deg, #0f172a, #f43f5e);
}

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

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

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

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

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

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

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

.tone-slate {
    background: linear-gradient(135deg, #0f172a, #475569);
}

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

.tone-stone {
    background: linear-gradient(135deg, #44403c, #a16207);
}

.tone-teal {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.tone-indigo {
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 800;
}

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

.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(680px, 100%);
    margin-top: 28px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.filter-bar input {
    flex: 1;
    width: 100%;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 16px;
    color: #111827;
    background: #ffffff;
}

.category-cover {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #fb7185, #111827);
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-overview-body {
    padding: 8px 8px 8px 22px;
}

.category-overview-body h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 950;
}

.category-overview-body p {
    margin: 0 0 16px;
    color: #4b5563;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.category-samples a {
    padding: 5px 10px;
    border-radius: 999px;
    color: #be123c;
    background: #ffe4e6;
    font-size: 13px;
    font-weight: 800;
}

.ranking-table {
    overflow: hidden;
}

.ranking-table-row {
    display: grid;
    grid-template-columns: 56px 82px minmax(0, 1fr) 90px 120px 120px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
}

.ranking-table-row:hover {
    background: #fff1f2;
}

.ranking-table-row img {
    width: 82px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, #fb7185, #111827);
}

.empty-state {
    display: none;
    margin: 24px 0;
    padding: 26px;
    border-radius: 24px;
    color: #6b7280;
    background: #f9fafb;
    text-align: center;
    font-weight: 800;
}

.empty-state.show {
    display: block;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    color: #ffffff;
    background: #111827;
}

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

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

.detail-bg-shade {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.76) 52%, rgba(15, 23, 42, 0.38));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 58px 0 62px;
}

.detail-intro {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: end;
    gap: 34px;
}

.detail-cover {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #fb7185, #111827);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding: 54px 0 30px;
}

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

.player-section,
.content-panel,
.side-card {
    padding: 24px;
}

.player-section h2,
.content-panel h2,
.side-card h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18));
    cursor: pointer;
}

.player-start span {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    box-shadow: 0 20px 45px rgba(244, 63, 94, 0.38);
    font-size: 30px;
}

.player-start strong {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.player-start.is-hidden {
    display: none;
}

.content-panel p {
    margin: 0;
    color: #374151;
    font-size: 17px;
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
    position: sticky;
    top: 122px;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
}

.info-list strong {
    color: #6b7280;
}

.info-list span {
    color: #111827;
    text-align: right;
    font-weight: 800;
}

.side-link {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    padding: 12px 16px;
    color: #be123c;
    background: #fff1f2;
}

.site-footer {
    margin-top: 70px;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 34px;
    padding: 52px 0;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
}

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

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

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

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
}

[data-filter-item].is-hidden {
    display: none;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

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

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

    .ranking-table-row {
        grid-template-columns: 48px 72px minmax(0, 1fr);
    }

    .ranking-table-row > span:nth-last-child(-n + 3) {
        display: none;
    }
}

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

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

    .category-strip-inner {
        gap: 16px;
    }

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

    .hero-content {
        padding: 52px 0 90px;
    }

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

    .hero p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .hero-controls {
        bottom: 22px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .section-block {
        padding: 44px 0;
    }

    .movie-grid,
    .large-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .category-overview-body {
        padding: 18px 4px 2px;
    }

    .filter-bar {
        align-items: stretch;
        border-radius: 28px;
        flex-direction: column;
    }

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

    .detail-cover {
        width: 210px;
    }

    .player-section,
    .content-panel,
    .side-card {
        padding: 18px;
        border-radius: 22px;
    }

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

    .rank-views {
        display: none;
    }
}
