:root {
    --primary: #ea580c;
    --primary-dark: #c2410c;
    --dark: #111827;
    --muted: #6b7280;
    --paper: #ffffff;
    --warm: #fefce8;
    --line: #e5e7eb;
    --soft-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    --hover-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

* {
    box-sizing: border-box;
}

body.site-body {
    margin: 0;
    background: var(--warm);
    color: #1f2937;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

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

.header-inner,
.nav-chips-inner,
.footer-inner,
.content-section,
.search-panel {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #fb923c);
    box-shadow: 0 12px 22px rgba(234, 88, 12, 0.24);
}

.brand-svg,
.menu-svg,
.section-svg,
.search-svg,
.button-svg,
.poster-play-icon,
.player-play-svg,
.back-svg {
    width: 20px;
    height: 20px;
}

.brand-name {
    font-size: 20px;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: #4b5563;
    font-weight: 650;
    transition: color 0.2s ease;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #4b5563;
    background: #f9fafb;
}

.nav-chips {
    border-top: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-chips-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 9px 0;
}

.nav-chip {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 999px;
    color: #78350f;
    background: #ffedd5;
    font-size: 13px;
    font-weight: 700;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 10px 16px 16px;
    background: #ffffff;
}

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

.mobile-nav-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: #4b5563;
    font-weight: 650;
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
    color: var(--primary);
    background: #fff7ed;
}

.site-main {
    min-height: 60vh;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #111827, #7c2d12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 35%, rgba(234, 88, 12, 0.16), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1280px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-meta span,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.92);
    font-size: 14px;
    font-weight: 750;
}

.hero-content h1 {
    width: min(680px, 100%);
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 7vw, 62px);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.hero-content p {
    width: min(650px, 100%);
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: var(--primary);
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(234, 88, 12, 0.34);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(194, 65, 12, 0.38);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    font-size: 28px;
    line-height: 1;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.search-panel {
    position: relative;
    z-index: 10;
    margin-top: -32px;
    margin-bottom: 48px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--soft-shadow);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
}

.search-icon {
    color: var(--primary);
}

.search-box input {
    width: 100%;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
}

.search-results {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.search-results.is-open {
    display: grid;
}

.search-result-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.search-result-item img {
    width: 46px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
    background: #111827;
}

.search-result-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.35;
}

.search-result-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.content-section {
    padding: 12px 0 54px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.section-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary);
    background: #ffedd5;
}

.section-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7c2d12);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.14), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-play-icon {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.poster-year,
.poster-type,
.rank-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.poster-year {
    top: 10px;
    right: 10px;
    min-height: 26px;
    padding: 0 9px;
    background: rgba(0, 0, 0, 0.58);
}

.poster-type {
    left: 10px;
    bottom: 10px;
    min-height: 26px;
    padding: 0 9px;
    background: rgba(234, 88, 12, 0.9);
}

.rank-badge {
    top: 10px;
    left: 10px;
    min-width: 30px;
    height: 30px;
    background: rgba(17, 24, 39, 0.78);
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-info h3 a:hover {
    color: var(--primary);
}

.movie-info p {
    min-height: 38px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.card-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 700;
}

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

.ranking-panel,
.detail-card,
.meta-card,
.prose-card,
.category-overview-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.ranking-panel {
    position: sticky;
    top: 102px;
    padding: 20px;
}

.ranking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ranking-head h2 {
    margin: 0;
    color: var(--dark);
    font-size: 22px;
    font-weight: 850;
}

.ranking-head a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 26px 52px 1fr;
    grid-template-rows: auto auto;
    gap: 3px 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    background: #f9fafb;
}

.ranking-row span {
    grid-row: 1 / span 2;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 850;
}

.ranking-row img {
    grid-row: 1 / span 2;
    width: 52px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #111827;
}

.ranking-row strong {
    color: var(--dark);
    font-size: 14px;
    line-height: 1.3;
}

.ranking-row em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
    box-shadow: var(--soft-shadow);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.16));
}

.category-tile strong,
.category-tile em {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 2;
    color: #ffffff;
}

.category-tile strong {
    bottom: 54px;
    font-size: 22px;
    font-weight: 850;
}

.category-tile em {
    bottom: 20px;
    font-size: 13px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.84);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.region-stack {
    display: grid;
    gap: 30px;
}

.region-strip {
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.region-strip h3 {
    margin: 0 0 18px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 850;
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111827;
}

.page-hero-compact {
    min-height: 310px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15)),
        var(--hero-image, radial-gradient(circle at 75% 35%, #ea580c, #111827 46%));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    color: #ffffff;
}

.page-hero-content h1 {
    width: min(720px, 100%);
    margin: 16px 0;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.page-hero-content p {
    width: min(720px, 100%);
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.filter-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-group button {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-weight: 750;
}

.filter-group button.is-active,
.filter-group button:hover {
    color: #ffffff;
    background: var(--primary);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 18px;
    padding: 22px;
}

.category-overview-head h2 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 25px;
    font-weight: 850;
}

.category-overview-head p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.category-overview-head a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--primary);
    font-weight: 800;
}

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

.category-preview-row a {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
}

.category-preview-row img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    opacity: 0.86;
}

.category-preview-row span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.detail-shell {
    background: linear-gradient(180deg, #111827 0%, #111827 56%, var(--warm) 56%);
}

.detail-top {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 750;
}

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

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.player-video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-video {
    object-fit: contain;
    z-index: 1;
}

.player-cover {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.player-cover.is-hidden {
    display: none;
}

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

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.player-play-button {
    position: absolute;
    z-index: 4;
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.96);
    box-shadow: 0 18px 34px rgba(234, 88, 12, 0.34);
}

.player-play-svg {
    width: 42px;
    height: 42px;
}

.player-loading,
.player-error {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 5;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.56);
    font-size: 13px;
}

.player-loading.is-hidden,
.player-error:empty {
    display: none;
}

.detail-card {
    margin-top: 24px;
    padding: 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

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

.detail-card h1 {
    margin: 0 0 14px;
    color: var(--dark);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.035em;
}

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

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-text {
    margin-top: 24px;
}

.detail-text h2,
.meta-card h2,
.prose-card h2 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 22px;
    font-weight: 850;
}

.detail-text p,
.prose-card p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.detail-side {
    display: grid;
    gap: 18px;
}

.poster-card {
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
    box-shadow: var(--soft-shadow);
}

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

.meta-card {
    padding: 22px;
}

.meta-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.meta-card div {
    display: grid;
    gap: 4px;
}

.meta-card dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.meta-card dd {
    margin: 0;
    color: var(--dark);
    font-weight: 750;
    line-height: 1.55;
}

.prose-card {
    padding: 30px;
}

.prose-card h2:not(:first-child) {
    margin-top: 26px;
}

.site-footer {
    margin-top: 30px;
    background: #111827;
    color: #d1d5db;
}

.footer-inner {
    padding: 46px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 34px;
    margin-bottom: 30px;
}

.footer-brand {
    color: #ffffff;
    font-size: 20px;
}

.footer-block h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 850;
}

.footer-block p {
    margin: 14px 0 0;
    color: #d1d5db;
    line-height: 1.8;
}

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

.footer-block a {
    color: #d1d5db;
}

.footer-block a:hover {
    color: #fb923c;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1180px) {
    .featured-grid,
    .compact-grid,
    .compact-related-grid,
    .all-movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .ranking-panel {
        position: static;
    }
}

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

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

    .hero-slider {
        height: 520px;
    }

    .hero-nav {
        display: none;
    }

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

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

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

    .detail-side {
        grid-template-columns: 180px 1fr;
        align-items: start;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .nav-chips-inner,
    .footer-inner,
    .content-section,
    .search-panel,
    .hero-content,
    .page-hero-content,
    .detail-top {
        width: min(100% - 24px, 1280px);
    }

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

    .hero-slider {
        height: 500px;
    }

    .hero-content p,
    .page-hero-content p {
        font-size: 15px;
    }

    .hero-meta span {
        font-size: 12px;
    }

    .search-panel {
        margin-top: -24px;
        padding: 12px;
    }

    .movie-grid,
    .featured-grid,
    .compact-grid,
    .compact-related-grid,
    .all-movie-grid,
    .category-grid,
    .search-results,
    .category-preview-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info p,
    .card-tags {
        display: none;
    }

    .detail-card,
    .meta-card,
    .prose-card {
        padding: 20px;
    }

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

    .poster-card {
        display: none;
    }

    .player-play-button {
        width: 64px;
        height: 64px;
    }

    .player-play-svg {
        width: 34px;
        height: 34px;
    }
}
