:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --orange: #f97316;
  --amber: #f59e0b;
  --blue: #0ea5e9;
  --gold: #eab308;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff1f2;
  --line: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  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: linear-gradient(180deg, #fff7f8 0%, #ffffff 38%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35);
}

.logo-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #ffffff;
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-link,
.mobile-nav-link {
  font-weight: 700;
  color: #374151;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--rose);
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14);
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff1f2;
  cursor: pointer;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--rose);
  margin: 5px 0;
  border-radius: 2px;
}

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

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-search input {
  flex: 1;
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose), #ec4899, var(--orange));
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(90deg, rgba(136, 19, 55, 0.92), rgba(244, 63, 94, 0.72) 42%, rgba(249, 115, 22, 0.62));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(0deg, #fff7f8, rgba(255, 247, 248, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.55fr;
  align-items: center;
  gap: 54px;
  color: #ffffff;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.hero p,
.sub-hero p,
.detail-copy p {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--rose);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover,
.feature-tile:hover,
.category-overview-card:hover,
.top-rank-card:hover {
  transform: translateY(-4px);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-poster {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.36);
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.14);
}

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

.hero-poster:hover img,
.feature-tile:hover img,
.movie-card:hover img,
.top-rank-card:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 52px;
  background: #ffffff;
}

.featured-row {
  position: relative;
  z-index: 6;
  margin-top: -86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-tile {
  height: 258px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #111827;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-tile img,
.top-rank-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
}

.feature-label,
.rating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.feature-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #ffffff;
}

.feature-copy strong,
.feature-copy small {
  display: block;
}

.feature-copy strong {
  font-size: 20px;
  margin-bottom: 6px;
}

.feature-copy small {
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.page-section {
  padding: 74px 0;
}

.white-band {
  background: #ffffff;
}

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

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

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 16px 30px rgba(244, 63, 94, 0.24);
}

.section-icon.orange {
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.section-icon.blue {
  background: linear-gradient(135deg, var(--blue), #22d3ee);
}

.section-icon.gold {
  background: linear-gradient(135deg, #eab308, var(--orange));
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 950;
}

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

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

.category-tile {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 24px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 18px 38px rgba(244, 63, 94, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile strong {
  font-size: 22px;
  margin-bottom: 10px;
}

.category-tile span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

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

.movie-card:not(.compact-card) .poster-wrap {
  aspect-ratio: 3 / 4;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent);
}

.card-content {
  display: block;
  padding: 18px;
}

.meta-line {
  display: block;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.card-title {
  display: block;
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.card-desc {
  display: -webkit-box;
  min-height: 48px;
  color: var(--muted);
  line-height: 1.6;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags span,
.related-cats a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  background: #ffe4e6;
}

.ranking-list {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.large-ranking {
  gap: 10px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 54px 96px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.rank-medal {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4b5563;
  font-weight: 950;
  background: #f3f4f6;
}

.rank-medal.top-one,
.rank-medal.top-two,
.rank-medal.top-three {
  color: #ffffff;
}

.rank-medal.top-one {
  background: linear-gradient(135deg, #facc15, var(--orange));
}

.rank-medal.top-two {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
}

.rank-medal.top-three {
  background: linear-gradient(135deg, #fdba74, #f59e0b);
}

.ranking-item img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-copy strong,
.ranking-copy small {
  display: block;
}

.ranking-copy strong {
  font-weight: 900;
  margin-bottom: 5px;
}

.ranking-copy small {
  max-width: 680px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-score {
  color: var(--rose);
  font-weight: 950;
}

.center-action {
  justify-content: center;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), #ec4899, var(--orange));
}

.sub-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -110px;
  top: -110px;
  background: rgba(255, 255, 255, 0.14);
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
  padding: 92px 0 82px;
}

.sub-hero .eyebrow,
.detail-copy .eyebrow {
  background: rgba(255, 255, 255, 0.16);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.related-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 126px;
  overflow: hidden;
}

.overview-copy {
  display: block;
  padding: 20px;
}

.overview-copy strong,
.overview-copy small {
  display: block;
}

.overview-copy strong {
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 8px;
}

.overview-copy small {
  color: var(--muted);
  line-height: 1.6;
}

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

.top-rank-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
}

.top-rank-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #ffffff;
}

.top-rank-copy strong,
.top-rank-copy small {
  display: block;
}

.top-rank-copy strong {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 950;
}

.top-rank-copy small {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 20px;
  margin-bottom: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.movie-card.is-hidden {
  display: none;
}

.detail-hero {
  background-size: cover;
  background-position: center;
}

.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(136, 19, 55, 0.82), rgba(249, 115, 22, 0.58));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 82px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  aspect-ratio: 3 / 4;
  background: #111827;
}

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.player-section {
  margin-top: -44px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.42));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 20px 45px rgba(244, 63, 94, 0.42);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #ffffff;
}

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

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

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 950;
}

.detail-article p {
  margin: 0 0 26px;
  color: #4b5563;
  line-height: 1.95;
  font-size: 17px;
}

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

.info-grid div {
  padding: 16px;
  border-radius: 18px;
  background: #fff7f8;
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid strong {
  margin-bottom: 5px;
  color: var(--rose);
}

.prev-next {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.prev-next a,
.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #374151;
  background: #f9fafb;
  transition: color 0.2s ease, background 0.2s ease;
}

.prev-next a:hover,
.side-links a:hover {
  color: var(--rose);
  background: #fff1f2;
}

.side-links {
  display: grid;
  gap: 12px;
}

.side-links span {
  color: var(--muted);
}

.site-footer {
  margin-top: 80px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-logo {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 14px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

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

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

  .hero-content,
  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .featured-row,
  .category-grid,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .overview-grid,
  .top-rank-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-poster {
    width: 240px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    padding-top: 34px;
  }

  .hero h1,
  .sub-hero h1,
  .detail-copy h1 {
    font-size: 42px;
  }

  .featured-row,
  .category-grid,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .overview-grid,
  .top-rank-grid,
  .footer-grid,
  .filter-panel,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 44px 74px 1fr;
  }

  .ranking-item img {
    width: 74px;
    height: 54px;
  }

  .ranking-score {
    display: none;
  }

  .detail-poster {
    width: 190px;
  }

  .detail-article,
  .detail-side {
    padding: 22px;
  }

  .sub-hero-inner,
  .detail-hero-inner {
    padding: 58px 0 66px;
  }
}
