/* Static movie site theme generated from the uploaded light gradient movie UI. */
:root {
    --pink: #ec4899;
    --pink-dark: #be185d;
    --orange: #f97316;
    --yellow: #eab308;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --soft-pink: #fdf2f8;
    --line: #f3e8ff;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(190, 24, 93, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(236, 72, 153, 0.10), transparent 28rem),
        radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.12), transparent 30rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 26%, #fdf2f8 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--orange), var(--yellow));
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.45);
}

.brand-name {
    font-size: 24px;
    background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #374151;
    font-weight: 650;
}

.desktop-nav a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: #374151;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
    color: var(--pink);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: grid;
    width: 180px;
    padding: 10px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 9px 12px;
    border-radius: 10px;
}

.nav-dropdown-menu a:hover {
    background: #fdf2f8;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(310px, 30vw);
    border-radius: 999px;
    background: #f3f4f6;
    overflow: hidden;
}

.header-search input,
.mobile-menu input,
.search-large-form input,
.filter-panel input,
.filter-panel select,
.search-tools select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.header-search input {
    padding: 11px 78px 11px 16px;
}

.header-search button,
.mobile-menu button,
.search-large-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

.mobile-menu-button {
    display: none;
    border: 0;
    color: var(--pink);
    background: transparent;
    font-size: 28px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #fce7f3;
    padding: 14px 16px 18px;
    background: white;
}

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

.mobile-menu form {
    position: relative;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #f3f4f6;
}

.mobile-menu input {
    padding: 12px 82px 12px 16px;
}

.mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-menu nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7ed;
}

.hero-section {
    padding: 32px 0 58px;
}

.hero-shell {
    position: relative;
    min-height: 500px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(190, 24, 93, 0.28);
    background: linear-gradient(110deg, var(--pink), var(--orange), var(--yellow));
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.26) 0, transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.18) 0, transparent 42%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.45), rgba(249, 115, 22, 0.25));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 44px 22px;
    color: white;
    text-align: center;
}

.hero-kicker {
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-content h1 {
    margin: 0;
    max-width: 880px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    text-shadow: 0 10px 28px rgba(88, 28, 135, 0.26);
    animation: heroPulse 2.6s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.78; }
}

.hero-copy {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    color: var(--pink-dark);
    background: white;
    box-shadow: 0 12px 34px rgba(255, 255, 255, 0.24);
}

.secondary-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
}

.hero-mini-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.hero-mini-card {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(88, 28, 135, 0.24);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-mini-card:hover {
    transform: scale(1.08);
    box-shadow: 0 26px 48px rgba(88, 28, 135, 0.34);
}

.hero-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.hero-mini-card:hover img {
    transform: scale(1.12);
}

.hero-mini-card span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 14px;
    color: white;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.42);
}

.content-section {
    margin-bottom: 64px;
}

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

.section-title-row h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
}

.section-title-row p {
    margin: 8px 0 0;
    color: var(--muted);
}

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

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

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.10);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 45px rgba(236, 72, 153, 0.18);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #fce7f3;
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.58));
}

.duration-badge,
.category-badge {
    position: absolute;
    top: 10px;
    z-index: 1;
    padding: 4px 9px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.duration-badge {
    right: 10px;
    background: rgba(17, 24, 39, 0.72);
}

.category-badge {
    left: 10px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

.movie-card-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.movie-card-body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
}

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

.movie-meta {
    color: #9ca3af;
    font-size: 13px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.rank-card {
    position: sticky;
    top: 86px;
    align-self: start;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #fff, #fff7ed);
    box-shadow: var(--shadow);
}

.rank-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rank-head span {
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-size: 12px;
    font-weight: 900;
}

.rank-head h2 {
    margin: 0;
}

.rank-item {
    display: grid;
    grid-template-columns: 30px 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #fde7f3;
}

.rank-number {
    color: var(--pink);
    font-size: 18px;
    font-weight: 900;
}

.rank-item img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-info {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.rank-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discover-panel,
.page-hero {
    margin-bottom: 58px;
    padding: 38px;
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(110deg, rgba(252, 231, 243, 0.9), rgba(255, 237, 213, 0.9), rgba(254, 249, 195, 0.9));
    box-shadow: var(--shadow);
}

.discover-panel h2,
.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.discover-panel p,
.page-hero p {
    margin: 0 auto;
    max-width: 780px;
    color: var(--muted);
    line-height: 1.8;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.10);
    font-weight: 800;
    transition: transform 0.2s ease;
}

.pill-link:hover {
    transform: translateY(-3px);
    color: var(--pink);
}

.pill-link span {
    color: var(--orange);
}

.page-main {
    padding: 32px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

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

.small-hero {
    text-align: left;
}

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

.category-tile {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    min-height: 150px;
    padding: 18px;
    border-radius: 26px;
    background: white;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
}

.category-covers {
    position: relative;
    display: block;
    min-height: 116px;
}

.category-covers img {
    position: absolute;
    width: 88px;
    height: 116px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.category-covers img:nth-child(1) { left: 0; top: 14px; z-index: 3; }
.category-covers img:nth-child(2) { left: 42px; top: 0; z-index: 2; }
.category-covers img:nth-child(3) { left: 78px; top: 20px; z-index: 1; }

.category-tile-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.category-tile-body strong {
    font-size: 24px;
}

.category-tile-body em {
    margin: 7px 0;
    color: var(--pink);
    font-style: normal;
    font-weight: 800;
}

.category-tile-body small {
    color: var(--muted);
}

.filter-panel,
.search-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 18px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.10);
}

.filter-panel input,
.filter-panel select,
.search-tools select {
    width: auto;
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    background: #fff7ed;
}

.filter-panel input {
    flex: 1 1 320px;
}

.filter-count {
    margin-left: auto;
    color: var(--pink);
    font-weight: 800;
}

.empty-state {
    padding: 28px;
    border-radius: 20px;
    color: var(--muted);
    text-align: center;
    background: white;
}

.ranking-list {
    display: grid;
    gap: 12px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 56px 74px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.08);
}

.ranking-row:hover {
    transform: translateX(4px);
}

.ranking-index {
    color: var(--pink);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.ranking-row img {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    object-fit: cover;
}

.ranking-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.ranking-main strong,
.ranking-main em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-main em {
    color: var(--muted);
    font-style: normal;
}

.ranking-score {
    justify-self: end;
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-weight: 900;
}

.search-panel {
    display: grid;
}

.search-large-form {
    position: relative;
    width: 100%;
    border-radius: 999px;
    background: #f3f4f6;
}

.search-large-form input {
    padding: 16px 110px 16px 20px;
}

.search-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-summary {
    margin: 0;
    color: var(--muted);
}

.detail-main {
    max-width: 1180px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 34px;
    margin-bottom: 48px;
    padding: 28px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 22px 50px rgba(17, 24, 39, 0.16);
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.detail-kicker {
    color: var(--pink);
    font-weight: 900;
}

.detail-info h1 {
    margin: 12px 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
}

.detail-one-line {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.detail-meta-grid span {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 16px;
    background: #fff7ed;
}

.detail-meta-grid strong {
    color: var(--muted);
    font-size: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.tag-list span {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--pink-dark);
    background: #fce7f3;
    font-size: 13px;
    font-weight: 800;
}

.player-section {
    margin-bottom: 48px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.28);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 0;
    color: white;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.74), rgba(190, 24, 93, 0.55));
    cursor: pointer;
}

.play-overlay[hidden] {
    display: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    color: var(--pink-dark);
    background: white;
    box-shadow: 0 0 34px rgba(255, 255, 255, 0.4);
    font-size: 28px;
}

.play-overlay strong {
    font-size: 22px;
}

.play-overlay small {
    color: #fef3c7;
}

.player-message {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    color: #fef3c7;
    font-size: 14px;
}

.article-section {
    padding: 28px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
}

.article-section h2 {
    margin: 0 0 12px;
}

.article-section h2:not(:first-child) {
    margin-top: 28px;
}

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

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

.sitemap-group {
    padding: 22px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.10);
}

.sitemap-group h2 {
    margin: 0 0 14px;
}

.sitemap-group ul {
    display: grid;
    max-height: 380px;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
    gap: 7px;
}

.sitemap-group a:hover {
    color: var(--pink);
}

.site-footer {
    color: white;
    background: linear-gradient(90deg, #831843, #9a3412, #854d0e);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 44px 0;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #fce7f3;
}

.site-footer h3 {
    margin: 0 0 14px;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #fde68a;
    text-align: center;
}

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

    .mobile-menu-button {
        display: inline-block;
    }

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

    .split-section,
    .detail-hero,
    .footer-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .rank-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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

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

    .hero-mini-card {
        width: 118px;
        height: 118px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 260px);
    }

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

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

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

    .category-covers {
        min-height: 148px;
    }

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

    .ranking-row {
        grid-template-columns: 44px 62px minmax(0, 1fr);
    }

    .ranking-score {
        display: none;
    }

    .filter-count {
        width: 100%;
        margin-left: 0;
    }

    .filter-panel input,
    .filter-panel select,
    .search-tools select {
        width: 100%;
    }
}
