:root {
  --pink: #ec4899;
  --rose: #f43f5e;
  --orange: #fb923c;
  --yellow: #fef08a;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #fff7fb;
  --line: rgba(236, 72, 153, 0.18);
  --shadow: 0 20px 45px rgba(190, 24, 93, 0.13);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #fff1f8 0%, #fff7ed 45%, #fff 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #ec4899, #fb7185 48%, #fb923c);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.22);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: white;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.brand-text {
  font-size: 21px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--yellow);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-nav input,
.quick-search input,
.search-large input,
.filter-bar input,
.filter-bar select {
  border: 1px solid var(--line);
  outline: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.header-search button,
.mobile-nav button,
.quick-search button,
.search-large button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  color: white;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  color: var(--pink);
  background: white;
  box-shadow: none;
}

.header-search input:focus,
.mobile-nav input:focus,
.quick-search input:focus,
.search-large input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.16);
}

.primary-button:hover,
.quick-search button:hover,
.search-large button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.32);
}

.primary-button.block {
  display: block;
  text-align: center;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

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

.mobile-nav a {
  color: var(--ink);
  font-weight: 800;
}

.mobile-nav form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.mobile-nav input {
  min-width: 0;
  padding: 10px 14px;
}

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

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

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 40%, rgba(251, 146, 60, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(190, 24, 93, 0.78) 48%, rgba(251, 146, 60, 0.52));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 44px;
  color: white;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 10px;
  color: #f9a8d4;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy h1 span {
  display: block;
  margin-top: 12px;
  color: var(--yellow);
  font-size: clamp(28px, 4vw, 48px);
}

.hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-tags,
.detail-meta,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.card-tags span,
.tag-list a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #be185d;
  background: #fce7f3;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 20px;
  color: white;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.ghost-button.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 28px;
  background: white;
}

.quick-panel {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  margin: -56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.5fr));
  gap: 18px;
}

.quick-panel > a,
.quick-search {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.quick-panel > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.quick-panel strong {
  color: #be185d;
  font-size: 20px;
}

.quick-panel span {
  color: var(--muted);
}

.quick-search {
  padding: 18px;
}

.quick-search label {
  display: block;
  margin-bottom: 8px;
  color: #be185d;
  font-weight: 900;
}

.quick-search div,
.search-large {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.quick-search input,
.search-large input {
  min-width: 0;
  padding: 12px 16px;
}

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

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

.section-head.centered {
  justify-content: center;
  text-align: center;
}

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

.section-head h2,
.rank-head h2,
.article-card h2,
.poster-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-head a,
.text-link {
  color: #db2777;
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 28px rgba(190, 24, 93, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.46);
  box-shadow: 0 20px 44px rgba(190, 24, 93, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: white;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 4px 9px;
  color: white;
  background: rgba(17, 24, 39, 0.68);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-card-meta,
.list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #db2777;
  font-size: 12px;
  font-weight: 900;
}

.movie-card h2,
.list-card h2,
.ranking-card h2 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.movie-card p,
.list-card p,
.ranking-card p,
.article-card p,
.poster-card p,
.category-overview-card strong {
  color: var(--muted);
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 14px;
}

.card-tags {
  gap: 6px;
}

.card-tags span {
  padding: 3px 8px;
  font-size: 11px;
}

.categories-strip {
  width: 100%;
  padding: 62px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, #ffedd5, #fce7f3, #ffe4e6);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: var(--radius);
  color: white;
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(190, 24, 93, 0.84));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card span,
.category-card strong {
  position: relative;
  z-index: 1;
}

.category-card span {
  font-size: 22px;
  font-weight: 900;
}

.category-card strong {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

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

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

.list-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  background: white;
  box-shadow: 0 10px 24px rgba(190, 24, 93, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.list-poster {
  overflow: hidden;
  border-radius: 16px;
}

.list-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.list-body {
  min-width: 0;
  padding: 4px 0;
}

.list-body p {
  margin: 0 0 12px;
}

.rank-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  background: linear-gradient(160deg, #db2777, #f43f5e 55%, #fb923c);
  box-shadow: var(--shadow);
}

.rank-head p {
  margin: 0 0 4px;
  color: var(--yellow);
  font-weight: 900;
}

.rank-head h2 {
  color: white;
}

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

.rank-list a {
  display: grid;
  grid-template-columns: 34px 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.rank-no {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #be185d;
  background: white;
  font-weight: 900;
}

.rank-list img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-style: normal;
}

.category-band {
  padding: 38px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.band-1 {
  background: linear-gradient(135deg, #fff, #fdf2f8);
}

.band-2 {
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.band-3 {
  background: linear-gradient(135deg, #fff1f2, #fff);
}

.band-4 {
  background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.cta-section,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 74px auto;
  border-radius: 34px;
  padding: 58px;
  color: white;
  background:
    radial-gradient(circle at 20% 0%, rgba(254, 240, 138, 0.28), transparent 32%),
    linear-gradient(90deg, #db2777, #f43f5e 50%, #fb923c);
  box-shadow: var(--shadow);
}

.cta-section {
  text-align: center;
}

.cta-section h2,
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.cta-section p,
.page-hero p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero p {
  margin-left: 0;
}

.small-hero {
  margin-top: 34px;
  margin-bottom: 46px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: white;
  box-shadow: 0 12px 28px rgba(190, 24, 93, 0.08);
}

.category-overview-image {
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.category-overview-card p {
  margin: 0 0 6px;
  color: #db2777;
  font-weight: 900;
}

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

.category-overview-card strong {
  display: block;
  font-weight: 500;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sample-links a {
  border-radius: 999px;
  padding: 5px 10px;
  color: #be185d;
  background: #fce7f3;
  font-size: 12px;
  font-weight: 900;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 160px;
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(190, 24, 93, 0.08);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 16px;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 58px 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: white;
  box-shadow: 0 10px 26px rgba(190, 24, 93, 0.08);
}

.ranking-no {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, #ec4899, #fb923c);
  font-size: 22px;
  font-weight: 900;
}

.ranking-poster {
  overflow: hidden;
  border-radius: 16px;
}

.ranking-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.breadcrumb a {
  color: #db2777;
  font-weight: 900;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #030712;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.26);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030712;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #111827;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.56) saturate(1.12);
}

.player-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #db2777;
  background: white;
  font-size: 34px;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.article-card,
.poster-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: white;
  box-shadow: 0 12px 28px rgba(190, 24, 93, 0.08);
}

.main-detail {
  margin-top: 22px;
}

.main-detail h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.lead-text {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 20px;
  color: #9d174d;
  background: #fdf2f8;
  font-size: 18px;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.detail-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

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

.poster-card h2 {
  font-size: 24px;
}

.small-rank {
  position: static;
}

.related-section {
  margin-top: 44px;
}

.search-large {
  max-width: 760px;
  margin-top: 28px;
}

.search-large input {
  background: white;
}

.is-filtered-out {
  display: none !important;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--muted);
  background: white;
  text-align: center;
  box-shadow: var(--shadow);
}

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

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

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 80px 0 110px;
  }

  .hero-poster {
    display: none;
  }

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

  .rank-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 620px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .quick-panel {
    margin-top: -34px;
  }

  .quick-search div,
  .search-large,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .section,
  .cta-section,
  .page-hero {
    width: min(100% - 24px, 1180px);
    margin-top: 46px;
    margin-bottom: 46px;
  }

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

  .movie-grid,
  .movie-grid.four,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h2 {
    font-size: 16px;
  }

  .movie-card p {
    min-height: auto;
  }

  .categories-strip,
  .category-band,
  .cta-section,
  .page-hero {
    padding: 30px 18px;
  }

  .list-card,
  .category-overview-card,
  .ranking-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ranking-card .ranking-no {
    grid-column: 1 / -1;
    width: auto;
  }

  .category-overview-image img {
    min-height: 160px;
  }

  .detail-top {
    width: min(100% - 24px, 1180px);
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .movie-grid.four,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .list-card,
  .category-overview-card,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .list-poster img,
  .ranking-poster img,
  .category-overview-image img {
    max-height: 320px;
  }

  .hero-actions,
  .page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ghost-button,
  .primary-button {
    width: 100%;
    justify-content: center;
  }
}
