:root {
    color-scheme: light;
    --color-orange: #f97316;
    --color-orange-dark: #ea580c;
    --color-red: #ef4444;
    --color-dark: #111827;
    --color-dark-soft: #1f2937;
    --color-gray: #6b7280;
    --color-border: #e5e7eb;
    --color-bg: #f9fafb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 8px 22px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 42%, #f9fafb 100%);
    color: #111827;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #111827 0%, #1f2937 48%, #111827 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

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

.nav-link {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fb923c;
}

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

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    border-radius: 999px;
}

.hero-carousel {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #030712;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.32), transparent 32%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 44%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 48px;
    color: #ffffff;
}

.hero-copy {
    max-width: 760px;
    animation: fadeInUp 0.7s ease both;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #fb923c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-one-line {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.55;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span,
.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff7ed;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

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

.btn-primary,
.btn-secondary,
.soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-orange), var(--color-red));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.26);
}

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

.btn-primary:hover {
    background: linear-gradient(90deg, var(--color-orange-dark), #dc2626);
    box-shadow: 0 20px 36px rgba(239, 68, 68, 0.34);
}

.btn-secondary {
    background: #1f2937;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
    background: #374151;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.8s ease both;
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.95);
    color: #ffffff;
    padding: 10px 14px;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 28px;
    z-index: 3;
    transform: translateX(-50%);
}

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

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

.hero-dot.active {
    width: 28px;
    background: #fb923c;
}

.hero-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.76);
    color: #ffffff;
    padding: 7px;
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(10px);
}

.hero-thumb.active {
    border-color: #fb923c;
    background: rgba(249, 115, 22, 0.3);
}

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

.hero-thumb span {
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stats-strip {
    position: relative;
    z-index: 4;
    margin-top: -1px;
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 28px 0;
}

.stats-grid div {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.stats-grid div:last-child {
    border-right: 0;
}

.stats-grid strong {
    display: block;
    color: #fb923c;
    font-size: 34px;
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 8px;
    color: #d1d5db;
    font-size: 14px;
}

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

.gradient-soft {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.dark-section {
    background: linear-gradient(135deg, #111827, #030712);
    color: #ffffff;
}

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

.section-title {
    margin: 0;
    color: inherit;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-link {
    color: var(--color-orange-dark);
    font-weight: 800;
}

.dark-section .section-link {
    color: #fdba74;
}

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

.category-tile,
.category-card-large {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    box-shadow: var(--shadow-card);
    isolation: isolate;
}

.category-tile::after,
.category-card-large::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.category-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

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

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.6;
}

.category-count {
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

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

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

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

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #374151);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.05);
    opacity: 0.92;
}

.play-chip,
.rank-badge,
.score-pill {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.95);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

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

.movie-info {
    padding: 14px;
}

.movie-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-title:hover {
    color: var(--color-orange-dark);
}

.movie-info p,
.rank-item p {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 10px;
    color: var(--color-gray);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #6b7280;
    font-size: 12px;
}

.movie-meta span {
    border-radius: 999px;
    background: #f3f4f6;
    padding: 4px 8px;
}

.movie-card-list {
    display: grid;
    grid-template-columns: 144px 1fr;
    min-height: 216px;
}

.movie-card-list .movie-cover img {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card-list .movie-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.movie-card-list .tag-row span {
    background: #f3f4f6;
    color: #4b5563;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.26), transparent 34%),
        linear-gradient(135deg, #111827, #1f2937 54%, #030712);
    color: #ffffff;
    padding: 84px 0 78px;
}

.small-page-hero {
    padding: 72px 0;
}

.page-hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.filter-panel-section {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 22px 0;
}

.filter-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.filter-panel-wide {
    grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(140px, 1fr)) auto;
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    padding: 12px 14px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.result-line {
    margin-bottom: 20px;
    color: #4b5563;
    font-weight: 800;
}

.result-line span {
    color: var(--color-orange-dark);
}

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

.category-card-link {
    display: grid;
    min-height: 300px;
    color: #ffffff;
}

.category-card-covers {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.category-card-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    align-self: end;
    padding: 26px;
}

.category-card-body span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    padding: 7px 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.category-card-body h2 {
    margin: 14px 0 8px;
    font-size: 28px;
}

.category-card-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 54px 96px 1fr;
    gap: 16px;
    align-items: center;
    border-radius: 18px;
    background: #ffffff;
    padding: 12px;
    box-shadow: var(--shadow-card);
}

.dark-section .rank-item {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.dark-section .rank-item .movie-title {
    color: #ffffff;
}

.dark-section .rank-item p {
    color: #d1d5db;
}

.rank-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.rank-thumb img {
    width: 96px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
}

.player-hero {
    background: #000000;
    color: #ffffff;
    padding: 26px 0 36px;
}

.player-breadcrumb {
    margin-bottom: 18px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
    color: #ffffff;
    cursor: pointer;
}

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

.play-overlay-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    box-shadow: 0 20px 36px rgba(249, 115, 22, 0.34);
    font-size: 28px;
}

.detail-section {
    padding: 42px 0 74px;
}

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

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

.detail-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.detail-title-row h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.score-pill {
    position: static;
    flex: 0 0 auto;
}

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

.detail-meta span {
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.soft-button {
    background: #f3f4f6;
    color: #374151;
}

.detail-main section {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    margin-top: 24px;
}

.detail-main h2,
.detail-sidebar h2,
.narrow-content h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.detail-main p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.85;
}

.lead-text {
    color: #111827 !important;
    font-weight: 800;
}

.review-box {
    border-radius: 16px;
    background: #f9fafb;
    color: #374151;
    padding: 18px;
    line-height: 1.85;
}

.detail-tags .tag-pill {
    background: #f3f4f6;
    color: #374151;
}

.sticky-panel {
    position: sticky;
    top: 88px;
}

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

.related-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: center;
}

.related-item img {
    grid-row: span 2;
    width: 112px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
}

.related-item span {
    display: -webkit-box;
    overflow: hidden;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-item small {
    color: #6b7280;
}

.block-link {
    display: block;
    margin-top: 18px;
    text-align: center;
}

.narrow-content {
    max-width: 840px;
    margin: 0 auto;
}

.narrow-content p {
    color: #4b5563;
    line-height: 1.8;
}

.simple-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.site-footer {
    background: linear-gradient(180deg, #111827, #030712);
    color: #d1d5db;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 16px;
}

.footer-grid p,
.footer-grid li {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
}

.footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 36px;
    padding-top: 22px;
    color: #6b7280;
    font-size: 13px;
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cat-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.cat-red { background: linear-gradient(135deg, #ef4444, #991b1b); }
.cat-blue { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.cat-rose { background: linear-gradient(135deg, #e11d48, #9f1239); }
.cat-indigo { background: linear-gradient(135deg, #4f46e5, #312e81); }
.cat-green { background: linear-gradient(135deg, #16a34a, #14532d); }
.cat-pink { background: linear-gradient(135deg, #ec4899, #9d174d); }
.cat-purple { background: linear-gradient(135deg, #9333ea, #581c87); }
.cat-yellow { background: linear-gradient(135deg, #f59e0b, #b45309); }
.cat-cyan { background: linear-gradient(135deg, #0891b2, #164e63); }
.cat-teal { background: linear-gradient(135deg, #0d9488, #134e4a); }
.cat-slate { background: linear-gradient(135deg, #475569, #0f172a); }

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

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

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

    .hero-poster {
        display: none;
    }

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

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

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

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

    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #111827;
        padding: 12px 24px 18px;
    }

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

    .nav-link {
        padding: 12px 0;
    }

    .hero-carousel,
    .hero-slide {
        min-height: 620px;
    }

    .hero-content {
        padding: 88px 0 146px;
    }

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

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

    .stats-grid div:nth-child(2) {
        border-right: 0;
    }

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

    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-list-grid,
    .rank-list-home,
    .category-grid,
    .category-large-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-list {
        grid-template-columns: 112px 1fr;
        min-height: 170px;
    }

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

    .rank-item {
        grid-template-columns: 44px 78px 1fr;
        gap: 10px;
    }

    .rank-thumb img {
        width: 78px;
        height: 58px;
    }

    .detail-title-row,
    .footer-bottom {
        flex-direction: column;
    }

    .card-panel {
        padding: 20px;
    }

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