:root {
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-cyan-700: #0e7490;
  --color-cyan-600: #0891b2;
  --color-cyan-500: #06b6d4;
  --color-cyan-400: #22d3ee;
  --color-cyan-100: #cffafe;
  --color-cyan-50: #ecfeff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-strong: 0 25px 60px rgba(2, 6, 23, 0.32);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--color-slate-800);
  background: linear-gradient(180deg, var(--color-slate-50), #ffffff 36%, #ffffff);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-cyan-500), #14b8a6);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.38);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-cyan-400);
}

.nav-link.compact {
  color: rgba(203, 213, 225, 0.84);
}

.header-search {
  position: relative;
  width: 260px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 12px;
  outline: none;
}

.header-search input,
.mobile-search input {
  color: #ffffff;
  background: rgba(51, 65, 85, 0.74);
  padding: 0 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--color-cyan-400);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--color-slate-900);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.08));
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-copy {
  max-width: 700px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 16px;
  color: #ffffff;
  background: var(--color-cyan-500);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.34);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.36);
}

.hero-copy p {
  display: -webkit-box;
  max-width: 650px;
  margin: 22px 0 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.96);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 24px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn.primary {
  color: #ffffff;
  background: var(--color-cyan-500);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.28);
}

.btn.primary:hover {
  background: var(--color-cyan-600);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.46);
  border: 0;
  border-radius: 999px;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--color-cyan-500);
}

.page-sections,
.inner-page {
  padding-top: 54px;
  padding-bottom: 70px;
}

.page-sections {
  display: grid;
  gap: 64px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--color-cyan-600);
  background: var(--color-cyan-50);
  border-radius: 12px;
}

.section-head h2 {
  margin: 0;
  color: var(--color-slate-800);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--color-slate-500);
}

.panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-xl);
}

.cyan-panel {
  background: linear-gradient(110deg, var(--color-slate-100), var(--color-cyan-50));
}

.light-panel {
  background: linear-gradient(135deg, var(--color-cyan-50), #eff6ff);
}

.dark-panel {
  color: #ffffff;
  background: var(--color-slate-900);
  box-shadow: var(--shadow-strong);
}

.dark-panel .section-head h2,
.dark-panel .section-head p {
  color: #ffffff;
}

.dark-panel .section-icon {
  color: var(--color-cyan-400);
  background: rgba(34, 211, 238, 0.12);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card > a {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.poster-frame {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--color-slate-800);
}

.movie-card.small .poster-frame {
  height: 160px;
}

.movie-card.large .poster-frame {
  height: 285px;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.24), transparent);
  transition: opacity 0.25s ease;
}

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

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-left: 4px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
}

.movie-card.small .card-body {
  min-height: 128px;
  padding: 12px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 1.42em;
  margin: 0;
  overflow: hidden;
  color: var(--color-slate-800);
  font-size: 16px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  transition: color 0.18s ease;
}

.movie-card > a:hover h3 {
  color: var(--color-cyan-600);
}

.card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--color-slate-600);
  font-size: 13px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  color: var(--color-slate-500);
  font-size: 12px;
}

.card-meta span:last-child {
  max-width: 90px;
  padding: 4px 8px;
  overflow: hidden;
  color: var(--color-cyan-700);
  background: var(--color-cyan-50);
  border-radius: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score {
  color: #a16207;
  font-weight: 800;
}

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

.category-tile,
.overview-card {
  display: block;
  min-height: 150px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.overview-card:hover {
  border-color: rgba(6, 182, 212, 0.38);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-tile strong,
.overview-card h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--color-slate-800);
  font-size: 20px;
}

.category-tile span,
.overview-card p {
  color: var(--color-slate-600);
  font-size: 14px;
  line-height: 1.7;
}

.overview-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-cyan-700);
  font-size: 14px;
}

.region-list {
  display: grid;
  gap: 30px;
}

.region-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--color-slate-700);
  font-size: 22px;
}

.region-block h3 span {
  width: 5px;
  height: 28px;
  background: var(--color-cyan-500);
  border-radius: 99px;
}

.year-list {
  display: grid;
  gap: 28px;
}

.year-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.year-label {
  text-align: right;
}

.year-label strong {
  display: block;
  color: var(--color-cyan-400);
  font-size: 42px;
  line-height: 1;
}

.year-label span {
  color: rgba(226, 232, 240, 0.7);
  font-size: 14px;
}

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

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

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

.rank-row {
  display: grid;
  grid-template-columns: auto 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: var(--color-slate-700);
  background: #ffffff;
  border-radius: 14px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.dark-panel .rank-row {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rank-row:hover {
  transform: translateX(4px);
  background: var(--color-cyan-50);
}

.dark-panel .rank-row:hover {
  background: rgba(34, 211, 238, 0.16);
}

.rank-row img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--color-cyan-500);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.rank-text {
  min-width: 0;
}

.rank-text strong,
.rank-text em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-text strong {
  font-size: 15px;
}

.rank-text em {
  margin-top: 4px;
  color: var(--color-slate-500);
  font-size: 12px;
  font-style: normal;
}

.dark-panel .rank-text em {
  color: rgba(226, 232, 240, 0.72);
}

.section-more {
  margin-top: 26px;
  text-align: center;
}

.inner-page {
  min-height: 65vh;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--color-slate-500);
  font-size: 14px;
}

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

.page-hero {
  margin-bottom: 32px;
  padding: clamp(26px, 5vw, 48px);
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.32), transparent 30%), linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--color-cyan-500);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 17px;
  line-height: 1.72;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.filter-bar input,
.filter-bar select {
  color: var(--color-slate-800);
  background: var(--color-slate-50);
  padding: 0 14px;
}

.empty-message {
  padding: 30px;
  color: var(--color-slate-500);
  text-align: center;
  background: var(--color-slate-50);
  border-radius: var(--radius-lg);
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.detail-card,
.side-box,
.side-poster {
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.video-cover-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24), rgba(2, 6, 23, 0.58));
  border: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.video-cover-button span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 6px;
  background: rgba(6, 182, 212, 0.94);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(6, 182, 212, 0.36);
  font-size: 34px;
}

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

.detail-card {
  padding: clamp(22px, 4vw, 32px);
}

.detail-card h1 {
  margin: 0 0 14px;
  color: var(--color-slate-900);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.18;
}

.lead {
  margin: 0;
  color: var(--color-slate-600);
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--color-slate-50);
  border-radius: 12px;
}

.detail-meta strong {
  color: var(--color-slate-500);
  font-size: 12px;
}

.detail-meta span,
.detail-meta a {
  color: var(--color-slate-800);
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-list a {
  padding: 7px 11px;
  color: var(--color-cyan-700);
  background: var(--color-cyan-50);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.article-content h2 {
  margin: 0 0 12px;
  color: var(--color-slate-900);
  font-size: 24px;
}

.article-content h2:not(:first-child) {
  margin-top: 28px;
}

.article-content p {
  margin: 0;
  color: var(--color-slate-600);
  font-size: 17px;
  line-height: 1.9;
}

.detail-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 20px;
}

.side-poster img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.side-box {
  padding: 18px;
}

.side-box h2 {
  margin: 0 0 14px;
  color: var(--color-slate-900);
  font-size: 20px;
}

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

.related-section {
  margin-top: 46px;
}

.site-footer {
  color: rgba(226, 232, 240, 0.82);
  background: var(--color-slate-900);
  margin-top: 40px;
}

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

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--color-cyan-400);
}

.footer-bottom {
  padding: 18px;
  color: rgba(226, 232, 240, 0.62);
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (max-width: 1180px) {
  .featured-grid,
  .small-grid,
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .detail-side {
    position: static;
  }

  .side-poster {
    display: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .nav-wrap {
    justify-content: space-between;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .hero-carousel {
    height: 68vh;
    min-height: 500px;
  }

  .hero-arrow {
    display: none;
  }

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

  .rank-list.wide {
    grid-template-columns: 1fr;
  }

  .year-row {
    grid-template-columns: 1fr;
  }

  .year-label {
    text-align: left;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo {
    font-size: 18px;
  }

  .hero-carousel {
    height: 72vh;
    min-height: 480px;
  }

  .hero-copy p {
    -webkit-line-clamp: 4;
  }

  .page-sections,
  .inner-page {
    padding-top: 32px;
  }

  .featured-grid,
  .small-grid,
  .large-grid,
  .catalog-grid,
  .year-grid,
  .category-grid,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .poster-frame,
  .movie-card.large .poster-frame {
    height: 210px;
  }

  .movie-card.small .poster-frame {
    height: 180px;
  }

  .card-body {
    min-height: 138px;
    padding: 12px;
  }

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

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

  .rank-row {
    grid-template-columns: auto 50px minmax(0, 1fr);
  }

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

@media (max-width: 420px) {
  .featured-grid,
  .small-grid,
  .large-grid,
  .catalog-grid,
  .year-grid,
  .category-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .poster-frame,
  .movie-card.large .poster-frame,
  .movie-card.small .poster-frame {
    height: 260px;
  }

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