:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --red: #ef4444;
  --orange: #f97316;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff1f2;
  --line: #fee2e2;
  --card: #ffffff;
  --bg: #fff7ed;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.14);
  --shadow-soft: 0 10px 30px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #fff 32%, #fff7fb 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.88);
  border-bottom: 1px solid rgba(251, 207, 232, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--pink), var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.32);
  font-size: 14px;
  padding-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: #fff;
  color: var(--pink-dark);
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--pink-dark);
  border-radius: 999px;
}

.nav-search {
  width: 260px;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ffe4e6;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-soft);
}

.site-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 4px 8px 12px;
  color: var(--text);
}

.site-search button,
.primary-btn,
.ghost-btn,
.filter-panel button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.22s ease;
  white-space: nowrap;
}

.site-search button,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red), var(--orange));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.28);
}

.site-search button {
  padding: 8px 14px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 207, 232, 0.92);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.1);
}

.ghost-btn.small {
  padding: 10px 14px;
  font-size: 14px;
}

.site-search button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.filter-panel button:hover {
  transform: translateY(-2px);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(236, 72, 153, 0.2), transparent 26%),
    radial-gradient(circle at 78% 8%, rgba(249, 115, 22, 0.18), transparent 28%),
    linear-gradient(135deg, #ffe4e6 0%, #fff7ed 55%, #fdf2f8 100%);
  padding: 78px 0 108px;
}

.hero-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.6;
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-one {
  width: 150px;
  height: 150px;
  left: 6%;
  top: 30px;
  background: rgba(236, 72, 153, 0.18);
}

.hero-glow-two {
  width: 230px;
  height: 230px;
  right: 8%;
  bottom: 42px;
  background: rgba(249, 115, 22, 0.16);
  animation-delay: 1.5s;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.05);
  }
}

.hero-slides {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 44px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-copy {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--pink-dark);
  background: #fff;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, var(--pink), var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: #4b5563;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.hero-poster {
  position: relative;
  height: min(520px, 68vw);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(236, 72, 153, 0.24);
  transform: rotate(2deg);
  background: #111827;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55));
}

.hero-play,
.play-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-play {
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  font-size: 30px;
  padding-left: 4px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-dots button {
  width: 34px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.22);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dots button.is-active {
  width: 54px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-categories a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 16px;
  color: #4b5563;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: 0.22s ease;
}

.hero-categories a:hover {
  color: var(--pink-dark);
  transform: translateY(-2px);
}

.feature-strip {
  margin-top: -66px;
  position: relative;
  z-index: 5;
}

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

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

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

.section-head h2,
.intro-search h2,
.page-hero h1,
.detail-card h1 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head a {
  color: var(--pink-dark);
  font-weight: 900;
}

.intro-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 32px;
  align-items: center;
  padding: 72px 0 30px;
}

.intro-search p,
.page-hero p,
.category-tile em,
.movie-desc,
.detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(254, 226, 226, 0.84);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 114, 182, 0.55);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: #111827;
  overflow: hidden;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.66));
}

.play-float {
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  padding-left: 3px;
  transition: 0.25s ease;
}

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

.card-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(236, 72, 153, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

.movie-card-body strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
}

.movie-meta,
.tag-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.movie-meta span,
.tag-line span,
.detail-tags span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff7ed;
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
}

.tag-line span {
  background: #fdf2f8;
  color: var(--pink-dark);
}

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

.rail-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

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

.soft-band {
  background: linear-gradient(90deg, #fff1f2, #fff7ed, #fdf2f8);
}

.two-column-block {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.rank-panel,
.side-card,
.detail-card,
.player-card,
.category-preview {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(254, 226, 226, 0.86);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.rank-panel {
  padding: 26px;
  position: sticky;
  top: 94px;
}

.compact-head {
  margin-bottom: 16px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #fff1f2;
  transition: 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: #fbcfe8;
  box-shadow: var(--shadow-soft);
}

.rank-no {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-weight: 900;
}

.rank-row img {
  width: 56px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #111827;
}

.rank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-info strong,
.mini-card strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info em,
.mini-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-heat {
  color: var(--pink-dark);
  font-weight: 900;
  font-size: 13px;
}

.category-entry {
  padding-bottom: 72px;
}

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

.category-tile {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(254, 226, 226, 0.92);
  box-shadow: var(--shadow-soft);
  transition: 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.cat-emoji {
  font-size: 30px;
}

.cat-emoji.big {
  font-size: 56px;
}

.category-tile strong {
  font-size: 20px;
}

.category-tile em {
  font-style: normal;
  font-size: 14px;
  flex: 1;
}

.cat-count {
  color: var(--pink-dark);
  font-weight: 900;
}

.page-hero {
  background:
    radial-gradient(circle at 16% 14%, rgba(236, 72, 153, 0.16), transparent 26%),
    linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%);
  padding: 70px 0;
  text-align: center;
}

.page-hero .content-wrap {
  max-width: 860px;
}

.page-hero p {
  font-size: 18px;
  margin: 18px auto 0;
  max-width: 720px;
}

.top-spacing {
  padding-top: 54px;
}

.stacked-previews {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 80px;
}

.category-preview {
  padding: 28px;
}

.category-hero,
.search-hero,
.rank-hero {
  text-align: left;
}

.category-hero .content-wrap,
.search-hero .content-wrap,
.rank-hero .content-wrap {
  max-width: 1180px;
}

.flat-actions {
  margin-top: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px 170px 160px 110px;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #ffe4e6;
  box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #ffe4e6;
  border-radius: 999px;
  background: #fff7ed;
  outline: 0;
  padding: 12px 14px;
  color: var(--text);
}

.filter-panel button {
  padding: 12px 16px;
  background: #fdf2f8;
  color: var(--pink-dark);
}

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

.empty-state {
  display: none;
  margin: 34px 0 0;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #ffe4e6;
}

.empty-state.is-visible {
  display: block;
}

.podium-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  padding: 54px 0 20px;
}

.podium-card {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
}

.podium-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.86;
  transition: 0.35s ease;
}

.podium-card:hover img {
  transform: scale(1.05);
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.podium-index,
.podium-body {
  position: absolute;
  z-index: 2;
}

.podium-index {
  top: 18px;
  left: 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(236, 72, 153, 0.88);
  padding: 8px 12px;
  font-weight: 900;
}

.podium-body {
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.podium-body strong {
  font-size: 24px;
}

.podium-body em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.rank-full {
  padding-bottom: 80px;
}

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

.large-rank .rank-row img {
  width: 70px;
  height: 88px;
}

.detail-shell {
  padding: 32px 0 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
}

.player-card {
  padding: 12px;
  margin-bottom: 24px;
}

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #050505;
}

.video-box video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay span {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
  font-size: 34px;
  padding-left: 4px;
}

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

.detail-card {
  padding: 30px;
  margin-bottom: 28px;
}

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

.detail-meta,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}

.detail-meta span {
  color: #4b5563;
  background: #fff7ed;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.detail-card h2,
.side-card h2 {
  margin: 26px 0 10px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  font-size: 16px;
}

.related-block {
  padding-top: 20px;
}

.detail-side {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-cover {
  border-radius: 28px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
}

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

.side-card {
  padding: 22px;
}

.side-card h2 {
  margin-top: 0;
}

.side-card dl {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  font-weight: 800;
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: #fff7ed;
  transition: 0.2s ease;
}

.mini-card:hover {
  transform: translateX(3px);
  background: #fdf2f8;
}

.mini-card img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  background: #111827;
}

.mini-card span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer {
  background: linear-gradient(180deg, #fff7ed, #fff);
  border-top: 1px solid #ffe4e6;
  padding: 42px 0 24px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
}

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

.footer-links a {
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--pink-dark);
  font-weight: 800;
  border: 1px solid #ffe4e6;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

@media (max-width: 920px) {
  .nav-shell {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    padding: 8px 0 2px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-slide,
  .intro-search,
  .two-column-block,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-slides {
    min-height: 780px;
  }

  .hero-poster {
    height: 420px;
    transform: none;
  }

  .feature-grid,
  .movie-grid,
  .compact-grid,
  .small-grid,
  .category-card-grid,
  .podium-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-panel,
  .detail-side {
    position: static;
  }

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

@media (max-width: 620px) {
  .content-wrap,
  .hero-shell,
  .nav-shell,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    font-size: 18px;
  }

  .hero-section {
    padding: 42px 0 76px;
  }

  .hero-slides {
    min-height: 760px;
  }

  .hero-copy {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-poster {
    height: 360px;
    border-radius: 26px;
  }

  .feature-grid,
  .movie-grid,
  .compact-grid,
  .small-grid,
  .category-card-grid,
  .podium-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .rail-grid {
    grid-auto-columns: 82%;
  }

  .section-head,
  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .rank-heat {
    grid-column: 3;
  }

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

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