:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.26);
  --panel: rgba(255, 255, 255, 0.92);
  --dark: #0f172a;
  --orange: #f97316;
  --red: #ef4444;
  --yellow: #facc15;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #111827, #fb923c);
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.96), rgba(239, 68, 68, 0.96));
  box-shadow: 0 14px 40px rgba(239, 68, 68, 0.24);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #f97316;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 8px 24px rgba(15, 23, 42, 0.15);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.top-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.top-search input,
.mobile-search input,
.big-search input,
.filter-box input {
  width: 240px;
  height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  outline: none;
  transition: 0.2s ease;
}

.top-search input::placeholder,
.mobile-search input::placeholder,
.big-search input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.top-search input:focus {
  width: 310px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.28);
}

.top-search button,
.mobile-search button,
.big-search button {
  height: 42px;
  padding: 0 18px;
  color: #7c2d12;
  font-weight: 800;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #ffffff;
  border-radius: 999px;
}

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

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  width: min(1280px, calc(100% - 32px));
  margin: 30px auto 0;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 72px;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-copy {
  max-width: 670px;
  color: #ffffff;
}

.hero-kicker,
.page-hero span,
.detail-copy .breadcrumb,
.hero-side-card p,
.section-heading p {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 32px;
  padding: 0 13px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.24);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 610px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link,
.side-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.22s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.26);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.text-link:hover,
.side-more:hover {
  transform: translateY(-2px);
}

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

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

.hero-dot.active {
  width: 42px;
  background: #f97316;
}

.hero-side-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px;
  color: #ffffff;
  background: radial-gradient(circle at top left, #fb923c, #ef4444 45%, #111827 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-side-card p {
  margin: 0 0 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero-side-card h2 {
  margin: 0 0 24px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

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

.hero-rank-list a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  transition: 0.2s ease;
}

.hero-rank-list a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.hero-rank-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 900;
  color: #f97316;
  background: #ffffff;
  border-radius: 12px;
}

.hero-rank-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-rank-list em {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.side-more {
  margin-top: auto;
  color: #7c2d12;
  background: #ffffff;
}

.content-section {
  width: min(1280px, calc(100% - 32px));
  margin: 54px auto 0;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: #ffffff;
  margin: 0;
}

.section-more,
.text-link {
  min-height: 42px;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.movie-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(198px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
}

.movie-row .movie-card {
  scroll-snap-align: start;
}

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

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(249, 115, 22, 0.18);
}

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

.poster-link img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

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

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 42px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: 0.22s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(239, 68, 68, 0.28);
}

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

.movie-meta-line,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.movie-card h3 a:hover {
  color: #f97316;
}

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

.tag-row span {
  color: #c2410c;
  font-size: 12px;
  background: #fff7ed;
  border-color: #fed7aa;
}

.card-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ef4444 48%, #111827);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: 0.24s ease;
}

.category-card:nth-child(even) {
  background: linear-gradient(135deg, #38bdf8, #6366f1 48%, #111827);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.category-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #f97316;
  font-size: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
}

.category-card h3 {
  margin: 22px 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 72px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.92), rgba(239, 68, 68, 0.9) 40%, #111827 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 800px;
  margin: 16px 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.8;
}

.small-hero,
.search-hero,
.ranking-hero,
.category-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
}

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

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

.category-poster-stack img {
  height: 138px;
  object-fit: cover;
  border-radius: 16px;
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-overview-card p {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading-grid {
  align-items: center;
}

.filter-box input {
  width: min(340px, 100%);
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.filter-box input::placeholder {
  color: #94a3b8;
}

.no-results {
  display: none;
  margin: 24px 0 0;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.no-results.show {
  display: block;
}

.big-search {
  display: flex;
  gap: 12px;
  max-width: 650px;
  margin-top: 26px;
}

.big-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.16);
}

.ranking-board {
  display: grid;
  gap: 12px;
}

.ranking-line {
  display: grid;
  grid-template-columns: 56px 72px minmax(0, 1fr) 140px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: 0.2s ease;
}

.ranking-line:hover {
  transform: translateX(5px);
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.14);
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 16px;
}

.ranking-line img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-line strong {
  font-size: 18px;
}

.ranking-line em {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-line b {
  color: #f97316;
  text-align: right;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

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

.detail-inner {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 58px 0;
}

.detail-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: #fed7aa;
  font-size: 14px;
}

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

.detail-one-line {
  max-width: 840px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.jump-player {
  margin-top: 28px;
}

.player-section {
  width: min(1280px, calc(100% - 32px));
  margin: 42px auto 0;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.78)), rgba(15, 23, 42, 0.22);
  border: 0;
  transition: 0.22s ease;
}

.player-cover:hover {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), rgba(15, 23, 42, 0.78));
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  font-size: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 999px;
  box-shadow: 0 22px 44px rgba(239, 68, 68, 0.32);
}

.player-cover strong {
  max-width: 72%;
  font-size: clamp(22px, 4vw, 38px);
}

.detail-content {
  margin-top: 34px;
}

.story-card {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.story-card h2:not(:first-child) {
  margin-top: 30px;
}

.story-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.large-tags {
  margin-top: 28px;
}

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

.site-footer {
  margin-top: 72px;
  color: #ffffff;
  background: #0f172a;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2fr;
  gap: 30px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-inner strong {
  font-size: 22px;
}

.footer-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.footer-inner nav a:hover {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.78);
}

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

  .nav-toggle {
    display: block;
  }

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

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

  .hero-side-card {
    min-height: auto;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    height: 66px;
  }

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

  .hero-carousel {
    min-height: 520px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 36px 24px 72px;
    align-items: flex-end;
  }

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

  .hero-dots {
    left: 24px;
    bottom: 28px;
  }

  .content-section {
    margin-top: 42px;
  }

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

  .movie-row {
    grid-auto-columns: 205px;
  }

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

  .page-hero {
    padding: 42px 24px;
    border-radius: 24px;
  }

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

  .detail-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 46px;
  }

  .detail-poster {
    max-width: 230px;
  }

  .player-wrap {
    border-radius: 22px;
  }

  .ranking-line {
    grid-template-columns: 44px 58px minmax(0, 1fr);
  }

  .ranking-line img {
    width: 58px;
    height: 78px;
  }

  .ranking-line em,
  .ranking-line b {
    grid-column: 3;
    text-align: left;
  }

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

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-shell,
  .content-section,
  .page-hero,
  .detail-inner,
  .player-section,
  .footer-inner,
  .header-inner,
  .mobile-panel {
    width: min(100% - 20px, 1280px);
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .mobile-search,
  .big-search {
    flex-direction: column;
  }

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

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    letter-spacing: -0.03em;
  }

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

  .category-poster-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card {
    padding: 24px;
  }
}
