:root {
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #db2777;
    --orange: #fb923c;
    --amber: #f59e0b;
    --blue: #0284c7;
    --purple: #7c3aed;
    --green: #059669;
    --ink: #111827;
    --muted: #6b7280;
    --soft: #f9fafb;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f3f4f6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    backdrop-filter: blur(18px);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #374151;
    font-weight: 700;
    font-size: 14px;
}

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

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

.nav a.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 {
    position: relative;
    width: min(260px, 26vw);
}

.header-search input,
.toolbar input,
.toolbar select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    padding: 11px 18px 11px 42px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.header-search input:focus,
.toolbar input:focus,
.toolbar select:focus {
    border-color: rgba(244, 63, 94, 0.8);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #374151;
    background: #f3f4f6;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

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

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

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

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8 45%, #fffbeb);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background-image: linear-gradient(rgba(244, 63, 94, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 63, 94, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(244, 63, 94, 0.22), transparent 35%), linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 47%, rgba(255, 255, 255, 0.36));
}

.hero-art {
    position: absolute;
    top: 50%;
    right: max(32px, calc((100vw - 1180px) / 2));
    width: min(390px, 32vw);
    transform: translateY(-50%) rotate(2deg);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
    background: #ffffff;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    align-items: center;
    max-width: 680px;
    padding: 80px 0 130px;
}

.hero-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    color: #be123c;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(244, 63, 94, 0.18);
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.12);
    backdrop-filter: blur(16px);
}

.hero h1,
.hero h2 {
    margin: 0;
    color: #111827;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 950;
}

.hero h2 {
    margin-top: 12px;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(135deg, var(--rose), var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin: 22px 0 0;
    color: #4b5563;
    font-size: 18px;
    max-width: 620px;
}

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 16px 32px rgba(244, 63, 94, 0.28);
}

.btn-secondary {
    color: var(--rose);
    background: #ffffff;
    border-color: rgba(244, 63, 94, 0.18);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
}

.hero-dots {
    position: absolute;
    left: max(16px, calc((100vw - 1180px) / 2));
    right: max(16px, calc((100vw - 1180px) / 2));
    bottom: 40px;
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-dot {
    flex: 1;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: #6b7280;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
}

.hero-dot.active {
    color: #111827;
    border-color: rgba(244, 63, 94, 0.35);
    background: #ffffff;
}

.hero-dot strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-dot span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9ca3af;
}

.section {
    padding: 66px 0;
}

.section-white {
    background: #ffffff;
}

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

.section-eyebrow {
    margin: 0 0 8px;
    color: var(--rose);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.section-desc {
    margin: 10px 0 0;
    color: #6b7280;
    max-width: 680px;
}

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

.category-card {
    position: relative;
    min-height: 168px;
    padding: 24px;
    border-radius: var(--radius);
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: var(--shadow);
}

.category-card:nth-child(2n) {
    background: linear-gradient(135deg, #ef4444, var(--orange));
}

.category-card:nth-child(3n) {
    background: linear-gradient(135deg, var(--blue), #06b6d4);
}

.category-card:nth-child(4n) {
    background: linear-gradient(135deg, var(--purple), #6366f1);
}

.category-card::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.category-icon {
    font-size: 34px;
}

.category-card h2,
.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 6px;
    font-size: 23px;
}

.category-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(17, 24, 39, 0.16);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

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

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

.card-badge,
.card-region {
    position: absolute;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(244, 63, 94, 0.92);
    backdrop-filter: blur(12px);
}

.card-badge {
    left: 12px;
}

.card-region {
    right: 12px;
    background: rgba(17, 24, 39, 0.74);
}

.play-cue {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 950;
    background: rgba(17, 24, 39, 0.32);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.movie-card:hover .play-cue {
    opacity: 1;
}

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

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: #111827;
    font-weight: 950;
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-title:hover {
    color: var(--rose);
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
    color: #6b7280;
    font-size: 13px;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 46px;
    overflow: hidden;
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    color: #be123c;
    background: #fff1f2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 72px 90px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.rank-number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    font-weight: 950;
    font-size: 20px;
}

.rank-card img {
    width: 90px;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
}

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

.rank-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-hero {
    padding: 78px 0 54px;
    color: #111827;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8 50%, #fffbeb);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b5563;
    font-size: 18px;
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 14px;
    margin: 0 0 28px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.toolbar input,
.toolbar select {
    min-height: 46px;
    padding: 10px 16px;
}

.empty-state {
    padding: 42px;
    border-radius: 22px;
    color: #6b7280;
    text-align: center;
    background: #ffffff;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    color: #ffffff;
    background: #111827;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(6px) saturate(1.15);
    transform: scale(1.05);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.88));
}

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

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.detail-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.detail-intro {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.player-section {
    padding: 66px 0;
    background: #0f172a;
    color: #ffffff;
}

.player-section h2 {
    margin: 0 0 22px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.player-wrap video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    object-fit: contain;
}

.player-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.58), rgba(190, 18, 60, 0.34));
    cursor: pointer;
}

.player-layer.hidden {
    display: none;
}

.player-layer span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--rose);
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
    font-size: 34px;
}

.player-layer strong {
    font-size: 21px;
}

.prose-card {
    margin: 0 auto;
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.prose-card h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 26px;
    letter-spacing: -0.035em;
}

.prose-card p {
    margin: 0 0 22px;
    color: #4b5563;
}

.review-box {
    padding: 24px;
    border: 1px solid rgba(244, 63, 94, 0.16);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

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

.footer h2,
.footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

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

.footer-links {
    display: grid;
    gap: 8px;
}

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

@media (max-width: 980px) {
    .nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .hero-art {
        opacity: 0.26;
        right: -36px;
        width: 330px;
    }

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

    .hero-dots {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-dot {
        min-width: 190px;
    }

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

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

    .detail-grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }

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

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

@media (max-width: 640px) {
    .header-inner {
        min-height: 66px;
    }

    .logo {
        font-size: 21px;
    }

    .hero,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        padding: 70px 0 190px;
    }

    .hero-art {
        top: auto;
        right: 16px;
        bottom: 108px;
        width: 130px;
        transform: rotate(4deg);
        opacity: 0.85;
        border-radius: 18px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        display: block;
    }

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

    .rank-card {
        grid-template-columns: 48px 72px 1fr;
        gap: 12px;
    }

    .rank-number {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 17px;
    }

    .rank-card img {
        width: 72px;
    }

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

    .detail-cover {
        max-width: 230px;
    }

    .prose-card {
        padding: 24px;
    }
}
