:root {
    --rose-50: #fff1f4;
    --rose-100: #ffe4ea;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --orange-500: #f97316;
    --green-600: #16a34a;
    --blue-600: #2563eb;
    --text-main: #111827;
    --text-muted: #667085;
    --border: #f3c2cf;
    --surface: #ffffff;
    --shadow: 0 20px 55px rgba(190, 18, 60, 0.16);
    --soft-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 45%, #fff1f4 100%);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(244, 63, 94, 0.18);
    background: rgba(255, 245, 247, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 20px rgba(190, 18, 60, 0.06);
}

.header-inner {
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.32);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(12deg) scale(1.04);
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: #4b5563;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 2px;
    transition: color 0.25s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid rgba(244, 63, 94, 0.22);
    border-radius: 999px;
    background: #ffffff;
}

.header-search input,
.mobile-search input,
.search-hero-form input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    color: #374151;
    background: transparent;
}

.header-search input {
    width: 190px;
    padding: 8px 4px 8px 12px;
}

.header-search button,
.mobile-search button,
.search-hero-form button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(244, 63, 94, 0.24);
}

.mobile-toggle {
    display: none;
    border: 0;
    color: #4b5563;
    background: rgba(244, 63, 94, 0.08);
    border-radius: 12px;
    padding: 8px 11px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 14px 22px 20px;
    border-top: 1px solid rgba(244, 63, 94, 0.14);
    background: #ffffff;
}

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

.mobile-nav-link {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px;
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 999px;
}

.mobile-search input {
    flex: 1;
    padding: 8px 12px;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(120deg, #fecdd3 0%, #f9a8d4 52%, #ddd6fe 100%);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.36;
}

.hero-section::before {
    left: -110px;
    top: -80px;
    background: #fb7185;
}

.hero-section::after {
    right: -120px;
    bottom: -120px;
    background: #a78bfa;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.55), rgba(190, 18, 60, 0.22));
}

.hero-inner {
    position: relative;
    max-width: 1180px;
    min-height: 600px;
    margin: 0 auto;
    padding: 64px 22px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 46px;
}

.hero-copy {
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 16px;
    color: #ffe4ea;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy h1 span {
    color: #ffe4ea;
}

.hero-desc {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.8;
}

.hero-actions,
.detail-tags,
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-actions {
    margin-top: 30px;
}

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

.primary-btn {
    min-height: 46px;
    padding: 0 26px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 16px 30px rgba(244, 63, 94, 0.35);
}

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

.primary-btn.slim {
    min-height: 38px;
    padding: 0 18px;
    font-size: 14px;
}

.ghost-btn {
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

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

.hero-tag,
.tag,
.card-tags span,
.detail-tags a,
.footer-tags a,
.hot-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tag {
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

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

.hero-focus {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.28);
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-focus-large {
    grid-column: span 2;
    min-height: 260px;
}

.hero-focus:hover {
    transform: scale(1.035);
    box-shadow: 0 34px 70px rgba(17, 24, 39, 0.34);
}

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

.hero-focus:hover img {
    transform: scale(1.08);
}

.hero-focus-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.84));
}

.hero-focus-layer strong {
    font-size: 20px;
}

.hero-focus-layer em {
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
}

.hero-badge,
.card-duration {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
    box-shadow: 0 8px 18px rgba(244, 63, 94, 0.25);
}

.hero-badge {
    top: 16px;
    right: 16px;
    padding: 7px 12px;
}

.content-section,
.feature-block,
.masonry-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 22px;
}

.no-pad-y {
    padding-top: 0;
    padding-bottom: 0;
}

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

.section-heading h2,
.footer-col h2,
.tag-panel h2,
.article-card h2,
.side-card h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.03em;
}

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

.section-more,
.text-link {
    color: var(--rose-600);
    font-weight: 900;
}

.movie-grid,
.wide-grid,
.poster-grid,
.category-overview-grid,
.masonry-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f4, #ffe4ea);
}

.compact-card .card-cover {
    aspect-ratio: 16 / 9;
}

.card-cover img,
.ranking-cover img,
.category-cover-stack img,
.editor-item img,
.detail-poster img,
.rank-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-cover img {
    transition: transform 0.5s ease;
}

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

.card-duration {
    left: 12px;
    top: 12px;
    padding: 5px 9px;
}

.card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 46px;
    opacity: 0;
    background: rgba(17, 24, 39, 0.42);
    transition: opacity 0.25s ease;
}

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

.card-body {
    padding: 18px;
}

.card-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

.movie-card:hover .card-title {
    color: var(--rose-600);
}

.card-desc {
    display: -webkit-box;
    min-height: 44px;
    margin: 10px 0 14px;
    overflow: hidden;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #6b7280;
    font-size: 13px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.card-tags span {
    padding: 5px 9px;
    color: #be123c;
    background: var(--rose-50);
}

.ranking-strip {
    padding: 70px 0;
    background: linear-gradient(120deg, #eff6ff, #ecfeff);
}

.rank-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
    background: #111827;
}

.rank-card img {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}

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

.rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.9));
}

.rank-num {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.rank-info {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #ffffff;
}

.rank-info strong,
.rank-info em {
    display: block;
}

.rank-info strong {
    font-size: 17px;
    line-height: 1.35;
}

.rank-info em {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
    font-size: 13px;
}

.category-feature {
    padding-top: 56px;
    padding-bottom: 56px;
}

.category-feature:nth-of-type(odd) {
    border-radius: 34px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.split-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
}

.editor-panel,
.tag-panel,
.article-card,
.side-card {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.editor-panel,
.tag-panel {
    padding: 28px;
}

.editor-list {
    display: grid;
    gap: 16px;
}

.editor-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff7f8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editor-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--soft-shadow);
}

.editor-item img {
    aspect-ratio: 16 / 10;
}

.editor-item span {
    padding: 14px 14px 14px 0;
}

.editor-item strong,
.editor-item em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.editor-item strong {
    margin-bottom: 8px;
    font-weight: 900;
    -webkit-line-clamp: 1;
}

.editor-item em {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.6;
    -webkit-line-clamp: 2;
}

.hot-tags,
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hot-tags a,
.footer-tags a {
    padding: 10px 14px;
    color: #4b5563;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.hot-tags a:hover,
.footer-tags a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6, var(--pink-500));
}

.tag-note {
    margin-top: 28px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--rose-50), #f5f3ff);
}

.tag-note strong {
    color: var(--rose-600);
    font-size: 20px;
}

.tag-note p {
    color: var(--text-muted);
    line-height: 1.7;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fb7185, #ec4899 48%, #8b5cf6);
}

.small-hero {
    min-height: 280px;
}

.page-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 22px;
    color: #ffffff;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

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

.category-tile {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 190px;
    overflow: hidden;
}

.category-cover-stack img {
    min-height: 190px;
}

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

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

.category-tile-body p {
    color: var(--text-muted);
    line-height: 1.75;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(244, 63, 94, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.filter-panel label {
    display: grid;
    gap: 8px;
}

.filter-panel span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #ffe4ea;
    border-radius: 14px;
    padding: 0 14px;
    background: #fff7f8;
}

.empty-state {
    margin: 30px 0 0;
    padding: 28px;
    border-radius: 20px;
    color: #be123c;
    text-align: center;
    background: #fff1f2;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 110px 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.ranking-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
}

.ranking-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.ranking-content h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.ranking-content p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--text-muted);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-hero-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin-top: 28px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

.search-hero-form input {
    flex: 1;
    padding: 0 18px;
    color: #374151;
}

.detail-hero {
    min-height: 560px;
    color: #ffffff;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 22px 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
    background: #111827;
}

.detail-poster img {
    aspect-ratio: 3 / 4;
}

.detail-one-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.detail-tags {
    margin: 0 0 28px;
}

.detail-tags a {
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.detail-tags a:hover {
    background: rgba(255, 255, 255, 0.28);
}

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

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

.player-card,
.article-card,
.side-card {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050505;
    cursor: pointer;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #050505;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.24), rgba(0, 0, 0, 0.58));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 40px rgba(244, 63, 94, 0.38);
}

.player-message {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.article-card,
.side-card {
    padding: 26px;
}

.article-card p {
    color: #374151;
    font-size: 17px;
    line-height: 1.95;
}

.detail-side {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 20px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    margin: 18px 0 0;
}

.side-card dt {
    color: #9f1239;
    font-weight: 900;
}

.side-card dd {
    margin: 0;
    color: #4b5563;
}

.side-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.side-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ffe4ea;
    color: #374151;
    font-weight: 800;
}

.side-list span {
    color: #9ca3af;
    font-weight: 600;
}

.site-footer {
    border-top: 1px solid rgba(244, 63, 94, 0.12);
    background: linear-gradient(180deg, #fff7f8, #f9fafb);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 32px;
}

.footer-brand p,
.footer-col a {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-col h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .header-inner {
        justify-content: space-between;
    }

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

    .hero-grid {
        max-width: 680px;
    }

    .detail-side {
        position: static;
    }

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

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

@media (max-width: 720px) {
    .brand-text {
        font-size: 19px;
    }

    .hero-section,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner,
    .content-section,
    .feature-block,
    .masonry-section,
    .page-hero-inner,
    .detail-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-inner {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .hero-grid,
    .movie-grid,
    .wide-grid,
    .poster-grid,
    .category-overview-grid,
    .masonry-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .hero-focus-large {
        grid-column: auto;
    }

    .section-heading,
    .ranking-row,
    .search-hero-form {
        align-items: stretch;
        flex-direction: column;
    }

    .ranking-row {
        display: grid;
        grid-template-columns: 90px 42px minmax(0, 1fr);
    }

    .ranking-row .primary-btn {
        grid-column: 1 / -1;
    }

    .editor-item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .detail-grid {
        gap: 26px;
    }

    .detail-poster {
        max-width: 270px;
    }

    .footer-inner {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}
