:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #14213d;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --orange-500: #f97316;
  --rose-500: #f43f5e;
  --white: #ffffff;
  --ink: #172033;
  --muted: #64748b;
  --card: #ffffff;
  --surface: #f8fafc;
  --ring: rgba(245, 158, 11, 0.35);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --site-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 42%, #ffffff 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-950));
  color: var(--white);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.35);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

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

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-name {
  font-size: 1.24rem;
  background: linear-gradient(90deg, #fde68a, #fed7aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.desktop-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #fcd34d;
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(51, 65, 85, 0.82);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(226, 232, 240, 0.72);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--slate-900);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  font-weight: 700;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-bar input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--white);
  background: rgba(51, 65, 85, 0.9);
}

.mobile-panel {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
}

.mobile-panel[hidden] {
  display: none;
}

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

.mobile-panel a,
.mobile-search input {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.95);
  color: rgba(255, 255, 255, 0.88);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.22), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 56%, #431407 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 16%, rgba(251, 191, 36, 0.25), transparent 28%), radial-gradient(circle at 12% 82%, rgba(244, 63, 94, 0.2), transparent 30%);
  opacity: 0.85;
}

.hero-shell {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.hero-track {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 46px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -60px calc(34% - 40px) -60px -80px;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.1)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(4px) saturate(1.12);
  opacity: 0.28;
  border-radius: 0 48px 48px 0;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--amber-500);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.simple-hero h1,
.ranking-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy p,
.simple-hero p,
.ranking-hero p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.hero-tags,
.card-tags,
.detail-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.detail-meta span,
.rank-meta span,
.card-meta-line span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  color: #92400e;
  background: #fef3c7;
}

.hero-tags .pill {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.32);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-ghost.dark {
  color: var(--slate-900);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.hero-visual {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-strong);
  transform: rotate(1.6deg);
}

.hero-visual img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

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

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-dot.is-active {
  width: 52px;
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
}

.section-block {
  padding: 64px 0;
}

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

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

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading a {
  color: var(--orange-500);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-800);
}

.poster-link img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.05);
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--slate-950);
  background: rgba(251, 191, 36, 0.94);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-meta-line {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 1.05rem;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--orange-500);
}

.card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-small .card-body h3 {
  font-size: 0.98rem;
}

.movie-card-small .card-body p {
  min-height: 44px;
  font-size: 0.88rem;
}

.category-band {
  background: linear-gradient(90deg, #fffbeb, #fff7ed);
}

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

.category-tile {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.78), rgba(244, 63, 94, 0.42));
  mix-blend-mode: screen;
}

.category-tile img {
  position: absolute;
  right: -18px;
  bottom: -30px;
  z-index: -2;
  width: 54%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.48;
  transform: rotate(8deg);
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.category-name {
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
}

.category-desc {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 30px;
  align-items: start;
}

.ranking-panel,
.side-card,
.content-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

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

.rank-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.rank-copy h3 {
  margin: 0 0 5px;
  color: var(--slate-900);
  font-size: 1rem;
  line-height: 1.25;
}

.rank-copy p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.page-main {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 82% 15%, rgba(245, 158, 11, 0.34), transparent 30%), linear-gradient(135deg, var(--slate-900), #111827 54%, #431407);
}

.simple-hero,
.ranking-hero {
  padding: 84px 0 76px;
}

.simple-hero p,
.ranking-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.detail-primary .breadcrumb {
  color: var(--muted);
}

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

.filter-bar,
.big-search {
  max-width: 760px;
  margin-top: 28px;
}

.big-search input,
.filter-bar input {
  min-height: 52px;
  padding: 13px 18px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.96);
}

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-overview-link {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 230px;
}

.category-mini-posters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 14px;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.category-mini-posters img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.category-overview-body {
  padding: 28px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
  color: var(--slate-900);
  font-size: 1.6rem;
}

.category-overview-body p {
  color: var(--muted);
}

.category-arrow {
  display: inline-flex;
  margin-top: 16px;
  color: var(--orange-500);
  font-weight: 900;
}

.detail-main {
  padding: 42px 0 72px;
}

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

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

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow-strong);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  font-weight: 900;
  letter-spacing: 0.03em;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-play-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

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

.movie-detail-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.2);
}

.detail-copy h1 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: 1.05rem;
}

.detail-meta {
  margin-bottom: 16px;
}

.content-card {
  margin-bottom: 22px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 1.42rem;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 1.02rem;
}

.detail-sidebar {
  position: sticky;
  top: 92px;
}

.side-recommend-list {
  display: grid;
  gap: 16px;
}

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

.side-recommend-list .poster-link img {
  height: 100%;
}

.side-recommend-list .card-body {
  padding: 12px;
}

.side-recommend-list .card-tags,
.side-recommend-list .card-meta-line,
.side-recommend-list .card-play {
  display: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 470px;
  margin: 0;
}

.footer-links,
.footer-categories {
  display: grid;
  gap: 10px;
}

.footer-links a:hover,
.footer-categories a:hover {
  color: var(--amber-400);
}

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

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

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .two-column-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, var(--site-width));
  }

  .header-search {
    display: none;
  }

  .hero-carousel,
  .hero-shell {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-slide::before {
    inset: -60px;
    border-radius: 0;
  }

  .hero-visual {
    max-width: 280px;
    order: -1;
  }

  .hero-controls {
    bottom: 24px;
  }

  .section-heading,
  .filter-bar,
  .big-search {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .category-mini-posters {
    grid-template-columns: repeat(4, 1fr);
  }

  .rank-item {
    grid-template-columns: 42px 66px minmax(0, 1fr);
  }

  .movie-detail-header {
    grid-template-columns: 1fr;
  }

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

  .side-recommend-list .movie-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

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

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

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

  .hero-copy h1,
  .simple-hero h1,
  .ranking-hero h1 {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .rank-copy p,
  .rank-meta {
    display: none;
  }
}
