:root {
  --color-bg: #fff7ed;
  --color-bg-soft: #fffbeb;
  --color-card: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-primary: #d97706;
  --color-primary-dark: #b45309;
  --color-secondary: #ea580c;
  --color-border: #fde68a;
  --shadow-soft: 0 18px 45px rgba(146, 64, 14, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-large: 28px;
  --radius-card: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 36%, #ffffff 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(16px);
}

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

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

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.brand__text small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
}

.main-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.main-nav__button {
  padding: 10px 16px;
  border-radius: 12px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fef3c7;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #92400e;
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #111827;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at 30% 20%, #f59e0b, #111827 72%);
}

.hero-slide__image.image-missing,
.movie-card img.image-missing,
.feature-card img.image-missing,
.detail-poster img.image-missing,
.ranking-card img.image-missing,
.category-card img.image-missing {
  background: linear-gradient(135deg, #f59e0b, #7c2d12 70%);
  object-fit: contain;
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(251, 191, 36, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 45%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-slide h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 1.05;
  font-family: "Noto Serif SC", serif;
}

.hero-slide__line {
  max-width: 760px;
  margin: 18px 0 0;
  color: #fef3c7;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-slide__summary {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.hero-slide__meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-slide__meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.hero-slide__actions,
.feature-card__actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.28);
}

.button--light {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
}

.button--ghost {
  color: var(--color-primary-dark);
  border: 1px solid #fcd34d;
  background: #fffbeb;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero__arrow--prev {
  left: 24px;
}

.hero__arrow--next {
  right: 24px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #f59e0b;
}

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

.page-main {
  padding: 32px 0 72px;
}

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

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

.section-heading__bar {
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-family: "Noto Serif SC", serif;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-heading__link {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-card {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 24px;
  padding: 18px;
  border: 1px solid #fde68a;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.feature-card__image {
  min-height: 260px;
  overflow: hidden;
  border-radius: 22px;
  background: #f59e0b;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card__content {
  align-self: center;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-family: "Noto Serif SC", serif;
}

.feature-card p {
  color: #4b5563;
  line-height: 1.8;
}

.feature-card__line {
  color: #92400e !important;
  font-weight: 700;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(252, 211, 77, 0.72);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: var(--shadow-card);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #7c2d12);
}

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

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

.movie-card__score {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.64);
  font-weight: 800;
  font-size: 0.85rem;
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(217, 119, 6, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
  padding: 14px;
}

.movie-card__title {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #111827;
  font-weight: 800;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__meta {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.movie-card__summary {
  display: -webkit-box;
  min-height: 4.6em;
  margin: 10px 0 0;
  overflow: hidden;
  color: #4b5563;
  line-height: 1.55;
  font-size: 0.93rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.movie-card__tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.movie-card__tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 0.76rem;
}

.movie-card--mini .movie-card__summary {
  display: none;
}

.movie-card--mini .movie-card__title {
  min-height: auto;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 22px;
  border: 1px solid #fde68a;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #fff7ed);
  box-shadow: var(--shadow-soft);
}

.category-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-weight: 900;
}

.category-card strong {
  display: block;
  font-size: 1.25rem;
}

.category-card small {
  display: block;
  margin-top: 4px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.category-card__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.category-card__thumbs img {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #f59e0b;
}

.split-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}

.ranking-list,
.quick-search-card,
.filter-panel,
.category-overview-block,
.detail-text-card {
  border: 1px solid #fde68a;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.ranking-list {
  overflow: hidden;
}

.ranking-row {
  display: grid;
  grid-template-columns: 54px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid #ffedd5;
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-row:hover {
  background: #fffbeb;
}

.ranking-row__num {
  color: var(--color-primary);
  font-weight: 900;
}

.ranking-row__title {
  font-weight: 800;
}

.ranking-row__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.quick-search-card {
  padding: 22px;
}

.quick-search-card input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #fcd34d;
  border-radius: 13px;
  padding: 0 14px;
  outline: none;
  background: #ffffff;
}

.quick-search-card .button {
  width: 100%;
  margin-top: 14px;
}

.quick-search-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 26%, rgba(251, 191, 36, 0.32), transparent 34%),
    linear-gradient(135deg, #7c2d12, #111827 74%);
  box-shadow: var(--shadow-card);
}

.compact-hero {
  min-height: 260px;
  display: flex;
  align-items: center;
  padding: 44px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-family: "Noto Serif SC", serif;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.filter-panel {
  padding: 18px;
  margin: 28px 0;
}

.filter-panel__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}

.filter-panel label span {
  display: block;
  margin-bottom: 7px;
  color: #92400e;
  font-weight: 800;
  font-size: 0.9rem;
}

.filter-panel__result {
  margin: 12px 0 0;
  color: var(--color-muted);
}

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

.category-overview-block {
  padding: 22px;
}

.category-overview-block__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.category-overview-block h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
}

.category-overview-block p {
  color: var(--color-muted);
}

.ranking-page-list {
  display: grid;
  gap: 16px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 96px 70px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid #fde68a;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ranking-card__poster {
  overflow: hidden;
  border-radius: 14px;
}

.ranking-card__poster img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  background: #f59e0b;
}

.ranking-card__rank {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 900;
}

.ranking-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.ranking-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.ranking-card__score {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.detail-page {
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: #ffffff;
  background: #111827;
}

.detail-hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.04);
}

.detail-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.42)),
    linear-gradient(0deg, #111827 0%, transparent 38%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

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

.detail-hero__grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 42px;
  min-height: 540px;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.35);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #f59e0b;
}

.detail-poster span {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-weight: 900;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.06;
  font-family: "Noto Serif SC", serif;
}

.detail-info__line {
  max-width: 780px;
  color: #fef3c7;
  font-size: 1.18rem;
  line-height: 1.8;
}

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

.detail-shell {
  padding: 14px 0 72px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-shell__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.46), rgba(0, 0, 0, 0.52) 44%, rgba(0, 0, 0, 0.76));
}

.player-shell__overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.32);
}

.player-shell__overlay strong {
  font-size: 1.1rem;
}

.player-shell.is-playing .player-shell__overlay {
  display: none;
}

.player-shell__status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.player-shell.is-loading .player-shell__status,
.player-shell.has-error .player-shell__status {
  opacity: 1;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-text-card {
  padding: 24px;
}

.detail-text-card h2 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
}

.detail-text-card p {
  color: #4b5563;
  line-height: 2;
  white-space: pre-wrap;
}

.detail-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.detail-pagination a {
  padding: 11px 16px;
  border: 1px solid #fcd34d;
  border-radius: 13px;
  color: var(--color-primary-dark);
  background: #fffbeb;
  font-weight: 800;
}

.site-footer {
  margin-top: 72px;
  padding: 48px 0;
  color: #fff7ed;
  background: linear-gradient(135deg, #451a03, #111827);
}

.site-footer__inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-footer__brand {
  font-size: 1.4rem;
  font-weight: 900;
}

.site-footer p {
  color: rgba(255, 247, 237, 0.72);
  line-height: 1.8;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.site-footer__links a {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__copy {
  font-size: 0.9rem;
}

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

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

  .feature-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header__inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .mobile-menu-button {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 4px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(254, 243, 199, 0.72);
  }

  .hero {
    height: 680px;
  }

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

  .hero__arrow {
    display: none;
  }

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

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

  .category-overview-block__head,
  .ranking-card,
  .ranking-row,
  .detail-hero__grid {
    grid-template-columns: 1fr;
  }

  .ranking-row__meta {
    display: none;
  }

  .detail-hero__grid {
    padding-top: 28px;
  }

  .detail-poster {
    width: min(320px, 100%);
  }
}

@media (max-width: 520px) {
  .main-shell,
  .site-header__inner,
  .site-footer__inner,
  .detail-hero__inner {
    width: min(100% - 20px, 1280px);
  }

  .brand__text small {
    display: none;
  }

  .hero-slide h1,
  .detail-info h1 {
    font-size: 2.2rem;
  }

  .hero-slide__summary {
    display: none;
  }

  .movie-grid--six,
  .movie-grid--five,
  .movie-grid--four,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .compact-hero {
    padding: 28px;
  }

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