:root {
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --orange: #f97316;
  --red: #ef4444;
  --slate: #0f172a;
  --slate-soft: #1e293b;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --warm: #fff7ed;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  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, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-home {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0));
}

.site-header.is-solid,
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

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

.is-home:not(.scrolled):not(.menu-open) .brand-text,
.is-home:not(.scrolled):not(.menu-open) .desktop-nav .nav-link,
.is-home:not(.scrolled):not(.menu-open) .mobile-toggle span {
  color: #fff;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-nav .nav-link {
  display: block;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 12% 86%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #f59e0b 0%, #f97316 48%, #ef4444 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--amber-dark);
  background: rgba(245, 158, 11, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 20px 0;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
}

.hero-search {
  display: flex;
  max-width: 620px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.hero-search button,
.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.btn.primary,
.btn.small {
  color: var(--amber-dark);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.btn.glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
}

.hero-search button:hover,
.btn:hover {
  transform: translateY(-2px);
}

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

.hero-showcase {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  transform: rotate(2deg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 34px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(18px);
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.78)), var(--poster), linear-gradient(135deg, #f59e0b, #ef4444);
  background-size: cover;
  background-position: center;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-slide-glow {
  position: absolute;
  inset: auto -20% -20% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.55), transparent 65%);
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.hero-slide-content strong {
  font-size: 32px;
  line-height: 1.1;
}

.hero-slide-content em,
.hero-slide-content span {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.6;
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 28px;
  background: #fff;
}

.metric-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 40px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-strip div {
  min-height: 110px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-strip strong {
  display: block;
  font-size: 28px;
  color: var(--amber-dark);
}

.metric-strip span {
  color: var(--muted);
  font-weight: 700;
}

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

.content-section.warm {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff7ed, #fff);
}

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

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

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--amber-dark);
  font-weight: 800;
}

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

.category-tile,
.category-overview-card {
  min-height: 156px;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-tile span,
.category-overview-card h2 {
  display: block;
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 900;
}

.category-tile p,
.category-overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-kicker {
  color: var(--amber-dark);
  font-size: 13px;
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.72)), var(--poster), linear-gradient(135deg, #f59e0b, #ef4444);
  background-size: cover;
  background-position: center;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.82));
}

.poster-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--red));
  font-weight: 900;
}

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

.movie-line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--amber-dark);
  font-size: 13px;
  font-weight: 800;
}

.movie-line-meta span::before {
  content: "·";
  margin-right: 8px;
  color: #cbd5e1;
}

.movie-card h3,
.ranking-info h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card p,
.ranking-info p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.rank-no {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--slate);
  font-weight: 900;
}

.rank-title {
  font-weight: 900;
}

.rank-tags {
  color: var(--muted);
  font-size: 13px;
}

.inner-main {
  padding-top: 72px;
}

.inner-hero {
  padding: 86px max(16px, calc((100% - 1180px) / 2)) 58px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, var(--slate) 0%, #334155 52%, var(--orange) 100%);
}

.inner-hero h1 {
  margin: 18px 0 14px;
  max-width: 880px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.first-section {
  padding-top: 42px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.search-field input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
}

.search-field input:focus,
.filter-panel select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-selects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.filter-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.empty-state.show {
  display: block;
}

.is-hidden {
  display: none !important;
}

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

.category-overview-card {
  min-height: 210px;
}

.category-overview-card strong {
  display: inline-flex;
  margin-top: 18px;
  color: var(--amber-dark);
}

.ranking-list {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-poster {
  position: relative;
  display: block;
  min-height: 172px;
  border-radius: 22px;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72)), var(--poster), linear-gradient(135deg, #f59e0b, #ef4444);
  background-size: cover;
  background-position: center;
}

.ranking-poster span {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--red));
  font-weight: 900;
}

.ranking-info {
  align-self: center;
}

.heat-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--amber-dark);
  font-weight: 900;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-primary,
.detail-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.82)), var(--poster), linear-gradient(135deg, #f59e0b, #ef4444);
  background-size: cover;
  background-position: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.player-state {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.52);
  font-size: 13px;
  font-weight: 800;
}

.detail-article,
.aside-box {
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-title-row h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lead-text {
  margin: 0 0 18px;
  color: #374151;
  font-size: 20px;
  line-height: 1.8;
}

.detail-article section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-article h2,
.aside-box h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-article p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.aside-poster {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.72)), var(--poster), linear-gradient(135deg, #f59e0b, #ef4444);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.aside-box dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.aside-box dt {
  color: var(--muted);
  font-weight: 800;
}

.aside-box dd {
  margin: 0;
  color: #111827;
  font-weight: 800;
}

.related-section {
  padding-top: 48px;
}

.site-footer {
  margin-top: 70px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

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

.footer-brand p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

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

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

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

@media (max-width: 1100px) {
  .hero-shell,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 420px;
    transform: none;
  }

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

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

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

  .mobile-toggle {
    display: block;
  }

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

  .nav-shell {
    height: 64px;
  }

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

  .hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    padding: 104px 0 72px;
    gap: 34px;
  }

  .hero-search {
    border-radius: 24px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-search input {
    min-height: 46px;
  }

  .metric-strip,
  .rank-preview-list,
  .filter-selects,
  .category-overview-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: -28px;
  }

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

  .ranking-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ranking-poster {
    min-height: 138px;
  }

  .section-head,
  .detail-title-row {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .category-grid,
  .movie-grid,
  .compact-grid,
  .search-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .inner-hero h1 {
    letter-spacing: -0.04em;
  }

  .rank-row {
    grid-template-columns: 42px 1fr;
  }

  .rank-tags {
    grid-column: 2;
  }

  .content-section {
    padding: 44px 0;
  }

  .detail-article,
  .aside-box {
    padding: 22px;
  }
}
