:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --amber-400: #fbbf24;
    --cyan-50: #ecfeff;
    --blue-50: #eff6ff;
    --blue-500: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 18px 50px rgba(225, 29, 72, 0.12);
    --shadow-card: 0 10px 30px rgba(17, 24, 39, 0.08);
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background:
        radial-gradient(circle at top left, rgba(244, 63, 94, 0.10), transparent 34rem),
        linear-gradient(135deg, #fff7ed 0%, #fff1f2 45%, #fff7ed 100%);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(244, 63, 94, 0.10);
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.05);
}

.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--gray-900);
}

.logo-mark {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.28);
}

.logo-text {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--rose-600);
    background: var(--rose-50);
    transform: translateY(-1px);
}

.header-search,
.mobile-search,
.hero-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-search {
    width: min(320px, 24vw);
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-page-form input,
.inline-filter {
    width: 100%;
    border: 1px solid rgba(244, 63, 94, 0.16);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-900);
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search button,
.mobile-search button,
.hero-search button,
.search-page-form button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.20);
}

.menu-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 0.8rem;
    background: var(--rose-50);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    margin: 4px auto;
    background: var(--rose-600);
    border-radius: 999px;
}

.mobile-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.mobile-nav nav,
.mobile-nav .mobile-search {
    display: grid;
    gap: 0.55rem;
}

.hero-section {
    position: relative;
    height: min(680px, calc(100vh - 72px));
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400), var(--amber-400));
}

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

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.10) 58%, rgba(0, 0, 0, 0.20) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem 4.4rem;
    display: flex;
    align-items: flex-end;
}

.hero-copy {
    width: min(680px, 100%);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.eyebrow {
    color: var(--rose-600);
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-title-item,
.hero-summary-item,
.hero-meta-item,
.hero-watch-link {
    display: none;
}

.hero-title-item.is-active,
.hero-summary-item.is-active,
.hero-meta-item.is-active,
.hero-watch-link.is-active {
    display: inline;
}

.hero-copy p {
    margin: 0 0 1.6rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
    max-width: 56rem;
}

.hero-meta-line {
    min-height: 1.5rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hero-watch-link,
.primary-pill,
.hero-secondary-link {
    border-radius: 999px;
    padding: 0.9rem 1.35rem;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-watch-link,
.primary-pill {
    color: var(--rose-600);
    background: #fff;
    box-shadow: 0 16px 36px rgba(255, 255, 255, 0.18);
}

.primary-pill {
    display: inline-flex;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 16px 30px rgba(244, 63, 94, 0.24);
}

.hero-secondary-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-watch-link:hover,
.primary-pill:hover,
.hero-secondary-link:hover {
    transform: translateY(-2px);
}

.hero-search-panel {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.hero-search input {
    min-width: min(440px, 65vw);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.hero-tags a {
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.86rem;
}

.hero-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.30);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
}

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

.hero-dot.is-active {
    width: 2rem;
    background: #fff;
}

.content-section,
.page-main > .content-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-section.soft-blue,
.content-section.soft-rose {
    max-width: none;
    margin: 2rem 0;
    padding-left: max(1rem, calc((100vw - var(--max-width)) / 2 + 1rem));
    padding-right: max(1rem, calc((100vw - var(--max-width)) / 2 + 1rem));
}

.soft-blue {
    background: linear-gradient(90deg, var(--cyan-50), var(--blue-50));
}

.soft-rose {
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(255, 247, 237, 0.92));
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0.35rem 0 0;
    color: var(--gray-500);
}

.section-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 12px 26px rgba(244, 63, 94, 0.22);
}

.compact-heading {
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

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

.card-grid.six-col {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
}

.movie-card .card-link {
    display: block;
    height: 100%;
}

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(251, 146, 60, 0.20)),
        var(--gray-100);
}

.poster-cover {
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
}

.wide-cover {
    aspect-ratio: 16 / 10;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50), transparent 62%);
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 1;
}

.card-type {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    padding: 0.26rem 0.55rem;
    color: #fff;
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(8px);
}

.card-content {
    padding: 1rem;
}

.category-chip,
.tag-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--rose-600);
    background: var(--rose-100);
}

.movie-card h3 {
    margin: 0.6rem 0 0.5rem;
    font-size: 1rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card p {
    margin: 0 0 0.8rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.86rem;
}

.compact-meta {
    justify-content: flex-start;
}

.movie-card-horizontal .card-link {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 135px;
}

.movie-card-horizontal .card-cover {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card-minimal {
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

.movie-card-minimal:hover {
    box-shadow: none;
}

.movie-card-minimal h3 {
    font-size: 0.95rem;
}

.rank-badge {
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    z-index: 5;
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

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

.category-tile,
.category-overview-card a {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 190px;
    border-radius: 1.25rem;
    color: #fff;
    background: var(--gray-900);
    box-shadow: var(--shadow-card);
}

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

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

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

.category-tile span,
.category-tile strong {
    position: absolute;
    z-index: 2;
    left: 1rem;
}

.category-tile span {
    bottom: 3rem;
    font-size: 1.3rem;
    font-weight: 900;
}

.category-tile strong {
    bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.rank-home-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

.section-copy {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0 0 1.4rem;
}

.rank-list-mini,
.ranking-top-list {
    display: grid;
    gap: 1rem;
}

.page-main {
    padding-bottom: 2rem;
}

.page-hero {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 3rem 1rem;
    border-radius: 1.6rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 22rem),
        linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: var(--shadow-soft);
}

.page-hero h1 {
    max-width: 780px;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-hero .eyebrow {
    color: #fde68a;
}

.category-hero {
    background: linear-gradient(135deg, #f43f5e, #fb923c);
}

.ranking-hero {
    background: linear-gradient(135deg, #e11d48, #f59e0b);
}

.latest-hero {
    background: linear-gradient(135deg, #0ea5e9, #f43f5e);
}

.search-hero {
    background: linear-gradient(135deg, #8b5cf6, #f43f5e, #fb923c);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.hero-stats span {
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.listing-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.listing-toolbar h2 {
    margin: 0 0 0.35rem;
    font-size: 1.8rem;
}

.listing-toolbar p {
    margin: 0;
    color: var(--gray-500);
}

.inline-filter-label {
    width: min(420px, 100%);
    display: grid;
    gap: 0.4rem;
    font-weight: 800;
    color: var(--gray-600);
}

.category-overview-card {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.category-overview-card a {
    min-height: auto;
    color: var(--gray-900);
    background: #fff;
}

.category-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    height: 160px;
    background: var(--gray-100);
}

.category-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-content {
    padding: 1.25rem;
}

.category-overview-content h2 {
    margin: 0 0 0.65rem;
}

.category-overview-content p {
    margin: 0 0 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.category-overview-content strong {
    color: var(--rose-600);
}

.breadcrumb {
    max-width: var(--max-width);
    margin: 1.25rem auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--gray-500);
    font-size: 0.92rem;
}

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

.detail-main {
    max-width: var(--max-width);
    margin: 0 auto;
}

.detail-hero {
    margin: 0 1rem 2rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: stretch;
    border-radius: 1.6rem;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.detail-poster {
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--rose-100);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.detail-info {
    padding: 1rem 0;
}

.detail-info h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.detail-one-line {
    color: var(--gray-600);
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0 0 1.2rem;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.detail-meta-grid span {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border-radius: 0.85rem;
    background: var(--gray-50);
    color: var(--gray-600);
}

.detail-meta-grid strong {
    color: var(--gray-900);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
}

.player-section {
    margin: 0 1rem 2rem;
    padding: 1.25rem;
    border-radius: 1.6rem;
    background: #111827;
    color: #fff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.24);
}

.player-section .section-heading p {
    color: rgba(255, 255, 255, 0.70);
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1.2rem;
    background: #050505;
}

.site-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #050505;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.6rem;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.34), rgba(0, 0, 0, 0.58));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
    width: 5rem;
    height: 5rem;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
    box-shadow: 0 18px 38px rgba(244, 63, 94, 0.35);
}

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

.player-shell.is-playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.player-status {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(10px);
}

.detail-content-grid {
    margin: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.detail-text-block {
    padding: 1.4rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.detail-text-block h2 {
    margin: 0 0 0.8rem;
    font-size: 1.45rem;
}

.detail-text-block p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.9;
}

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

.related-section {
    padding-left: 1rem;
    padding-right: 1rem;
}

.search-page-form {
    margin-top: 1.5rem;
    max-width: 760px;
}

.search-page-form input {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.search-page-form button {
    border-radius: 1rem;
    padding: 1rem 1.2rem;
}

.search-results:empty::before {
    content: "暂无搜索结果";
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    color: var(--gray-500);
    border-radius: 1rem;
    background: #fff;
}

.sitemap-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.sitemap-group {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.sitemap-group h2 {
    margin: 0;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

.sitemap-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow: auto;
}

.sitemap-group li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.62rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.sitemap-group li a:hover {
    color: var(--rose-600);
}

.sitemap-group li span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: #111827;
    margin-top: 3rem;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
}

.footer-grid h2,
.footer-grid h3 {
    color: #fff;
    margin-top: 0;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.9rem;
}

.is-hidden-by-filter {
    display: none !important;
}

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

    .card-grid.six-col,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .header-search {
        display: none;
    }
}

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

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

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

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

    .hero-content {
        padding-bottom: 4.8rem;
    }

    .hero-search,
    .search-page-form,
    .listing-toolbar,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search input {
        min-width: 100%;
    }

    .hero-control {
        display: none;
    }

    .rank-home-layout,
    .detail-hero,
    .detail-content-grid,
    .footer-grid,
    .sitemap-section {
        grid-template-columns: 1fr;
    }

    .detail-poster img {
        min-height: auto;
    }

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

    .page-hero {
        margin: 1rem 1rem 0;
    }
}

@media (max-width: 560px) {
    .nav-wrap {
        gap: 0.6rem;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .hero-section {
        min-height: 640px;
    }

    .hero-copy h1 {
        font-size: 2.45rem;
    }

    .hero-search-panel {
        padding: 0.75rem;
        border-radius: 1rem;
    }

    .content-section,
    .page-main > .content-section,
    .content-section.soft-blue,
    .content-section.soft-rose {
        padding: 2.2rem 1rem;
    }

    .card-grid.four-col,
    .card-grid.three-col,
    .card-grid.six-col,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal .card-link {
        grid-template-columns: 130px 1fr;
    }

    .movie-card-horizontal .card-content {
        padding: 0.8rem;
    }

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

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