* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.22);
  --line-strong: rgba(34, 211, 238, 0.44);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --blue: #60a5fa;
  --orange: #fb923c;
  --yellow: #facc15;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 6%, rgba(96, 165, 250, 0.14), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 44%, #020617 100%);
  color: var(--text);
}

body.is-menu-open {
  overflow: hidden;
}

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

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

img.is-missing-image {
  opacity: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-main {
  padding: 34px 0 76px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.28);
}

.site-logo__text {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav > a,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.93rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown:hover > button {
  color: var(--cyan);
  background: rgba(15, 23, 42, 0.7);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 10px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown__menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-dropdown__menu a:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search-form input,
.search-page-form input,
.filter-panel input {
  min-width: 220px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 11px 13px;
  outline: 0;
  color: var(--text);
  background: rgba(15, 23, 42, 0.66);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form input:focus,
.search-page-form input:focus,
.filter-panel input:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.site-search-form button,
.search-page-form button {
  border: 0;
  border-radius: 14px;
  padding: 11px 15px;
  color: white;
  background: linear-gradient(135deg, var(--cyan-strong), #2563eb);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.18);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.66);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #cbd5e1;
}

.mobile-nav a:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.hero {
  position: relative;
  height: 72vh;
  min-height: 540px;
  max-height: 820px;
  overflow: hidden;
  background: #020617;
}

.hero__track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.4s ease;
  pointer-events: none;
}

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

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

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, transparent 38%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--max);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.hero-slide p {
  max-width: 760px;
  margin: 0 0 26px;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.75;
}

.hero-slide__meta,
.detail-meta,
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-slide__meta span,
.detail-meta span,
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.58);
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  font-weight: 800;
  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-strong), #2563eb);
  box-shadow: 0 18px 38px rgba(6, 182, 212, 0.26);
}

.btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.62);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: white;
  background: rgba(15, 23, 42, 0.58);
  font-size: 2rem;
  transform: translateY(-50%);
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.38);
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.site-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}

.site-stats div,
.rank-panel,
.text-panel,
.info-panel,
.video-panel,
.filter-panel,
.search-page-panel,
.category-overview-card,
.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.62));
  box-shadow: var(--shadow);
}

.site-stats div {
  padding: 22px;
}

.site-stats strong {
  display: block;
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.site-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.content-section {
  margin-top: 76px;
}

.content-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

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

.section-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading__link {
  color: var(--cyan);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28);
  transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.4);
}

.movie-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.movie-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(96, 165, 250, 0.06)),
    rgba(15, 23, 42, 0.9);
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 42%);
}

.movie-card__rank,
.movie-card__year,
.movie-card__score {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-card__rank {
  left: 10px;
  top: 10px;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #fb923c);
}

.movie-card__year {
  left: 10px;
  bottom: 10px;
  color: white;
  background: rgba(15, 23, 42, 0.66);
}

.movie-card__score {
  right: 10px;
  bottom: 10px;
  color: #fef3c7;
  background: rgba(15, 23, 42, 0.66);
}

.movie-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 0.82rem;
}

.movie-card h3 {
  margin: 12px 0 8px;
  color: white;
  font-size: 1.05rem;
  line-height: 1.35;
}

.movie-card p {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.92rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card__tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.movie-card__tags span,
.detail-tags span,
.filter-chip {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.07);
  font-size: 0.78rem;
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.rank-panel__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: white;
  font-weight: 800;
}

.rank-panel__header a {
  color: var(--cyan);
  font-size: 0.9rem;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.rank-item a {
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 9px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.54);
}

.rank-item a:hover {
  border-color: rgba(34, 211, 238, 0.4);
}

.rank-item__number {
  color: var(--orange);
  font-weight: 900;
}

.rank-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.9);
}

.rank-item__body {
  min-width: 0;
}

.rank-item strong,
.rank-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item strong {
  color: white;
}

.rank-item small {
  margin-top: 4px;
  color: var(--faint);
}

.rank-item__score {
  color: #fde68a;
  font-weight: 900;
}

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

.category-card a,
.category-overview-card__main {
  display: block;
  padding: 24px;
}

.category-card__count,
.category-overview-card__main span {
  color: var(--cyan);
  font-weight: 800;
}

.category-card h3,
.category-overview-card h2 {
  margin: 10px 0;
  color: white;
  font-size: 1.55rem;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-card__samples,
.category-overview-card__samples {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-card__samples a,
.category-overview-card__samples a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.28);
}

.category-overview-card__samples {
  padding: 0 24px 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 58px);
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.62));
  box-shadow: var(--shadow);
}

.page-hero--compact h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 1.08rem;
}

.filter-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0;
  padding: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.filter-panel input {
  min-width: min(520px, calc(100vw - 80px));
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border-color: rgba(34, 211, 238, 0.25);
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.search-page-panel {
  margin: 24px 0 32px;
  padding: 22px;
}

.search-page-form {
  display: flex;
  gap: 12px;
}

.search-page-form input {
  flex: 1;
}

.search-page-panel__hint {
  color: var(--muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  margin-bottom: 46px;
}

.detail-hero__poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(96, 165, 250, 0.06)),
    rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow);
}

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

.detail-hero__content p {
  color: #cbd5e1;
  font-size: 1.14rem;
  line-height: 1.8;
}

.detail-tags {
  margin: 4px 0 28px;
  padding-top: 0;
}

.video-panel {
  padding: 22px;
  margin-bottom: 42px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.66));
  font-weight: 900;
  font-size: 1.05rem;
}

.play-overlay.is-hidden {
  display: none;
}

.play-overlay__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.32);
}

.player-tip {
  color: var(--muted);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.text-panel,
.info-panel {
  padding: 24px;
}

.text-panel h2,
.info-panel h2 {
  margin: 0 0 14px;
  color: white;
}

.text-panel p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.85;
}

.info-panel dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-panel dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding-bottom: 12px;
}

.info-panel dt {
  color: var(--faint);
}

.info-panel dd {
  margin: 0;
  color: #dbeafe;
}

.info-panel a {
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), #020617);
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}

.site-footer__brand p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer__links h3 {
  margin: 0 0 12px;
  color: white;
}

.site-footer__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer__links a {
  color: var(--muted);
}

.site-footer__links a:hover {
  color: var(--cyan);
}

.site-footer__bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

[data-search-item].is-hidden {
  display: none;
}

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

  .menu-toggle {
    display: grid;
  }

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

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

  .rank-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-search-form {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-slide__content {
    justify-content: flex-end;
    padding-bottom: 96px;
  }

  .site-stats,
  .movie-grid--four,
  .movie-grid--three,
  .category-grid,
  .category-overview-grid,
  .rank-list--wide,
  .detail-hero,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-stats {
    margin-top: 18px;
  }

  .filter-panel,
  .search-page-form,
  .section-heading,
  .site-footer__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-panel {
    display: grid;
  }

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

@media (max-width: 520px) {
  .page-shell,
  .site-header__inner,
  .mobile-nav,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(100% - 22px, var(--max));
  }

  .hero-arrow {
    display: none;
  }

  .movie-card__body {
    padding: 13px;
  }
}
