:root {
    --page-bg: #f7f9fc;
    --card-bg: #ffffff;
    --ink: #111827;
    --muted: #64748b;
    --deep: #0f172a;
    --deep-soft: #1e293b;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --cyan: #38bdf8;
    --line: #e2e8f0;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(18px);
}

.topbar-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
    color: #ffffff;
    font-size: 18px;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 20px;
    letter-spacing: 0.5px;
}

.brand-copy small {
    margin-top: 5px;
    color: #cbd5e1;
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    color: #dbeafe;
    font-weight: 700;
    border-radius: 999px;
    transition: 0.2s ease;
}

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

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.22);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.95);
}

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

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

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 34%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #0f172a 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px);
    background-size: 58px 58px;
}

.hero-inner {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 690px;
    padding: 78px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
    align-items: center;
    gap: 42px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #93c5fd;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.hero-text {
    max-width: 680px;
    margin: 24px 0 0;
    color: #cbd5e1;
    font-size: 20px;
}

.hero-search {
    margin-top: 28px;
    display: flex;
    width: min(100%, 610px);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 16px;
    background: transparent;
    color: #ffffff;
}

.hero-search input::placeholder {
    color: #cbd5e1;
}

.hero-search button,
.primary-btn,
.ghost-btn,
.mini-btn,
.text-link {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: 0.2s ease;
}

.hero-search button,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
}

.hero-search button:hover,
.primary-btn:hover,
.mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.38);
}

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

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: min(100%, 610px);
}

.hero-stats span {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats strong,
.hero-stats em {
    display: block;
}

.hero-stats strong {
    font-size: 24px;
}

.hero-stats em {
    color: #cbd5e1;
    font-style: normal;
    font-size: 13px;
}

.hero-stage {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 270px;
    align-items: end;
    gap: 24px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.45);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    pointer-events: none;
    transition: 0.5s ease;
    overflow: hidden;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.15);
    transform: scale(1.1);
    opacity: 0.44;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.38));
}

.hero-slide-copy,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-slide-copy span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #bfdbfe;
    font-weight: 800;
}

.hero-slide-copy h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
}

.hero-slide-copy p {
    margin: 14px 0 20px;
    color: #e2e8f0;
}

.hero-slide-copy a {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 900;
}

.hero-poster {
    align-self: center;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
    aspect-ratio: 3 / 4;
}

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

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 30px;
    right: 30px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-controls button,
.hero-dot {
    pointer-events: auto;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.feature-strip,
.section {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 48px 0 10px;
}

.feature-card,
.movie-card,
.category-card,
.category-overview-card,
.rank-row {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.feature-card {
    padding: 24px;
    border-radius: 20px;
}

.feature-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 20px;
}

.feature-card span {
    color: var(--muted);
}

.section {
    padding: 70px 0;
}

.soft-section {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100vw - 1240px) / 2));
    padding-right: max(16px, calc((100vw - 1240px) / 2));
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.dark-section {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100vw - 1240px) / 2));
    padding-right: max(16px, calc((100vw - 1240px) / 2));
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.section-head {
    margin-bottom: 34px;
    text-align: center;
}

.section-head p {
    margin: 0 0 8px;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: 1.4px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.light-head p,
.light-head h2 {
    color: #ffffff;
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    transition: 0.24s ease;
}

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

.poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

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

.movie-card:hover .poster img,
.category-card:hover img,
.category-overview-card:hover img,
.rank-row:hover img {
    transform: scale(1.06);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.64), transparent 56%);
}

.poster-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: 0.24s ease;
}

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

.poster-badge {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.movie-info {
    padding: 18px;
}

.movie-meta {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.movie-info h2 {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.28;
}

.movie-info h2 a:hover,
.rank-row-copy h2 a:hover,
.category-overview-card h2 a:hover {
    color: var(--blue);
}

.movie-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-list span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    position: relative;
    min-height: 245px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 24px;
    color: #ffffff;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.08));
}

.category-card span,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card span {
    font-size: 24px;
    font-weight: 900;
}

.category-card p {
    margin: 8px 0 0;
    color: #dbeafe;
    font-size: 14px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 46px 70px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.2s ease;
}

.rank-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(4px);
}

.rank-num {
    font-size: 22px;
    color: #bfdbfe;
    font-weight: 900;
    text-align: center;
}

.rank-item img {
    width: 70px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-copy strong,
.rank-copy em {
    display: block;
}

.rank-copy strong {
    font-size: 16px;
}

.rank-copy em {
    margin-top: 4px;
    color: #cbd5e1;
    font-style: normal;
    font-size: 13px;
}

.center-line {
    margin-top: 34px;
    text-align: center;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.page-hero {
    padding: 86px max(16px, calc((100vw - 1240px) / 2));
}

.slim-hero {
    padding-top: 70px;
    padding-bottom: 70px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.page-hero p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: #dbeafe;
    font-size: 18px;
}

.filter-panel {
    margin-bottom: 26px;
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 12px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    background: #f8fafc;
    padding: 0 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-selects {
    display: flex;
    gap: 12px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px;
    border-radius: 24px;
}

.category-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
}

.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.24s ease;
}

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

.category-overview-card p {
    color: var(--muted);
    margin: 0 0 14px;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.category-samples a,
.text-link {
    color: var(--blue);
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 62px 82px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
}

.rank-row-num {
    color: var(--blue);
    font-size: 26px;
    font-weight: 900;
    text-align: center;
}

.rank-row-poster {
    width: 82px;
    height: 108px;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

.rank-row-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.24s ease;
}

.rank-row-copy h2 {
    margin: 0 0 6px;
    font-size: 21px;
}

.rank-row-copy p {
    margin: 0 0 6px;
    color: var(--muted);
}

.rank-row-copy span {
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.mini-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
}

.detail-hero {
    padding: 0 max(16px, calc((100vw - 1240px) / 2));
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.24;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) saturate(1.18);
    transform: scale(1.1);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.76));
}

.detail-inner {
    position: relative;
    z-index: 2;
    padding: 42px 0 62px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: #dbeafe;
    font-weight: 700;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    aspect-ratio: 3 / 4;
}

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

.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 860px;
    margin: 18px 0;
    color: #e2e8f0;
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    font-weight: 800;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.detail-copy .primary-btn {
    margin-top: 22px;
}

.watch-section {
    padding: 44px max(16px, calc((100vw - 1240px) / 2));
    background: #020617;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
    aspect-ratio: 16 / 9;
}

.movie-player,
.watch-overlay,
.watch-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player {
    z-index: 1;
    object-fit: contain;
    background: #000000;
}

.watch-overlay {
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #000000;
}

.watch-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
}

.watch-overlay img {
    object-fit: cover;
    opacity: 0.58;
    filter: saturate(1.15);
}

.big-play {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
    font-size: 38px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.detail-section {
    padding-top: 54px;
    padding-bottom: 54px;
}

.detail-main-text {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.detail-main-text h2 {
    margin: 0 0 14px;
    font-size: 28px;
}

.detail-main-text h2 + p {
    margin-top: 0;
}

.detail-main-text p {
    color: #334155;
    font-size: 17px;
}

.footer {
    color: #dbeafe;
    background: #0f172a;
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 34px;
}

.footer-brand p {
    max-width: 520px;
    color: #cbd5e1;
}

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

.footer-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

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

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    text-align: center;
}

[data-card][hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .hero-inner,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 540px;
    }

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

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

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

    .menu-toggle {
        display: block;
    }

    .topbar-inner {
        min-height: 66px;
    }

    .brand-copy small {
        display: none;
    }

    .hero-inner {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-search,
    .filter-panel,
    .filter-selects,
    .hero-actions,
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .hero-poster {
        display: none;
    }

    .hero-controls {
        left: 18px;
        right: 18px;
    }

    .feature-strip,
    .movie-grid,
    .category-grid,
    .rank-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-row-num {
        text-align: left;
    }

    .detail-grid {
        gap: 22px;
    }

    .detail-poster {
        width: min(260px, 76vw);
    }

    .detail-main-text {
        padding: 22px;
    }

    .watch-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }
}
