
:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --purple: #8b5cf6;
    --blue: #60a5fa;
    --ink: #1f2937;
    --muted: #6b7280;
    --soft: #fdf2f8;
    --card: rgba(255, 255, 255, 0.88);
    --shadow: 0 24px 70px rgba(236, 72, 153, 0.18);
}

body {
    min-height: 100vh;
    background: #ffffff;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 35px rgba(148, 163, 184, 0.14);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f472b6, #a78bfa, #93c5fd);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(236, 72, 153, 0.28);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.brand-mark svg path + path {
    fill: rgba(255, 255, 255, 0.92);
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #f472b6, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    font-weight: 650;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
    color: var(--pink);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #374151;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

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

.mobile-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px 24px;
    display: grid;
    gap: 14px;
}

.hero {
    position: relative;
    height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9a8d4 0%, #ddd6fe 50%, #bfdbfe 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(46px);
    opacity: 0.38;
    mix-blend-mode: multiply;
    animation: floatBlob 11s ease-in-out infinite;
}

.blob-one {
    left: 6%;
    top: 12%;
    background: #f472b6;
}

.blob-two {
    right: 8%;
    top: 26%;
    background: #a78bfa;
    animation-delay: 2s;
}

.blob-three {
    left: 44%;
    bottom: -18%;
    background: #60a5fa;
    animation-delay: 4s;
}

@keyframes floatBlob {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(26px, -36px, 0) scale(1.08);
    }
    66% {
        transform: translate3d(-22px, 22px, 0) scale(0.96);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-slide {
    position: absolute;
    inset: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: 64px;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
    max-width: 720px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.hero h2 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: #ffffff;
    text-shadow: 0 18px 45px rgba(124, 58, 237, 0.28);
}

.hero p {
    max-width: 660px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-tags span,
.tag-row span,
.chip-row button {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #7c3aed;
    font-size: 13px;
    font-weight: 750;
    padding: 7px 12px;
}

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

.primary-btn,
.secondary-btn,
.global-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.global-search button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 18px 38px rgba(236, 72, 153, 0.28);
}

.secondary-btn {
    color: var(--pink-dark);
    background: rgba(255, 255, 255, 0.86);
}

.primary-btn:hover,
.secondary-btn:hover,
.global-search button:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-visual {
    position: relative;
    width: min(100%, 430px);
    justify-self: end;
    aspect-ratio: 3 / 4;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(88, 28, 135, 0.28);
    transform: rotate(2deg);
    background: rgba(255, 255, 255, 0.4);
}

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

.hero-visual:hover img {
    transform: scale(1.05);
}

.hero-poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.36));
}

.hero-dots {
    position: absolute;
    left: 24px;
    bottom: 64px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

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

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

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #ffffff);
}

.section-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 82px 24px;
}

.slim-wrap {
    max-width: 980px;
}

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

.section-heading.centered {
    display: block;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.page-hero h1,
.detail-panel h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.section-heading p,
.page-hero p,
.detail-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-more {
    color: var(--pink-dark);
    font-weight: 800;
    text-decoration: none;
}

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

.movie-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(148, 163, 184, 0.22);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(236, 72, 153, 0.22);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fce7f3, #ede9fe);
}

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

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

.card-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--pink);
    font-size: 28px;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.corner-badge,
.type-badge {
    position: absolute;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.corner-badge {
    top: 12px;
    left: 12px;
}

.type-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
}

.movie-info {
    display: block;
    padding: 18px;
}

.tag-row {
    margin-bottom: 12px;
}

.tag-row span {
    background: linear-gradient(90deg, #fce7f3, #ede9fe);
    color: var(--pink-dark);
    padding: 5px 9px;
    font-size: 12px;
}

.movie-info strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 54px;
    color: #111827;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info strong {
    color: var(--pink-dark);
}

.movie-info em {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tinted-section,
.site-footer {
    background: linear-gradient(135deg, #fdf2f8, #f5f3ff 48%, #eff6ff);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 48px 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateX(6px);
    box-shadow: 0 18px 42px rgba(236, 72, 153, 0.16);
}

.rank-number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-item img {
    width: 70px;
    height: 94px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
}

.rank-copy strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #111827;
    font-size: 17px;
    font-weight: 850;
}

.rank-copy em {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.rank-score {
    color: var(--pink-dark);
    font-size: 20px;
    font-weight: 900;
}

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

.category-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border-radius: 28px;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 242, 248, 0.96));
    border: 1px solid rgba(244, 114, 182, 0.18);
    box-shadow: 0 16px 40px rgba(148, 163, 184, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(236, 72, 153, 0.18);
}

.category-card span {
    color: var(--pink-dark);
    font-size: 22px;
    font-weight: 900;
}

.category-card strong {
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.category-card em {
    color: var(--purple);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}

.search-panel {
    padding-top: 42px;
}

.global-search,
.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.global-search input,
.filter-bar input,
.filter-bar select {
    min-height: 54px;
    border-radius: 999px;
    border: 1px solid #f3d2e6;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(148, 163, 184, 0.12);
    padding: 0 20px;
    outline: none;
}

.filter-bar select {
    min-width: 160px;
}

.search-results {
    max-width: 820px;
    margin: 18px auto 0;
    display: grid;
    gap: 10px;
}

.search-results a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-radius: 18px;
    padding: 14px 16px;
    color: inherit;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.search-results strong {
    color: #111827;
}

.search-results span {
    color: var(--muted);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 24px 72px;
    background: linear-gradient(135deg, #fce7f3, #ede9fe 52%, #dbeafe);
}

.page-hero > div {
    max-width: 1280px;
    margin: 0 auto;
}

.filter-section {
    padding-top: 52px;
}

.chip-row {
    max-width: 1180px;
    margin: 18px auto 28px;
}

.chip-row button {
    border: 0;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(148, 163, 184, 0.12);
}

.chip-row button.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.movie-card.is-hidden {
    display: none;
}

.detail-main {
    background: linear-gradient(180deg, #fff7fb, #ffffff 34%);
}

.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink-dark);
    text-decoration: none;
    font-weight: 700;
}

.detail-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 36px;
    align-items: start;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #111827;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111827;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.48));
    transition: opacity 0.2s ease;
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--pink);
    font-size: 38px;
    padding-left: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.play-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.detail-panel {
    border-radius: 34px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

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

.meta-list div {
    border-radius: 18px;
    padding: 14px;
    background: #fff7fb;
}

.meta-list dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.meta-list dd {
    margin: 6px 0 0;
    color: #111827;
    font-weight: 800;
}

.detail-tags span {
    background: linear-gradient(90deg, #fce7f3, #ede9fe);
    color: var(--pink-dark);
}

.detail-content {
    padding-top: 20px;
}

.detail-content article {
    margin-bottom: 26px;
    border-radius: 28px;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(148, 163, 184, 0.14);
}

.detail-content h2 {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 900;
    color: #111827;
}

.detail-content p {
    margin: 0;
    color: #4b5563;
    line-height: 2;
    font-size: 17px;
}

.related-grid .compact-card .movie-info strong {
    font-size: 16px;
}

.site-footer {
    margin-top: 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 58px 24px 36px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 46px;
}

.footer-brand p {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-links h2 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 900;
}

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

.footer-link-grid a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 650;
}

.footer-link-grid a:hover {
    color: var(--pink-dark);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 30px;
    color: #6b7280;
    border-top: 1px solid rgba(236, 72, 153, 0.12);
    text-align: center;
    font-size: 14px;
}

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

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

    .hero-visual {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-nav {
        height: 64px;
        padding: 0 16px;
    }

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

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 620px;
    }

    .hero-slide {
        inset: 0 18px;
        gap: 0;
    }

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

    .hero-dots {
        left: 18px;
        bottom: 42px;
    }

    .section-wrap {
        padding: 58px 18px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        display: inline-flex;
        margin-top: 14px;
    }

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

    .movie-info {
        padding: 14px;
    }

    .movie-info strong {
        min-height: 48px;
        font-size: 16px;
    }

    .rank-item {
        grid-template-columns: 38px 56px minmax(0, 1fr);
    }

    .rank-item img {
        width: 56px;
        height: 76px;
    }

    .rank-score {
        display: none;
    }

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

    .filter-bar select {
        min-width: 100%;
    }

    .page-hero {
        padding: 70px 18px 52px;
    }

    .detail-hero {
        padding: 24px 18px 42px;
    }

    .detail-panel {
        padding: 24px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 44px 18px 28px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .play-overlay span {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}
