:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --radius-xl: 22px;
  --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 12px 26px rgba(17, 24, 39, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--amber-50), #fff7ed 36%, var(--white));
}

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

img {
  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;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--amber-600));
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.28);
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.22);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--amber-600);
}

.brand strong {
  font-size: 21px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
  opacity: 0.92;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown > button:hover {
  opacity: 1;
  color: var(--amber-100);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown div {
  position: absolute;
  top: 42px;
  right: 0;
  width: 190px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--gray-800);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.nav-dropdown:hover div,
.nav-dropdown:focus-within div {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.nav-dropdown a:hover {
  color: var(--amber-700);
  background: var(--amber-100);
}

.header-search {
  width: 275px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  padding: 10px 13px;
  background: transparent;
}

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

.header-search button {
  border: 0;
  padding: 10px 15px;
  color: var(--amber-700);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

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

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(180, 83, 9, 0.98);
}

.mobile-panel a {
  display: block;
  padding: 11px 0;
  font-weight: 700;
  color: var(--white);
}

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

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--amber-500), var(--orange-500));
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.2), transparent 30%), radial-gradient(circle at 76% 20%, rgba(255, 236, 179, 0.18), transparent 36%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 48px;
  padding-top: 36px;
  padding-bottom: 100px;
}

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

.hero-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.72;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow {
  color: var(--amber-700);
  background: var(--amber-100);
}

.section-head.light .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-tags,
.detail-tags,
.card-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.detail-tags span,
.card-tags span,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.card-tags span,
.tag-pill {
  color: var(--amber-700);
  background: var(--amber-100);
}

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

.primary-btn,
.ghost-btn,
.block-btn,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 26px;
  color: var(--amber-700);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(120, 53, 15, 0.22);
}

.primary-btn:hover,
.block-btn:hover,
.section-action:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
  position: relative;
  justify-self: center;
  width: min(330px, 84vw);
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.35);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  color: var(--amber-700);
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-size: 24px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 118px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 28px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.22s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--white);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  max-width: 760px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(120, 53, 15, 0.25);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 20px;
  color: var(--gray-800);
  background: transparent;
}

.hero-search button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  cursor: pointer;
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-copy h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.section-action {
  color: var(--amber-700);
  font-weight: 900;
}

.section-action span {
  font-size: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.16);
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--amber-300), var(--orange-500));
}

.movie-card-compact .poster {
  aspect-ratio: 2 / 3;
}

.poster img,
.rank-thumb img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

.poster img.is-missing,
.rank-thumb img.is-missing,
.hero-poster img.is-missing,
.detail-poster img.is-missing {
  opacity: 0;
}

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

.poster-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.68));
  opacity: 0.82;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 999px;
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.94);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.score-badge,
.year-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.score-badge {
  top: 12px;
  right: 12px;
  color: var(--white);
  background: var(--amber-500);
}

.year-badge {
  left: 12px;
  bottom: 12px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
}

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

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

.movie-card-body h3 a:hover {
  color: var(--amber-700);
}

.movie-card-body p {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.68;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
}

.ranking-band {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--amber-500), var(--orange-500));
}

.ranking-band .section-action,
.section-head.light h2 {
  color: var(--white);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  color: var(--gray-800);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-band .rank-row {
  background: rgba(255, 255, 255, 0.95);
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.15);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(145deg, var(--amber-400), var(--orange-500));
  font-weight: 900;
}

.rank-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--amber-300), var(--orange-500));
}

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

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

.rank-main em {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.rank-score {
  color: var(--amber-700);
  font-weight: 900;
}

.category-section {
  background: linear-gradient(180deg, #fff7ed, var(--amber-50));
}

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

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

.category-tile {
  min-height: 174px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(145deg, var(--amber-400), var(--orange-500));
  font-weight: 900;
}

.category-tile strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 20px;
}

.category-tile em {
  color: var(--gray-600);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.page-hero {
  color: var(--white);
  padding: 72px 0;
  background: linear-gradient(120deg, var(--amber-500), var(--orange-500), var(--amber-400));
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.72;
}

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

.inline-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 12px;
  max-width: 880px;
  margin-top: 28px;
}

.inline-filter input,
.inline-filter select {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.96);
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--gray-600);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

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

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 520px;
  padding: 56px 0;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.detail-poster span {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-500);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb a:hover {
  color: var(--amber-100);
}

.breadcrumb em {
  font-style: normal;
}

.detail-one-line {
  max-width: 800px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.72;
}

.detail-tags {
  margin-bottom: 30px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.video-stage {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 16px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(17, 24, 39, 0.34), rgba(0, 0, 0, 0.74));
  cursor: pointer;
  text-align: center;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--white);
  font-size: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.player-toolbar {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.player-toolbar button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-weight: 900;
}

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

.article-card,
.info-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.article-card {
  padding: 34px;
}

.article-card h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.article-card p {
  margin: 0 0 28px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.86;
}

.info-card {
  height: fit-content;
  padding: 28px;
  position: sticky;
  top: 92px;
}

.info-card dl {
  margin: 0;
}

.info-card div {
  width: 100%;
}

.info-card dt,
.info-card dd {
  margin: 0;
}

.info-card dt {
  color: var(--gray-500);
  font-size: 13px;
}

.info-card dd {
  padding: 6px 0 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 800;
}

.block-btn {
  width: 100%;
  min-height: 46px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.site-footer {
  color: var(--white);
  background: linear-gradient(180deg, var(--gray-800), var(--gray-900));
}

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

.footer-brand {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--amber-300);
  font-size: 18px;
}

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

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

.footer-links a:hover {
  color: var(--amber-300);
}

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

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

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

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

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

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

  .hero-carousel {
    min-height: 720px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 34px;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kicker,
  .hero-actions,
  .hero-tags {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-poster {
    width: min(230px, 70vw);
    order: -1;
  }

  .hero-search {
    border-radius: 24px;
    flex-direction: column;
    bottom: 28px;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
    min-height: 48px;
  }

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

  .section-head,
  .footer-grid,
  .detail-layout,
  .detail-content {
    grid-template-columns: 1fr;
    display: grid;
  }

  .detail-layout {
    min-height: auto;
  }

  .detail-poster {
    width: min(240px, 72vw);
  }

  .info-card {
    position: static;
  }

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

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

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

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

  .movie-grid,
  .movie-grid.wide,
  .rank-grid,
  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 44px 56px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
  }

  .article-card,
  .info-card {
    padding: 22px;
  }
}
