:root {
    --rose: #f43f5e;
    --pink: #db2777;
    --purple: #8b5cf6;
    --blue: #0ea5e9;
    --cyan: #06b6d4;
    --text: #111827;
    --muted: #6b7280;
    --soft: #fff1f2;
    --card: #ffffff;
    --line: #f1f5f9;
    --dark: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(244, 63, 94, 0.11), transparent 35rem),
        linear-gradient(180deg, #fff1f2 0%, #ffffff 36%, #eff6ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 800;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 10px 22px rgba(244, 63, 94, 0.28);
}

.brand-text {
    font-size: 21px;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 650;
    color: #374151;
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

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

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--pink));
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 220px;
}

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

.header-search button,
.mobile-search button {
    border: 0;
    padding: 10px 16px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    cursor: pointer;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #374151;
}

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

.mobile-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    color: #374151;
    font-weight: 700;
}

.mobile-link.is-active {
    color: var(--rose);
    background: #fff1f2;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink) 52%, var(--purple));
}

.hero-slider,
.hero-slide,
.hero-backdrop {
    position: absolute;
    inset: 0;
}

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

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

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(136, 19, 55, 0.94), rgba(136, 19, 55, 0.65) 45%, rgba(15, 23, 42, 0.22)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.55), transparent 55%);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.04);
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 380px);
    align-items: center;
    gap: 56px;
    padding: 86px 0 72px;
}

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

.hero-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
    font-weight: 750;
    letter-spacing: 0.03em;
}

.hero h1 {
    margin: 22px 0 10px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.2;
    font-weight: 850;
}

.hero p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #ffe4e6;
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.wide-tags,
.category-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-tags span,
.wide-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.28);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.page-hero .btn-outline,
.detail-hero .btn-outline {
    color: var(--rose);
    border-color: rgba(244, 63, 94, 0.25);
    background: #fff;
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.36);
    transform: rotate(2deg);
    transition: transform 0.35s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35);
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: #fff;
}

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

.editor-section {
    margin-top: -68px;
    position: relative;
    z-index: 6;
}

.editor-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 430px);
    gap: 36px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.badge-gradient {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--pink));
    font-weight: 800;
}

.editor-copy h2,
.section-heading h2,
.category-overview-head h2,
.content-card h2 {
    margin: 14px 0 10px;
    color: var(--text);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.editor-copy p,
.section-heading p,
.category-overview-head p,
.content-card p {
    color: var(--muted);
    line-height: 1.85;
}

.editor-review {
    color: #4b5563 !important;
}

.editor-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
    background: #fff1f2;
}

.editor-image img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

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

.section-heading .section-kicker {
    color: var(--rose);
    border-color: rgba(244, 63, 94, 0.18);
    background: #fff;
}

.section-more {
    color: var(--rose);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
}

.poster-frame,
.wide-poster,
.detail-cover,
.hero-backdrop,
.detail-backdrop,
.hero-poster,
.editor-image {
    position: relative;
}

.poster-frame {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #dbeafe);
}

.movie-card--compact .poster-frame,
.movie-card--mini .poster-frame {
    height: 190px;
}

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

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

.poster-frame--empty::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.45), transparent 24%),
        linear-gradient(135deg, #fb7185, #d946ef 55%, #38bdf8);
}

.poster-badge,
.poster-year {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
}

.poster-badge {
    left: 12px;
}

.poster-year {
    right: 12px;
}

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

.movie-card-body h3 {
    min-height: 2.8em;
    margin: 0 0 8px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta-row,
.movie-stat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta-row span,
.movie-stat-row span {
    white-space: nowrap;
}

.movie-tags {
    margin-top: 12px;
    color: var(--rose);
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-band {
    margin: 34px 0;
    padding: 66px 0;
    color: #fff;
    background: linear-gradient(120deg, var(--blue), var(--cyan));
}

.topic-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
}

.topic-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--blue);
    background: #fff;
    font-size: 28px;
}

.topic-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
}

.topic-inner p {
    margin: 0 auto 24px;
    max-width: 680px;
    color: #e0f2fe;
    font-size: 18px;
}

.category-pill-row {
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    padding: 10px 15px;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    font-weight: 750;
    transition: transform 0.2s ease, background 0.2s ease;
}

.category-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

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

.category-card,
.category-overview-block,
.content-card,
.search-page-panel,
.filter-panel {
    border: 1px solid rgba(244, 63, 94, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.category-card {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.24);
    font-weight: 900;
}

.category-card h3 {
    margin: 18px 0 8px;
    font-size: 22px;
    font-weight: 900;
}

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

.wide-grid {
    display: grid;
    gap: 16px;
}

.wide-card-link {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wide-card-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.wide-poster {
    height: 116px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #dbeafe);
}

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

.wide-body {
    min-width: 0;
    padding: 4px 6px 4px 0;
}

.wide-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    font-weight: 900;
}

.wide-body h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.wide-body p {
    margin: 8px 0 12px;
    color: var(--muted);
    line-height: 1.6;
}

.wide-tags span {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink) 55%, var(--purple));
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.22), transparent 22rem),
        linear-gradient(0deg, rgba(15, 23, 42, 0.14), transparent);
}

.page-hero > div {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 920;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    color: #ffe4e6;
    font-size: 18px;
    line-height: 1.8;
}

.category-overview-block {
    margin-bottom: 28px;
    padding: 28px;
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

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

.filter-panel--wide {
    grid-template-columns: minmax(0, 1.5fr) 190px 220px;
}

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

.filter-count,
.search-summary {
    margin: 0 0 20px;
    color: var(--muted);
    font-weight: 700;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

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

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.76) 45%, rgba(15, 23, 42, 0.42)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.10));
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(1.05);
    transform: scale(1.03);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 62px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: #fecdd3;
    font-size: 14px;
}

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

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

.detail-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #fb7185, #38bdf8);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 920;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 800px;
    color: #ffe4e6;
    font-size: 19px;
    line-height: 1.75;
}

.detail-meta,
.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-meta span,
.detail-stats span {
    padding: 9px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.player-section {
    padding-top: 40px;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at center, rgba(244, 63, 94, 0.34), rgba(15, 23, 42, 0.74)),
        rgba(15, 23, 42, 0.48);
    cursor: pointer;
    text-align: center;
}

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

.player-play-icon {
    display: inline-grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    color: var(--rose);
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    font-size: 32px;
}

.player-overlay strong {
    font-size: 22px;
}

.player-overlay small {
    color: #fecdd3;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 3;
    margin: 0;
    color: #fecdd3;
    font-weight: 700;
    text-align: center;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.content-card {
    padding: 28px;
}

.content-card p {
    margin: 0;
    color: #374151;
}

.search-page-panel {
    padding: 22px;
    margin-bottom: 24px;
}

.search-page-form input {
    flex: 1;
    border-radius: 18px;
    padding: 14px 16px;
}

.prose-section .content-card h2:not(:first-child) {
    margin-top: 26px;
}

.site-footer {
    margin-top: 40px;
    color: #cbd5e1;
    background: #111827;
}

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

.footer-logo .brand-text {
    color: #fff;
    background: none;
}

.footer-brand p {
    max-width: 340px;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-column h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}

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

.footer-column a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    padding: 18px 16px;
    color: #64748b;
}

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

    .mobile-toggle {
        display: flex;
    }

    .header-search {
        margin-left: auto;
    }

    .hero-grid,
    .editor-card,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-cover {
        max-width: 340px;
    }

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

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

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

    .two-column-section,
    .detail-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: auto;
        min-height: 64px;
    }

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

    .header-search {
        display: none;
    }

    .hero,
    .hero-grid {
        min-height: 720px;
    }

    .hero-grid {
        gap: 28px;
        padding-top: 60px;
    }

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

    .section {
        padding: 40px 0;
    }

    .section-heading,
    .category-overview-head {
        display: grid;
        align-items: start;
    }

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

    .poster-frame {
        height: 210px;
    }

    .movie-card--compact .poster-frame,
    .movie-card--mini .poster-frame {
        height: 170px;
    }

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

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

    .wide-card-link {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .wide-poster {
        height: 130px;
    }

    .wide-tags {
        display: none;
    }

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

    .detail-hero-inner {
        padding-top: 30px;
    }

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

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

    .poster-frame,
    .movie-card--compact .poster-frame,
    .movie-card--mini .poster-frame {
        height: 280px;
    }

    .hero-poster,
    .detail-cover {
        max-width: 280px;
    }
}
