:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #d97706;
  --brand-dark: #b45309;
  --brand-soft: #fef3c7;
  --shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.35);
}

.brand__name {
  font-size: 20px;
}

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

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-dark);
  background: #fffbeb;
}

.header-search,
.mobile-nav__search,
.hero-search,
.search-panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-nav__search input,
.hero-search input,
.search-panel__bar input,
.search-panel__bar select {
  border: 1px solid var(--line);
  outline: none;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 14px;
}

.header-search button,
.mobile-nav__search button,
.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--brand);
  cursor: pointer;
  font-weight: 700;
}

.header-search input:focus,
.mobile-nav__search input:focus,
.hero-search input:focus,
.search-panel__bar input:focus,
.search-panel__bar select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fffbeb;
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.mobile-nav__link {
  padding: 12px 14px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav__link.is-active,
.mobile-nav__link:hover {
  color: var(--brand-dark);
  background: #fffbeb;
}

.mobile-nav__search input {
  min-width: 0;
  flex: 1;
  padding: 12px 14px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 44%, #ffedd5 100%);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide img {
  position: absolute;
  right: 5%;
  top: 11%;
  width: min(38vw, 520px);
  height: min(56vh, 560px);
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(245, 158, 11, 0.2), transparent 34%), linear-gradient(90deg, rgba(255, 247, 237, 0.92) 0%, rgba(255, 247, 237, 0.78) 48%, rgba(255, 237, 213, 0.2) 100%);
}

.hero-slide__content {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(420px, 42vw);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-slide__tag {
  display: inline-flex;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-slide__content h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.hero-slide__content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 150px 24px 0;
  margin-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--brand-dark);
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero__copy p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.8;
}

.hero-search {
  max-width: 620px;
  padding: 8px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(146, 64, 14, 0.1);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 0;
  background: transparent;
}

.hero-search button {
  padding: 14px 22px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 13px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #ea580c);
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.35);
}

.button--ghost {
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.button--light {
  color: #92400e;
  background: #ffffff;
  box-shadow: none;
}

.hero__dots {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 62px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.25);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--brand);
}

.quick-categories {
  margin-top: -38px;
  position: relative;
  z-index: 4;
  padding: 0 24px;
}

.quick-categories__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quick-categories a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #78350f;
  background: #fffbeb;
  font-weight: 800;
}

.quick-categories span {
  color: #ffffff;
  background: var(--brand);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.stats-strip {
  max-width: 1280px;
  margin: 44px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-strip div {
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.stats-strip strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stats-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.content-section {
  padding: 82px 24px;
  max-width: 1328px;
  margin: 0 auto;
}

.content-section--soft {
  max-width: none;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.content-section--soft > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-link {
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fef3c7;
}

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

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

.movie-card__year,
.movie-card__play {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  font-weight: 800;
}

.movie-card__year {
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.92);
}

.movie-card__play {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-card__body {
  padding: 20px;
}

.movie-card__meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.movie-card__meta span,
.detail-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--brand-dark);
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

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

.movie-card__tags span,
.detail-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #6b4a00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

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

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

.compact-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.compact-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.compact-card:hover img {
  transform: scale(1.08);
}

.compact-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.82));
}

.compact-card__text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #ffffff;
}

.compact-card__text strong,
.compact-card__text small {
  display: block;
}

.compact-card__text strong {
  font-size: 17px;
  line-height: 1.25;
}

.compact-card__text small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.rank-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

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

.category-card,
.category-overview-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-card span,
.category-overview-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.category-card strong,
.category-card small {
  position: absolute;
  left: 22px;
  right: 22px;
}

.category-card strong {
  bottom: 48px;
  font-size: 28px;
}

.category-card small {
  bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.category-overview-card__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.category-overview-card__body strong,
.category-overview-card__body small,
.category-overview-card__body em {
  display: block;
}

.category-overview-card__body strong {
  font-size: 28px;
  margin-bottom: 8px;
}

.category-overview-card__body small {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.category-overview-card__body em {
  margin-top: 12px;
  font-style: normal;
  color: #fde68a;
  font-weight: 900;
}

.page-hero {
  padding: 90px 24px;
}

.page-hero--amber {
  background: linear-gradient(135deg, #fef3c7, #ffedd5 55%, #fff7ed);
}

.page-hero--dark {
  color: #ffffff;
  background: radial-gradient(circle at 72% 18%, rgba(245, 158, 11, 0.32), transparent 32%), linear-gradient(135deg, #111827, #27170a);
}

.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 860px;
  margin: 18px 0 12px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 19px;
  line-height: 1.8;
}

.page-hero--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
}

.pagination:last-child {
  margin: 32px 0 0;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 13px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.pagination strong {
  color: #ffffff;
  background: var(--brand);
}

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

.detail-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(10px);
  transform: scale(1.06);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.82) 48%, rgba(146, 64, 14, 0.72));
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-info__line {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags {
  margin: 20px 0 28px;
}

.player-section {
  padding: 68px 24px;
  background: #0f172a;
}

.player-shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  cursor: pointer;
}

.player-overlay__icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 22px 40px rgba(234, 88, 12, 0.35);
  font-size: 38px;
  padding-left: 6px;
}

.player-overlay__text {
  margin-top: 122px;
  position: absolute;
  font-size: 18px;
  font-weight: 900;
}

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

.detail-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 76px 24px;
  display: grid;
  gap: 26px;
}

.detail-content article {
  padding: 34px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.detail-content h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-content p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.rank-table th,
.rank-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.rank-table th {
  color: #78350f;
  background: #fffbeb;
  font-size: 14px;
}

.rank-table a {
  color: var(--text);
  font-weight: 800;
}

.rank-table a:hover {
  color: var(--brand-dark);
}

.table-rank {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 900;
}

.search-panel {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 24px;
}

.search-panel__bar {
  padding: 18px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.search-panel__bar input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
}

.search-panel__bar select {
  padding: 14px 18px;
}

.search-panel__count {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.index-group {
  margin-bottom: 34px;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.index-group h2 {
  margin: 0 0 18px;
  color: var(--brand-dark);
}

.index-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
}

.index-links a {
  padding: 8px 0;
  color: #374151;
  border-bottom: 1px dashed #e5e7eb;
}

.index-links a:hover {
  color: var(--brand-dark);
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.brand--footer .brand__name {
  color: #ffffff;
}

.site-footer__brand p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 34px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

  .hero-slide img {
    opacity: 0.36;
    width: 54vw;
  }

  .hero-slide__content {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .site-header__inner {
    height: 64px;
    padding: 0 18px;
  }

  .main-nav {
    display: none;
  }

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

  .hero {
    min-height: 680px;
  }

  .hero__copy {
    margin: 0;
    padding: 112px 20px 0;
  }

  .hero__copy p {
    font-size: 17px;
  }

  .hero-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
  }

  .hero__dots {
    left: 20px;
    bottom: 34px;
  }

  .quick-categories {
    margin-top: 0;
    padding-top: 20px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

  .search-panel__bar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand__name {
    font-size: 18px;
  }

  .hero-slide img {
    right: -80px;
    top: 120px;
    width: 360px;
    height: 420px;
  }

  .stats-strip,
  .movie-grid,
  .movie-grid--featured,
  .category-grid,
  .category-overview-grid,
  .compact-grid,
  .compact-grid--ranking,
  .index-links {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 58px 18px;
  }

  .page-hero {
    padding: 64px 18px;
  }

  .detail-content article {
    padding: 24px;
  }
}
