/* Static movie site styles generated in readable format. */
:root {
    --site-bg: #fff7fb;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --ink: #201826;
    --muted: #6d6373;
    --line: rgba(190, 24, 93, 0.13);
    --brand: #db2777;
    --brand-strong: #be185d;
    --accent: #7c3aed;
    --cyan: #06b6d4;
    --shadow: 0 24px 70px rgba(126, 34, 206, 0.16);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 0%, rgba(236, 72, 153, 0.18), transparent 28rem),
        radial-gradient(circle at 92% 6%, rgba(124, 58, 237, 0.14), transparent 30rem),
        linear-gradient(180deg, #fff7fb 0%, #fff 42%, #fff7fb 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(190, 24, 93, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #18111f;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.28);
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #4b4054;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-strong);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.11), rgba(124, 58, 237, 0.09));
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(300px, 30vw);
}

.header-search input,
.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid rgba(219, 39, 119, 0.18);
    border-radius: 999px;
    outline: none;
    padding: 12px 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-search input:focus,
.filter-input:focus,
.filter-select:focus {
    border-color: rgba(219, 39, 119, 0.55);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.11);
}

.search-button,
.primary-button,
.secondary-button,
.play-link,
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-button,
.primary-button,
.play-link {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.24);
}

.secondary-button,
.page-link {
    color: var(--brand-strong);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(219, 39, 119, 0.15);
}

.search-button:hover,
.primary-button:hover,
.secondary-button:hover,
.play-link:hover,
.page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(124, 58, 237, 0.18);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: var(--brand-strong);
    background: rgba(236, 72, 153, 0.1);
}

.mobile-panel {
    display: none;
    padding: 0 0 18px;
}

.mobile-panel.open {
    display: block;
}

.mobile-panel .nav-links,
.mobile-panel .header-search {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    margin: 28px auto 54px;
    border-radius: 42px;
    background: #171022;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 28px;
    padding: 68px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.58s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 16, 34, 0.95) 0%, rgba(23, 16, 34, 0.72) 48%, rgba(23, 16, 34, 0.28) 100%),
        radial-gradient(circle at 28% 28%, rgba(236, 72, 153, 0.36), transparent 22rem);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transform: scale(1.04);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #ffe4f2;
    background: rgba(236, 72, 153, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 900;
}

.hero h1,
.hero-title {
    max-width: 760px;
    color: #fff;
    font-size: clamp(38px, 7vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    font-weight: 950;
}

.hero-text {
    max-width: 680px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #6a314d;
    background: #fff0f7;
    font-size: 13px;
    font-weight: 800;
}

.hero .pill {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-poster {
    justify-self: center;
    width: min(360px, 100%);
    border-radius: 34px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(124, 58, 237, 0.16));
}

.hero-dots {
    position: absolute;
    left: 68px;
    bottom: 38px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 42px;
    height: 6px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
}

.section {
    margin: 50px 0;
}

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

.section-kicker {
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 6px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.section-desc {
    max-width: 720px;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.8;
}

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

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

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

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

.movie-card,
.category-card,
.rank-card,
.info-card,
.detail-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 16px 45px rgba(126, 34, 206, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover,
.category-card:hover,
.rank-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(219, 39, 119, 0.26);
    box-shadow: 0 24px 55px rgba(126, 34, 206, 0.15);
}

.poster-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(124, 58, 237, 0.1));
}

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

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

.poster-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(219, 39, 119, 0.92), rgba(124, 58, 237, 0.9));
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-body {
    padding: 15px;
}

.movie-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 950;
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0;
    color: var(--muted);
    font-size: 13px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.tiny-link {
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 900;
}

.category-card {
    min-height: 170px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.18), transparent 11rem),
        linear-gradient(135deg, #fff, #fff7fb);
}

.category-card strong {
    display: block;
    margin: 4px 0 10px;
    font-size: 24px;
    font-weight: 950;
}

.category-card p {
    color: var(--muted);
    line-height: 1.7;
}

.category-count {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-strong);
    font-weight: 950;
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 36px rgba(126, 34, 206, 0.08);
}

.page-hero {
    margin: 32px 0 34px;
    padding: 44px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.28), transparent 17rem),
        linear-gradient(135deg, #be185d 0%, #7c3aed 54%, #0891b2 100%);
    box-shadow: var(--shadow);
}

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

.page-hero p {
    max-width: 780px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--brand-strong);
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
    gap: 26px;
    align-items: start;
}

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

.player-box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0d0714;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 7, 20, 0.62), rgba(126, 34, 206, 0.25));
    cursor: pointer;
}

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

.play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    padding: 16px 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 20px 50px rgba(219, 39, 119, 0.35);
    font-size: 18px;
    font-weight: 950;
}

.play-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--brand-strong);
    background: #fff;
}

.detail-card {
    padding: 26px;
}

.detail-title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.detail-lead {
    margin: 18px 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(124, 58, 237, 0.12));
    box-shadow: var(--shadow);
}

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

.prose {
    color: #3c3343;
    font-size: 17px;
    line-height: 1.95;
}

.prose h2 {
    margin: 28px 0 12px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 950;
}

.prose p {
    margin: 0 0 14px;
}

.meta-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px dashed rgba(190, 24, 93, 0.18);
    padding-bottom: 11px;
    color: var(--muted);
}

.meta-item strong {
    color: var(--ink);
}

.rank-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

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

.search-results {
    min-height: 280px;
}

.empty-state {
    padding: 40px;
    border: 1px dashed rgba(219, 39, 119, 0.24);
    border-radius: 26px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    padding: 34px 0;
    color: var(--muted);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    color: var(--brand-strong);
    font-weight: 800;
}

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

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        padding: 48px;
    }
}

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

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

    .hero {
        min-height: 760px;
        border-radius: 30px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 34px 24px 82px;
    }

    .hero-poster {
        width: min(260px, 76vw);
        transform: rotate(0deg);
    }

    .hero-dots {
        left: 24px;
        bottom: 28px;
    }

    .movie-grid,
    .category-grid,
    .ranking-grid,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 540px) {
    .site-shell {
        width: min(100% - 22px, 1220px);
    }

    .logo {
        font-size: 21px;
    }

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

    .card-body {
        padding: 12px;
    }

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

    .page-hero,
    .detail-card {
        padding: 24px;
        border-radius: 26px;
    }
}
