:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: #111827;
    --bg-card-2: #1e293b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --line: rgba(148, 163, 184, 0.18);
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --orange: #ea580c;
    --blue: #38bdf8;
    --pink: #ec4899;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.13), transparent 34rem),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 30rem),
        linear-gradient(180deg, #0f172a 0%, #020617 44%, #000 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-light), var(--orange));
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong,
.footer-brand span:last-child {
    font-size: 1.16rem;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fde68a, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

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

.nav-link {
    padding: 10px 14px;
    color: #cbd5e1;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    background: rgba(245, 158, 11, 0.18);
    transform: translateY(-1px);
}

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

.header-search input,
.toolbar input,
.toolbar select,
.search-panel input {
    width: 100%;
    color: var(--text);
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}

.header-search input:focus,
.toolbar input:focus,
.toolbar select:focus,
.search-panel input:focus {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.header-search button,
.primary-btn,
.ghost-btn,
.section-more,
.pill-link {
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.header-search button,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.27);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.primary-btn.small {
    padding: 10px 14px;
    font-size: 0.9rem;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.ghost-btn.dark {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--line);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.82);
    border-radius: 12px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.96);
}

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

.mobile-panel-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 18px;
}

.mobile-panel .nav-link {
    display: block;
}

.mobile-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.mobile-sub-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: #020617;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.05);
    transform: scale(1.03);
}

.hero-shade,
.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.74) 46%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 46%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 52px;
    padding: 72px 0 96px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.detail-one-line {
    max-width: 780px;
    color: #dbeafe;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.85;
}

.hero-tags,
.detail-meta-grid,
.tag-list,
.card-meta,
.filter-hints,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-list span,
.filter-hints span,
.chip-row button {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
}

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

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.42);
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.hero-control.prev {
    left: 22px;
}

.hero-control.next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

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

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

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

.content-section.tight {
    padding-top: 24px;
}

.band-section {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.25);
}

.section-head h2,
.search-panel h2,
.detail-text-card h2,
.category-overview-head h2,
.site-footer h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.section-head p,
.search-panel p,
.category-overview-head p,
.site-footer p {
    margin: 6px 0 0;
    color: var(--muted);
}

.section-more {
    color: #fbbf24;
    font-weight: 700;
}

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.92));
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(251, 191, 36, 0.48);
    box-shadow: 0 24px 54px rgba(245, 158, 11, 0.16);
    transform: translateY(-5px);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

.poster-wrap img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.duration,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    padding: 5px 9px;
    color: #fff;
    font-size: 0.78rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.duration {
    right: 10px;
}

.rank-badge {
    left: 10px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 800;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #fff;
    background: rgba(245, 158, 11, 0.92);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-copy {
    padding: 16px;
}

.card-title {
    display: block;
    color: #fff;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
}

.card-title:hover,
.compact-title:hover {
    color: #fbbf24;
}

.card-copy p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.card-meta {
    color: #cbd5e1;
    font-size: 0.82rem;
}

.pill-link {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 10px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
}

.movie-card.horizontal {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 150px;
}

.movie-card.horizontal .poster-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card.horizontal .card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.movie-card.compact {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 58px 58px;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.compact-rank {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 800;
}

.compact-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.compact span {
    color: var(--muted);
    font-size: 0.86rem;
}

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

.category-tile {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-4px);
}

.category-tile strong {
    font-size: 1.2rem;
}

.category-tile span {
    color: var(--muted);
    line-height: 1.6;
}

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

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

.search-panel {
    position: sticky;
    top: 100px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.88));
    box-shadow: var(--shadow);
}

.filter-hints {
    margin-top: 16px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 26rem),
        linear-gradient(135deg, #0f172a, #020617);
    border-bottom: 1px solid var(--line);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

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

.toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.toolbar input.large {
    min-height: 56px;
    font-size: 1.04rem;
}

.toolbar select {
    max-width: 260px;
}

.chip-row {
    margin-bottom: 28px;
}

.chip-row button {
    cursor: pointer;
}

.chip-row button:hover {
    color: #fff;
    border-color: rgba(245, 158, 11, 0.6);
}

.category-overview-list {
    display: grid;
    gap: 34px;
}

.category-overview-block {
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.52);
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

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

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

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: #020617;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 54px 0 70px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
}

.detail-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.detail-one-line {
    margin-bottom: 22px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.detail-meta-grid span {
    padding: 13px 14px;
    color: #e2e8f0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
}

.detail-meta-grid strong {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 3px;
}

.tag-list {
    margin-bottom: 26px;
}

.player-section {
    padding-bottom: 30px;
}

.video-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 18rem),
        linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.22));
    cursor: pointer;
}

.video-player.is-playing .player-overlay {
    display: none;
}

.player-play-icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 18px 50px rgba(245, 158, 11, 0.38);
    font-size: 2.2rem;
}

.player-overlay strong {
    font-size: 1.5rem;
}

.player-overlay em {
    color: #cbd5e1;
    font-style: normal;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    color: #e2e8f0;
    background: rgba(2, 6, 23, 0.76);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.88rem;
}

.detail-text-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-top: 24px;
}

.detail-text-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.7);
}

.detail-text-card p {
    margin-bottom: 0;
    color: #cbd5e1;
    line-height: 1.9;
}

.site-footer {
    margin-top: 44px;
    padding: 52px 0 26px;
    color: #cbd5e1;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), #000);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.6fr 1fr;
    gap: 40px;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.92rem;
}

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

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

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

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

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

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero,
    .hero-stage,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 68px 0 92px;
    }

    .hero-poster {
        max-width: 260px;
        transform: none;
    }

    .hero-control {
        display: none;
    }

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

    .horizontal-grid,
    .ranking-grid,
    .split-section,
    .detail-text-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .search-panel {
        position: static;
    }

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

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

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

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 2.25rem;
    }

    .movie-grid.all-grid,
    .movie-grid,
    .preview-grid,
    .horizontal-grid {
        grid-template-columns: 1fr;
    }

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

    .category-grid,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .toolbar,
    .section-head,
    .category-overview-head,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .toolbar select {
        max-width: 100%;
    }

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