:root {
  --bg: #0c0a09;
  --bg-soft: #1c1917;
  --panel: #292524;
  --panel-deep: #1f1a17;
  --line: rgba(245, 158, 11, 0.22);
  --line-strong: rgba(245, 158, 11, 0.45);
  --text: #fafaf9;
  --muted: #d6d3d1;
  --dim: #a8a29e;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --red: #b91c1c;
  --red-soft: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(185, 28, 28, 0.2), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(127, 29, 29, 0.96), rgba(120, 53, 15, 0.96));
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.site-logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--red));
  color: #fff7ed;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-logo__subtitle {
  margin-top: 3px;
  color: #fde68a;
  font-size: 12px;
}

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

.nav-link,
.mobile-nav-link {
  border-radius: 13px;
  color: #fffbeb;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

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

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  background: rgba(69, 26, 3, 0.5);
  color: #fff7ed;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 13px;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 14px;
  padding: 10px 15px;
  color: #fff7ed;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber), var(--red));
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-soft);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
  background: rgba(41, 37, 36, 0.92);
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(253, 230, 138, 0.35);
  border-radius: 14px;
  padding: 9px 12px;
  color: #fff7ed;
  background: rgba(120, 53, 15, 0.44);
  font-weight: 800;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-nav-link {
  padding: 12px 14px;
  background: rgba(69, 26, 3, 0.45);
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
}

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

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

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s 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(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.74) 44%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.95), transparent 44%);
}

.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;
  align-items: flex-start;
  max-width: 1180px;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--amber-soft);
  background: rgba(120, 53, 15, 0.38);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.hero h2 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.65);
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e7e5e4;
  font-size: 19px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-meta span,
.detail-tags span,
.movie-card__tags span,
.chip {
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 999px;
  padding: 6px 11px;
  color: #fde68a;
  background: rgba(41, 37, 36, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.detail-info .button {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.button-primary {
  color: #fff7ed;
  background: linear-gradient(135deg, var(--amber), var(--red-soft));
  box-shadow: 0 14px 32px rgba(239, 68, 68, 0.28);
}

.button-ghost {
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef3c7;
  background: rgba(41, 37, 36, 0.7);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(0, 0, 0, 0.45);
  font-size: 34px;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

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

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

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

.hero-dot {
  width: 32px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.34);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 52px;
  background: linear-gradient(90deg, var(--amber), var(--red-soft));
}

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

.content-section--panel {
  width: 100%;
  max-width: none;
  padding: 66px max(16px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 32rem),
    rgba(28, 25, 23, 0.72);
  border-top: 1px solid rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

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

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--dim);
}

.section-heading > a {
  border-radius: 999px;
  padding: 10px 16px;
  color: #fef3c7;
  background: rgba(120, 53, 15, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.28);
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(41, 37, 36, 0.94), rgba(28, 25, 23, 0.94));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 26px 70px rgba(120, 53, 15, 0.32);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #451a03, #1c1917 55%, #7f1d1d);
}

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

.movie-card:hover .movie-card__poster img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.04);
}

.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.86));
}

.movie-card__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff7ed;
  background: linear-gradient(135deg, var(--amber), var(--red));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.movie-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.9);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.34);
}

.movie-card__body {
  padding: 18px;
}

.movie-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--amber-soft);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h2 {
  margin: 0 0 9px;
  color: #fff7ed;
  font-size: 19px;
  line-height: 1.32;
}

.movie-card h2 a:hover {
  color: var(--amber-soft);
}

.movie-card p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--dim);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-card img,
.category-overview-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-card::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.16), rgba(12, 10, 9, 0.9));
}

.category-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
  opacity: 0.48;
}

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

.category-card span,
.category-overview-card h2 {
  display: block;
  margin-top: 86px;
  color: #fff7ed;
  font-size: 24px;
  font-weight: 900;
}

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

.category-overview-card__label {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  color: #fff7ed;
  background: linear-gradient(135deg, var(--amber), var(--red));
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--radius-lg);
  padding: 58px;
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.68), rgba(28, 25, 23, 0.92) 55%, rgba(127, 29, 29, 0.58)),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.25), transparent 28rem);
  box-shadow: var(--shadow);
}

.page-hero--compact {
  padding: 46px;
}

.page-hero > span {
  color: var(--amber-soft);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #e7e5e4;
  font-size: 18px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip.is-active,
.chip:hover {
  color: #fff7ed;
  background: linear-gradient(135deg, var(--amber), var(--red));
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 190px));
  gap: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(28, 25, 23, 0.74);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 12px 13px;
}

.filter-empty {
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: var(--radius-md);
  padding: 18px;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.26);
}

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

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

.rank-panel {
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(28, 25, 23, 0.88);
}

.rank-panel h2 {
  margin: 0 0 15px;
  color: #fff7ed;
  font-size: 22px;
}

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

.rank-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  padding-bottom: 10px;
  color: var(--dim);
}

.rank-panel li a {
  color: #fff7ed;
  font-weight: 800;
}

.rank-panel li a:hover {
  color: var(--amber-soft);
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--dim);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-soft);
}

.detail-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(41, 37, 36, 0.96), rgba(28, 25, 23, 0.96)),
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 20rem);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #451a03, #1c1917);
}

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

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-info h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 24px;
  color: #e7e5e4;
  font-size: 18px;
}

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

.detail-meta div {
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 16px;
  padding: 12px;
  background: rgba(12, 10, 9, 0.36);
}

.detail-meta dt {
  margin-bottom: 5px;
  color: var(--dim);
  font-size: 12px;
}

.detail-meta dd {
  margin: 0;
  color: #fff7ed;
  font-weight: 900;
}

.detail-tags {
  margin-bottom: 26px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff7ed;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.25), transparent 14rem),
    rgba(0, 0, 0, 0.34);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--red-soft));
  box-shadow: 0 18px 44px rgba(239, 68, 68, 0.32);
  font-size: 34px;
  transform: translateX(3px);
}

.player-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.detail-text {
  max-width: 980px;
}

.detail-text h2 {
  margin: 0 0 14px;
  color: #fff7ed;
  font-size: 30px;
}

.detail-text p {
  margin: 0 0 28px;
  color: #d6d3d1;
  font-size: 17px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(12, 10, 9, 0.92);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding: 42px 0;
}

.site-logo--footer .site-logo__mark {
  width: 40px;
  height: 40px;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--dim);
}

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

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

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

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

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(245, 158, 11, 0.1);
  padding: 18px 0 28px;
  color: #78716c;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .site-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

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

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

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

  .detail-hero {
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header__inner {
    height: 66px;
  }

  .site-logo__title {
    font-size: 17px;
  }

  .site-logo__subtitle {
    display: none;
  }

  .hero {
    height: 560px;
  }

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

  .hero h1,
  .hero h2 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-control {
    display: none;
  }

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

  .content-section,
  .content-section--panel {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .movie-grid,
  .movie-grid--featured,
  .rank-strip,
  .rank-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .page-hero,
  .page-hero--compact {
    padding: 32px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .movie-grid--featured,
  .rank-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-meta span {
    font-size: 12px;
  }

  .page-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }
}
