:root {
  --orange: #f97316;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: rgba(249, 115, 22, 0.16);
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.08);
}

.nav-wrap {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand span:last-child {
  font-size: 22px;
  background: linear-gradient(90deg, var(--orange), var(--rose), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #374151;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--rose));
  transform: scaleX(0);
  transition: transform 0.24s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--orange);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #374151;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: #fff7ed;
  color: var(--orange);
}

.hero {
  min-height: 600px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-bg,
.category-card::before,
.page-hero::before,
.detail-hero::before {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-bg {
  background-image: var(--hero-image);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 24%, rgba(249, 115, 22, 0.42), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 120px 60px 70px max(60px, calc((100vw - 1240px) / 2 + 24px));
  color: #fff;
}

.hero-kicker,
.page-hero span,
.rank-box-head span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

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

.hero-line {
  max-width: 720px;
  margin: 0 0 26px;
  color: #f3f4f6;
  font-size: 19px;
}

.hero-tags,
.movie-card-tags,
.tag-cloud,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-card-tags span,
.tag-cloud span,
.footer-tags span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #c2410c;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.54);
}

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

.btn-primary,
.btn-ghost,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary,
.hero-search button {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--rose));
  box-shadow: 0 18px 35px rgba(244, 63, 94, 0.32);
  border: 0;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.btn-primary:hover,
.btn-ghost:hover,
.hero-search button:hover,
.movie-card:hover {
  transform: translateY(-3px);
}

.hero-panel {
  position: relative;
  z-index: 5;
  min-height: 600px;
  padding: 46px 28px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(124, 45, 18, 0.92));
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.hero-panel h2 {
  margin: 14px 0 10px;
  font-size: 28px;
}

.hero-panel p {
  margin: 0;
  color: #e5e7eb;
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 14px;
}

.hero-search input::placeholder {
  color: #fed7aa;
}

.hero-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-links a {
  padding: 12px 10px;
  border-radius: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-thumbs a {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
}

.hero-thumbs span,
.rank-thumb,
.category-cover,
.side-poster,
.poster {
  background-position: center;
  background-size: cover;
  background-color: #fed7aa;
}

.hero-thumbs span {
  width: 64px;
  height: 46px;
  border-radius: 12px;
}

.hero-thumbs strong {
  font-size: 14px;
}

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

.hero-dots button {
  width: 26px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.is-active {
  width: 46px;
  background: linear-gradient(90deg, var(--orange), var(--rose));
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px;
}

.content-section.soft-bg {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1240px) / 2 + 24px));
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

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

.section-title > div {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 14px;
  align-items: start;
}

.section-title span {
  width: 5px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--rose));
}

.section-title h2 {
  margin: -4px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.03em;
}

.section-title p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.section-title > a {
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 900;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  isolation: isolate;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.70));
  opacity: 0.8;
}

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translate(-50%, -50%) scale(0.88);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.88);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.68);
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
}

.movie-card-body strong {
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.movie-card-desc {
  color: #4b5563;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card-wide {
  flex-direction: row;
}

.poster-wide {
  width: 210px;
  flex: 0 0 210px;
  aspect-ratio: 16 / 10;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  box-shadow: var(--shadow);
  background: #111827;
}

.category-card::before {
  content: "";
  background-image: var(--cat-image);
  opacity: 0.72;
  transition: transform 0.34s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.84));
}

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

.category-card strong,
.category-card em,
.category-card span {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 22px;
}

.category-card em {
  margin-top: 8px;
  color: #f3f4f6;
  font-style: normal;
  font-size: 13px;
}

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

.rank-box,
.detail-side .side-box,
.detail-card,
.player-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.rank-box {
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.rank-box-head {
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #7c2d12, #9f1239);
}

.rank-box-head h2 {
  margin: 12px 0 6px;
  font-size: 28px;
}

.rank-box-head p {
  margin: 0;
  color: #fed7aa;
}

.rank-list {
  display: grid;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
}

.rank-row:hover {
  background: #fff7ed;
}

.rank-number {
  font-weight: 900;
  font-size: 20px;
  color: var(--orange);
}

.rank-thumb {
  width: 68px;
  height: 52px;
  border-radius: 12px;
}

.rank-text strong {
  display: block;
  line-height: 1.35;
}

.rank-text em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero,
.detail-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #f43f5e, #f59e0b);
}

.page-hero::before {
  content: "";
  background-image: var(--page-image);
  opacity: 0.38;
}

.page-hero::after,
.detail-hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 32%), linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(124, 45, 18, 0.55));
}

.page-hero > div,
.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-hero h1,
.detail-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.page-hero p,
.detail-hero p {
  max-width: 780px;
  margin: 0;
  color: #f3f4f6;
  font-size: 18px;
}

.category-overview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-cover {
  display: block;
  height: 180px;
}

.category-overview-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.category-overview-body strong {
  font-size: 22px;
}

.category-overview-body em,
.category-overview-body small {
  color: var(--muted);
  font-style: normal;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.sticky-toolbar {
  position: sticky;
  top: 82px;
  z-index: 20;
}

.toolbar label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 900;
}

.toolbar input {
  width: 100%;
  border: 1px solid #fed7aa;
  outline: 0;
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff7ed;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #374151;
  font-weight: 800;
  background: #fff7ed;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--rose));
}

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

.full-rank .rank-row {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.detail-hero {
  min-height: 390px;
  background: #111827;
}

.detail-hero::before {
  content: "";
  background-image: var(--detail-image);
  opacity: 0.62;
  filter: saturate(1.1);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #fed7aa;
  font-weight: 800;
}

.detail-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

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

.player-card {
  padding: 14px;
  background: #111827;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--poster-image);
  background-position: center;
  background-size: cover;
  opacity: 0.42;
  pointer-events: none;
}

.video-shell video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.play-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  border: 0;
  background: rgba(0, 0, 0, 0.24);
}

.play-trigger span {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 18px 45px rgba(244, 63, 94, 0.34);
}

.play-trigger strong {
  font-size: 20px;
}

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

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
}

.detail-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.detail-card p {
  color: #374151;
  font-size: 16px;
}

.lead-text {
  padding: 18px;
  border-radius: 18px;
  color: #7c2d12;
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
  font-weight: 800;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-line span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #4b5563;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 800;
}

.inner-section {
  padding-left: 0;
  padding-right: 0;
}

.detail-side {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.side-poster {
  min-height: 410px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.side-box {
  padding: 22px;
}

.side-box h2 {
  margin: 0 0 16px;
}

.side-box dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  margin: 0;
}

.side-box dt {
  color: var(--muted);
}

.side-box dd {
  margin: 0;
  font-weight: 800;
}

.side-rank .rank-row {
  grid-template-columns: 32px 54px 1fr;
  padding: 10px 0;
  box-shadow: none;
}

.side-rank .rank-thumb {
  width: 54px;
  height: 44px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #111827, #7c2d12, #881337);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 24px 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

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

.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #e5e7eb;
}

.footer-grid a:hover {
  color: #fed7aa;
}

.footer-tags span {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.20);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  color: #d1d5db;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: none;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: var(--shadow);
}

.back-top.is-visible {
  display: block;
}

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

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

  .hero-panel {
    min-height: auto;
    border-left: 0;
  }

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

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

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

  .rank-box,
  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .nav-wrap {
    padding: 0 16px;
  }

  .brand span:last-child {
    font-size: 18px;
  }

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

  .hero-content {
    padding: 84px 20px 44px;
  }

  .hero-panel {
    padding: 28px 20px;
  }

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

  .content-section,
  .content-section.soft-bg {
    padding: 46px 16px;
  }

  .section-title {
    display: block;
  }

  .section-title > a {
    display: inline-flex;
    margin-top: 12px;
  }

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

  .wide-grid,
  .full-rank,
  .toolbar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-wide {
    flex-direction: column;
  }

  .poster-wide {
    width: 100%;
    flex-basis: auto;
  }

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

  .page-hero > div,
  .detail-hero-inner {
    padding: 46px 16px;
  }

  .detail-wrap {
    padding: 24px 16px 54px;
  }

  .detail-card {
    padding: 20px;
  }

  .detail-card h2 {
    font-size: 28px;
  }
}
