* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #2d1f26;
    background: linear-gradient(135deg, #fff1f5 0%, #fff7ed 46%, #fff1f2 100%);
    min-height: 100vh;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #db2777 0%, #f43f5e 52%, #f97316 100%);
    box-shadow: 0 16px 40px rgba(190, 24, 93, 0.24);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    color: #db2777;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}

.brand-name {
    font-size: 22px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    font-weight: 700;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #fef08a;
    opacity: 1;
}

.top-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #3f1d2d;
    padding: 12px 16px;
    box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.24);
}

.top-search input {
    width: 190px;
}

.top-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 800;
    color: #be185d;
    background: #ffffff;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    padding: 14px 20px 20px;
    color: #3f1d2d;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(244, 114, 182, 0.25);
}

.mobile-panel nav {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.hero-shell {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(115deg, #db2777, #f43f5e 48%, #fb923c);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.25), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(254, 240, 138, 0.28), transparent 32%),
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.12));
}

.hero-stage {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 560px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 56px;
    padding: 72px 0 96px;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #9f1239;
    background: rgba(255, 255, 255, 0.86);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 66px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 16px 0 0;
    font-size: clamp(24px, 4vw, 42px);
    color: #fef08a;
}

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

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #be185d;
    background: #fff7ed;
}

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

.primary-button,
.ghost-button,
.text-link,
.section-more,
.list-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 14px 26px;
    color: #be185d;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.24);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover,
.section-more:hover,
.list-action:hover {
    transform: translateY(-2px);
}

.ghost-button {
    padding: 13px 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
}

.hero-poster,
.detail-cover {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(66, 11, 33, 0.38);
    transform: rotate(2deg);
}

.hero-poster::after,
.detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.42));
}

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

.hero-controls {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 38px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

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

.featured-strip {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: -80px auto 0;
}

.content-section,
.soft-panel,
.detail-content,
.watch-panel {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 62px 0;
}

.soft-panel {
    width: 100%;
    padding: 62px max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(90deg, rgba(255, 237, 213, 0.9), rgba(252, 231, 243, 0.9), rgba(255, 228, 230, 0.9));
}

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    color: #3f1d2d;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(244, 63, 94, 0.18);
}

.section-more,
.text-link,
.list-action {
    color: #db2777;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(190, 24, 93, 0.13);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(190, 24, 93, 0.22);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fecdd3, #fed7aa);
}

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

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

.card-year,
.rank-number {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    background: rgba(190, 24, 93, 0.9);
    backdrop-filter: blur(12px);
}

.card-year {
    right: 12px;
}

.rank-number {
    left: 12px;
    background: rgba(249, 115, 22, 0.92);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.card-meta,
.list-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #8a4863;
    font-size: 13px;
    font-weight: 800;
}

.card-body h2,
.list-content h2,
.story-card h2,
.watch-panel h2 {
    margin: 10px 0 8px;
    color: #3f1d2d;
    font-size: 20px;
    line-height: 1.25;
}

.card-body h2 a:hover,
.list-content h2 a:hover,
.inline-links a:hover,
.category-overview-card h2 a:hover {
    color: #db2777;
}

.card-body p,
.list-content p,
.story-card p,
.category-overview-card p {
    margin: 0;
    color: #6b4052;
    line-height: 1.7;
}

.card-body .text-link {
    margin-top: auto;
    padding-top: 16px;
}

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

.list-card {
    display: grid;
    grid-template-columns: auto 96px 1fr auto;
    align-items: center;
    gap: 18px;
    border-radius: 22px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 36px rgba(190, 24, 93, 0.11);
}

.list-rank {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 950;
    background: linear-gradient(135deg, #db2777, #f97316);
}

.list-cover {
    border-radius: 16px;
    overflow: hidden;
}

.list-cover img {
    width: 96px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.list-action {
    padding: 12px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #db2777, #f97316);
}

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

.category-tile {
    position: relative;
    display: grid;
    place-items: end start;
    min-height: 170px;
    overflow: hidden;
    border-radius: 24px;
    padding: 18px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
    box-shadow: 0 18px 46px rgba(190, 24, 93, 0.16);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.66));
}

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

.category-tile:hover img {
    transform: scale(1.07);
}

.category-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 26px;
    padding: 26px 30px;
    margin-bottom: 24px;
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(190, 24, 93, 0.16);
}

.category-band h2 {
    margin: 0;
    font-size: 30px;
}

.category-band.pink {
    background: linear-gradient(90deg, #db2777, #f43f5e);
}

.category-band.orange {
    background: linear-gradient(90deg, #f97316, #f59e0b);
}

.category-band.rose {
    background: linear-gradient(90deg, #e11d48, #db2777);
}

.category-band.red {
    background: linear-gradient(90deg, #ef4444, #f43f5e);
}

.cta-section,
.page-hero,
.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
    border-radius: 34px;
    color: #ffffff;
    background: linear-gradient(115deg, #db2777, #f43f5e 50%, #f97316);
    box-shadow: 0 28px 70px rgba(190, 24, 93, 0.24);
}

.cta-section {
    padding: 58px 24px;
    text-align: center;
}

.cta-section h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-section p {
    margin: 14px auto 24px;
    max-width: 660px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.compact-hero {
    padding: 52px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(190, 24, 93, 0.12);
}

.overview-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
}

.overview-thumbs img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 14px;
    padding: 18px;
    margin-bottom: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 38px rgba(190, 24, 93, 0.12);
}

.filter-panel input,
.filter-panel select {
    min-height: 48px;
}

.empty-state {
    padding: 30px;
    border-radius: 22px;
    text-align: center;
    color: #8a4863;
    background: rgba(255, 255, 255, 0.86);
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #8a4863;
    font-weight: 800;
}

.breadcrumb a {
    color: #db2777;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
    align-items: center;
    padding: 46px;
}

.detail-cover {
    transform: none;
}

.watch-panel h2 {
    margin-bottom: 18px;
    font-size: 30px;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #120a10;
    box-shadow: 0 26px 60px rgba(31, 13, 22, 0.3);
}

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

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: #000000;
    cursor: pointer;
}

.play-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.play-cover.hide {
    display: none;
}

.play-pulse {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    color: #db2777;
    font-size: 36px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.16);
}

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

.story-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(190, 24, 93, 0.11);
}

.inline-links p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inline-links a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: #db2777;
    background: #fff1f2;
    font-weight: 800;
}

.site-footer {
    margin-top: 64px;
    color: #f8fafc;
    background: linear-gradient(90deg, #1f2937, #111827, #0f172a);
}

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

.footer-brand {
    font-size: 22px;
    color: #ffffff;
}

.site-footer p {
    color: #cbd5e1;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    color: #cbd5e1;
}

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

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

    .menu-toggle {
        display: block;
    }

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

    .hero-poster,
    .detail-cover {
        max-width: 360px;
        transform: none;
    }

    .three-cols,
    .four-cols,
    .category-grid,
    .category-overview-grid,
    .detail-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .brand-name {
        font-size: 18px;
    }

    .hero-shell,
    .hero-stage {
        min-height: 760px;
    }

    .hero-slide {
        gap: 28px;
        padding: 44px 0 96px;
    }

    .hero-controls {
        left: 0;
        bottom: 32px;
    }

    .featured-strip {
        margin-top: -42px;
    }

    .three-cols,
    .four-cols,
    .category-grid,
    .category-overview-grid,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .list-card {
        grid-template-columns: 72px 1fr;
    }

    .list-rank,
    .list-action {
        display: none;
    }

    .list-cover img {
        width: 72px;
    }

    .compact-hero,
    .detail-hero {
        padding: 30px 22px;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .content-section,
    .soft-panel,
    .watch-panel,
    .detail-content {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}
