:root {
    --primary-50: #fef6ee;
    --primary-100: #fde9d7;
    --primary-500: #f0641f;
    --primary-600: #e14915;
    --primary-700: #bb3513;
    --secondary-50: #f0fdf9;
    --secondary-100: #ccfbef;
    --secondary-500: #14b895;
    --secondary-700: #0a7763;
    --accent-50: #fefce8;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-hard: 0 10px 40px -3px rgba(0, 0, 0, 0.18), 0 20px 50px -12px rgba(0, 0, 0, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--neutral-50);
    color: var(--neutral-900);
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(231, 229, 228, 0.9);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.05);
}

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

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

.brand-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-500);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(240, 100, 31, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}

.brand:hover .brand-icon {
    background: var(--primary-600);
    transform: translateY(-1px);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 20px;
    line-height: 1;
    color: var(--neutral-900);
}

.brand-text small {
    color: var(--neutral-600);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--neutral-700);
    font-weight: 600;
    white-space: nowrap;
}

.desktop-nav a {
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.text-link:hover,
.inline-links a:hover {
    color: var(--primary-600);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
}

.header-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    background: #ffffff;
    color: var(--neutral-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    height: 40px;
    padding: 0 14px;
}

.header-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(240, 100, 31, 0.12);
}

.header-search button,
.filter-panel button,
.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-search button,
.primary-button,
.filter-panel button {
    min-height: 40px;
    padding: 0 18px;
    background: var(--primary-500);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(240, 100, 31, 0.24);
}

.header-search button:hover,
.primary-button:hover,
.filter-panel button:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

.secondary-button {
    min-height: 44px;
    padding: 0 18px;
    background: #ffffff;
    color: var(--primary-700);
    box-shadow: var(--shadow-soft);
}

.secondary-button:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.ghost-button {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 12px;
    background: var(--neutral-100);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--neutral-800);
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--neutral-50);
    color: var(--neutral-700);
    font-weight: 700;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-50), #ffffff 45%, var(--secondary-50));
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    content: "";
    filter: blur(20px);
    opacity: 0.55;
}

.hero-section::before {
    top: -120px;
    left: -80px;
    background: rgba(240, 100, 31, 0.18);
}

.hero-section::after {
    right: -120px;
    bottom: -140px;
    background: rgba(20, 184, 149, 0.18);
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    min-height: 610px;
    margin: 0 auto;
    padding: 58px 0 54px;
}

.hero-slider {
    position: relative;
    min-height: 490px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
    align-items: center;
    gap: 42px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.section-kicker {
    display: inline-flex;
    width: max-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 18px;
    color: var(--neutral-900);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 0 0 14px;
    color: var(--primary-700);
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
}

.hero-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--neutral-600);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-tags span,
.meta-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    padding: 8px 12px;
    background: #ffffff;
    color: var(--neutral-700);
    box-shadow: var(--shadow-soft);
}

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

.hero-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--neutral-900);
    box-shadow: var(--shadow-hard);
    aspect-ratio: 16 / 10;
}

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

.hero-media:hover img {
    transform: scale(1.05);
}

.hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent 60%);
}

.hero-media span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(120, 113, 108, 0.28);
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--primary-500);
}

.content-section {
    padding: 58px max(16px, calc((100% - 1280px) / 2));
}

.bg-white {
    background: #ffffff;
}

.bg-light {
    background: var(--neutral-50);
}

.section-head {
    margin-bottom: 30px;
}

.section-head.centered {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head h2,
.page-hero h1,
.cta-section h2,
.detail-info h1,
.detail-article h2 {
    margin: 0 0 10px;
    color: var(--neutral-900);
    line-height: 1.15;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.section-head p,
.page-hero p,
.cta-section p {
    max-width: 760px;
    margin: 0;
    color: var(--neutral-600);
    line-height: 1.75;
}

.split-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    color: var(--primary-600);
    font-weight: 800;
}

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

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

.category-movie-grid {
    margin-top: 26px;
}

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-featured .movie-card-link {
    border-radius: 24px;
}

.movie-card-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--neutral-200);
}

.movie-card-cover.wide-cover {
    aspect-ratio: 16 / 9;
}

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

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

.type-badge,
.year-badge {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.type-badge {
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    background: var(--primary-500);
}

.year-badge {
    top: 16px;
    right: 16px;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(8px);
}

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

.movie-card-body.large-body {
    padding: 22px;
}

.movie-card-body h3 {
    display: -webkit-box;
    margin: 7px 0 6px;
    overflow: hidden;
    color: var(--neutral-900);
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card-featured h3 {
    font-size: 22px;
}

.movie-card-link:hover h3 {
    color: var(--primary-600);
}

.movie-year-region {
    color: var(--neutral-500);
    font-size: 12px;
}

.one-line,
.summary-line {
    display: -webkit-box;
    overflow: hidden;
    color: var(--neutral-600);
    line-height: 1.65;
    -webkit-box-orient: vertical;
}

.one-line {
    margin: 0;
    font-size: 13px;
    -webkit-line-clamp: 2;
}

.summary-line {
    margin: 10px 0 0;
    color: var(--neutral-500);
    font-size: 14px;
    -webkit-line-clamp: 3;
}

.meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-pills span {
    padding: 6px 10px;
}

.meta-pills span:first-child {
    background: var(--primary-100);
    color: var(--primary-700);
}

.meta-pills span:last-child {
    background: var(--secondary-100);
    color: var(--secondary-700);
}

.tag-row {
    margin-top: 16px;
}

.tag-row span {
    padding: 6px 9px;
    background: var(--neutral-100);
    color: var(--neutral-700);
}

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

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

.category-tile {
    position: relative;
    min-height: 164px;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.category-glow {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.category-tile strong,
.category-tile em,
.category-tile small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile strong {
    margin-bottom: 10px;
    font-size: 24px;
}

.category-tile em {
    min-height: 48px;
    opacity: 0.92;
    font-style: normal;
    line-height: 1.55;
}

.category-tile small {
    margin-top: 16px;
    font-weight: 800;
    opacity: 0.9;
}

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

.full-rank-grid {
    margin-top: 26px;
}

.rank-card a {
    display: grid;
    grid-template-columns: auto 86px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card a:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.rank-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-500);
    color: #ffffff;
    font-weight: 900;
}

.rank-card img {
    width: 86px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--neutral-200);
}

.rank-content {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.rank-content strong {
    overflow: hidden;
    color: var(--neutral-900);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-content em,
.rank-content small {
    overflow: hidden;
    color: var(--neutral-500);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cta-section,
.page-hero {
    background: linear-gradient(135deg, var(--primary-50), #ffffff 50%, var(--accent-50));
}

.cta-section {
    padding: 70px 16px;
    text-align: center;
}

.cta-section > div {
    max-width: 840px;
    margin: 0 auto;
}

.centered-actions {
    justify-content: center;
}

.page-hero {
    padding: 58px max(16px, calc((100% - 1280px) / 2));
}

.compact-page-hero {
    padding-top: 48px;
    padding-bottom: 42px;
}

.page-hero > div {
    max-width: 880px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
}

.page-hero-links,
.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-hero-links a,
.inline-links a,
.inline-links span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--neutral-700);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.inline-links {
    align-items: center;
    margin-top: 32px;
}

.inline-links span {
    background: var(--neutral-900);
    color: #ffffff;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, minmax(150px, 0.75fr)) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--neutral-200);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--neutral-700);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    height: 44px;
    padding: 0 13px;
}

.filter-panel button {
    height: 44px;
}

.detail-hero {
    padding: 28px max(16px, calc((100% - 1280px) / 2)) 48px;
    background: linear-gradient(135deg, var(--neutral-900), #2d201a 48%, #173b35);
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

.breadcrumb em {
    color: #ffffff;
    font-style: normal;
}

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

.player-card,
.detail-info {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-hard);
    backdrop-filter: blur(14px);
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

.player-overlay[hidden] {
    display: none;
}

.player-overlay span {
    display: inline-grid;
    min-width: 124px;
    min-height: 54px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-500);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(240, 100, 31, 0.3);
}

.detail-info {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.detail-info img {
    width: 100%;
    max-height: 280px;
    border-radius: 18px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.detail-info h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
}

.detail-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.detail-info dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.detail-info dl div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.detail-info dt {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.detail-info dd {
    margin: 4px 0 0;
    color: #ffffff;
    font-weight: 800;
}

.detail-primary {
    min-height: 48px;
}

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

.detail-article {
    max-width: 950px;
    margin: 0 auto;
}

.detail-article h2 {
    margin-top: 28px;
    font-size: 28px;
}

.detail-article h2:first-child {
    margin-top: 0;
}

.detail-article p {
    margin: 0;
    color: var(--neutral-700);
    font-size: 17px;
    line-height: 2;
}

.detail-tags {
    margin-top: 12px;
}

.detail-tags span {
    padding: 8px 12px;
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.site-footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
    gap: 36px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
}

.footer-inner h2,
.footer-inner h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.footer-inner p {
    max-width: 520px;
    margin: 0;
    line-height: 1.8;
}

.footer-inner a {
    display: block;
    margin-top: 8px;
    color: var(--neutral-300);
}

.footer-inner a:hover {
    color: #ffffff;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--neutral-500);
    font-size: 14px;
}

[data-card].is-hidden {
    display: none;
}

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

    .header-search {
        margin-left: auto;
    }

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

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

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

@media (max-width: 900px) {
    .site-header-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .header-search {
        order: 3;
        width: 100%;
        min-width: 0;
    }

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

    .hero-slider {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 26px;
    }

    .hero-media {
        aspect-ratio: 16 / 10;
    }

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

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

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

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

@media (max-width: 620px) {
    .site-header-inner,
    .hero-shell,
    .mobile-nav,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1280px);
    }

    .brand-text strong {
        font-size: 18px;
    }

    .hero-slider {
        min-height: 700px;
    }

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

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .content-section,
    .page-hero,
    .detail-hero {
        padding-right: 12px;
        padding-left: 12px;
    }

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

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

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

    .rank-card a {
        grid-template-columns: auto 72px minmax(0, 1fr);
    }

    .rank-card img {
        width: 72px;
        height: 64px;
    }

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