:root {
  --stone-950: #1c1917;
  --stone-900: #292524;
  --stone-800: #44403c;
  --stone-700: #57534e;
  --stone-600: #78716c;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(41, 37, 36, 0.16);
  --soft-shadow: 0 14px 30px rgba(41, 37, 36, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffaf0 0%, #f5f5f4 48%, #fff7ed 100%);
  color: var(--stone-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--stone-950), var(--amber-950), var(--stone-950));
  border-bottom: 2px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 26px rgba(28, 25, 23, 0.22);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--amber-100);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.35);
}

.brand-copy strong,
.footer-brand {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: var(--amber-100);
  letter-spacing: 0.02em;
}

.brand-copy small {
  display: block;
  margin-top: 3px;
  color: #fbbf24;
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: #fde68a;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--white);
  background: var(--amber-700);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(180, 83, 9, 0.9);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

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

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
}

.hero {
  position: relative;
  min-height: 690px;
  background: linear-gradient(135deg, var(--stone-950), var(--amber-900), var(--stone-900));
  overflow: hidden;
}

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

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 36%, rgba(245, 158, 11, 0.20), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow.dark {
  background: rgba(217, 119, 6, 0.12);
  color: var(--amber-700);
}

.hero h1,
.hero h2 {
  width: min(760px, 100%);
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  width: min(680px, 100%);
  margin: 0 0 26px;
  color: var(--stone-200);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fffbeb;
  color: var(--amber-800);
  font-size: 12px;
  font-weight: 800;
}

.hero-tags .tag {
  background: rgba(255, 251, 235, 0.16);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.25);
}

.hero-actions,
.hero-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.ghost-btn,
.inline-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  padding: 13px 24px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-800));
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.32);
}

.primary-btn:hover,
.inline-more:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.22);
}

.primary-btn.full {
  width: 100%;
}

.ghost-btn {
  padding: 12px 22px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(253, 230, 138, 0.24);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

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

.hero-control button {
  border: 0;
}

.hero-control > button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
  width: 28px;
  background: var(--amber-500);
}

.hero-search-panel {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  margin: -76px auto 0;
  padding: 22px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-search label,
.filter-panel span {
  color: var(--stone-700);
  font-size: 13px;
  font-weight: 900;
}

.hero-search div,
.filter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.hero-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(120, 113, 108, 0.22);
  border-radius: 14px;
  background: var(--white);
  color: var(--stone-900);
  padding: 0 16px;
  outline: none;
}

.hero-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--stone-900);
  color: var(--white);
  font-weight: 900;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--amber-800);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(217, 119, 6, 0.16);
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  border: 1px solid rgba(120, 113, 108, 0.18);
  border-radius: 16px;
  background: var(--white);
  color: var(--stone-900);
  text-align: left;
  overflow: hidden;
}

.hero-thumb img {
  width: 58px;
  height: 72px;
  object-fit: cover;
}

.hero-thumb span {
  padding-right: 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-thumb.is-active {
  border-color: var(--amber-500);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.18);
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 38px 0 78px;
}

.soft-section {
  background: linear-gradient(135deg, #fffbeb, #f5f5f4);
}

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

.section-heading > span {
  width: 6px;
  height: 38px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber-500), var(--amber-800));
}

.section-heading h2 {
  margin: 0;
  color: var(--stone-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(120, 113, 108, 0.12);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  height: 250px;
  overflow: hidden;
  background: var(--stone-900);
}

.compact-card .poster-link {
  height: 220px;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.card-body {
  padding: 18px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--stone-600);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span,
.detail-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--stone-100);
}

.movie-card h3 {
  margin: 0 0 9px;
  color: var(--stone-900);
  font-size: 19px;
  line-height: 1.3;
}

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

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

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

.category-card,
.category-wide-card,
.highlight-panel,
.detail-article,
.side-card,
.filter-panel,
.page-hero {
  border: 1px solid rgba(120, 113, 108, 0.12);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-card {
  overflow: hidden;
  border-radius: 22px;
}

.category-card > a {
  position: relative;
  display: block;
  height: 210px;
  padding: 20px;
  color: var(--white);
  overflow: hidden;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.78));
}

.category-card strong,
.category-card p {
  position: relative;
  z-index: 1;
}

.category-card strong {
  display: block;
  margin-top: 96px;
  font-size: 24px;
}

.category-card p {
  margin: 8px 0 0;
  color: #fde68a;
  font-size: 13px;
}

.category-samples {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.category-samples a {
  color: var(--stone-700);
  font-size: 13px;
  font-weight: 800;
}

.category-samples a:hover {
  color: var(--amber-700);
}

.category-samples.wide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0;
}

.category-samples.wide a {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fffbeb;
}

.split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 74px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  font-weight: 900;
}

.rank-item img {
  width: 74px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-copy strong {
  display: block;
  color: var(--stone-900);
  line-height: 1.3;
}

.rank-copy small {
  display: block;
  margin-top: 3px;
  color: var(--stone-600);
}

.rank-list.mini .rank-item {
  grid-template-columns: 42px 58px 1fr;
  min-height: 74px;
  padding: 8px;
  box-shadow: none;
  background: #fffbeb;
}

.rank-list.mini .rank-num {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 12px;
}

.rank-list.mini img {
  width: 58px;
  height: 58px;
}

.highlight-panel {
  position: sticky;
  top: 100px;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--amber-700), var(--amber-900));
  color: var(--white);
}

.highlight-panel h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
}

.highlight-panel p {
  color: #fde68a;
}

.inline-more,
.text-link {
  margin-top: 20px;
  padding: 10px 18px;
  color: var(--amber-800);
  background: #fffbeb;
}

.page-main {
  min-height: 64vh;
}

.page-hero {
  margin-top: 34px;
  margin-bottom: 26px;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 10%, rgba(245, 158, 11, 0.18), transparent 26%),
    var(--white);
}

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

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--stone-600);
  font-size: 18px;
}

.category-list-section {
  display: grid;
  gap: 18px;
  padding-bottom: 74px;
}

.category-wide-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
}

.category-wide-image {
  height: 180px;
  overflow: hidden;
  border-radius: 18px;
}

.category-wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-wide-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-wide-card p {
  margin: 0;
  color: var(--stone-600);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--stone-600);
  font-size: 14px;
  font-weight: 800;
}

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

.filter-panel {
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 20px;
}

.filter-panel label {
  display: grid;
  gap: 7px;
}

.empty-state {
  display: none;
  margin: 24px 0 0;
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  color: var(--stone-600);
  text-align: center;
  font-weight: 900;
}

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

.detail-wrap {
  padding: 30px 0 0;
}

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

.detail-primary {
  min-width: 0;
}

.player-card {
  margin-bottom: 24px;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-badge {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-800));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  font-size: 34px;
}

.player-cover strong {
  font-size: 20px;
}

.player-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.control-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 900;
}

.control-btn:hover {
  background: var(--amber-700);
}

.full-toggle {
  margin-left: auto;
}

.detail-article,
.side-card {
  border-radius: 24px;
  padding: 26px;
}

.detail-article h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

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

.detail-article section {
  padding-top: 24px;
  border-top: 1px solid rgba(120, 113, 108, 0.16);
}

.detail-article section + section {
  margin-top: 24px;
}

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

.detail-article p {
  margin: 0 0 14px;
  color: var(--stone-700);
  font-size: 17px;
}

.detail-aside {
  display: grid;
  gap: 18px;
}

.side-card {
  position: sticky;
  top: 100px;
}

.poster-side img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 16px;
  object-fit: cover;
}

.site-footer {
  margin-top: 0;
  background: linear-gradient(90deg, var(--stone-950), var(--amber-950), var(--stone-950));
  color: var(--stone-200);
  border-top: 2px solid rgba(245, 158, 11, 0.45);
}

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

.footer-grid p {
  color: #d6d3d1;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fcd34d;
  font-size: 18px;
}

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

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: #fde68a;
  font-weight: 800;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(231, 229, 228, 0.16);
  color: #a8a29e;
  text-align: center;
}

@media (max-width: 1100px) {
  .movie-grid,
  .listing-grid,
  .compact-grid,
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .detail-aside,
  .side-card,
  .highlight-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .hero,
  .hero-stage {
    min-height: auto;
    height: 610px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 86px;
  }

  .hero-search-panel {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .hero-search div,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-thumb {
    min-height: 64px;
  }

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

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

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

@media (max-width: 560px) {
  .wrap,
  .nav-wrap,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-actions {
    width: 100%;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .movie-grid,
  .listing-grid,
  .compact-grid,
  .featured-grid,
  .category-grid,
  .rank-columns {
    grid-template-columns: 1fr;
  }

  .poster-link,
  .compact-card .poster-link {
    height: 260px;
  }

  .rank-item {
    grid-template-columns: 44px 64px 1fr;
  }

  .page-hero {
    padding: 28px;
  }

  .detail-article,
  .side-card {
    padding: 20px;
  }
}
