:root {
  --rose: #f43f5e;
  --rose-dark: #be123c;
  --orange: #f97316;
  --amber: #f59e0b;
  --blue: #0ea5e9;
  --cyan: #06b6d4;
  --slate: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff1f2;
  --line: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff7ed 0, #fff1f2 360px, #f8fafc 760px);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
  backdrop-filter: blur(16px);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo-mark {
  color: var(--rose);
  filter: drop-shadow(0 10px 20px rgba(244, 63, 94, .38));
}

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

.main-nav a,
.mobile-links > a {
  color: #374151;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-links > a:hover,
.mobile-links > a.active {
  color: var(--rose);
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.toolbar input {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  outline: 0;
  transition: border .2s ease, box-shadow .2s ease;
}

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

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

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

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
  font-size: 22px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: block;
}

.mobile-links {
  display: grid;
  gap: 14px;
  padding: 16px 0 20px;
}

.mobile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-cats a {
  border-radius: 999px;
  background: #fff1f2;
  color: var(--rose-dark);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-search {
  display: flex;
  gap: 8px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .22), transparent 28%), linear-gradient(120deg, #f43f5e 0%, #ec4899 46%, #f97316 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .22));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 48px;
  min-height: 640px;
  padding: 54px 0 110px;
}

.hero-kicker,
.detail-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  padding: 8px 14px;
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 780px;
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-bottom: 24px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

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

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

.hero-actions a,
.watch-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-actions a:hover,
.watch-anchor:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-actions .primary,
.watch-anchor {
  background: #fff;
  color: var(--rose);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.hero-actions .secondary {
  border: 1px solid rgba(255, 255, 255, .48);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .35);
  opacity: 0;
  transform: translateX(24px) scale(.98);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, .82) 100%);
}

.hero-slide-info {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.hero-slide-info span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--rose);
  padding: 5px 12px;
  font-weight: 800;
  font-size: 13px;
}

.hero-slide-info h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

.hero-slide-info p {
  display: -webkit-box;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .88);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-slide-info a {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  padding: 10px 18px;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

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

.hero-dots button.active {
  background: #fff;
}

.featured-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: -86px;
  margin-bottom: 70px;
}

.page-section {
  margin-bottom: 76px;
}

.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-topline > a {
  color: var(--rose);
  font-weight: 900;
}

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

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

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

.section-heading.blue .section-icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}

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

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

.category-tile,
.category-card {
  display: grid;
  gap: 8px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  color: #fff;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(244, 63, 94, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-tile:hover,
.category-card:hover,
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, .18);
}

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

.category-tile span,
.category-card em {
  color: rgba(255, 255, 255, .82);
  font-style: normal;
  font-size: 14px;
}

.white-band {
  padding: 64px 0;
  background: rgba(255, 255, 255, .78);
}

.rank-band {
  padding: 64px 0;
  background: linear-gradient(135deg, #fff1f2, #fffbeb);
}

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

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

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

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

.movie-card {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.movie-card.compact {
  border-radius: 22px;
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4e6, #fed7aa);
}

.movie-card.compact .card-poster {
  aspect-ratio: 16 / 11;
}

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

.movie-card:hover .card-poster img,
.side-card:hover img,
.rank-row:hover img,
.ranking-card:hover img {
  transform: scale(1.08);
}

.card-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}

.card-quality,
.card-duration {
  position: absolute;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.card-quality {
  top: 10px;
  left: 10px;
  background: var(--rose);
}

.card-duration {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, .72);
}

.card-content {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-content strong {
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-content em {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.card-meta span {
  border-radius: 999px;
  background: #f3f4f6;
  padding: 3px 8px;
}

.rank-list,
.ranking-list {
  display: grid;
  gap: 14px;
}

.rank-row,
.ranking-card {
  display: grid;
  grid-template-columns: 52px 96px 1fr auto;
  align-items: center;
  gap: 18px;
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  transition: background .2s ease, transform .2s ease;
}

.rank-row:hover,
.ranking-card:hover {
  background: #fff7ed;
  transform: translateX(4px);
}

.rank-num,
.ranking-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, var(--orange));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.rank-row img,
.ranking-card img {
  width: 96px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
}

.rank-info,
.ranking-body {
  display: grid;
  min-width: 0;
}

.rank-info strong,
.ranking-body strong {
  overflow: hidden;
  color: #111827;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ranking-body span {
  color: #9ca3af;
  font-size: 13px;
}

.rank-views,
.ranking-card b {
  color: var(--rose);
  font-weight: 900;
}

.page-hero {
  padding: 58px 0 64px;
  color: #fff;
}

.page-hero.rose {
  background: linear-gradient(120deg, var(--rose), var(--orange));
}

.page-hero.orange {
  background: linear-gradient(120deg, #fb7185, var(--orange));
}

.page-hero.blue {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
}

.page-hero.gold {
  background: linear-gradient(120deg, #f59e0b, var(--orange));
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs b {
  color: #fff;
}

.crumbs:not(.light) {
  color: rgba(255, 255, 255, .84);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

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

.category-card {
  min-height: 240px;
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.category-covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.toolbar input {
  width: min(560px, 100%);
  padding: 13px 18px;
}

.toolbar span {
  color: var(--muted);
  font-weight: 700;
}

.empty-state {
  display: none;
  border-radius: 24px;
  background: #fff;
  padding: 46px;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.05);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .04), #0f172a 100%);
}

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

.detail-head-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

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

.detail-title-block h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.detail-title-block p {
  max-width: 820px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

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

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 6px 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 44px 0 80px;
}

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

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

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(244, 63, 94, .36), rgba(0, 0, 0, .62));
  cursor: pointer;
  transition: opacity .2s ease, visibility .2s ease;
}

.play-cover span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  font-size: 38px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .26);
  transform: translateX(4px);
}

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

.content-panel,
.sidebar-panel {
  margin-top: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  padding: 26px;
  box-shadow: var(--shadow);
}

.content-panel h2,
.sidebar-panel h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 24px;
}

.content-panel p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

.info-list {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 18px;
  margin: 0 0 18px;
}

.info-list dt {
  color: #9ca3af;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: #374151;
}

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

.tag-list span {
  border-radius: 999px;
  background: #fff1f2;
  color: var(--rose-dark);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.detail-sidebar {
  position: relative;
}

.sidebar-panel {
  position: sticky;
  top: 92px;
}

.side-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.side-card:first-of-type {
  border-top: 0;
}

.side-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #ffe4e6;
}

.side-thumb img {
  width: 112px;
  height: 74px;
  object-fit: cover;
  transition: transform .35s ease;
}

.side-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 800;
}

.side-info {
  display: grid;
  min-width: 0;
}

.side-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.side-info em {
  overflow: hidden;
  color: #9ca3af;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  background: linear-gradient(120deg, #111827, #1f2937);
  color: #fff;
  margin-top: 40px;
}

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

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer p {
  margin: 10px 0 0;
  color: #9ca3af;
}

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 7px 0;
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fb7185;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

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

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 430px;
  }

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

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

  .sidebar-panel {
    position: static;
  }
}

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

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 0 96px;
  }

  .hero-search,
  .mobile-search,
  .toolbar,
  .section-topline {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .detail-head-grid {
    grid-template-columns: 150px 1fr;
  }

  .rank-row,
  .ranking-card {
    grid-template-columns: 42px 74px 1fr;
  }

  .rank-views,
  .ranking-card b {
    display: none;
  }

  .rank-row img,
  .ranking-card img {
    width: 74px;
    height: 54px;
  }
}

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

  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-stage {
    min-height: 380px;
  }

  .featured-strip,
  .movie-grid.three,
  .movie-grid.four,
  .movie-grid.six,
  .category-grid,
  .category-overview,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: 180px;
  }

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

  .side-thumb img {
    width: 96px;
    height: 64px;
  }
}
