:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #f9fafb 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--amber-600));
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.22);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand {
    color: #ffffff;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--amber-600);
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.12);
}

.footer-brand .brand-mark {
    background: var(--amber-500);
    color: #ffffff;
}

.brand-name {
    font-size: 1.2rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #ffffff;
    font-weight: 700;
}

.site-nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
    color: #fff7ed;
    border-color: #ffedd5;
}

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

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.spotlight {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: #ffffff;
    background: radial-gradient(circle at 10% 10%, rgba(253, 186, 116, 0.88), transparent 32%),
        linear-gradient(135deg, #f59e0b 0%, #f97316 48%, #92400e 100%);
}

.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0);
    background-size: 38px 38px;
    opacity: 0.45;
}

.spotlight::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 52%;
    background: rgba(17, 24, 39, 0.18);
    filter: blur(48px);
}

.spotlight-inner {
    position: relative;
    z-index: 2;
    padding: 78px 0 86px;
}

.spotlight-slide {
    display: none;
    grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.72fr);
    gap: 56px;
    align-items: center;
}

.spotlight-slide.active {
    display: grid;
    animation: fadeUp 0.55s ease both;
}

.spotlight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    color: #fff7ed;
    font-weight: 700;
    margin-bottom: 22px;
}

.spotlight h1,
.spotlight h2 {
    margin: 0 0 18px;
    font-size: clamp(2.45rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.spotlight p {
    max-width: 680px;
    margin: 0 0 30px;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: #fff7ed;
}

.spotlight-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button-primary,
.button-secondary,
.button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
    background: #ffffff;
    color: var(--amber-600);
    box-shadow: 0 14px 32px rgba(146, 64, 14, 0.18);
}

.button-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.button-dark {
    color: #ffffff;
    background: linear-gradient(90deg, var(--gray-800), var(--gray-900));
}

.button-primary:hover,
.button-secondary:hover,
.button-dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.spotlight-poster {
    position: relative;
}

.spotlight-poster a {
    display: block;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32);
    transform: rotate(2deg);
}

.spotlight-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.18);
}

.spotlight-meta {
    position: absolute;
    left: -22px;
    bottom: 24px;
    right: 28px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.25);
}

.spotlight-meta strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.slide-dots {
    position: relative;
    z-index: 4;
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.slide-dots button {
    width: 38px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.slide-dots button.active {
    background: #ffffff;
}

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

.soft-section {
    padding: 66px 0;
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

.dark-band {
    padding: 70px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1f2937 44%, #92400e);
}

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

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.12;
    color: var(--gray-800);
}

.dark-band .section-heading h2,
.dark-band .section-heading p {
    color: #ffffff;
}

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

.section-link {
    color: var(--amber-600);
    font-weight: 800;
}

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

.movie-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f8fafc;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.42s ease;
}

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

.compact-card .poster-link img {
    aspect-ratio: 16 / 10;
}

.score-badge,
.year-badge,
.rank-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.score-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.year-badge {
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 18px;
}

.card-title {
    display: block;
    color: var(--gray-800);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.35;
    margin-bottom: 8px;
}

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

.card-body p {
    color: var(--gray-500);
    margin: 0 0 14px;
    min-height: 48px;
}

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

.tag-row span,
.meta-row span,
.channel-card span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    color: #92400e;
    background: var(--amber-100);
    font-size: 0.82rem;
    font-weight: 750;
}

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

.channel-card {
    min-height: 188px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.channel-card h2,
.channel-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.channel-card p {
    margin: 0 0 18px;
    color: var(--gray-500);
}

.rank-panel {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 28px;
}

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

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

.rank-row:hover {
    background: var(--amber-50);
    transform: translateX(3px);
}

.rank-index {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-thumb {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
}

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

.rank-main strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-800);
    font-size: 1.02rem;
}

.rank-main p {
    margin: 0;
    color: var(--gray-500);
}

.rank-score {
    color: var(--amber-600);
    font-weight: 900;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 14px;
    margin: 28px 0 30px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 18px;
    outline: 0;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.95rem;
    margin: 26px 0;
}

.breadcrumb a {
    color: var(--amber-600);
    font-weight: 750;
}

.page-banner {
    position: relative;
    padding: 68px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800) 45%, #92400e);
    overflow: hidden;
}

.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 15%, rgba(245, 158, 11, 0.38), transparent 30%);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.page-banner p {
    max-width: 780px;
    margin: 0;
    color: #fffbeb;
    font-size: 1.1rem;
}

.detail-head {
    padding: 34px 0 56px;
    background: linear-gradient(180deg, #fff7ed, rgba(255, 255, 255, 0));
}

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

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f8fafc;
}

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

.detail-info h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.detail-info .lead {
    margin: 18px 0 22px;
    color: var(--gray-700);
    font-size: 1.12rem;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.detail-stats span {
    padding: 8px 13px;
    border-radius: 999px;
    color: #92400e;
    background: var(--amber-100);
    font-weight: 800;
}

.player-panel {
    padding: 0 0 64px;
}

.video-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.video-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.play-gate {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.62));
    cursor: pointer;
}

.play-gate span {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    background: #ffffff;
    font-size: 2.2rem;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

.play-gate.is-hidden {
    display: none;
}

.content-block {
    padding: 32px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
    margin-bottom: 24px;
}

.content-block h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

.content-block p {
    margin: 0;
    color: var(--gray-700);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.side-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.side-card h2 {
    margin: 0 0 16px;
}

.side-links {
    display: grid;
    gap: 12px;
}

.side-links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 750;
}

.side-links a:hover {
    color: var(--amber-600);
    background: var(--amber-50);
}

.site-footer {
    color: #ffffff;
    background: linear-gradient(180deg, var(--gray-800), var(--gray-900));
}

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

.site-footer p,
.site-footer a {
    color: #d1d5db;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--amber-300);
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.site-footer a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    padding: 18px 0 22px;
    text-align: center;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state {
    display: none;
    padding: 30px;
    text-align: center;
    color: var(--gray-500);
    border-radius: 24px;
    background: #ffffff;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@media (max-width: 860px) {
    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 22px;
        background: rgba(217, 119, 6, 0.98);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .spotlight-slide,
    .detail-layout,
    .two-column {
        grid-template-columns: 1fr;
    }

    .spotlight {
        min-height: auto;
    }

    .spotlight-meta {
        left: 18px;
        right: 18px;
    }

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

    .filter-bar {
        grid-template-columns: 1fr;
    }

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

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

    .rank-score {
        grid-column: 3;
    }
}

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

    .brand-name {
        font-size: 1rem;
    }

    .spotlight-inner,
    .main-section,
    .soft-section,
    .dark-band {
        padding: 42px 0;
    }

    .movie-grid,
    .channel-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-info h1,
    .spotlight h1,
    .spotlight h2 {
        letter-spacing: -0.02em;
    }

    .content-block,
    .rank-panel {
        padding: 20px;
    }
}
