:root {
    --sand-50: #fdfbf7;
    --sand-100: #f8f4ea;
    --sand-200: #f0e7d3;
    --sand-300: #e5d2ad;
    --sand-600: #b8904d;
    --sand-700: #9a7540;
    --desert-50: #fef9f3;
    --desert-100: #fdf2e5;
    --desert-500: #e88c45;
    --desert-600: #d66f2e;
    --desert-700: #b35a26;
    --earth-50: #f7f6f4;
    --earth-100: #ede9e4;
    --earth-200: #ddd4cc;
    --earth-500: #9a7e66;
    --earth-600: #8d6f59;
    --earth-700: #745b4b;
    --earth-800: #604c40;
    --earth-900: #504035;
    --dune-700: #8f5d37;
    --dune-900: #553d2d;
    --white: #ffffff;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 18px 36px rgba(80, 64, 53, 0.16);
    --shadow-xl: 0 28px 60px rgba(80, 64, 53, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--earth-900);
    background: linear-gradient(180deg, var(--sand-50) 0%, var(--earth-50) 56%, var(--sand-100) 100%);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(253, 251, 247, 0.96), rgba(254, 249, 243, 0.96));
    border-bottom: 1px solid var(--sand-200);
    box-shadow: 0 1px 10px rgba(80, 64, 53, 0.08);
    backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--desert-500), var(--sand-600));
    box-shadow: 0 10px 24px rgba(214, 111, 46, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--desert-700), var(--sand-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 4px;
    font-size: 12px;
    font-style: normal;
    color: var(--earth-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 700;
    color: var(--earth-700);
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--sand-100);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--earth-700);
}

.mobile-menu {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding-top: 12px;
    border-top: 1px solid var(--sand-200);
}

.mobile-menu.is-open {
    display: grid;
    gap: 10px;
}

.mobile-menu a {
    padding: 10px 0;
    font-weight: 700;
    color: var(--earth-700);
}

.hero {
    position: relative;
    height: 600px;
    background: var(--earth-900);
    overflow: hidden;
}

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

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

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

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100% - 1180px) / 2));
    top: 50%;
    width: min(720px, calc(100% - 48px));
    transform: translateY(-50%);
    color: var(--white);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(214, 111, 46, 0.92);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero h1,
.hero h2 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0;
    font-size: clamp(17px, 2.4vw, 22px);
    line-height: 1.75;
    color: var(--sand-100);
    max-width: 680px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--desert-600), var(--desert-500));
    box-shadow: 0 16px 34px rgba(214, 111, 46, 0.32);
}

.btn-light {
    color: var(--earth-900);
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.32);
    cursor: pointer;
    font-size: 30px;
    line-height: 48px;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
}

.hero-arrow.prev {
    left: 18px;
}

.hero-arrow.next {
    right: 18px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}

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

.section {
    padding: 72px 0;
}

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

.section-kicker {
    margin: 0 0 8px;
    color: var(--desert-600);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    color: var(--earth-900);
}

.section-desc {
    margin: 12px 0 0;
    color: var(--earth-600);
    line-height: 1.8;
}

.more-link {
    display: inline-flex;
    align-items: center;
    color: var(--desert-600);
    font-weight: 800;
}

.search-panel {
    width: min(980px, calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 5;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    backdrop-filter: blur(14px);
}

.search-panel input,
.list-search input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--sand-200);
    border-radius: 18px;
    padding: 0 18px;
    font-size: 16px;
    color: var(--earth-900);
    background: var(--sand-50);
    outline: none;
}

.search-panel input:focus,
.list-search input:focus {
    border-color: var(--desert-500);
    box-shadow: 0 0 0 4px rgba(214, 111, 46, 0.12);
}

.search-panel a,
.search-panel button {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg, var(--desert-600), var(--desert-500));
}

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(221, 212, 204, 0.75);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--sand-300);
    box-shadow: var(--shadow-lg);
}

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--earth-100), var(--sand-100));
}

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

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

.poster-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(214, 111, 46, 0.92);
    backdrop-filter: blur(8px);
}

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

.movie-card-body h3 {
    display: -webkit-box;
    margin: 0 0 10px;
    min-height: 48px;
    overflow: hidden;
    color: var(--earth-900);
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--desert-600);
}

.movie-meta,
.movie-line {
    margin: 0;
    color: var(--earth-600);
    line-height: 1.65;
}

.movie-meta {
    font-size: 14px;
}

.movie-line {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--earth-700);
    font-size: 12px;
    background: var(--sand-100);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

.mini-list {
    display: grid;
    gap: 14px;
}

.mini-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--earth-200);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
}

.mini-card img {
    width: 92px;
    height: 124px;
    object-fit: cover;
    border-radius: 14px;
}

.mini-card h3 {
    margin: 8px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.mini-card p {
    margin: 0;
    color: var(--earth-600);
}

.editor-band {
    background: linear-gradient(90deg, var(--desert-50), var(--sand-50));
}

.editor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.editor-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    background: var(--earth-900);
}

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

.editor-card:hover img {
    transform: scale(1.07);
}

.editor-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.editor-rank {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    background: var(--desert-600);
}

.editor-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: var(--white);
}

.editor-info span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.editor-info h3 {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.22;
}

.editor-info p {
    display: -webkit-box;
    margin: 0;
    color: var(--sand-100);
    line-height: 1.65;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.category-tile {
    min-height: 210px;
    padding: 26px;
    border-radius: 28px;
    color: var(--earth-900);
    background: radial-gradient(circle at top right, rgba(232, 140, 69, 0.2), transparent 38%), linear-gradient(135deg, var(--white), var(--sand-100));
    border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile h2,
.category-tile h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.category-tile p {
    margin: 0 0 20px;
    color: var(--earth-600);
    line-height: 1.75;
}

.category-tile span {
    color: var(--desert-600);
    font-weight: 900;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 56px 82px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--sand-200);
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-card);
}

.rank-num {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--desert-600), var(--sand-600));
}

.rank-item img {
    width: 82px;
    height: 106px;
    object-fit: cover;
    border-radius: 14px;
}

.rank-text h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.rank-text p {
    margin: 0;
    color: var(--earth-600);
    line-height: 1.6;
}

.cta-band {
    padding: 64px 0;
    color: var(--white);
    text-align: center;
    background: linear-gradient(90deg, var(--earth-900), var(--dune-900));
}

.cta-band h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-band p {
    margin: 0 auto 28px;
    max-width: 660px;
    color: var(--sand-200);
    font-size: 20px;
    line-height: 1.75;
}

.page-hero {
    padding: 72px 0 46px;
    background: radial-gradient(circle at top left, rgba(232, 140, 69, 0.18), transparent 30%), linear-gradient(180deg, var(--sand-50), var(--earth-50));
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--earth-600);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--desert-600);
    font-weight: 800;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.18;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--earth-600);
    font-size: 18px;
    line-height: 1.85;
}

.list-search {
    margin: 34px 0 0;
    max-width: 760px;
}

.movie-detail {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 74px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 34px;
    align-items: start;
}

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

.video-player,
.player-cover,
.player-cover img {
    width: 100%;
    height: 100%;
}

.video-player {
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000;
}

.player-cover.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.78;
}

.play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 38px;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--desert-600), var(--desert-500));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.detail-card {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--sand-200);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.detail-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 18px;
}

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

.detail-list {
    display: grid;
    gap: 12px;
    color: var(--earth-700);
}

.detail-list div {
    display: flex;
    gap: 10px;
    line-height: 1.7;
}

.detail-list strong {
    flex: 0 0 54px;
    color: var(--earth-900);
}

.article-block {
    margin-top: 34px;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--sand-200);
}

.article-block p {
    margin: 0 0 18px;
    color: var(--earth-700);
    line-height: 2;
    font-size: 17px;
}

.article-block p:last-child {
    margin-bottom: 0;
}

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

.hidden-card {
    display: none !important;
}

.site-footer {
    border-top: 1px solid var(--earth-200);
    background: linear-gradient(180deg, var(--earth-50), var(--earth-100));
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

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

.footer-brand p {
    margin: 0;
    max-width: 520px;
    color: var(--earth-600);
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
}

.footer-links a {
    color: var(--earth-700);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--desert-600);
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    color: var(--earth-600);
    border-top: 1px solid var(--earth-200);
}

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

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

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

    .detail-card {
        max-width: 420px;
    }
}

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

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

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

    .hero {
        height: 520px;
    }

    .hero-content {
        left: 22px;
        width: calc(100% - 44px);
    }

    .hero-arrow {
        display: none;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .more-link {
        margin-top: 16px;
    }

    .card-grid,
    .editor-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .nav-wrap {
        min-height: 64px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-text em {
        display: none;
    }

    .hero {
        height: 500px;
    }

    .hero h1,
    .hero h2 {
        font-size: 36px;
    }

    .hero-actions {
        display: grid;
    }

    .card-grid,
    .category-strip,
    .editor-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 44px 72px 1fr;
        gap: 10px;
    }

    .rank-item img {
        width: 72px;
        height: 96px;
    }

    .play-circle {
        width: 76px;
        height: 76px;
        font-size: 30px;
    }

    .article-block {
        padding: 22px;
    }
}
