:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --blue-600: #2563eb;
  --yellow-400: #facc15;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  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", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
}

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

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

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.28);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.35);
}

.brand-name {
  font-size: 1.25rem;
  background: linear-gradient(90deg, #fb7185, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fb7185;
  transform: translateY(-1px);
}

.nav-search,
.mobile-search,
.hero-search,
.search-strip form,
.search-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search {
  width: min(320px, 30vw);
  padding: 6px;
  background: rgba(51, 65, 85, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.search-strip input,
.search-toolbar input,
.toolbar-controls input,
.toolbar-controls select,
.search-toolbar select {
  min-width: 0;
  border: 0;
  outline: 0;
}

.nav-search input {
  flex: 1;
  color: var(--white);
  background: transparent;
  padding: 8px 10px;
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: #cbd5e1;
}

.nav-search button {
  width: 34px;
  height: 34px;
  color: var(--white);
  border: 0;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.9);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
}

.mobile-panel {
  padding: 0 20px 20px;
  background: var(--slate-900);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
  color: var(--white);
  background: var(--slate-800);
  border-radius: 999px;
}

.mobile-search button,
.hero-search button,
.search-strip button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  border-radius: 999px;
  padding: 12px 18px;
}

.mobile-links,
.mobile-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mobile-links a,
.mobile-categories a {
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  color: var(--white);
  background: var(--slate-950);
  overflow: hidden;
}

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

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(127, 29, 29, 0.58), rgba(234, 88, 12, 0.46)), var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.96;
  transform: scale(1.02);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 22%, rgba(249, 115, 22, 0.36), transparent 32%), linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, 0.96));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 48px;
  width: min(1280px, calc(100% - 32px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 72px 0;
}

.hero-copy {
  max-width: 760px;
}

.hero-badge,
.eyebrow,
.category-badge,
.duration-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge {
  padding: 9px 15px;
  color: var(--white);
  background: rgba(220, 38, 38, 0.94);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.28);
}

.eyebrow {
  color: var(--red-600);
  margin-bottom: 8px;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 680px;
  color: #e2e8f0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.75;
}

.hero-meta,
.detail-stats,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin: 28px 0;
  color: #cbd5e1;
}

.hero-meta span,
.detail-stats span,
.card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.primary-button,
.ghost-button,
.section-more,
.filter-chip,
.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  padding: 15px 24px;
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.34);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.filter-chip:hover,
.tag-pill:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: var(--white);
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.primary-button.small,
.ghost-button.small {
  padding: 10px 16px;
  font-size: 0.92rem;
}

.detail-actions .ghost-button,
.pager-links .ghost-button {
  color: var(--slate-800);
  border-color: var(--slate-200);
  background: var(--slate-100);
}

.hero-poster-card {
  position: relative;
  justify-self: center;
  width: min(360px, 82vw);
  padding: 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
  transition: transform 0.28s ease;
}

.hero-poster-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-poster {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
}

.hero-poster-card > span {
  display: block;
  padding: 12px 6px 2px;
  color: #fee2e2;
  font-weight: 800;
  text-align: center;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.44);
  border-radius: 999px;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

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

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

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 30px;
  background: var(--red-500);
}

.content-section,
.search-strip,
.split-section,
.detail-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

.content-section.narrow-copy {
  max-width: 880px;
  color: var(--slate-700);
  font-size: 1.05rem;
  line-height: 1.85;
}

.content-section.narrow-copy h2 {
  color: var(--slate-900);
  margin-top: 28px;
}

.light-block {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1280px) / 2));
  background: var(--white);
}

.search-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: 26px;
  margin-top: -36px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 5;
}

.search-strip h2,
.section-heading h2,
.toolbar h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
}

.search-strip form,
.hero-search,
.search-toolbar {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 8px;
}

.search-strip input,
.hero-search input,
.search-toolbar input {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
}

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

.section-heading.compact {
  margin-bottom: 18px;
}

.section-more {
  color: var(--red-600);
  padding: 10px 14px;
  background: #fff1f2;
}

.section-more.blue {
  color: var(--blue-600);
  background: #eff6ff;
}

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

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

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

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

.wide-grid.single-column {
  grid-template-columns: 1fr;
}

.movie-card,
.wide-card,
.category-overview-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover,
.wide-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18);
}

.movie-poster-wrap {
  position: relative;
  overflow: hidden;
}

.poster-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #450a0a, #7f1d1d 38%, #f97316);
  overflow: hidden;
}

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

.poster-media.is-missing .poster-img {
  display: none;
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 28%);
}

.poster-img:not([src=""]) + .poster-fallback {
  z-index: -1;
}

.poster-media.is-missing .poster-fallback {
  z-index: 1;
}

.movie-card:hover .poster-img,
.wide-card:hover .poster-img,
.hero-poster-card:hover .poster-img {
  transform: scale(1.08);
}

.duration-badge,
.category-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 9px;
  color: var(--white);
  border-radius: 999px;
}

.duration-badge {
  right: 10px;
  top: 10px;
  background: rgba(2, 6, 23, 0.72);
}

.category-badge {
  left: 10px;
  bottom: 10px;
  background: var(--red-600);
}

.movie-card-body {
  padding: 16px;
}

.movie-card h3,
.wide-card h3 {
  margin: 0 0 9px;
  font-size: 1.02rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p,
.wide-card p {
  color: var(--slate-600);
  margin: 0 0 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stats {
  color: var(--slate-500);
  font-size: 0.9rem;
  justify-content: space-between;
}

.wide-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.wide-card .poster-media {
  height: 100%;
  min-height: 150px;
  aspect-ratio: auto;
}

.wide-card-body {
  padding: 18px;
}

.card-kicker {
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.category-tile {
  position: relative;
  min-height: 185px;
  padding: 22px;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.82)), var(--tile-image);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.category-tile span {
  font-size: 1.45rem;
  font-weight: 900;
}

.category-tile strong {
  margin: 8px 0 26px;
  font-size: 2.6rem;
  line-height: 1;
}

.category-tile em {
  color: #e2e8f0;
  font-style: normal;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.85fr);
  gap: 26px;
  padding: 58px 0;
}

.spotlight-panel,
.ranking-panel,
.detail-card,
.sticky-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.spotlight-panel,
.ranking-panel,
.sticky-card {
  padding: 24px;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--slate-100);
  transform: translateX(2px);
}

.rank-number {
  color: var(--red-600);
  font-size: 1rem;
  font-weight: 900;
}

.rank-poster {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

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

.rank-meta {
  grid-column: 3 / 4;
  color: var(--slate-500);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list.large .rank-row {
  grid-template-columns: 64px 86px minmax(0, 1fr) auto;
}

.rank-list.large .rank-meta {
  grid-column: auto;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.45), transparent 28%), linear-gradient(135deg, var(--slate-950), #7f1d1d 52%, var(--orange-600));
}

.page-hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 720px;
  color: #fee2e2;
  line-height: 1.75;
  font-size: 1.08rem;
}

.page-hero .eyebrow {
  color: #fed7aa;
}

.hero-search {
  max-width: 720px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-controls input,
.toolbar-controls select,
.search-toolbar select {
  padding: 13px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
}

.filter-chip-row,
.tag-row,
.search-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip,
.tag-pill,
.search-categories button {
  border: 0;
  color: var(--red-700);
  background: #fff1f2;
  padding: 10px 13px;
}

.filter-chip span {
  color: var(--slate-500);
  margin-left: 8px;
}

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

.category-overview-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

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

.category-samples span {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background-image: linear-gradient(160deg, rgba(15, 23, 42, 0.2), rgba(220, 38, 38, 0.45)), var(--sample-image);
  background-size: cover;
  background-position: center;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}

.category-overview-card p:last-child {
  color: var(--slate-600);
  line-height: 1.65;
}

.search-app {
  min-height: 520px;
}

.search-toolbar {
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.search-categories button {
  border-radius: 999px;
  font-weight: 800;
}

.search-categories button.is-active {
  color: var(--white);
  background: var(--red-600);
}

.search-count {
  color: var(--slate-600);
  margin: 0 0 18px;
}

.detail-main {
  padding: 34px 0 62px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
  gap: 26px;
}

.detail-primary {
  display: grid;
  gap: 22px;
}

.player-card {
  position: relative;
  background: #000;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--white);
  border: 0;
  background: radial-gradient(circle, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  border-radius: 999px;
  box-shadow: 0 20px 46px rgba(220, 38, 38, 0.38);
}

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

.detail-card {
  padding: 26px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-stats {
  color: var(--slate-600);
  margin-bottom: 20px;
}

.article-copy {
  border-top: 1px solid var(--slate-200);
  margin-top: 22px;
  padding-top: 22px;
}

.article-copy h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.article-copy p {
  color: var(--slate-700);
  line-height: 1.9;
}

.article-copy .lead {
  color: var(--slate-900);
  font-weight: 700;
}

.review-box {
  margin-top: 24px;
  padding: 22px;
  background: linear-gradient(135deg, var(--slate-50), #eff6ff);
  border-radius: var(--radius-lg);
}

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

.sticky-card {
  position: sticky;
  top: 96px;
}

.compact-list .rank-row {
  grid-template-columns: 48px 58px minmax(0, 1fr);
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 34px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 14px;
}

.site-footer p {
  line-height: 1.75;
  margin: 0;
}

.footer-links,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a,
.footer-tags a {
  padding: 8px 10px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

@media (max-width: 1180px) {
  .five-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .hero-content,
  .search-strip,
  .split-section,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 24px;
    padding: 48px 0 82px;
  }

  .hero-poster-card {
    width: min(300px, 74vw);
  }

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

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

  .toolbar-controls,
  .search-toolbar {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .content-section,
  .search-strip,
  .split-section,
  .detail-layout,
  .page-hero-inner {
    width: min(100% - 24px, 1280px);
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 14vw, 3.6rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-control {
    display: none;
  }

  .hero-poster-card {
    display: none;
  }

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

  .wide-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .wide-card .poster-media {
    min-height: 132px;
  }

  .search-strip form,
  .hero-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .rank-list.large .rank-row,
  .rank-row {
    grid-template-columns: 44px 56px minmax(0, 1fr);
  }

  .rank-list.large .rank-meta,
  .rank-meta {
    grid-column: 3 / 4;
  }
}
