:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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;
}

.narrow-container {
  width: min(940px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 2px solid var(--amber-light);
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.22);
}

.logo-mark::before,
.logo-mark::after,
.logo-mark span::before,
.logo-mark span::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-light);
}

.logo-mark::before { left: 7px; top: 7px; }
.logo-mark::after { right: 7px; top: 7px; }
.logo-mark span::before { left: 7px; bottom: 7px; }
.logo-mark span::after { right: 7px; bottom: 7px; }

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-copy strong {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.logo-copy small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

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

.nav-link,
.mobile-nav-link {
  color: var(--muted-strong);
  border-radius: 12px;
  transition: 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(51, 65, 85, 0.72);
}

.header-search {
  display: flex;
  align-items: center;
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  overflow: hidden;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  flex: 1;
  padding: 10px 12px 10px 16px;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #111827;
  background: var(--amber-light);
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  color: var(--text);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.98);
}

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

.mobile-search {
  display: flex;
  margin: 16px auto;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
}

.mobile-nav-link {
  display: block;
  max-width: 620px;
  margin: 6px auto;
  padding: 12px 14px;
}

main {
  padding-top: 68px;
}

.home-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, #020617 0%, transparent 42%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 680px;
  animation: fadeUp 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 10px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  color: var(--amber-light);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--muted-strong);
  font-size: 19px;
}

.hero-tags,
.detail-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span,
.tag-cloud span {
  padding: 7px 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  font-size: 13px;
}

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

.button {
  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, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.22);
}

.button-secondary {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(251, 191, 36, 0.36);
}

.button-ghost {
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.hero-side {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-side > strong {
  display: block;
  margin: 0 0 14px;
  font-size: 18px;
}

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

.hero-side-list a {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.38);
  transition: 0.2s ease;
}

.hero-side-list a:hover {
  background: rgba(30, 41, 59, 0.9);
}

.hero-side-list img {
  width: 76px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-side-list b,
.hero-side-list small {
  display: block;
}

.hero-side-list b {
  overflow: hidden;
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-side-list small {
  color: var(--muted);
}

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

.section-dark {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.72));
}

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

.section-heading.plain {
  display: block;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
}

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

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

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

.movie-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.36);
  background: rgba(30, 41, 59, 0.86);
  box-shadow: 0 20px 42px rgba(245, 158, 11, 0.1);
}

.movie-card a {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
}

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

.movie-card:hover .poster-frame img,
.featured-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 52%);
  pointer-events: none;
}

.poster-badge,
.poster-type {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.poster-badge {
  left: 12px;
  color: #111827;
  background: var(--amber-light);
}

.poster-type {
  right: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}

.poster-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.9);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: 0.25s ease;
}

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

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

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card-compact .movie-card-body h3 {
  font-size: 15px;
}

.movie-card-compact .movie-card-body p {
  display: none;
}

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

.category-tile,
.category-overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.76)),
    rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile {
  min-height: 154px;
  padding: 22px;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.36);
}

.category-tile span {
  display: block;
  margin-bottom: 16px;
  color: var(--amber-light);
  font-size: 18px;
  font-weight: 900;
}

.category-tile strong {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

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

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

.featured-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 64%);
}

.featured-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.featured-content strong,
.featured-content small {
  display: block;
}

.featured-content strong {
  margin: 6px 0;
  font-size: 24px;
  line-height: 1.22;
}

.featured-content small {
  color: var(--muted-strong);
}

.ranking-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(15, 23, 42, 0.8);
}

.rank-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.36);
  transition: 0.2s ease;
}

.rank-row:hover {
  background: rgba(30, 41, 59, 0.9);
}

.rank-no {
  color: var(--amber-light);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-info {
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  padding: 88px 0 54px;
  background:
    radial-gradient(circle at 24% 0%, rgba(245, 158, 11, 0.2), transparent 34rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.94));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-preview img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.8);
  transition: transform 0.2s ease;
}

.category-overview-card h2 {
  margin: 8px 0;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0;
  color: var(--muted-strong);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px 150px;
  gap: 12px;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.46);
}

.filter-bar select {
  color: var(--muted-strong);
}

.empty-state {
  display: none;
  margin: 32px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted-strong);
  text-align: center;
  background: rgba(15, 23, 42, 0.72);
}

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

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

.ranking-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  overflow: hidden;
  transition: 0.2s ease;
}

.ranking-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.34);
}

.ranking-card a {
  display: grid;
  grid-template-columns: 70px 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.ranking-number {
  color: var(--amber-light);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.ranking-card img {
  width: 150px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.9);
}

.ranking-copy strong,
.ranking-copy small,
.ranking-copy em {
  display: block;
}

.ranking-copy strong {
  font-size: 20px;
}

.ranking-copy small {
  color: var(--amber-light);
  margin: 2px 0 6px;
}

.ranking-copy em {
  color: var(--muted-strong);
  font-style: normal;
}

.detail-main {
  background:
    radial-gradient(circle at 78% 120px, rgba(245, 158, 11, 0.13), transparent 32rem),
    var(--bg);
}

.detail-hero {
  padding: 26px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
  cursor: pointer;
}

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

.play-orb {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.94);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.32);
  font-size: 30px;
}

.player-overlay strong {
  padding: 0 22px;
  font-size: clamp(20px, 3vw, 32px);
  text-align: center;
}

.detail-section {
  padding-top: 46px;
}

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

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

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 24px;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.full-button {
  width: 100%;
  margin-top: 16px;
}

.detail-content {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-content h1 {
  margin: 10px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.detail-content h2 {
  margin: 28px 0 10px;
  font-size: 24px;
}

.detail-content p {
  margin: 0;
  color: var(--muted-strong);
  text-align: justify;
}

.lead-text {
  margin-top: 22px !important;
  color: #e2e8f0 !important;
  font-size: 18px;
}

.tag-cloud {
  margin-top: 26px;
}

.image-unavailable {
  opacity: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.94);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  font-size: 20px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted-strong);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .hero-side,
  .ranking-panel,
  .detail-poster {
    position: static;
  }

  .movie-grid,
  .compact-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;
    margin-left: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 90px 0 44px;
  }

  .hero-side {
    display: none;
  }

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

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .ranking-card a {
    grid-template-columns: 54px 96px 1fr;
    gap: 12px;
  }

  .ranking-card img {
    width: 96px;
    height: 68px;
  }
}

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

  .logo-copy small {
    display: none;
  }

  .logo-copy strong {
    font-size: 17px;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

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

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

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

  .detail-content {
    padding: 22px;
  }

  .play-orb {
    width: 68px;
    height: 68px;
  }
}
