:root {
  --bg: #f0fdf4;
  --bg-soft: #ecfdf5;
  --surface: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #172026;
  --muted: #667085;
  --green: #16a34a;
  --emerald: #059669;
  --teal: #0f766e;
  --yellow: #facc15;
  --orange: #f97316;
  --red: #ef4444;
  --blue: #0ea5e9;
  --pink: #e11d48;
  --shadow: 0 20px 45px rgba(15, 118, 110, 0.16);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(250, 204, 21, 0.16), transparent 28rem),
    linear-gradient(135deg, #f0fdf4 0%, #ffffff 45%, #fefce8 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(120deg, #15803d, #059669 55%, #0f766e);
  box-shadow: 0 12px 30px rgba(6, 95, 70, 0.25);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  background: linear-gradient(135deg, var(--yellow), #f59e0b);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(250, 204, 21, 0.35);
}

.brand-text {
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #111827;
  background: var(--yellow);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #052e2b;
}

.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-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 47, 46, 0.92) 0%, rgba(6, 78, 59, 0.74) 45%, rgba(15, 23, 42, 0.28) 100%),
    linear-gradient(0deg, rgba(240, 253, 244, 0.95) 0%, transparent 28%);
}

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

.hero-copy {
  color: #ffffff;
}

.hero-kicker,
.page-hero p:first-child,
.section-head p,
.panel-head p {
  margin: 0 0 12px;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 16px;
  line-height: 1.08;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 950;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.hero-copy h2 + h2 {
  font-size: clamp(1.9rem, 4vw, 3.8rem);
}

.hero-copy p:not(.hero-kicker) {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-search {
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 8px;
  margin: 0 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 0 18px;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  color: #111827;
  font-weight: 900;
  background: linear-gradient(135deg, var(--yellow), #f59e0b);
  box-shadow: 0 12px 26px rgba(250, 204, 21, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 36px rgba(250, 204, 21, 0.42);
}

.hero-actions,
.page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ghost-btn {
  border-radius: 999px;
  padding: 11px 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  aspect-ratio: 3 / 4.15;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  color: #ffffff;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.hero-controls button {
  border: 0;
  color: #ffffff;
  background: rgba(6, 78, 59, 0.52);
  backdrop-filter: blur(10px);
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.36);
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.55;
  transition: width 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  opacity: 1;
  background: var(--yellow);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  padding-bottom: 24px;
}

.feature-card {
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.feature-card span {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.feature-card.pink {
  background: linear-gradient(135deg, #ec4899, #be123c);
}

.feature-card.blue {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.feature-card.amber {
  background: linear-gradient(135deg, #f97316, #d97706);
}

.feature-card.green {
  background: linear-gradient(135deg, #22c55e, #059669);
}

.section-head,
.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2,
.panel-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  color: #1f2937;
}

.section-head a,
.text-link {
  color: var(--emerald);
  font-weight: 900;
}

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

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

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

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

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(250, 204, 21, 0.2));
}

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.65), transparent);
}

.card-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #1f2937;
}

.movie-card h3 a:hover {
  color: var(--emerald);
}

.movie-card p {
  min-height: 3.4em;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #166534;
  background: #f0fdf4;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.category-tile {
  min-height: 174px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #0f766e);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(3n + 2) {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, #f97316, #db2777);
}

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

.category-icon {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.category-tile strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.category-tile em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.6;
}

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

.slim-head {
  margin-bottom: 20px;
}

.ranking-panel,
.ranking-page-list {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.ranking-item {
  display: grid;
  grid-template-columns: 42px 54px 1fr;
  grid-template-areas:
    "no img title"
    "no img meta";
  gap: 0 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.ranking-item:last-child {
  border-bottom: 0;
}

.rank-no {
  grid-area: no;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111827;
  background: var(--yellow);
  font-weight: 950;
}

.ranking-item img {
  grid-area: img;
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-title {
  grid-area: title;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
}

.rank-meta {
  grid-area: meta;
  align-self: start;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #15803d, #0f766e);
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

.compact-hero > div {
  padding: 72px 0;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.08;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.category-overview-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-overview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #1f2937;
}

.category-overview-head span {
  font-size: 2rem;
}

.category-overview-head strong {
  font-size: 1.35rem;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.75;
}

.category-overview-card ul {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.category-overview-card li + li {
  margin-top: 10px;
}

.category-overview-card li a {
  color: #374151;
}

.category-overview-card li a:hover {
  color: var(--emerald);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

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

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  border: 1px solid #d1fae5;
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
  padding: 0 14px;
  color: #1f2937;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.filter-selects {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

[data-movie-card].is-hidden {
  display: none;
}

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

.detail-bg-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 47, 46, 0.9), rgba(6, 78, 59, 0.74), rgba(15, 23, 42, 0.36)),
    linear-gradient(0deg, rgba(240, 253, 244, 1), transparent 32%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 480px;
  margin: 0 auto;
  padding: 82px 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
}

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

.breadcrumb em {
  font-style: normal;
  color: #ffffff;
}

.detail-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.detail-title-row h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.08;
}

.detail-title-row p {
  max-width: 820px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
  margin-top: -72px;
  position: relative;
  z-index: 4;
}

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

.player-shell,
.detail-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.76));
  z-index: 3;
}

.player-shell.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111827;
  background: var(--yellow);
  font-size: 2rem;
  box-shadow: 0 18px 38px rgba(250, 204, 21, 0.36);
}

.player-start span:last-child {
  font-size: 1.1rem;
  font-weight: 900;
}

.detail-card {
  padding: 26px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.detail-poster {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.detail-copy h2,
.article-block h2 {
  margin: 0 0 18px;
  color: #1f2937;
  font-size: 1.55rem;
}

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

.detail-meta-list li {
  padding: 14px;
  border-radius: 16px;
  background: #f0fdf4;
}

.detail-meta-list span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.detail-meta-list strong {
  color: #1f2937;
  line-height: 1.5;
}

.article-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #dcfce7;
}

.article-block p {
  margin: 0;
  color: #344054;
  line-height: 2;
  font-size: 1.02rem;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

.site-footer {
  margin-top: 42px;
  color: #d1d5db;
  background: linear-gradient(135deg, #0f172a, #111827 58%, #064e3b);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  max-width: 420px;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 1.05rem;
}

.footer-col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  color: #d1d5db;
}

.footer-col a:hover {
  color: var(--yellow);
}

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

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #111827;
  background: var(--yellow);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .movie-grid,
  .movie-grid.wide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-poster {
    display: none;
  }

  .detail-side {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 18px;
    background: #065f46;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    border-radius: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .feature-strip,
  .category-grid,
  .category-overview-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .movie-grid,
  .movie-grid.small-grid,
  .movie-grid.related-grid,
  .movie-grid.wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-title-row,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-info-grid {
    grid-template-columns: 150px 1fr;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .section,
  .hero-inner,
  .page-hero > div,
  .detail-hero-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero-search input {
    min-height: 44px;
  }

  .feature-strip,
  .category-grid,
  .category-overview-grid,
  .footer-inner,
  .movie-grid,
  .movie-grid.small-grid,
  .movie-grid.related-grid,
  .movie-grid.wide-grid,
  .filter-selects,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }

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

  .player-frame {
    aspect-ratio: 16 / 10;
  }

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