:root {
    color-scheme: light;
    --cyan-50: #ecfeff;
    --cyan-100: #cffafe;
    --cyan-300: #67e8f9;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --blue-50: #eff6ff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 42px rgba(8, 145, 178, 0.18);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.22);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img.is-missing {
    opacity: 0;
}

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(103, 232, 249, 0.35);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-text,
.footer-brand {
    font-size: 24px;
    background: linear-gradient(135deg, var(--cyan-600), var(--teal-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 15px;
    background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
    box-shadow: 0 12px 25px rgba(6, 182, 212, 0.35);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--slate-700);
    font-size: 15px;
    font-weight: 650;
}

.nav-link {
    border: 0;
    cursor: pointer;
    background: transparent;
    color: inherit;
    padding: 22px 0;
    transition: color 0.2s ease;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 180px;
    padding: 10px;
    border: 1px solid rgba(103, 232, 249, 0.45);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--slate-700);
}

.dropdown-panel a:hover {
    color: var(--cyan-700);
    background: var(--cyan-50);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.search-shell {
    position: relative;
    width: min(280px, 100%);
}

.site-search,
.page-filter,
.year-filter {
    width: 100%;
    border: 1px solid var(--cyan-100);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--slate-900);
    padding: 12px 18px;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search:focus,
.page-filter:focus,
.year-filter:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.search-results {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(440px, 88vw);
    max-height: 460px;
    overflow: auto;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(103, 232, 249, 0.45);
    display: none;
}

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

.search-result-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
}

.search-result-item:hover {
    background: var(--cyan-50);
}

.search-thumb {
    width: 56px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cyan-100), var(--blue-50));
}

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

.search-title {
    display: block;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.3;
}

.search-meta {
    display: block;
    margin-top: 2px;
    color: var(--slate-500);
    font-size: 12px;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--cyan-100);
    border-radius: 14px;
    background: white;
    cursor: pointer;
    place-items: center;
    gap: 4px;
    padding: 9px;
}

.menu-button span {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--cyan-600);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 8px;
    border-radius: 18px;
    background: var(--cyan-50);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-nav a {
    padding: 12px;
    border-radius: 12px;
    background: white;
    color: var(--slate-700);
    font-weight: 700;
    text-align: center;
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    padding: 64px 0 70px;
    background: linear-gradient(135deg, var(--cyan-50) 0%, var(--blue-50) 48%, #f0fdfa 100%);
}

.hero-bg {
    position: absolute;
    inset: -20% -8% auto auto;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.26), rgba(20, 184, 166, 0.05) 60%, transparent 70%);
    filter: blur(8px);
}

.hero-carousel,
.section-wrap,
.page-hero,
.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-carousel {
    position: relative;
}

.hero-slide {
    display: none;
    min-height: 520px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 54px;
}

.hero-slide.is-active {
    display: grid;
    animation: heroFade 0.55s ease both;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan-600);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 900;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 16px 0;
    color: var(--slate-900);
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
    color: var(--slate-700);
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(103, 232, 249, 0.42);
    color: var(--slate-700);
    font-size: 13px;
    font-weight: 700;
}

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

.hero-actions.compact {
    margin-top: 18px;
}

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
    box-shadow: 0 16px 30px rgba(6, 182, 212, 0.26);
}

.btn-soft {
    color: var(--cyan-700);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(103, 232, 249, 0.55);
}

.btn-ghost {
    color: var(--slate-700);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.hero-art {
    position: relative;
    min-height: 430px;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.42), rgba(20, 184, 166, 0.28)), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.92), transparent 42%);
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.hero-art::after,
.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(15, 23, 42, 0.72) 100%);
    pointer-events: none;
}

.hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hero-art:hover img {
    transform: scale(1.06);
}

.hero-art-title {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 2;
    color: white;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.22);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
}

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

.section-tint {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, var(--cyan-50), var(--blue-50));
}

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

.section-head h2,
.content-card h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.text-link {
    color: var(--cyan-600);
    font-weight: 850;
}

.quick-panel {
    margin-top: -42px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(103, 232, 249, 0.5);
}

.quick-copy h2 {
    margin: 8px 0 8px;
    font-size: 30px;
}

.quick-copy p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.7;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.quick-links a {
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--cyan-50);
    color: var(--cyan-700);
    font-weight: 850;
}

.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 {
    min-width: 0;
}

.card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(103, 232, 249, 0.75);
}

.poster-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.74), rgba(20, 184, 166, 0.46)), radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.82), transparent 42%);
    isolation: isolate;
}

.poster-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.poster-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    color: white;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.poster-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    background: rgba(6, 182, 212, 0.88);
    backdrop-filter: blur(10px);
}

.poster-play {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.86);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(6, 182, 212, 0.88);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.card-link:hover .poster-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 17px;
}

.meta-row,
.card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.card-body h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--slate-600);
    line-height: 1.7;
    font-size: 14px;
}

.card-foot {
    justify-content: space-between;
    color: var(--cyan-700);
}

.movie-card-featured .poster-frame {
    aspect-ratio: 16 / 9;
}

.movie-card-featured .poster-title {
    font-size: 24px;
}

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

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

.category-tile,
.category-card-large a {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 170px;
    padding: 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(103, 232, 249, 0.45);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card-large a {
    min-height: 250px;
    padding: 30px;
}

.category-tile:hover,
.category-card-large a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-glow {
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.26), transparent 68%);
}

.category-tile strong,
.category-card-large h2 {
    position: relative;
    display: block;
    margin: 0 0 12px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.category-card-large h2 {
    font-size: 32px;
}

.category-tile p,
.category-card-large p {
    position: relative;
    margin: 0;
    color: var(--slate-600);
    line-height: 1.7;
}

.tile-more {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: var(--cyan-600);
    font-weight: 850;
}

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

.category-samples span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--cyan-50);
    color: var(--cyan-700);
    font-size: 13px;
    font-weight: 750;
}

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

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

.rank-link {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-link:hover {
    transform: translateX(5px);
    border-color: var(--cyan-300);
}

.rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
    font-weight: 900;
}

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

.rank-meta,
.rank-views {
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

.page-hero,
.detail-hero {
    padding: 56px 0 34px;
}

.small-hero {
    display: grid;
    align-items: center;
    min-height: 320px;
}

.small-hero h1 {
    font-size: clamp(36px, 6vw, 62px);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
    margin-bottom: 24px;
}

.detail-header-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 46px;
    align-items: center;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.detail-copy h1 {
    font-size: clamp(38px, 7vw, 72px);
}

.detail-meta {
    margin: 18px 0;
}

.detail-watch {
    padding-top: 38px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.movie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: white;
    background: #020617;
}

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

.player-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.play-circle {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(70px, 10vw, 104px);
    height: clamp(70px, 10vw, 104px);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(6, 182, 212, 0.92);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.32);
    font-size: 34px;
}

.detail-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 26px;
}

.content-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: white;
    box-shadow: var(--shadow-sm);
}

.content-card p {
    color: var(--slate-700);
    line-height: 1.95;
    font-size: 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: var(--slate-500);
    font-size: 14px;
    font-weight: 700;
}

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

.site-footer {
    margin-top: 40px;
    background: linear-gradient(135deg, #f8fafc, var(--cyan-50));
    border-top: 1px solid rgba(103, 232, 249, 0.35);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.footer-inner p {
    color: var(--slate-600);
    line-height: 1.8;
    max-width: 620px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links a {
    color: var(--slate-600);
    font-weight: 750;
}

.footer-links a:hover {
    color: var(--cyan-600);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    color: var(--slate-500);
    font-size: 14px;
    border-top: 1px solid rgba(103, 232, 249, 0.25);
}

@media (max-width: 1120px) {
    .movie-grid,
    .featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 360px;
    }
}

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

    .menu-button {
        display: grid;
    }

    .search-shell {
        width: min(230px, 48vw);
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0 58px;
    }

    .hero-slide {
        min-height: auto;
        gap: 30px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.04em;
    }

    .quick-panel,
    .footer-inner,
    .detail-header-grid,
    .detail-text {
        grid-template-columns: 1fr;
    }

    .quick-links,
    .footer-links {
        justify-content: flex-start;
    }

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

    .rank-link {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .rank-meta,
    .rank-views {
        display: none;
    }

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

@media (max-width: 560px) {
    .nav-wrap {
        width: min(100% - 22px, 1180px);
        height: auto;
        min-height: 64px;
        gap: 10px;
    }

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

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .search-shell {
        width: 44vw;
    }

    .site-search {
        padding: 10px 12px;
        font-size: 13px;
    }

    .mobile-nav {
        width: min(100% - 22px, 1180px);
    }

    .hero-carousel,
    .section-wrap,
    .page-hero,
    .detail-hero {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-actions {
        gap: 9px;
    }

    .btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .hero-art {
        min-height: 310px;
        border-radius: 26px;
    }

    .hero-art-title {
        font-size: 24px;
    }

    .section-wrap {
        padding: 48px 0;
    }

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

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

    .card-body p {
        min-height: auto;
    }

    .detail-poster {
        max-width: 320px;
    }

    .player-shell {
        border-radius: 18px;
    }

    .content-card {
        padding: 22px;
    }
}
