:root {
    --sand-50: #faf8f3;
    --sand-100: #f4efe7;
    --sand-200: #ddd8cf;
    --stone-50: #fbfaf8;
    --stone-100: #eeebe6;
    --stone-300: #b8b0a4;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --purple-600: #9333ea;
    --desert-500: #d4844b;
    --desert-600: #c66a3f;
    --white: #ffffff;
    --shadow-sand: 0 10px 30px -5px rgba(184, 144, 89, 0.20);
    --shadow-desert: 0 20px 50px -12px rgba(212, 132, 75, 0.35);
    --radius-lg: 18px;
    --radius-xl: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--stone-800);
    background: var(--sand-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-solid,
.site-header.is-scrolled {
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sand);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 12px 26px rgba(225, 29, 72, 0.30);
}

.logo-mark svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--rose-600), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: var(--stone-600);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    color: var(--stone-700);
    font-size: 14px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.header-on-hero:not(.is-scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--desert-500);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--desert-600);
}

.header-on-hero:not(.is-scrolled) .nav-link:hover,
.header-on-hero:not(.is-scrolled) .nav-link.is-active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-search-trigger {
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    font-size: 14px;
    font-weight: 850;
    box-shadow: 0 10px 22px rgba(225, 29, 72, 0.24);
}

.header-on-hero:not(.is-scrolled) .nav-search-trigger {
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--stone-700);
}

.header-on-hero:not(.is-scrolled) .mobile-menu-button span {
    background: var(--white);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 10px;
    border: 1px solid rgba(221, 216, 207, 0.75);
    border-radius: 18px;
    background: rgba(250, 248, 243, 0.98);
    box-shadow: var(--shadow-sand);
}

.mobile-nav.is-open {
    display: grid;
    gap: 4px;
}

.mobile-nav .nav-link {
    padding: 11px 14px;
    border-radius: 12px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.is-active {
    background: #f9ede0;
}

.global-search {
    position: fixed;
    top: 84px;
    left: 50%;
    z-index: 999;
    width: min(680px, calc(100% - 32px));
    transform: translateX(-50%);
    pointer-events: none;
}

.global-search input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(221, 216, 207, 0.90);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sand);
    outline: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.global-search.is-visible input,
.global-search:focus-within input,
.global-search input:not(:placeholder-shown) {
    opacity: 1;
    transform: translateY(0);
}

.search-results {
    max-height: 420px;
    margin-top: 10px;
    overflow: auto;
    border: 1px solid rgba(221, 216, 207, 0.90);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-desert);
    pointer-events: auto;
}

.search-result-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--stone-100);
}

.search-result-item:last-child {
    border-bottom: 0;
}

.search-result-item img {
    width: 72px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--stone-100);
}

.search-result-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--stone-800);
}

.search-result-item span {
    color: var(--stone-600);
    font-size: 13px;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    padding: 118px 0 52px;
    color: var(--white);
    background: linear-gradient(135deg, #e11d48 0%, #9333ea 54%, #ec4899 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
        radial-gradient(circle at 82% 64%, rgba(255, 255, 255, 0.16), transparent 30%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(54px);
}

.hero-glow-one {
    top: 76px;
    left: 8%;
    width: 260px;
    height: 260px;
}

.hero-glow-two {
    right: 6%;
    bottom: 80px;
    width: 380px;
    height: 380px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-slide {
    position: relative;
    display: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
    gap: 48px;
    align-items: center;
    min-height: 490px;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 28px 80px rgba(28, 25, 23, 0.25);
    backdrop-filter: blur(16px);
}

.hero-slide.is-active {
    display: grid;
    animation: fadeSlide 0.45s ease both;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(20, 15, 28, 0.86), rgba(20, 15, 28, 0.36)), var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    transform: scale(1.05);
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 14px;
}

.hero-kicker strong {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.84);
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 12px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero h2 {
    margin: 0 0 14px;
    color: #ffe4ef;
    font-size: clamp(26px, 4vw, 44px);
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
    line-height: 1.8;
}

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

.tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff1f5;
    background: rgba(244, 63, 94, 0.85);
    font-size: 13px;
    font-weight: 650;
}

.detail-tags .tag-pill,
.movie-card-body .tag-pill {
    color: var(--desert-600);
    background: #f9ede0;
}

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

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

.primary-button {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.30);
}

.ghost-button {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-desert);
}

.hero-poster {
    display: block;
    max-width: 390px;
    justify-self: end;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-4px);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.hero-search-panel {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-search-panel strong {
    display: block;
    font-size: 18px;
}

.hero-search-panel span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.hero-search input {
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: var(--rose-600);
    background: var(--white);
    font-weight: 800;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: var(--white);
}

.page-main {
    padding-top: 76px;
}

.content-section {
    padding: 72px 0;
}

.lifted-section {
    position: relative;
    z-index: 2;
    margin-top: -82px;
}

.section-white {
    background: var(--white);
}

.section-split {
    background: linear-gradient(135deg, var(--stone-50), var(--stone-100));
}

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

.section-heading span,
.page-kicker {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.ranking-panel-head h2 {
    margin: 0;
    color: var(--stone-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--stone-600);
    line-height: 1.75;
}

.section-more {
    color: var(--desert-600);
    background: #f9ede0;
}

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

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

.compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.ranking-grid .movie-card:nth-child(-n + 3) {
    outline: 2px solid rgba(244, 63, 94, 0.20);
}

.movie-card {
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sand);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-link {
    display: block;
    height: 100%;
}

.movie-cover {
    position: relative;
    overflow: hidden;
    background: var(--stone-100);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.featured-card .movie-cover img {
    aspect-ratio: 21 / 10;
}

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

.type-badge,
.rank-badge,
.category-count {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 9px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    left: auto;
    right: 12px;
    min-width: 30px;
    text-align: center;
    background: rgba(28, 25, 23, 0.72);
}

.play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-card-body h3 {
    margin: 0 0 9px;
    color: var(--stone-800);
    font-size: 18px;
    line-height: 1.35;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

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

.movie-card-body p {
    min-height: 46px;
    margin: 0 0 14px;
    color: var(--stone-600);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--stone-600);
    font-size: 12px;
}

.movie-meta-row span:first-child {
    flex: 0 0 auto;
    max-width: 46%;
    padding: 5px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 8px;
    background: var(--stone-100);
}

.movie-meta-row span:last-child {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
}

.horizontal-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 2px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.scroll-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.82)), var(--tile-image);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sand);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-desert);
}

.category-tile .category-count {
    position: static;
    align-self: flex-start;
    margin-bottom: 42px;
    background: rgba(244, 63, 94, 0.86);
}

.category-tile h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

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

.ranking-panel {
    align-self: start;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sand);
}

.ranking-panel-head {
    margin-bottom: 18px;
}

.ranking-panel-head span {
    color: var(--rose-600);
    font-weight: 850;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 32px 70px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.ranking-row:hover {
    background: var(--sand-100);
}

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

.ranking-row img {
    width: 70px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--stone-100);
}

.ranking-info {
    min-width: 0;
}

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

.ranking-info strong {
    color: var(--stone-800);
    font-size: 14px;
}

.ranking-info em {
    margin-top: 4px;
    color: var(--stone-600);
    font-size: 12px;
    font-style: normal;
}

.site-footer {
    background: #211a22;
    color: rgba(255, 255, 255, 0.78);
}

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

.footer-logo .brand-name {
    color: var(--white);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p {
    margin: 16px 0 0;
    line-height: 1.75;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.footer-links span {
    color: #ffc1d4;
    font-size: 12px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 70px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600));
}

.small-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
}

.small-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
}

.page-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.category-overview-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sand);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-image {
    min-height: 165px;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.10), rgba(28, 25, 23, 0.52)), var(--tile-image);
    background-size: cover;
    background-position: center;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body span {
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
}

.category-overview-body h2 {
    margin: 8px 0;
    color: var(--stone-800);
    font-size: 24px;
}

.category-overview-body p {
    margin: 0;
    color: var(--stone-600);
    line-height: 1.7;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sand);
}

.filter-search label,
.filter-selects label {
    display: grid;
    gap: 7px;
    color: var(--stone-700);
    font-size: 13px;
    font-weight: 750;
}

.filter-search input,
.filter-selects select {
    min-height: 44px;
    border: 1px solid var(--sand-200);
    border-radius: 13px;
    padding: 0 12px;
    color: var(--stone-800);
    background: var(--sand-50);
    outline: none;
}

.filter-selects {
    display: flex;
    gap: 12px;
}

.filter-count {
    color: var(--stone-600);
    font-size: 14px;
    white-space: nowrap;
}

.filter-count strong {
    color: var(--rose-600);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    color: var(--white);
    background: #1c1917;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(28, 25, 23, 0.94), rgba(28, 25, 23, 0.68)), var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.02);
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--stone-100);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--white);
}

.detail-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
}

.detail-intro p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.detail-intro .primary-button {
    margin-top: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #050505;
    box-shadow: var(--shadow-desert);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(244, 63, 94, 0.28), rgba(0, 0, 0, 0.62));
}

.player-start span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 32px;
}

.player-start strong {
    font-size: 24px;
}

.player-start em {
    color: rgba(255, 255, 255, 0.74);
    font-style: normal;
}

.player-shell.is-playing .player-start {
    display: none;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--white);
    background: rgba(28, 25, 23, 0.72);
    display: none;
}

.player-message:not(:empty) {
    display: block;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

.detail-article,
.detail-side {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sand);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 16px;
    color: var(--stone-800);
    font-size: 26px;
}

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

.detail-article p {
    margin: 0;
    color: var(--stone-700);
    font-size: 16px;
    line-height: 1.95;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--stone-100);
}

.info-list dt {
    color: var(--stone-600);
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    color: var(--stone-800);
}

.info-list a {
    color: var(--rose-600);
    font-weight: 800;
}

.detail-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.detail-nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--desert-600);
    background: #f9ede0;
    font-weight: 800;
}

.side-related-list {
    display: grid;
    gap: 14px;
}

.side-related-list a {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--sand-50);
}

.side-related-list img {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--stone-100);
}

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

.side-related-list strong {
    color: var(--stone-800);
}

.side-related-list em {
    margin-top: 5px;
    color: var(--stone-600);
    font-size: 13px;
    font-style: normal;
}

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

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

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

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

    .hero-poster {
        width: min(360px, 100%);
        justify-self: start;
    }

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

    .ranking-panel {
        order: -1;
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: 66px;
    }

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

    .brand-subtitle {
        display: none;
    }

    .page-main {
        padding-top: 66px;
    }

    .global-search {
        top: 72px;
    }

    .hero {
        min-height: auto;
        padding: 94px 0 38px;
    }

    .hero-slide {
        min-height: auto;
        padding: 24px;
        border-radius: 26px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p,
    .detail-intro p,
    .small-hero p {
        font-size: 16px;
    }

    .hero-search-panel,
    .hero-search,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-selects {
        flex-direction: column;
    }

    .content-section {
        padding: 48px 0;
    }

    .lifted-section {
        margin-top: -30px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        margin-top: 18px;
    }

    .featured-grid,
    .movie-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .scroll-card {
        flex-basis: 82vw;
    }

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

    .detail-hero {
        padding: 46px 0;
    }

    .detail-article,
    .detail-side {
        padding: 22px;
    }

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

    .footer-inner {
        padding: 34px 0;
    }
}
