:root {
  --earth-50: #faf8f5;
  --earth-100: #f2ede4;
  --earth-300: #dbc5a3;
  --earth-500: #b88d55;
  --earth-600: #a47549;
  --earth-700: #8a5f3e;
  --earth-900: #5a4029;
  --stone-50: #f9f8f6;
  --stone-100: #f5f3f0;
  --stone-200: #e5e1da;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --canyon-700: #a33f25;
  --canyon-900: #6e3021;
  --moss-50: #f6f7f4;
  --moss-900: #363e2d;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-soft: 0 24px 60px rgba(41, 37, 36, 0.14);
  --shadow-card: 0 16px 40px rgba(41, 37, 36, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-900);
  background: linear-gradient(180deg, var(--earth-50), #ffffff 40%, var(--stone-100));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 225, 218, 0.8);
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--earth-900);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--earth-600), var(--canyon-700));
  box-shadow: 0 14px 28px rgba(164, 117, 73, 0.32);
}

.brand-name {
  white-space: nowrap;
  font-size: 20px;
}

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

.nav-link,
.mobile-nav-link {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--stone-600);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--earth-900);
  background: var(--earth-100);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(41, 37, 36, 0.06);
}

.header-search input,
.mobile-search input,
.big-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 11px 16px;
  background: transparent;
  color: var(--stone-800);
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  padding: 11px 18px;
  color: #ffffff;
  background: var(--earth-600);
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--earth-700);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--earth-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--earth-900);
}

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

.mobile-brand {
  margin: 16px 0 8px;
  font-weight: 800;
  color: var(--earth-900);
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--earth-900), var(--stone-800), var(--canyon-900));
}

.hero-carousel::after,
.page-hero::after,
.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

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

.hero-backdrop,
.detail-backdrop,
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.04);
}

.hero-backdrop {
  opacity: 0.34;
}

.hero-shade,
.detail-shade,
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 48%, rgba(219, 197, 163, 0.24), transparent 30%), linear-gradient(90deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.62) 45%, rgba(28, 25, 23, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: 56px;
  max-width: 1280px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 96px 24px 112px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--earth-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--earth-300);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
  border: 1px solid rgba(219, 197, 163, 0.3);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--earth-100);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: var(--earth-600);
  box-shadow: 0 16px 32px rgba(164, 117, 73, 0.32);
}

.btn-primary:hover {
  background: var(--earth-700);
}

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

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-8px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

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

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

.hero-dot.is-active {
  width: 32px;
  background: var(--earth-300);
}

.quick-search-section,
.section-block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 24px;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 32px;
  margin-top: -44px;
  border: 1px solid rgba(229, 225, 218, 0.95);
  border-radius: var(--radius-xl);
  padding: 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.quick-search-card h2,
.section-heading h2,
.filter-panel h2,
.text-card h2,
.category-overview-body h2,
.ranking-info h3,
.movie-card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.quick-search-card p {
  margin: 12px 0 0;
  color: var(--stone-600);
  line-height: 1.8;
}

.big-search {
  justify-self: end;
  width: min(100%, 420px);
}

.big-search input {
  flex: 1;
  padding: 15px 18px;
}

.big-search button {
  padding: 15px 24px;
}

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

.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-heading.compact h2 {
  font-size: 30px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--earth-900);
  background: var(--earth-100);
  font-weight: 750;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(41, 37, 36, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(164, 117, 73, 0.38);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--earth-100), var(--stone-200));
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

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

.badge-year,
.play-pill {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.badge-year {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  font-size: 12px;
}

.play-pill {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--earth-900);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.movie-card h3 {
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-info h3 a:hover {
  color: var(--earth-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--stone-500);
  font-size: 13px;
}

.card-meta span,
.detail-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--stone-100);
}

.muted-section {
  max-width: none;
  background: linear-gradient(180deg, #ffffff, var(--earth-50));
}

.muted-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.category-tile,
.category-overview-card {
  overflow: hidden;
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(41, 37, 36, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
}

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

.category-thumbs,
.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-thumbs img,
.category-cover-strip img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  border-radius: 12px;
  object-fit: cover;
}

.category-tile h3,
.category-overview-body h2 {
  margin: 0 0 10px;
  color: var(--earth-900);
}

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

.category-overview-card {
  display: block;
}

.category-cover-strip {
  grid-template-columns: repeat(5, 1fr);
  padding: 12px;
  background: var(--earth-100);
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
}

.ranking-panel,
.latest-panel,
.filter-panel,
.text-card {
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: var(--radius-xl);
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(41, 37, 36, 0.08);
}

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

.rank-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 12px;
  background: var(--stone-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a:hover {
  background: var(--earth-100);
  transform: translateX(4px);
}

.rank-num {
  color: var(--earth-600);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

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

.rank-type {
  display: block;
  margin-top: 4px;
  color: var(--stone-500);
  font-size: 13px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--earth-900), var(--stone-800), var(--canyon-900));
}

.slim-hero {
  padding: 96px 24px;
}

.slim-hero > div,
.page-hero-content,
.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.category-hero {
  min-height: 360px;
}

.page-hero-bg {
  opacity: 0.26;
}

.page-hero-content {
  padding: 96px 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(120px, 0.5fr));
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  outline: 0;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--stone-800);
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--earth-500);
  box-shadow: 0 0 0 4px rgba(184, 141, 85, 0.14);
}

.filter-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--canyon-700);
  font-weight: 700;
}

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

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

.ranking-poster img {
  width: 96px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
}

.ranking-info h3 {
  margin-top: 4px;
  font-size: 20px;
}

.ranking-info p {
  min-height: auto;
  margin: 8px 0 12px;
}

.detail-hero {
  min-height: 620px;
}

.detail-backdrop {
  opacity: 0.24;
}

.detail-inner {
  padding: 82px 24px 72px;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.34);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.detail-copy .eyebrow {
  color: var(--earth-300);
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span {
  color: var(--earth-100);
  background: rgba(255, 255, 255, 0.12);
}

.detail-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: var(--radius-xl);
  background: #000000;
  box-shadow: var(--shadow-soft);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-button {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: var(--earth-900);
  font-size: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(110, 48, 33, 0.92);
}

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

.text-card p {
  margin: 14px 0 0;
  color: var(--stone-600);
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--stone-200);
  background: var(--stone-900);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.footer-inner p {
  max-width: 640px;
  margin: 12px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

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

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

  .filter-panel,
  .quick-search-card,
  .split-section {
    grid-template-columns: 1fr;
  }

  .big-search {
    justify-self: stretch;
    width: 100%;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .header-inner {
    padding: 12px 18px;
  }

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

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

  .hero-content {
    gap: 28px;
    padding-top: 70px;
  }

  .hero-poster {
    max-width: 260px;
    transform: none;
  }

  .hero-controls {
    bottom: 20px;
  }

  .quick-search-section,
  .section-block {
    padding: 46px 18px;
  }

  .quick-search-card {
    margin-top: -30px;
    padding: 24px;
  }

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

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

  .detail-text-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

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

  .ranking-poster img {
    width: 78px;
  }

  .player-button {
    width: 62px;
    height: 62px;
  }
}
