:root {
    --peach-50: #fff7f4;
    --peach-100: #ffe8e1;
    --peach-200: #ffd4c7;
    --peach-300: #ffb7a6;
    --coral-400: #ff9374;
    --coral-500: #ff5533;
    --coral-600: #ed3f22;
    --ink-900: #171717;
    --ink-700: #3f3f46;
    --ink-500: #71717a;
    --line: rgba(255, 122, 71, 0.18);
    --glass: rgba(255, 255, 255, 0.78);
    --shadow: 0 24px 60px rgba(255, 85, 51, 0.18);
    --gradient: linear-gradient(135deg, #ffd4c7, #ffab9d, #ff9374, #ff7c64, #ff7a47);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 147, 116, 0.24), transparent 34rem),
        linear-gradient(180deg, var(--peach-50), #ffffff 38%, var(--peach-50));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--gradient);
    box-shadow: 0 12px 30px rgba(255, 85, 51, 0.24);
}

.navbar {
    max-width: 1280px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 650;
}

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

.nav-links a:hover,
.nav-links a.is-active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 3px;
}

.mobile-panel {
    display: none;
    padding: 10px 24px 18px;
    background: rgba(255, 122, 71, 0.96);
}

.mobile-panel.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-panel a {
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.hero {
    position: relative;
    height: min(760px, 72vh);
    min-height: 560px;
    overflow: hidden;
    background: #111111;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.32) 54%, rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at 72% 32%, rgba(255, 85, 51, 0.44), transparent 26rem);
}

.hero-copy {
    position: absolute;
    left: clamp(22px, 7vw, 86px);
    bottom: clamp(42px, 9vw, 105px);
    z-index: 2;
    max-width: 760px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--coral-500);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(255, 85, 51, 0.35);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2.1vw, 22px);
    line-height: 1.75;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 23px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #ffffff;
    font-weight: 800;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(255, 85, 51, 0.28);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

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

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

.main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin: 34px auto 0;
    max-width: 1280px;
    padding: 58px 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 80% 14%, rgba(255, 255, 255, 0.62), transparent 22rem),
        var(--gradient);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

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

.section {
    margin-top: 60px;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--ink-500);
    line-height: 1.7;
}

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

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 46px rgba(24, 24, 27, 0.08);
    border: 1px solid rgba(255, 212, 199, 0.78);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 58px rgba(255, 85, 51, 0.18);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd4c7, #ff9374);
}

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

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

.play-dot {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 85, 51, 0.92);
    box-shadow: 0 10px 28px rgba(255, 85, 51, 0.32);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    font-size: 12px;
}

.card-body {
    padding: 18px;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--coral-600);
    font-size: 13px;
    font-weight: 800;
}

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

.card-body h3 a:hover {
    color: var(--coral-600);
}

.card-body p {
    margin: 0;
    min-height: 48px;
    color: var(--ink-500);
    line-height: 1.65;
    font-size: 14px;
}

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

.tag-row span {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--peach-100);
    color: var(--coral-600);
    font-size: 12px;
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    min-height: 170px;
    padding: 24px;
    border-radius: 26px;
    overflow: hidden;
    color: #ffffff;
    background: var(--gradient);
    box-shadow: var(--shadow);
}

.category-tile::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.category-tile h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 24px;
}

.category-tile p {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.category-tile span {
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.search-panel {
    position: sticky;
    top: 78px;
    z-index: 20;
    display: grid;
    gap: 14px;
    margin: 34px 0 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(255, 85, 51, 0.11);
}

.site-search {
    width: 100%;
    height: 48px;
    border: 1px solid var(--peach-200);
    border-radius: 16px;
    padding: 0 18px;
    outline: none;
    color: var(--ink-900);
    background: #ffffff;
    font-size: 16px;
}

.site-search:focus {
    border-color: var(--coral-400);
    box-shadow: 0 0 0 4px rgba(255, 147, 116, 0.18);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pills button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--coral-600);
    background: var(--peach-100);
    font-weight: 800;
    cursor: pointer;
}

.filter-pills button:hover {
    color: #ffffff;
    background: var(--coral-500);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 82px 150px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    box-shadow: 0 14px 38px rgba(24, 24, 27, 0.06);
}

.rank-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--coral-500);
    text-align: center;
}

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

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

.rank-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rank-info p {
    margin: 0;
    color: var(--ink-500);
    line-height: 1.7;
}

.rank-stat {
    text-align: right;
    color: var(--coral-600);
    font-weight: 900;
}

.breadcrumb {
    margin: 26px auto 0;
    max-width: 1280px;
    padding: 0 24px;
    color: var(--ink-500);
    font-size: 14px;
}

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

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

.detail-main,
.detail-side {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    box-shadow: 0 20px 48px rgba(24, 24, 27, 0.07);
}

.detail-main {
    overflow: hidden;
}

.detail-content {
    padding: 26px;
}

.detail-title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.detail-intro {
    color: var(--ink-500);
    font-size: 17px;
    line-height: 1.85;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.info-item {
    padding: 13px 15px;
    border-radius: 18px;
    background: var(--peach-50);
    border: 1px solid var(--line);
}

.info-item b {
    display: block;
    margin-bottom: 5px;
    color: var(--coral-600);
    font-size: 13px;
}

.article-block {
    margin-top: 28px;
}

.article-block h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.article-block p {
    color: var(--ink-700);
    line-height: 1.9;
}

.player-frame {
    position: relative;
    overflow: hidden;
    background: #0f0f10;
    aspect-ratio: 16 / 9;
}

.player-frame video {
    width: 100%;
    height: 100%;
    display: block;
    background: #0f0f10;
}

.player-cover {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.player-cover img {
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16));
}

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--gradient);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 22px 50px rgba(255, 85, 51, 0.36);
}

.player-frame.is-playing .player-cover,
.player-frame.is-playing .player-button {
    display: none;
}

.detail-side {
    padding: 22px;
}

.side-title {
    margin: 0 0 18px;
    font-size: 22px;
}

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

.side-item {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 12px;
    align-items: center;
}

.side-item img {
    aspect-ratio: 16 / 10;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.side-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
}

.side-item p {
    margin: 0;
    color: var(--ink-500);
    font-size: 13px;
}

.site-footer {
    margin-top: 60px;
    padding: 42px 24px 26px;
    background: #18181b;
    color: #ffffff;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.78);
}

.copyright {
    max-width: 1280px;
    margin: 26px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

[data-card].is-hidden {
    display: none;
}

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

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

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

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

    .nav-toggle {
        display: block;
    }

    .hero {
        height: 76vh;
        min-height: 520px;
    }

    .main {
        padding: 40px 16px;
    }

    .page-hero {
        margin: 22px 16px 0;
        border-radius: 26px;
    }

    .grid.cards,
    .grid.feature,
    .grid.categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .rank-row {
        grid-template-columns: 54px 108px 1fr;
    }

    .rank-stat {
        grid-column: 3;
        text-align: left;
    }

    .footer-inner {
        display: grid;
    }
}

@media (max-width: 560px) {
    .navbar {
        padding: 0 16px;
    }

    .brand {
        font-size: 18px;
    }

    .hero-copy {
        left: 18px;
        right: 18px;
        bottom: 70px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .grid.cards,
    .grid.feature,
    .grid.categories {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: grid;
    }

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

    .rank-row {
        grid-template-columns: 1fr;
    }

    .rank-num {
        text-align: left;
    }

    .rank-cover {
        width: 100%;
    }

    .side-item {
        grid-template-columns: 110px 1fr;
    }
}
