/* Generated static movie website styles. */
:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-600: #e11d48;
    --rose-700: #be123c;
    --amber-500: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 52%, var(--gray-50) 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-600), var(--amber-500));
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.brand:hover {
    color: var(--rose-600);
}

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

.nav-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #ffffff;
    color: var(--gray-800);
    outline: none;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--rose-600);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.09);
}

.nav-search button,
.mobile-search button,
.filter-panel button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--rose-600);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.filter-panel button:hover {
    background: var(--rose-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--rose-50);
    color: var(--rose-600);
    font-size: 22px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding: 14px 16px 18px;
    background: #ffffff;
}

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

.mobile-nav nav {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--gray-700);
    font-weight: 650;
}

.hero-carousel {
    position: relative;
    min-height: 500px;
    height: 70vh;
    overflow: hidden;
    background: linear-gradient(90deg, #881337, #78350f);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay,
.detail-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 660px;
    color: #ffffff;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.eyebrow {
    color: var(--rose-700);
    background: var(--rose-50);
}

.hero-copy h1 {
    margin: 22px 0 14px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 13px;
}

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

.btn {
    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, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-600), var(--rose-700));
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.28);
}

.btn.ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.btn.ghost.dark {
    color: var(--gray-800);
    border-color: var(--gray-200);
    background: #ffffff;
}

.btn.small {
    min-height: 38px;
    padding: 0 16px;
    color: #ffffff;
    background: var(--rose-600);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    font-size: 34px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-control.prev {
    left: 20px;
}

.hero-control.next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 6;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 28px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #ffffff;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}

.stat-strip div {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.stat-strip strong {
    display: block;
    color: var(--rose-600);
    font-size: 30px;
    line-height: 1;
}

.stat-strip span {
    display: block;
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 14px;
}

.content-section,
.ranking-block {
    margin: 64px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-copy h1 {
    margin: 10px 0 0;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

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

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.compact-card .poster-wrap {
    aspect-ratio: 16 / 10;
}

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

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

.poster-badge,
.rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--rose-600);
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    left: 10px;
    right: auto;
    background: rgba(17, 24, 39, 0.82);
}

.poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .poster-glow {
    opacity: 1;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 15px;
}

.card-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card:hover .card-body strong {
    color: var(--rose-600);
}

.card-body em {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-size: 12px;
}

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

.category-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-card img,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.22), rgba(17, 24, 39, 0.86));
}

.category-card strong,
.category-card em,
.category-card p {
    position: relative;
    z-index: 2;
    display: block;
}

.category-card strong {
    margin-top: 70px;
    font-size: 24px;
    font-weight: 900;
}

.category-card em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-style: normal;
}

.category-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.page-main {
    padding: 38px 0 70px;
}

.page-hero {
    padding: 36px;
    border: 1px solid rgba(225, 29, 72, 0.1);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.17), transparent 28%),
        linear-gradient(135deg, #ffffff, var(--rose-50));
    box-shadow: var(--shadow-soft);
}

.page-hero p {
    max-width: 820px;
    color: var(--gray-500);
    line-height: 1.8;
}

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

.overview-card,
.prose-card,
.side-card {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.overview-card h2,
.prose-card h2,
.side-card h2 {
    margin: 0 0 10px;
    color: var(--gray-900);
}

.overview-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

.overview-card span {
    color: var(--rose-600);
    font-weight: 800;
}

.overview-card ul,
.side-card ul {
    padding-left: 18px;
    color: var(--gray-700);
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gray-500);
    font-size: 14px;
}

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

.breadcrumb.light,
.breadcrumb.light a {
    color: rgba(255, 255, 255, 0.86);
}

.pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #ffffff;
    color: var(--gray-700);
    font-weight: 750;
}

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

.pill-link.is-current {
    color: #ffffff;
    border-color: var(--rose-600);
    background: var(--rose-600);
}

.pill-link.is-current span {
    color: #ffffff;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 14px;
    align-items: end;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-panel label span {
    display: block;
    margin: 0 0 8px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

.filter-panel p {
    margin: 0;
    color: var(--gray-500);
    font-size: 14px;
}

.filter-panel strong {
    color: var(--rose-600);
    font-size: 20px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 56px 74px minmax(0, 1fr) 76px;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
    transform: translateY(-3px);
    border-color: var(--rose-200, #fecdd3);
}

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

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

.ranking-info strong,
.ranking-info em,
.ranking-info small {
    display: block;
}

.ranking-info strong {
    color: var(--gray-900);
    font-size: 17px;
}

.ranking-info em {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-info small {
    color: var(--gray-500);
}

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

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: var(--gray-900);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 38px 0 58px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    min-height: 470px;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
}

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

.detail-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.detail-info li {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.detail-info strong {
    flex: 0 0 52px;
    color: rgba(255, 255, 255, 0.66);
}

.detail-info span,
.detail-info a {
    color: #ffffff;
}

.player-section {
    margin: 62px auto;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000000;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.68));
    font-size: 18px;
    font-weight: 850;
    cursor: pointer;
}

.play-overlay.is-hidden {
    display: none;
}

.play-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: var(--rose-600);
    box-shadow: 0 18px 38px rgba(225, 29, 72, 0.4);
    font-size: 34px;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(17, 24, 39, 0.72);
    font-size: 13px;
}

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

.prose-card p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.95;
}

.side-card ul {
    padding: 0;
    list-style: none;
}

.side-card li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.side-card strong {
    flex: 0 0 52px;
    color: var(--gray-500);
}

.side-card a {
    color: var(--rose-600);
    font-weight: 750;
}

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

.sitemap-columns {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 26px;
    margin-top: 26px;
}

.sitemap-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.sitemap-list a {
    color: var(--gray-800);
    font-weight: 700;
}

.sitemap-list a:hover {
    color: var(--rose-600);
}

.sitemap-list span {
    color: var(--gray-500);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .desktop-nav {
        display: none;
    }

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

    .nav-search {
        margin-left: auto;
    }

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

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

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

    .nav-search {
        display: none;
    }

    .hero-carousel {
        height: 72vh;
        min-height: 560px;
    }

    .hero-content {
        align-items: end;
        padding-bottom: 74px;
    }

    .hero-control {
        display: none;
    }

    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 18px;
    }

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

    .movie-grid.large-grid,
    .movie-grid,
    .related-grid,
    .overview-grid,
    .category-grid,
    .detail-content,
    .sitemap-columns {
        grid-template-columns: 1fr;
    }

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

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

    .detail-poster {
        max-width: 260px;
    }

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

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

    .ranking-row img {
        width: 58px;
        height: 76px;
    }

    .ranking-score {
        display: none;
    }
}

@media (max-width: 520px) {
    .brand-text {
        max-width: 7em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-copy h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .stat-strip {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 24px;
    }
}
