:root {
  --bg: #0c0a09;
  --bg-soft: #1c1917;
  --panel: #292524;
  --panel-strong: #1f1a17;
  --line: rgba(245, 158, 11, 0.18);
  --text: #fafaf9;
  --muted: #d6d3d1;
  --subtle: #a8a29e;
  --amber: #d97706;
  --amber-bright: #f59e0b;
  --amber-soft: #fef3c7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.20), transparent 38rem),
    radial-gradient(circle at top right, rgba(120, 53, 15, 0.28), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(146, 64, 14, 0.96), rgba(120, 53, 15, 0.96));
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #451a03;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand__name {
  color: var(--amber-soft);
  font-size: clamp(18px, 2vw, 24px);
}

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

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

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

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #451a03;
  background: #fbbf24;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(260px, 20vw);
  padding: 4px;
  border: 1px solid rgba(254, 243, 199, 0.22);
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.45);
}

.header-search input,
.page-search input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.header-search input {
  padding: 8px 10px;
}

.header-search button,
.page-search button {
  cursor: pointer;
  color: #451a03;
  border: 0;
  border-radius: 999px;
  background: #fbbf24;
  font-weight: 900;
}

.header-search button {
  padding: 8px 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 251, 235, 0.10);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fffbeb;
  border-radius: 99px;
}

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

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

.mobile-nav-link {
  padding: 12px 14px;
  background: rgba(28, 25, 23, 0.28);
}

.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  overflow: hidden;
  background: #0c0a09;
}

.hero-track,
.hero-slide {
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: 100%;
  padding: 92px max(24px, calc((100vw - 1180px) / 2)) 82px;
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.94), rgba(12, 10, 9, 0.74) 44%, rgba(12, 10, 9, 0.34)),
    linear-gradient(0deg, rgba(12, 10, 9, 1), rgba(12, 10, 9, 0.18) 45%, rgba(12, 10, 9, 0.92)),
    var(--hero-image),
    radial-gradient(circle at 76% 24%, rgba(245, 158, 11, 0.28), transparent 34rem);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-slide__backdrop {
  position: absolute;
  inset: auto 12% 8% auto;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.20);
  filter: blur(80px);
}

.hero-slide__content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: #451a03;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.hero-title-like {
  display: block;
  max-width: 860px;
  margin: 0 0 14px;
  color: #fff7ed;
  font-size: clamp(34px, 5.5vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.hero h2 {
  margin: 0 0 16px;
  color: #fbbf24;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.1;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e7e5e4;
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.filter-bar a,
.year-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.filter-bar a:hover,
.year-links a:hover {
  transform: translateY(-2px);
}

.button--primary,
.filter-bar a,
.year-links a {
  color: #451a03;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 16px 32px rgba(217, 119, 6, 0.22);
}

.button--ghost {
  color: #fffbeb;
  border: 1px solid rgba(254, 243, 199, 0.28);
  background: rgba(255, 251, 235, 0.08);
  backdrop-filter: blur(8px);
}

.hero-poster {
  width: min(100%, 390px);
  justify-self: end;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(68, 64, 60, 0.88)),
    radial-gradient(circle at 30% 20%, rgba(255, 251, 235, 0.20), transparent 15rem);
}

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

.poster-frame.is-missing img {
  opacity: 0;
}

.hero-poster:hover img,
.movie-card:hover img,
.movie-list-item:hover img,
.detail-cover:hover img {
  transform: scale(1.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(254, 243, 199, 0.24);
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.70);
  transform: translateY(-50%) scale(1.05);
}

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

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

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

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

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

.content-section {
  padding: clamp(44px, 7vw, 88px) 0;
}

.content-section--alt {
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.72), rgba(12, 10, 9, 0.24));
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-heading__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.26);
}

.section-heading h2 {
  margin: 0;
  color: #fef3c7;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

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

.horizontal-scroll {
  display: grid;
  grid-auto-columns: minmax(210px, 260px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
  scroll-snap-align: start;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(254, 243, 199, 0.10);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(41, 37, 36, 0.98), rgba(28, 25, 23, 0.96));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.46);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.movie-card__poster {
  aspect-ratio: 2 / 3;
}

.movie-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 9px;
  color: #451a03;
  background: #fbbf24;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.movie-card__body {
  padding: 14px;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: #fff7ed;
  font-size: 17px;
  line-height: 1.32;
}

.movie-card h3 a:hover,
.movie-list-item:hover strong {
  color: #fbbf24;
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.55;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #d6d3d1;
  font-size: 12px;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #78716c;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: #fcd34d;
  background: rgba(120, 53, 15, 0.42);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag-list--hero span,
.tag-list--detail span {
  color: #451a03;
  background: rgba(253, 230, 138, 0.92);
}

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

.category-tile {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(254, 243, 199, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.28), rgba(12, 10, 9, 0.92)),
    var(--tile-image),
    linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(28, 25, 23, 0.82));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.55);
}

.category-tile span,
.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile span {
  color: #fbbf24;
  font-size: 28px;
  font-weight: 900;
}

.category-tile strong {
  margin-top: 8px;
  color: #fff7ed;
}

.category-tile em {
  margin-top: 18px;
  color: #d6d3d1;
  font-style: normal;
  font-size: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
}

.year-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.movie-list {
  display: grid;
  gap: 12px;
}

.movie-list-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(254, 243, 199, 0.10);
  border-radius: 16px;
  background: rgba(41, 37, 36, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.movie-list-item:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(68, 64, 60, 0.86);
}

.movie-list-item--ranked {
  grid-template-columns: auto 76px minmax(0, 1fr);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #451a03;
  background: #fbbf24;
  border-radius: 12px;
  font-weight: 900;
}

.movie-list-item__cover {
  width: 76px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

.movie-list-item__content {
  min-width: 0;
}

.movie-list-item strong,
.movie-list-item em,
.movie-list-item small {
  display: block;
}

.movie-list-item strong {
  color: #fff7ed;
  font-size: 17px;
  line-height: 1.3;
}

.movie-list-item em {
  margin-top: 5px;
  overflow: hidden;
  color: var(--subtle);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-list-item small {
  margin-top: 7px;
  color: #fcd34d;
}

.cta-panel,
.prose-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(254, 243, 199, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.72), rgba(28, 25, 23, 0.92)),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 26rem);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.prose-card h2 {
  margin: 0 0 8px;
  color: #fef3c7;
}

.cta-panel p,
.prose-card p {
  margin: 0;
  color: #e7e5e4;
}

.prose-card {
  display: block;
}

.prose-card p + p {
  margin-top: 16px;
}

.page-hero {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0 clamp(48px, 8vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.95), rgba(12, 10, 9, 0.76)),
    var(--page-image),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 32rem),
    #1c1917;
  background-size: cover;
  background-position: center;
}

.page-hero--small {
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 34rem),
    linear-gradient(135deg, rgba(28, 25, 23, 0.96), rgba(12, 10, 9, 0.98));
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #fff7ed;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #e7e5e4;
  font-size: clamp(16px, 2vw, 20px);
}

.page-search {
  display: flex;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 8px;
  border: 1px solid rgba(254, 243, 199, 0.18);
  border-radius: 18px;
  background: rgba(28, 25, 23, 0.84);
  box-shadow: var(--shadow);
}

.page-search input {
  padding: 12px 14px;
}

.page-search button {
  padding: 12px 22px;
}

.filter-bar {
  margin: 0 0 24px;
}

.detail-hero {
  padding: clamp(28px, 5vw, 58px) 0 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(245, 158, 11, 0.20), transparent 28rem),
    linear-gradient(180deg, #1c1917, #0c0a09);
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}

.detail-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(254, 243, 199, 0.12);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

.detail-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.detail-player__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff7ed;
  border: 0;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.76)),
    rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.detail-player.is-playing .detail-player__overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 24px 48px rgba(217, 119, 6, 0.36);
}

.play-icon::before {
  content: "";
  margin-left: 6px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 26px solid #451a03;
}

.detail-side {
  display: grid;
  gap: 16px;
}

.detail-cover {
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.detail-facts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px;
  list-style: none;
  border: 1px solid rgba(254, 243, 199, 0.10);
  border-radius: 18px;
  background: rgba(41, 37, 36, 0.78);
}

.detail-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--subtle);
}

.detail-facts strong {
  color: #fef3c7;
  text-align: right;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
}

.detail-content,
.related-panel {
  border: 1px solid rgba(254, 243, 199, 0.10);
  border-radius: 24px;
  background: rgba(28, 25, 23, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.20);
}

.detail-content {
  padding: clamp(22px, 4vw, 40px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 14px;
}

.breadcrumbs span:last-child {
  color: var(--subtle);
}

.detail-content h1 {
  margin: 0 0 16px;
  color: #fff7ed;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.detail-content h2 {
  margin: 34px 0 12px;
  color: #fef3c7;
  font-size: clamp(22px, 3vw, 30px);
}

.detail-content p {
  margin: 0;
  color: #e7e5e4;
  font-size: 17px;
}

.detail-content .lead {
  color: #fcd34d;
  font-size: 20px;
}

.tag-list--detail {
  margin-top: 20px;
}

.related-panel {
  position: sticky;
  top: 90px;
  padding: 18px;
}

.related-panel h2 {
  margin: 0 0 16px;
  color: #fef3c7;
}

.related-list .movie-list-item {
  grid-template-columns: 62px minmax(0, 1fr);
}

.related-list .movie-list-item--ranked {
  grid-template-columns: auto 76px minmax(0, 1fr);
}

.rank-number {
  display: none;
}

.related-list .movie-list-item__cover {
  width: 62px;
}

.site-footer {
  border-top: 1px solid rgba(254, 243, 199, 0.10);
  background: #0a0807;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  color: var(--subtle);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #fef3c7;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: 12px 16px;
}

.footer-links a {
  color: #fcd34d;
}

.no-results {
  display: none;
  padding: 28px;
  border: 1px solid rgba(254, 243, 199, 0.12);
  border-radius: 20px;
  background: rgba(41, 37, 36, 0.78);
  color: #fef3c7;
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  }

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

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

@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-poster {
    width: min(72vw, 260px);
    justify-self: start;
    transform: none;
  }

  .hero-arrow {
    display: none;
  }

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

  .split-layout,
  .detail-hero__grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    align-items: start;
  }

  .related-panel {
    position: static;
  }

  .site-footer__inner,
  .cta-panel {
    display: grid;
  }

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

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

  .brand__name {
    font-size: 18px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-slide {
    padding-inline: 18px;
  }

  .hero h1,
  .hero-title-like {
    font-size: 34px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .content-section {
    padding: 42px 0;
  }

  .movie-grid--home,
  .movie-grid--all,
  .movie-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .movie-card__body {
    padding: 12px;
  }

  .movie-card h3 {
    font-size: 15px;
  }

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

  .page-search {
    display: grid;
    gap: 8px;
  }

  .page-search button {
    width: 100%;
  }

  .movie-list-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .movie-list-item--ranked {
    grid-template-columns: auto 58px minmax(0, 1fr);
    gap: 10px;
  }

  .movie-list-item__cover {
    width: 58px;
  }

  .movie-list-item em {
    white-space: normal;
  }

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

  .detail-cover {
    width: min(70vw, 260px);
  }
}
