:root {
    --orange: #f97316;
    --orange-soft: #fed7aa;
    --pink: #db2777;
    --pink-soft: #fce7f3;
    --yellow: #facc15;
    --yellow-soft: #fef3c7;
    --text: #1f2937;
    --muted: #6b7280;
    --light: #fff7ed;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(249, 115, 22, 0.18);
    --deep-shadow: 0 24px 70px rgba(219, 39, 119, 0.24);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 45%, #fff1f2 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 247, 237, 0.96), rgba(253, 242, 248, 0.96), rgba(254, 249, 195, 0.96));
    border-bottom: 1px solid rgba(251, 146, 60, 0.22);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.12);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    max-width: 1240px;
    height: 76px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb923c, #ec4899);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.42rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #ea580c, #db2777, #ca8a04);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 2px;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ea580c;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.16);
}

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

.header-search input,
.mobile-search input,
.filter-search input {
    width: 220px;
    padding: 11px 16px;
    border: 2px solid rgba(251, 146, 60, 0.3);
    border-radius: 999px;
    outline: none;
    color: #374151;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus {
    border-color: rgba(236, 72, 153, 0.66);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #db2777);
    border-radius: 999px;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    color: #374151;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.14);
}

.mobile-nav {
    display: none;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px 18px;
    flex-direction: column;
    gap: 10px;
}

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

.mobile-nav a {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    font-weight: 800;
    color: #374151;
}

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: linear-gradient(90deg, #fb923c, #ec4899, #fde047);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 26%), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16), transparent 28%);
    z-index: 2;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(0deg, #fff7ed, transparent);
    z-index: 4;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center right;
    transition: opacity 0.7s ease, transform 1.2s ease;
    transform: scale(1.02);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    min-height: 610px;
    margin: 0 auto;
    padding: 74px 22px 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.hero-badge,
.kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff7c2;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    backdrop-filter: blur(12px);
}

.hero h1 {
    max-width: 780px;
    margin: 18px 0 16px;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    color: rgba(255, 255, 255, 0.93);
}

.hero-movie {
    max-width: 680px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 26px;
    background: rgba(17, 24, 39, 0.28);
    box-shadow: var(--deep-shadow);
    backdrop-filter: blur(20px);
}

.hero-movie span {
    color: #fde68a;
    font-weight: 900;
    font-size: 0.88rem;
}

.hero-movie strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(1.55rem, 4vw, 2.55rem);
    line-height: 1.1;
}

.hero-movie p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-meta,
.detail-meta,
.card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-meta em,
.detail-meta span,
.card-foot span {
    font-style: normal;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.primary-button,
.ghost-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #db2777);
    box-shadow: 0 16px 36px rgba(219, 39, 119, 0.28);
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.text-button {
    min-height: 40px;
    color: #ea580c;
    background: #fff7ed;
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.24);
}

.hero-thumbs {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 34px;
    width: min(1196px, calc(100% - 44px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.hero-thumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    padding: 8px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.3);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-3px);
}

.hero-thumb img {
    width: 44px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 68px 22px;
}

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

.section-heading .kicker,
.page-hero .kicker,
.detail-copy .kicker,
.category-panel .kicker {
    background: linear-gradient(135deg, #fff7ed, #fce7f3);
    color: #db2777;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2,
.text-panel h2 {
    margin: 10px 0 0;
    color: #111827;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-more {
    color: #ea580c;
    font-weight: 900;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.12);
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 24px;
    color: inherit;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.12);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 146, 60, 0.65);
    box-shadow: 0 24px 60px rgba(219, 39, 119, 0.18);
}

.poster {
    position: relative;
    display: block;
    height: 310px;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

.movie-card:hover .poster img,
.category-tile:hover img,
.leader-card:hover img,
.category-panel:hover img {
    transform: scale(1.08);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 62%);
    transition: opacity 0.3s ease;
}

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

.poster-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.35rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.poster-type,
.poster-year {
    position: absolute;
    z-index: 3;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.poster-type {
    right: 12px;
    background: #f97316;
}

.poster-year {
    left: 12px;
    background: rgba(17, 24, 39, 0.68);
}

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

.card-body strong {
    display: block;
    color: #1f2937;
    font-size: 1.08rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.movie-card:hover .card-body strong {
    color: #ea580c;
}

.card-line {
    display: -webkit-box;
    min-height: 44px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-foot span {
    background: #fff7ed;
    color: #7c2d12;
}

.meta-line {
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.88rem;
}

.card-tags,
.detail-tags,
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.card-tags span,
.detail-tags span,
.footer-tags span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #be185d;
    background: #fce7f3;
    font-size: 0.78rem;
    font-weight: 800;
}

.movie-card.horizontal {
    flex-direction: row;
    min-height: 170px;
}

.horizontal-poster {
    width: 145px;
    height: auto;
    min-height: 170px;
    flex: 0 0 145px;
}

.horizontal-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.movie-card.compact {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
}

.compact-poster {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 14px;
}

.compact-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.compact-info em {
    color: #6b7280;
    font-style: normal;
    font-size: 0.86rem;
}

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

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 26px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease;
}

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

.category-tile span {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.category-tile strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
}

.category-tile em {
    display: -webkit-box;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-style: normal;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 44px 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(249, 115, 22, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    box-shadow: 0 18px 38px rgba(219, 39, 119, 0.15);
}

.rank-number {
    color: #ea580c;
    font-weight: 1000;
    font-size: 1.1rem;
    text-align: center;
}

.rank-cover img {
    width: 62px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-text {
    min-width: 0;
}

.rank-text strong,
.rank-text em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-text strong {
    color: #1f2937;
    font-weight: 900;
}

.rank-text em,
.rank-score {
    color: #6b7280;
    font-style: normal;
    font-size: 0.9rem;
}

.rank-score {
    color: #ca8a04;
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 84px 22px;
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.page-hero > * {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(2.8rem, 8vw, 5.8rem);
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.soft-hero {
    color: #111827;
    background: radial-gradient(circle at 20% 15%, #fed7aa, transparent 38%), radial-gradient(circle at 84% 28%, #fbcfe8, transparent 32%), linear-gradient(135deg, #fff7ed, #ffffff 48%, #fff1f2);
}

.soft-hero h1 {
    color: #111827;
    text-shadow: none;
}

.soft-hero p {
    color: #6b7280;
}

.list-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 40px rgba(249, 115, 22, 0.11);
}

.large-tools {
    align-items: flex-start;
    flex-direction: column;
}

.filter-search.wide,
.filter-search.wide input {
    width: min(100%, 760px);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #7c2d12;
    background: #ffedd5;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.22s ease;
}

.chip.active,
.chip:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #db2777);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.2);
}

.empty-state {
    display: none;
    margin-top: 20px;
    padding: 22px;
    border-radius: 20px;
    color: #6b7280;
    background: #ffffff;
    text-align: center;
    font-weight: 800;
}

.empty-state.is-visible {
    display: block;
}

.category-panels {
    display: grid;
    gap: 22px;
}

.category-panel {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    overflow: hidden;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-panel-image {
    overflow: hidden;
    min-height: 220px;
    border-radius: 22px;
    background: #fed7aa;
}

.category-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-panel-body p {
    color: #6b7280;
}

.category-preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.category-preview-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: #be185d;
    background: #fce7f3;
    font-size: 0.86rem;
    font-weight: 800;
}

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

.leader-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--deep-shadow);
}

.leader-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease;
}

.leader-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.9), transparent 70%);
}

.leader-card strong,
.leader-card em,
.leader-card p,
.leader-rank {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
}

.leader-rank {
    top: 20px;
    right: auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #db2777);
    font-weight: 1000;
}

.leader-card strong {
    bottom: 116px;
    font-size: 1.55rem;
    line-height: 1.15;
}

.leader-card em {
    bottom: 88px;
    color: #fde68a;
    font-style: normal;
    font-weight: 900;
}

.leader-card p {
    bottom: 22px;
    display: -webkit-box;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.detail-hero {
    position: relative;
    min-height: 580px;
    color: #ffffff;
    overflow: hidden;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.8), transparent 52%);
}

.detail-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 22px 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.breadcrumb a:hover {
    color: #fde68a;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
}

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 7vw, 5.5rem);
    text-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.detail-one-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
}

.detail-tags span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.18);
}

.detail-section {
    padding-top: 48px;
}

.player-card {
    overflow: hidden;
    border-radius: 30px;
    background: #111827;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.28);
}

.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #050505;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(219, 39, 119, 0.16), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    background: rgba(255, 255, 255, 0.94);
    font-size: 2rem;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    text-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.detail-article {
    margin-top: 28px;
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-article h2 {
    font-size: 1.7rem;
}

.detail-article p,
.text-panel p {
    color: #4b5563;
    font-size: 1.04rem;
}

.text-section {
    display: grid;
    gap: 18px;
}

.text-panel {
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.site-footer {
    margin-top: 42px;
    background: linear-gradient(90deg, #ffedd5, #fce7f3, #fef3c7);
    border-top: 4px solid rgba(251, 146, 60, 0.45);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 22px 34px;
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand p,
.footer-column a,
.footer-bottom {
    color: #6b7280;
}

.footer-column h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(251, 146, 60, 0.36);
    color: #1f2937;
}

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

.footer-column a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
    color: #ea580c;
}

.footer-column a:hover {
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(251, 146, 60, 0.25);
    font-size: 0.92rem;
}

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

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-search input {
        width: 180px;
    }

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

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

    .hero-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .split-section,
    .wide-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .site-header-inner {
        height: auto;
        min-height: 68px;
        padding: 12px 16px;
    }

    .brand-subtitle,
    .header-search {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

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

    .hero-content {
        padding: 56px 16px 250px;
    }

    .hero-movie {
        padding: 18px;
    }

    .hero-thumbs {
        bottom: 22px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-thumb span {
        font-size: 0.85rem;
    }

    .section {
        padding: 48px 16px;
    }

    .section-heading,
    .list-tools,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .movie-grid,
    .dense-grid,
    .category-grid,
    .compact-grid,
    .leader-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .poster {
        height: 360px;
    }

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

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

    .page-hero {
        padding: 58px 16px;
    }

    .movie-card.horizontal {
        flex-direction: column;
    }

    .horizontal-poster {
        width: 100%;
        height: 260px;
        flex-basis: auto;
    }
}

@media (max-width: 480px) {
    .hero-thumbs {
        grid-template-columns: 1fr;
    }

    .hero-thumb:nth-child(n+4) {
        display: none;
    }

    .poster {
        height: 300px;
    }

    .rank-item {
        grid-template-columns: 34px 54px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }
}
