:root {
  --color-bg: #fff7ed;
  --color-bg-deep: #ffedd5;
  --color-text: #431407;
  --color-muted: #9a3412;
  --color-primary: #f59e0b;
  --color-primary-dark: #d97706;
  --color-card: rgba(255, 255, 255, 0.92);
  --color-border: rgba(251, 191, 36, 0.34);
  --shadow-soft: 0 20px 45px rgba(146, 64, 14, 0.12);
  --shadow-card: 0 12px 30px rgba(146, 64, 14, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.34), transparent 28rem),
    linear-gradient(180deg, #fffbeb 0%, #fff7ed 42%, #ffedd5 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  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);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 25px rgba(146, 64, 14, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.24);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  background: linear-gradient(90deg, #d97706, #ea580c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: #92400e;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #7c2d12;
  background: rgba(251, 191, 36, 0.22);
}

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

.top-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-text);
  border-radius: 999px;
  padding: 11px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
  background: #ffffff;
}

.top-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.top-search button,
.mobile-search button,
.primary-button {
  color: #ffffff;
  padding: 11px 18px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 22px rgba(234, 88, 12, 0.18);
}

.primary-button:hover,
.top-search button:hover,
.mobile-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(234, 88, 12, 0.25);
}

.ghost-button,
.secondary-button {
  color: #fff7ed;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-button {
  color: #92400e;
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(255, 255, 255, 0.88);
}

.text-button {
  color: #d97706;
  padding: 0;
  background: transparent;
}

.text-button:hover {
  color: #ea580c;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.2);
}

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

.mobile-panel a {
  display: block;
  padding: 12px 4px;
  color: #92400e;
  font-weight: 800;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.12) 100%),
    radial-gradient(circle at 18% 72%, rgba(245, 158, 11, 0.34), transparent 26rem);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: clamp(48px, 9vw, 110px);
  max-width: 820px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.18);
}

.section-kicker {
  color: #92400e;
  background: rgba(251, 191, 36, 0.18);
  box-shadow: none;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.hero p {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
}

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

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(0, 0, 0, 0.65);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.section-block {
  padding: 58px 0;
}

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: #7c2d12;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: #d97706;
  font-weight: 900;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 22px 45px rgba(146, 64, 14, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #111827);
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.play-chip,
.rank-badge {
  position: absolute;
  border-radius: 999px;
  font-weight: 900;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 12px;
  top: 12px;
  color: #7c2d12;
  padding: 7px 11px;
  background: #fef3c7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.movie-body {
  padding: 18px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 800;
}

.movie-meta-line span {
  background: rgba(251, 191, 36, 0.16);
  border-radius: 999px;
  padding: 5px 8px;
}

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
  color: #7c2d12;
  line-height: 1.28;
}

.movie-card p {
  margin: 0;
  color: #92400e;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #b45309;
}

.card-rating strong {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  padding: 5px 10px;
}

.card-rating span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  color: #9a3412;
  background: rgba(254, 243, 199, 0.8);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.movie-card--horizontal {
  display: grid;
  grid-template-columns: 220px 1fr;
}

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

.movie-card--large .movie-cover {
  aspect-ratio: 16 / 8;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 330px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.rail-item {
  scroll-snap-align: start;
}

.feature-panel,
.warm-panel {
  width: min(1180px, calc(100% - 32px));
  border-radius: var(--radius-lg);
  padding: 48px;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.75), rgba(255, 237, 213, 0.92));
  box-shadow: var(--shadow-soft);
}

.warm-panel {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.32), rgba(251, 146, 60, 0.28));
}

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

.category-card,
.category-overview-card,
.content-card,
.ranking-panel,
.poster-card {
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.category-card {
  overflow: hidden;
  display: block;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(146, 64, 14, 0.16);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.category-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.category-card h3,
.category-overview-card h2 {
  margin: 0 0 8px;
  color: #7c2d12;
}

.category-card p,
.category-overview-card p {
  margin: 0 0 12px;
  color: #92400e;
  line-height: 1.64;
}

.category-card span,
.category-overview-body > span {
  color: #d97706;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 18px;
}

.ranking-panel {
  padding: 22px;
}

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

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

.rank-list a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: #7c2d12;
  background: rgba(254, 243, 199, 0.62);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a:hover {
  transform: translateX(4px);
  background: rgba(251, 191, 36, 0.28);
}

.rank-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-weight: 900;
}

.rank-title {
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: #d97706;
  font-weight: 900;
}

.sub-hero {
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.28), transparent 28rem),
    linear-gradient(135deg, rgba(255, 251, 235, 0.72), rgba(255, 237, 213, 0.9));
  border-bottom: 1px solid rgba(251, 191, 36, 0.24);
}

.sub-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
  color: #7c2d12;
  letter-spacing: -0.06em;
}

.sub-hero p {
  max-width: 780px;
  margin: 0;
  color: #92400e;
  font-size: 1.1rem;
  line-height: 1.82;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #92400e;
  font-weight: 800;
}

.breadcrumb a {
  color: #d97706;
}

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

.category-overview-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px 12px 0;
}

.category-mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.category-overview-body {
  padding: 20px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 180px)) auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #92400e;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border-radius: 14px;
}

.filter-count {
  margin: 0;
  color: #92400e;
  font-weight: 900;
  white-space: nowrap;
  padding-bottom: 11px;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 20% 68%, rgba(245, 158, 11, 0.32), transparent 30rem);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0 72px;
  color: #ffffff;
}

.detail-hero-content .breadcrumb {
  color: rgba(255, 255, 255, 0.82);
}

.detail-hero-content h1 {
  max-width: 900px;
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-hero-content p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
  line-height: 1.82;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 68px;
}

.detail-main {
  min-width: 0;
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: #000000;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.52));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-frame.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-play-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.35);
  font-size: 2rem;
  padding-left: 4px;
}

.player-status {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.86rem;
  pointer-events: none;
}

.content-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.detail-title-row h2,
.detail-content h2 {
  margin: 0;
  color: #7c2d12;
}

.detail-title-row p {
  margin: 8px 0 0;
  color: #b45309;
  font-weight: 800;
}

.detail-title-row strong {
  color: #ffffff;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.detail-tags {
  margin: 22px 0;
}

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

.meta-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(254, 243, 199, 0.62);
}

.meta-grid dt {
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 900;
}

.meta-grid dd {
  margin: 6px 0 0;
  color: #7c2d12;
  font-weight: 900;
}

.detail-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.detail-content p {
  margin: 0;
  color: #78350f;
  line-height: 1.9;
}

.detail-sidebar {
  display: grid;
  gap: 22px;
  align-content: start;
}

.poster-card {
  overflow: hidden;
  padding: 14px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.full-width {
  width: 100%;
}

.related-block {
  padding-bottom: 0;
}

.site-footer {
  color: #92400e;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
  border-top: 1px solid rgba(251, 191, 36, 0.3);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-brand p {
  max-width: 480px;
  line-height: 1.76;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #7c2d12;
  font-size: 1rem;
}

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

.site-footer a:hover {
  color: #d97706;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(251, 191, 36, 0.24);
}

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

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

  .two-column,
  .detail-layout,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .nav-links,
  .top-search {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero {
    min-height: 620px;
  }

  .hero-control {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .movie-grid--four,
  .movie-grid--three,
  .movie-grid--two,
  .category-grid,
  .category-overview-grid,
  .footer-inner,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .warm-panel {
    width: min(100% - 32px, 1180px);
    padding: 28px;
  }

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

  .movie-card--horizontal .movie-cover {
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 560px) {
  .nav-inner {
    min-height: 64px;
  }

  .logo-text {
    font-size: 1.12rem;
  }

  .hero-content {
    left: 20px;
    right: 20px;
  }

  .hero h1,
  .sub-hero h1,
  .detail-hero-content h1 {
    letter-spacing: -0.04em;
  }

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

  .filter-count {
    padding-bottom: 0;
  }
}
