
:root {
    --color-pink: #ec4899;
    --color-rose: #f43f5e;
    --color-orange: #fb923c;
    --color-yellow: #fde68a;
    --color-ink: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7fb;
    --color-card: #ffffff;
    --shadow-card: 0 22px 55px rgba(236, 72, 153, 0.16);
    --shadow-soft: 0 18px 40px rgba(17, 24, 39, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 34%, #fff8f0 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.96), rgba(244, 63, 94, 0.96), rgba(251, 146, 60, 0.96));
    box-shadow: 0 14px 36px rgba(236, 72, 153, 0.24);
    backdrop-filter: blur(18px);
}

.header-shell {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1280px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--color-pink);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.brand-text {
    font-size: 1.24rem;
}

.desktop-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff7c2;
    transform: translateY(-1px);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: #fff7c2;
}

.header-search,
.mobile-search,
.big-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.header-search input,
.mobile-search input,
.big-search input {
    width: 220px;
    min-width: 0;
    padding: 11px 14px 11px 18px;
    border: 0;
    outline: none;
    color: var(--color-ink);
    background: transparent;
}

.header-search button,
.mobile-search button,
.big-search button {
    align-self: stretch;
    padding: 0 18px;
    color: #ffffff;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-pink), var(--color-rose));
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: #ffffff;
    font-size: 1.4rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-panel {
    display: none;
    padding: 0 24px 18px;
    background: rgba(255, 255, 255, 0.98);
}

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

.mobile-panel nav {
    display: grid;
    gap: 10px;
    padding: 14px 0;
}

.mobile-panel .nav-link {
    color: var(--color-ink);
}

.mobile-search {
    border: 1px solid rgba(236, 72, 153, 0.18);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(135deg, #ec4899 0%, #f43f5e 52%, #fb923c 100%);
}

.hero-bg-orb {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(4px);
}

.orb-one {
    top: -160px;
    right: 12%;
}

.orb-two {
    bottom: -210px;
    left: 4%;
}

.hero-shell {
    position: relative;
    max-width: 1280px;
    min-height: 660px;
    margin: 0 auto;
    padding: 86px 24px 74px;
}

.hero-slide {
    display: none;
    align-items: center;
    gap: 56px;
}

.hero-slide.active {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    color: #fff7c2;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.hero-copy h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    line-height: 1.03;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    color: var(--color-yellow);
    font-size: clamp(1.65rem, 3.2vw, 3.1rem);
    font-weight: 900;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.82;
}

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

.hero-tags span,
.detail-tags span,
.movie-tags span {
    display: inline-flex;
    padding: 7px 12px;
    color: #be185d;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 999px;
    background: #ffe4f1;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

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

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

.primary-button {
    color: var(--color-pink);
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.22);
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
}

.ghost-dark-button {
    color: var(--color-pink);
    border: 1px solid rgba(236, 72, 153, 0.26);
    background: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.ghost-dark-button:hover,
.section-action:hover {
    transform: translateY(-2px);
}

.hero-poster,
.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(190, 24, 93, 0.8), rgba(251, 146, 60, 0.92));
    box-shadow: 0 36px 86px rgba(17, 24, 39, 0.24);
}

.hero-poster {
    min-height: 420px;
    transform: rotate(2deg);
}

.hero-poster img,
.poster-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease, opacity 0.2s ease;
}

.hero-poster::after,
.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 26%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-poster span,
.poster-title,
.poster-meta {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
}

.hero-poster span,
.poster-title {
    bottom: 52px;
    font-size: 1.45rem;
    font-weight: 950;
}

.poster-meta {
    bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.poster-frame:hover img,
.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.hero-dots button {
    width: 36px;
    height: 10px;
    color: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.active {
    width: 64px;
    background: #ffffff;
}

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

.soft-section {
    padding-top: 36px;
}

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.section-action {
    min-width: 118px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-pink), var(--color-rose));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
}

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

.category-card,
.category-overview-card a {
    position: relative;
    display: block;
    min-height: 170px;
    overflow: hidden;
    padding: 22px;
    color: var(--color-ink);
    text-decoration: none;
    border: 1px solid rgba(236, 72, 153, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.category-card strong,
.category-overview-card span {
    display: block;
    margin-bottom: 12px;
    color: #be185d;
    font-size: 1.2rem;
    font-weight: 950;
}

.category-card small,
.category-overview-card strong {
    display: block;
    color: var(--color-muted);
    line-height: 1.75;
}

.category-card em,
.category-overview-card small {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    color: var(--color-rose);
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 800;
}

.category-card:hover,
.category-overview-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.category-glow {
    position: absolute;
    right: -32px;
    top: -36px;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(251, 146, 60, 0.28));
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(236, 72, 153, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-card .poster-frame {
    height: 300px;
    border-radius: 0;
    box-shadow: none;
}

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

.movie-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.movie-title {
    color: var(--color-ink);
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.35;
    text-decoration: none;
}

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

.score {
    flex: 0 0 auto;
    padding: 5px 9px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
}

.movie-one-line {
    display: -webkit-box;
    min-height: 54px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--color-muted);
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    color: #8a5b6f;
    font-size: 0.86rem;
}

.rank-badge {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    color: var(--color-pink);
    font-size: 1rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.22);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.18), transparent 35%), linear-gradient(135deg, #ec4899, #f43f5e, #fb923c);
}

.page-hero-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 96px 24px;
}

.small-hero .page-hero-content {
    padding: 76px 24px;
}

.page-hero h1,
.detail-info h1 {
    max-width: 880px;
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.page-hero p,
.detail-one-line {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.85;
}

.movie-list-grid {
    display: grid;
    gap: 18px;
}

.movie-card.list-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
}

.movie-card.list-card .poster-frame {
    height: 230px;
}

.detail-shell {
    position: relative;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 36%);
}

.tall-poster {
    min-height: 460px;
}

.detail-info {
    position: relative;
    align-self: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.breadcrumb a {
    color: #fff7c2;
    text-decoration: none;
}

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

.detail-meta span {
    padding: 9px 13px;
    color: #ffffff;
    font-weight: 850;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.player-section {
    padding: 54px 24px 20px;
    background: #111827;
}

.player-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.32);
}

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

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    min-height: 54px;
    padding: 0 28px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    box-shadow: 0 18px 40px rgba(236, 72, 153, 0.36);
    transform: translate(-50%, -50%);
}

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

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

.story-card {
    padding: 30px;
    border: 1px solid rgba(236, 72, 153, 0.1);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.story-card h2 {
    margin: 0 0 16px;
    color: #be185d;
    font-size: 1.45rem;
    font-weight: 950;
}

.story-card p {
    margin: 0;
    color: #4b5563;
    line-height: 2;
}

.big-search {
    max-width: 680px;
    margin-top: 30px;
}

.big-search input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
}

.big-search button {
    padding: 0 26px;
}

.sitemap-section {
    display: grid;
    gap: 32px;
}

.sitemap-group {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.sitemap-group h2 {
    margin: 0 0 20px;
    font-size: 1.4rem;
}

.sitemap-group h2 a {
    color: #be185d;
    text-decoration: none;
}

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

.sitemap-links a {
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--color-ink);
    text-decoration: none;
    border-radius: 12px;
    background: #fff7fb;
}

.sitemap-links a:hover {
    color: var(--color-pink);
    background: #ffe4f1;
}

.sitemap-links span {
    color: var(--color-muted);
    font-size: 0.82rem;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.4fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.28rem;
}

.footer-shell p {
    max-width: 420px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-links,
.footer-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: start;
}

.footer-links a,
.footer-cats a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-links a:hover,
.footer-cats a:hover {
    color: #f9a8d4;
}

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero-slide.active,
    .detail-shell,
    .detail-content,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        min-height: 360px;
        transform: none;
    }

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

@media (max-width: 680px) {
    .header-shell {
        min-height: 64px;
        padding: 0 16px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .hero-shell,
    .page-hero-content,
    .detail-shell,
    .content-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-shell {
        min-height: auto;
        padding-top: 58px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        letter-spacing: -0.04em;
    }

    .section-heading {
        display: grid;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .compact-grid,
    .ranking-grid,
    .sitemap-links,
    .movie-card.list-card {
        grid-template-columns: 1fr;
    }

    .movie-card .poster-frame {
        height: 250px;
    }

    .footer-shell {
        padding: 34px 16px;
    }
}
