:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --teal: #14b8a6;
    --orange: #f97316;
    --red: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --radius-lg: 28px;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--gray-50), var(--white) 42%, var(--gray-50));
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.nav-wrap {
    width: min(100%, var(--max));
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
    font-size: 14px;
}

.brand-text {
    font-size: 21px;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 13px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--blue);
    background: #eff6ff;
}

.top-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
}

.top-search {
    width: 260px;
}

.top-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--gray-800);
    background: transparent;
}

.top-search input,
.mobile-search input {
    padding: 10px 12px;
}

.top-search button,
.mobile-search button,
.large-search button {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    font-weight: 700;
    cursor: pointer;
}

.top-search button,
.mobile-search button {
    align-self: stretch;
    padding: 0 14px;
}

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

.mobile-menu {
    display: none;
    padding: 0 22px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-link {
    display: block;
    padding: 12px 14px;
    margin-top: 8px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    color: var(--white);
    background: linear-gradient(135deg, #2563eb, #3b82f6 45%, #14b8a6);
}

.hero-slider {
    isolation: isolate;
}

.hero-slides {
    position: relative;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(37, 99, 235, 0.62), rgba(20, 184, 166, 0.34)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-inner,
.detail-wrap,
.search-band-inner,
.content-section,
.footer-wrap,
.footer-bottom {
    width: min(100%, var(--max));
    margin: 0 auto;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 48px;
    padding: 70px 22px;
    min-height: 600px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy h3 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 850;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.hero-poster {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
    background: rgba(255, 255, 255, 0.16);
}

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

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

.hero-badges,
.card-badges,
.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--blue);
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.hero-badge {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.hero-actions,
.card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.primary-button,
.ghost-button,
.watch-link,
.text-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    color: var(--blue);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.primary-button:hover,
.watch-link:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.ghost-button {
    min-height: 48px;
    padding: 0 22px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

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

.search-band {
    margin-top: -44px;
    position: relative;
    z-index: 6;
    padding: 0 22px;
}

.search-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.search-band h2,
.search-band p {
    margin: 0;
}

.search-band h2 {
    font-size: 28px;
}

.search-band p {
    margin-top: 7px;
    color: var(--gray-600);
}

.large-search {
    min-height: 56px;
    box-shadow: inset 0 0 0 1px var(--gray-200);
}

.large-search input {
    padding: 0 18px;
    font-size: 16px;
}

.large-search button {
    align-self: stretch;
    padding: 0 24px;
}

.content-section {
    padding: 70px 22px;
}

.soft-section {
    width: 100%;
    max-width: none;
    padding-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
    padding-right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
}

.warm-section {
    background: linear-gradient(90deg, #fff7ed, #fef2f2);
}

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

.section-heading h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 900;
}

.section-heading p {
    max-width: 720px;
    margin: 9px 0 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-more,
.text-link {
    color: var(--blue);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

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

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

.card-body {
    padding: 18px;
}

.card-meta {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-body h2 {
    margin: 0 0 9px;
    color: var(--gray-900);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
}

.card-body h2 a:hover {
    color: var(--blue);
}

.card-body p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 14px;
}

.watch-link {
    min-height: 34px;
    padding: 0 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    font-size: 13px;
}

.score {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: #b45309;
    background: #fef3c7;
    font-weight: 900;
}

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

.movie-card.horizontal {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
}

.movie-card.horizontal .card-cover img {
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
}

.movie-card.horizontal .card-body p {
    min-height: 0;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius);
    color: var(--white);
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.82)), var(--tile-image);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile span {
    display: block;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

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

.category-tile strong {
    position: absolute;
    left: 22px;
    bottom: 20px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 26px;
}

.ranking-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.ranking-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto 54px;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-row:hover {
    background: #eff6ff;
}

.ranking-number {
    color: var(--red);
    font-weight: 900;
}

.ranking-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.ranking-meta {
    color: var(--gray-500);
    font-size: 13px;
}

.ranking-score {
    justify-self: end;
    color: #b45309;
    font-weight: 900;
}

.promo-panel {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 35%), linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: var(--shadow);
}

.promo-panel h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.18;
}

.promo-panel p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 18px;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(135deg, #1d4ed8, #2563eb 48%, #14b8a6);
}

.compact-hero {
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 70px 22px;
}

.compact-hero > div {
    width: min(100%, var(--max));
    margin: 0 auto;
}

.compact-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.03em;
}

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

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

.category-card-large {
    overflow: hidden;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
}

.category-posters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--gray-100);
}

.category-posters img {
    width: 100%;
    height: 100%;
    min-height: 128px;
    object-fit: cover;
}

.category-card-body {
    padding: 24px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.category-card-body p {
    color: var(--gray-600);
    line-height: 1.7;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.category-samples a {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--blue);
    background: #eff6ff;
    font-size: 12px;
    font-weight: 700;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--gray-50);
    box-shadow: inset 0 0 0 1px var(--gray-200);
}

.detail-hero {
    position: relative;
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.72), rgba(20, 184, 166, 0.42)), var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-wrap {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
    min-height: 560px;
    padding: 70px 22px;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

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

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

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-stats span {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.watch-section {
    padding-top: 54px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #020617;
    box-shadow: var(--shadow);
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: var(--white);
    font-size: 28px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

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

.article-panel,
.side-panel {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.article-panel h2,
.side-panel h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

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

.side-panel dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.side-panel dt {
    color: var(--gray-500);
    font-weight: 800;
}

.side-panel dd {
    margin: 0;
    color: var(--gray-800);
}

.site-footer {
    color: #d1d5db;
    background: var(--gray-900);
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 32px;
    padding: 48px 22px;
}

.footer-wrap h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.footer-wrap p,
.footer-wrap a {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 14px;
}

.footer-wrap a:hover {
    color: #93c5fd;
}

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

.brand-footer .brand-text {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 18px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

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

@media (max-width: 1080px) {
    .top-search {
        display: none;
    }

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

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

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

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

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

    .mobile-menu-button {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .hero-inner,
    .detail-wrap,
    .search-band-inner,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-poster {
        max-width: 270px;
    }

    .hero-inner,
    .detail-wrap {
        gap: 26px;
    }

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

    .movie-card.horizontal,
    .category-card-large {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .ranking-row {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .ranking-meta {
        display: none;
    }
}

@media (max-width: 560px) {
    .nav-wrap {
        height: 62px;
        padding: 0 16px;
    }

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

    .hero,
    .hero-slides,
    .hero-inner {
        min-height: 680px;
    }

    .hero-inner {
        padding: 48px 16px 80px;
    }

    .hero-copy p,
    .compact-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .search-band {
        margin-top: 0;
        padding: 18px 16px 0;
    }

    .search-band-inner,
    .content-section,
    .soft-section,
    .compact-hero,
    .detail-wrap,
    .footer-wrap,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

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

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

    .movie-card.horizontal,
    .category-card-large,
    .detail-wrap,
    .footer-wrap {
        grid-template-columns: 1fr;
    }

    .movie-card.horizontal .card-cover img {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

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

    .category-posters img {
        min-height: 90px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
