:root {
  --rose: #f43f5e;
  --pink: #ec4899;
  --orange: #f97316;
  --purple: #8b5cf6;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --text: #111827;
  --muted: #6b7280;
  --soft: #fff7fb;
  --line: #f3e8ee;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(148, 45, 86, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 38%, #fff8f0 100%);
}

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: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink), var(--orange));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
  font-weight: 600;
}

.main-nav > a,
.nav-dropdown > a {
  transition: color 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 32px;
  left: -18px;
  width: 190px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
}

.dropdown-panel a:hover {
  background: #fff1f5;
  color: var(--rose);
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.08);
}

.nav-search input {
  width: 220px;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  background: transparent;
}

.nav-search button,
.search-strip button,
.search-page-form button,
.filter-bar button {
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.2);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff1f5;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--rose);
}

.mobile-menu {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-menu.is-open {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7fb;
}

.mobile-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(135deg, #e11d48 0%, #db2777 45%, #ea580c 100%);
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(136, 19, 55, 0.92), rgba(219, 39, 119, 0.76), rgba(234, 88, 12, 0.56)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.26), transparent 28%), linear-gradient(180deg, transparent, rgba(60, 10, 28, 0.32));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 650px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.eyebrow,
.section-head p,
.sub-hero p {
  margin: 0 0 12px;
  color: #fb7185;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ffe4e6;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #fff1f2;
  font-size: 18px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--rose);
  background: #fff;
  box-shadow: 0 18px 35px rgba(255, 255, 255, 0.18);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(71, 10, 35, 0.42);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rose);
  background: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.24);
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 34px;
  border-radius: 999px;
  background: #fff;
}

.search-strip {
  max-width: 980px;
  margin: -34px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.search-strip form,
.search-page-form,
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--shadow);
}

.search-strip label {
  color: var(--rose);
  font-weight: 900;
  padding-left: 10px;
}

.search-strip input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  outline: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
}

.section-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 20px 0;
}

.inline-section {
  padding-left: 0;
  padding-right: 0;
}

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

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

.section-head h2,
.sub-hero h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head a,
.text-link {
  color: var(--rose);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(148, 45, 86, 0.2);
}

.category-tile strong,
.category-tile small,
.category-tile .cat-icon {
  position: relative;
  z-index: 2;
  display: block;
}

.cat-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

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

.category-tile small {
  color: rgba(255, 255, 255, 0.86);
}

.category-tile img {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0.34;
  transform: rotate(10deg);
}

.accent-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.accent-orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.accent-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.accent-red { background: linear-gradient(135deg, #fb7185, #ef4444); }
.accent-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.accent-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
.accent-emerald { background: linear-gradient(135deg, #34d399, #059669); }
.accent-pink { background: linear-gradient(135deg, #f9a8d4, #ec4899); }
.accent-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.accent-teal { background: linear-gradient(135deg, #2dd4bf, #0f766e); }

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: 0 14px 35px rgba(148, 45, 86, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

.poster-badge,
.play-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.poster-badge {
  top: 12px;
  left: 12px;
  padding: 7px 11px;
  color: #fff;
  font-size: 12px;
  background: rgba(244, 63, 94, 0.9);
}

.play-float {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  color: var(--rose);
  background: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
}

.card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--rose);
}

.card-body p {
  min-height: 48px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row span,
.detail-tags span {
  padding: 6px 9px;
  color: #be123c;
  background: #ffe4e6;
}

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

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

.mini-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.mini-card img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-card span {
  min-width: 0;
}

.mini-card strong,
.mini-card small {
  display: block;
}

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

.mini-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.rank-panel,
.related-aside,
.text-panel {
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(148, 45, 86, 0.1);
}

.rank-panel {
  padding: 22px;
  position: sticky;
  top: 88px;
}

.rank-row,
.full-rank-row {
  display: grid;
  align-items: center;
  gap: 12px;
}

.rank-row {
  grid-template-columns: 38px 64px minmax(0, 1fr) auto;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.rank-num {
  color: var(--rose);
  font-weight: 950;
}

.rank-row img,
.full-rank-row img {
  object-fit: cover;
  border-radius: 12px;
}

.rank-row img {
  width: 64px;
  height: 44px;
}

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

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

.rank-info small,
.full-rank-row small {
  color: var(--muted);
}

.rank-row em,
.full-rank-row em {
  color: #9f1239;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 20px;
  color: #111827;
  background: radial-gradient(circle at 78% 30%, rgba(244, 63, 94, 0.18), transparent 32%), linear-gradient(135deg, #fff1f2, #fff7ed);
}

.sub-hero > div {
  max-width: 1240px;
  margin: 0 auto;
}

.sub-hero span {
  display: block;
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.category-hero {
  color: #fff;
}

.category-hero h1,
.category-hero p,
.category-hero span {
  color: #fff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(148, 45, 86, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

.category-overview-body h2 {
  margin: 0;
  font-size: 26px;
}

.category-overview-body p {
  color: var(--muted);
  line-height: 1.7;
}

.overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.overview-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-size: 12px;
  font-weight: 800;
}

.filter-bar {
  margin-bottom: 28px;
}

.empty-state {
  padding: 52px;
  text-align: center;
  color: var(--muted);
  border-radius: 24px;
  background: #fff;
  border: 1px dashed rgba(244, 63, 94, 0.3);
}

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

.full-rank-row {
  grid-template-columns: 56px 86px minmax(0, 1fr) auto;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.full-rank-row:hover {
  background: #fff1f5;
}

.full-rank-row img {
  width: 86px;
  height: 58px;
}

.full-rank-row strong,
.full-rank-row small {
  display: block;
}

.detail-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

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

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

.detail-top {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 30px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #db2777, #ea580c);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.26);
}

.detail-info .eyebrow {
  color: #ffe4e6;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.detail-info p {
  margin: 18px 0 20px;
  color: #fff1f2;
  font-size: 17px;
  line-height: 1.75;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.info-grid span {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.info-grid b {
  color: #ffe4e6;
  font-size: 12px;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #050509;
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.2);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.player-start span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  color: var(--rose);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.player-start strong {
  font-size: 18px;
}

.player-box.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.text-panel {
  margin-top: 22px;
  padding: 26px;
}

.text-panel h2,
.related-aside h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.text-panel p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.related-aside {
  position: sticky;
  top: 88px;
  padding: 20px;
}

.related-aside .mini-card {
  margin-top: 12px;
}

.detail-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.detail-pager a {
  padding: 16px;
  border-radius: 18px;
  color: var(--rose);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
}

.search-page-form {
  margin-bottom: 20px;
}

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

.site-footer {
  margin-top: 82px;
  padding: 48px 20px;
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #db2777, #ea580c);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.footer-grid p {
  max-width: 460px;
  color: #ffe4e6;
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 14px;
}

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

.footer-links a {
  color: #ffe4e6;
}

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

[hidden] {
  display: none !important;
}

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

  .hero-content,
  .two-column,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .rank-panel,
  .related-aside {
    position: static;
  }
}

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

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

  .nav-wrap {
    gap: 12px;
  }

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

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

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

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

  .search-strip form,
  .search-page-form,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .section-wrap {
    padding-top: 52px;
  }

  .category-grid,
  .movie-grid,
  .category-overview-grid,
  .mini-scroll,
  .footer-grid,
  .detail-top,
  .info-grid,
  .detail-pager {
    grid-template-columns: 1fr;
  }

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

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

  .full-rank-row em {
    grid-column: 3;
  }
}

@media (max-width: 520px) {
  .mobile-cats {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

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

  .detail-top {
    padding: 18px;
  }
}
