:root {
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7fb;
    --color-pink: #ec4899;
    --color-orange: #f97316;
    --color-purple: #8b5cf6;
    --color-blue: #3b82f6;
    --shadow-soft: 0 18px 45px rgba(236, 72, 153, 0.14);
    --shadow-card: 0 12px 30px rgba(31, 41, 55, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fff1f7 0%, #ffffff 44%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 241, 247, 0.92), rgba(255, 247, 237, 0.92));
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.12);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.30);
    font-size: 15px;
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--color-pink), var(--color-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-weight: 650;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.header-search,
.mobile-search,
.search-page-form,
.category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.category-filter input,
.category-filter select,
.search-page-form select {
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    padding: 10px 16px;
    color: #374151;
    background: rgba(255, 255, 255, 0.88);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.category-filter input:focus,
.category-filter select:focus,
.search-page-form select:focus {
    border-color: #f9a8d4;
    box-shadow: 0 0 0 4px rgba(249, 168, 212, 0.28);
}

.header-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #374151;
}

.mobile-panel {
    border-top: 1px solid rgba(251, 207, 232, 0.85);
}

.mobile-panel-inner {
    display: grid;
    gap: 14px;
    padding: 18px 0 22px;
}

.mobile-nav-link {
    display: block;
    padding: 8px 0;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.20), transparent 34%), radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.20), transparent 36%), linear-gradient(135deg, #fff1f7, #ffffff 48%, #fff7ed);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
    align-items: center;
    min-height: 600px;
    gap: 52px;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.58;
}

.hero-glow-one {
    width: 240px;
    height: 240px;
    left: 8%;
    top: 90px;
    background: rgba(236, 72, 153, 0.22);
}

.hero-glow-two {
    width: 300px;
    height: 300px;
    right: 5%;
    bottom: 30px;
    background: rgba(249, 115, 22, 0.20);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #be185d;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.12);
    font-size: 14px;
    font-weight: 800;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #db2777, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: #4b5563;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.75;
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    box-shadow: 0 16px 30px rgba(236, 72, 153, 0.26);
}

.secondary-btn {
    color: #be185d;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.ghost-btn {
    color: #7c2d12;
    background: rgba(255, 247, 237, 0.90);
    border: 1px solid rgba(251, 146, 60, 0.28);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

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

.hero-badges span,
.detail-tags span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 13px;
    color: #374151;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.08);
    font-size: 14px;
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(124, 45, 18, 0.24);
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
}

.hero-slide-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #ffffff;
}

.hero-slide-content span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-content h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
}

.hero-slide-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-content a {
    display: inline-flex;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    font-weight: 850;
}

.hero-dots {
    position: absolute;
    right: 22px;
    top: 22px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.hero-dot.is-active {
    width: 26px;
    background: #ffffff;
}

.home-layout {
    display: grid;
    gap: 64px;
    padding: 56px 0 80px;
}

.content-section {
    position: relative;
}

.section-panel {
    padding: 32px;
    border-radius: 32px;
    box-shadow: var(--shadow-card);
}

.panel-blue {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.panel-purple {
    background: linear-gradient(135deg, #faf5ff, #fff1f7);
}

.panel-green {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

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

.section-heading > div {
    min-width: 0;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    font-size: 22px;
}

.section-heading h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.section-more {
    flex-shrink: 0;
    color: var(--color-pink);
    font-weight: 850;
}

.movie-grid,
.featured-grid,
.category-grid,
.category-overview-grid,
.compact-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link,
.movie-card > a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card-link:hover,
.movie-card > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(31, 41, 55, 0.16);
}

.movie-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fdf2f8, #ffedd5);
}

.movie-card-featured .movie-thumb {
    aspect-ratio: 3 / 4;
}

.movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

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

.movie-region,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.movie-region {
    right: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    color: #374151;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.rank-badge {
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #facc15, var(--color-orange));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

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

.movie-card h2,
.movie-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 9px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card-link:hover h2,
.movie-card-link:hover h3,
.movie-card > a:hover h2,
.movie-card > a:hover h3 {
    color: var(--color-pink);
}

.movie-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.62;
}

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
}

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

.movie-card-compact > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
}

.movie-card-compact img {
    width: 112px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.movie-card-compact h3,
.movie-card-compact h2 {
    margin: 0 0 5px;
    font-size: 15px;
}

.movie-card-compact p {
    margin: 0 0 6px;
    -webkit-line-clamp: 1;
}

.movie-card-compact span {
    color: #9f1239;
    font-size: 12px;
    font-weight: 700;
}

.category-tile,
.category-overview-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile {
    display: grid;
    justify-items: center;
    min-height: 160px;
    padding: 28px 18px;
    text-align: center;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(31, 41, 55, 0.16);
}

.category-tile span,
.category-overview-card span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 30px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
}

.category-tile strong,
.category-overview-card h2 {
    color: #1f2937;
    font-size: 20px;
}

.category-tile em {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
}

.tone-orange span:first-child,
.tone-orange.category-tile span,
.tone-orange .brand-icon {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.tone-blue span:first-child,
.tone-blue.category-tile span {
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

.tone-rose span:first-child,
.tone-rose.category-tile span {
    background: linear-gradient(135deg, #fb7185, #ec4899);
}

.tone-amber span:first-child,
.tone-amber.category-tile span {
    background: linear-gradient(135deg, #facc15, #f97316);
}

.tone-purple span:first-child,
.tone-purple.category-tile span {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.tone-green span:first-child,
.tone-green.category-tile span {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.tone-cyan span:first-child,
.tone-cyan.category-tile span {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
}

.page-hero {
    padding: 76px 0 70px;
    background: radial-gradient(circle at 10% 12%, rgba(236, 72, 153, 0.18), transparent 32%), radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.16), transparent 30%), linear-gradient(135deg, #fff1f7, #ffffff 52%, #fff7ed);
}

.compact-hero h1,
.category-hero h1,
.ranking-hero h1,
.search-hero h1 {
    font-size: clamp(38px, 6vw, 60px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: #be185d;
    font-weight: 750;
}

.breadcrumb strong {
    color: #374151;
    font-weight: 800;
}

.category-filter {
    flex-wrap: wrap;
    margin-top: 28px;
}

.category-filter input {
    min-width: min(100%, 320px);
}

.category-overview-grid {
    padding-bottom: 72px;
}

.category-overview-card > a {
    display: block;
    padding: 26px;
}

.category-overview-card h2 {
    margin: 0 0 12px;
}

.category-overview-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.72;
}

.category-mini-links {
    display: grid;
    gap: 8px;
    padding: 0 26px 26px;
}

.category-mini-links a {
    color: #be185d;
    font-size: 14px;
    font-weight: 700;
}

.category-movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: 70px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 30px;
    padding-bottom: 76px;
}

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

.ranking-side,
.detail-side {
    position: sticky;
    top: 92px;
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.ranking-side h2,
.detail-side h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

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

.search-page-form {
    flex-wrap: wrap;
    margin-top: 30px;
}

.search-page-form input {
    min-width: min(100%, 360px);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    filter: blur(2px);
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.64)), linear-gradient(0deg, rgba(17, 24, 39, 1), transparent 40%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 34px 0 52px;
}

.detail-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.72);
}

.detail-hero .breadcrumb a,
.detail-hero .breadcrumb strong {
    color: #ffffff;
}

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

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

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

.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

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

.detail-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-cloud span {
    color: #be185d;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
    padding: 42px 0 80px;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card,
.detail-block {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.player-card {
    overflow: hidden;
    padding: 12px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.24), rgba(0, 0, 0, 0.42));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
    box-shadow: 0 20px 48px rgba(236, 72, 153, 0.36);
    font-size: 28px;
    padding-left: 5px;
}

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

.detail-block {
    padding: 28px;
}

.detail-block h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.detail-block p {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.9;
}

.detail-block p:last-child {
    margin-bottom: 0;
}

.site-footer {
    color: #e5e7eb;
    background: #111827;
}

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

.footer-brand .brand-text {
    color: #ffffff;
}

.footer-text {
    max-width: 420px;
    margin: 18px 0 0;
    color: #9ca3af;
    line-height: 1.7;
}

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

.site-footer a:not(.brand) {
    display: block;
    margin: 9px 0;
    color: #d1d5db;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    color: #9ca3af;
    text-align: center;
    font-size: 14px;
}

.is-filter-hidden {
    display: none !important;
}

.empty-state {
    grid-column: 1 / -1;
    border-radius: 24px;
    padding: 40px;
    color: #6b7280;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    text-align: center;
}

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

    .menu-toggle {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 54px 0;
    }

    .hero-carousel {
        min-height: 390px;
    }

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

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

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

    .ranking-side,
    .detail-side {
        position: static;
    }
}

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

    .brand-text {
        font-size: 21px;
    }

    .hero-section,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        gap: 34px;
        padding: 44px 0;
    }

    .hero-actions,
    .hero-badges,
    .detail-tags,
    .tag-cloud {
        gap: 10px;
    }

    .hero-carousel {
        min-height: 360px;
        border-radius: 24px;
    }

    .section-panel {
        padding: 22px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .featured-grid,
    .movie-grid,
    .movie-grid.three-cols,
    .movie-grid.two-cols,
    .category-movie-grid,
    .ranking-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

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

    .detail-poster {
        width: min(220px, 70vw);
    }

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

@media (max-width: 520px) {
    .hero-copy h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .hero-copy p,
    .page-hero p {
        font-size: 17px;
    }

    .hero-slide-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .featured-grid,
    .movie-grid,
    .movie-grid.three-cols,
    .movie-grid.two-cols,
    .category-movie-grid,
    .ranking-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-compact img {
        width: 96px;
        height: 66px;
    }

    .page-hero {
        padding: 52px 0;
    }

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

    .detail-block {
        padding: 22px;
    }
}
