:root {
  --orange: #f97316;
  --red: #ef4444;
  --pink: #ec4899;
  --yellow: #facc15;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #f1f5f9;
  --dark: #111827;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--red), var(--pink));
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.brand-mark span {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  margin-left: 4px;
}

.brand-copy strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-copy em {
  display: block;
  font-style: normal;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 3px;
}

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

.nav-link {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fef3c7;
}

.nav-menu {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  padding: 10px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
}

.nav-dropdown a:hover {
  color: var(--orange);
  background: #fff7ed;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px;
  backdrop-filter: blur(14px);
}

.header-search input,
.mobile-search input {
  border: 0;
  outline: 0;
  width: 210px;
  color: #ffffff;
  background: transparent;
  padding: 4px 8px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  color: var(--orange);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel nav,
.mobile-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-link,
.mobile-categories a {
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #fb923c 0%, #ef4444 48%, #ec4899 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.26), transparent 24%), radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.14), transparent 30%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(10px);
}

.hero-orb-one {
  width: 260px;
  height: 260px;
  left: 3vw;
  top: 54px;
}

.hero-orb-two {
  width: 380px;
  height: 380px;
  right: -80px;
  bottom: -120px;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
}

.eyebrow {
  color: var(--orange);
  background: #fff7ed;
}

.hero-copy h1 {
  margin: 20px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 40px);
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: 20px;
  opacity: 0.96;
}

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

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

.primary-button {
  color: var(--orange);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.18);
}

.primary-button:hover,
.section-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(127, 29, 29, 0.22);
}

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

.ghost-button.light {
  color: #ffffff;
}

.hero-art {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 490px;
  box-shadow: 0 36px 80px rgba(127, 29, 29, 0.32);
  transform: rotate(2deg);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(17, 24, 39, 0.78));
}

.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-art:hover img {
  transform: scale(1.06);
}

.hero-art span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 36px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.content-section,
.split-section {
  padding: 70px 0;
}

.soft-bg,
.split-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.section-head,
.category-overview-title,
.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.panel-head h2,
.category-overview-title h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.category-overview-title p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.18);
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.65));
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
}

.movie-info {
  padding: 16px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.movie-meta-line span {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--orange);
  background: #fff7ed;
  font-size: 12px;
  font-weight: 800;
}

.movie-info h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-info h2 a:hover {
  color: var(--orange);
}

.movie-info p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 700;
}

.large-tags span {
  font-size: 13px;
  padding: 7px 12px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.18);
}

.category-card span {
  position: relative;
  display: block;
  z-index: 2;
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  position: relative;
  z-index: 2;
  max-width: 78%;
  margin: 10px 0 0;
  opacity: 0.92;
}

.category-stack {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
}

.category-stack img {
  width: 66px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  margin-left: -28px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.22);
}

.ranking-panel,
.related-panel,
.detail-main,
.category-overview-block {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(17, 24, 39, 0.08);
}

.ranking-panel {
  padding: 24px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

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

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

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

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

.mini-card strong {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 13px;
}

.mini-card em {
  display: block;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-card small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.page-hero {
  color: #ffffff;
  padding: 82px 0;
  background: linear-gradient(120deg, var(--orange), var(--red), var(--pink));
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(4px);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero h1 {
  max-width: 860px;
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  opacity: 0.94;
}

.stacked-blocks {
  display: grid;
  gap: 28px;
}

.category-overview-block {
  padding: 24px;
}

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

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

.movie-card-compact .movie-info p {
  -webkit-line-clamp: 1;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 190px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(17, 24, 39, 0.08);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  outline: 0;
  padding: 13px 16px;
  color: var(--ink);
  background: #fffaf5;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.channel-hero .primary-button {
  color: var(--orange);
}

.empty-state {
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  background: #fff7ed;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

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

.sticky-panel {
  position: sticky;
  top: 98px;
}

.detail-hero {
  padding: 42px 0 56px;
  color: #ffffff;
  background: linear-gradient(120deg, #111827, #7f1d1d 46%, #be185d 100%);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.34);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.28);
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 23px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 23px solid #ffffff;
}

.play-overlay strong {
  font-size: 20px;
}

.detail-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

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

.detail-card div {
  padding: 20px;
}

.detail-card .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-card h1 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.18;
}

.detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.detail-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.detail-score strong {
  font-size: 34px;
  line-height: 1;
  color: #fef3c7;
}

.detail-score span {
  font-weight: 800;
}

.detail-content-section {
  background: #fff7ed;
}

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

.detail-main,
.related-panel {
  padding: 28px;
}

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

.info-table span {
  padding: 14px;
  border-radius: 16px;
  background: #fff7ed;
}

.info-table strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
}

.text-panel {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.text-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

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

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #1f2937, #111827);
}

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

.brand-footer .brand-mark {
  background: rgba(249, 115, 22, 0.22);
}

.footer-brand p {
  max-width: 460px;
  margin: 18px 0 0;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

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

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

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

@media (max-width: 1100px) {
  .movie-grid,
  .overview-grid,
  .search-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-art {
    max-width: 360px;
  }

  .sticky-panel {
    position: static;
  }
}

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

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

  .header-inner {
    min-height: 66px;
  }

  .mobile-search input {
    width: 100%;
  }

  .hero-inner {
    min-height: 720px;
    padding: 50px 0 74px;
  }

  .hero-slide {
    gap: 28px;
  }

  .hero-art {
    min-height: 360px;
    width: min(100%, 320px);
  }

  .hero-art img {
    min-height: 360px;
  }

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

  .hero-dots {
    bottom: 28px;
  }

  .movie-grid,
  .overview-grid,
  .search-grid,
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .category-overview-title,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .info-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy em {
    display: none;
  }

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

  .hero-copy h2 {
    font-size: 25px;
  }

  .content-section,
  .split-section {
    padding: 48px 0;
  }

  .movie-grid,
  .overview-grid,
  .search-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .movie-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .movie-poster {
    aspect-ratio: 3 / 4;
    height: 100%;
  }

  .movie-info h2 {
    font-size: 17px;
  }

  .page-hero {
    padding: 58px 0;
  }

  .detail-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .detail-card img {
    height: 100%;
  }

  .info-table {
    grid-template-columns: 1fr;
  }
}
