:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(30, 41, 59, 0.82);
  --line: rgba(148, 163, 184, 0.18);
  --text: #ffffff;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --rose: #f43f5e;
  --green: #10b981;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.12), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(244, 63, 94, 0.10), transparent 30rem),
    linear-gradient(135deg, #020617, #0f172a 55%, #020617);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1280px;
  height: 4.25rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--rose));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  margin-top: 0.15rem;
  color: var(--dim);
  font-size: 0.78rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  padding: 0.58rem 0.95rem;
  color: var(--muted);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link.active,
.mobile-nav-link.active {
  color: var(--accent);
  background: rgba(245, 158, 11, 0.13);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.85);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0.6rem 1.5rem 1rem;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: grid;
  gap: 0.4rem;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.6) 38%, rgba(2, 6, 23, 0.08) 100%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(1280px, 100%);
  transform: translateX(-50%);
  padding: 4rem 1.5rem 5rem;
}

.hero-kicker,
.eyebrow {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 780px;
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tags {
  margin-top: 1.35rem;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
  color: #fde68a;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

.primary-button {
  padding: 0.82rem 1.45rem;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(245, 158, 11, 0.28);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--accent-dark);
}

.ghost-button {
  padding: 0.78rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.ghost-button:hover {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
}

.hero-dots {
  position: absolute;
  right: max(1.5rem, calc((100vw - 1280px) / 2 + 1.5rem));
  bottom: 5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

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

.hero-dots button.active {
  width: 2.2rem;
  background: var(--accent);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-heading span {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 850;
}

.section-heading a,
.text-button {
  color: var(--accent);
  font-weight: 760;
}

.compact-heading {
  margin-bottom: 1rem;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.9rem;
  scroll-snap-type: x proximity;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

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

.poster-link {
  display: block;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.poster-wrap img,
.landscape-image img,
.category-tile img,
.category-panel-cover img,
.detail-poster img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 56%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.duration-badge,
.card-rank {
  position: absolute;
  top: 0.72rem;
  border-radius: 0.55rem;
  padding: 0.18rem 0.48rem;
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}

.duration-badge {
  right: 0.72rem;
}

.card-rank {
  left: 0.72rem;
  color: #fde68a;
}

.poster-link:hover .poster-wrap img,
.landscape-card:hover img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.08);
}

.poster-wrap img,
.landscape-image img,
.category-tile img,
.category-panel-cover img {
  transition: transform 0.3s ease;
}

.poster-link:hover .poster-gradient,
.poster-link:hover .play-badge {
  opacity: 1;
}

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

.movie-title {
  display: -webkit-box;
  margin-top: 0.75rem;
  min-height: 2.9em;
  overflow: hidden;
  color: #ffffff;
  font-weight: 780;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.poster-link:hover .movie-title,
.landscape-title:hover {
  color: var(--accent);
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
  color: var(--dim);
  font-size: 0.86rem;
}

.rating {
  color: #fbbf24;
  font-weight: 760;
}

.movie-line {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0.5rem 0 0.7rem;
  overflow: hidden;
  color: var(--dim);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.landscape-card {
  display: flex;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.landscape-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.30);
  background: var(--panel-strong);
}

.landscape-image {
  position: relative;
  flex: 0 0 42%;
  min-height: 145px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85);
}

.landscape-image span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.landscape-card:hover .landscape-image span {
  opacity: 1;
}

.landscape-body {
  min-width: 0;
  padding: 1rem 1rem 1rem 0;
}

.landscape-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.landscape-body p {
  display: -webkit-box;
  margin: 0.55rem 0;
  overflow: hidden;
  color: var(--dim);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.rank-list,
.feature-grid {
  display: grid;
  gap: 1rem;
}

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

.category-tile {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow);
}

.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.28));
}

.category-tile-body {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
}

.category-tile-body b {
  display: block;
  font-size: 1.15rem;
}

.category-tile-body small {
  display: -webkit-box;
  margin-top: 0.35rem;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.small-hero {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 4rem 1.5rem 3rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.small-hero h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}

.small-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #fde68a;
}

.category-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.category-panel {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-panel-cover {
  min-height: 245px;
  overflow: hidden;
}

.category-panel-body {
  padding: 1.2rem;
}

.category-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.category-panel p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.category-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-preview-links a {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
}

.category-preview-links a:hover {
  color: var(--accent);
  background: rgba(245, 158, 11, 0.12);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(130px, 190px));
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
}

.catalog-toolbar input,
.catalog-toolbar select,
.search-box-large input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.82rem;
  outline: none;
  background: rgba(2, 6, 23, 0.72);
  color: #ffffff;
}

.catalog-toolbar input,
.catalog-toolbar select {
  padding: 0.72rem 0.9rem;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.search-box-large input:focus {
  border-color: rgba(245, 158, 11, 0.62);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

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

.ranking-lead {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.search-box-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.78);
}

.search-box-large input {
  padding: 0.9rem 1rem;
}

.search-box-large button {
  border: 0;
  border-radius: 0.85rem;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.detail-hero {
  min-height: 560px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
}

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

.detail-poster img {
  aspect-ratio: 3 / 4;
}

.detail-info h1 {
  max-width: 900px;
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.detail-meta span {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--muted);
}

.detail-one-line {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.12rem;
}

.detail-tags {
  margin: 1.1rem 0 1.6rem;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.player-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46));
  color: #ffffff;
  cursor: pointer;
}

.player-button span {
  display: grid;
  place-items: center;
  width: clamp(4rem, 10vw, 6rem);
  height: clamp(4rem, 10vw, 6rem);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.32);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-button:hover span {
  transform: scale(1.08);
  background: var(--accent-dark);
}

.player-card.is-playing .player-button {
  display: none;
}

.detail-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.2rem;
}

.text-panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.35rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.text-panel h2 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
}

.text-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.related-grid .movie-card.compact .movie-line {
  display: none;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.76);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  color: var(--dim);
}

.footer-brand {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 850;
}

.footer-inner p {
  max-width: 680px;
  margin: 0.45rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.footer-links a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #334155;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

@media (max-width: 1180px) {
  .poster-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .category-panels {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

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

  .detail-layout {
    align-items: start;
  }

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

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 720px) {
  .header-inner {
    padding: 0 1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    padding: 3rem 1rem 4rem;
  }

  .hero-dots {
    right: 1rem;
    bottom: 2rem;
  }

  .content-section {
    padding: 3rem 1rem 0;
  }

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

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

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

  .category-panel-cover {
    min-height: 220px;
  }

  .catalog-toolbar,
  .search-box-large {
    grid-template-columns: 1fr;
  }

  .small-hero {
    margin: 1rem;
    padding: 3rem 1rem 2.5rem;
  }

  .landscape-card {
    flex-direction: column;
  }

  .landscape-image {
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }

  .landscape-body {
    padding: 0 1rem 1rem;
  }

  .detail-hero-inner {
    padding: 1rem 1rem 3rem;
  }
}

@media (max-width: 420px) {
  .poster-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}
