:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.88);
  --panel-strong: #0f172a;
  --panel-soft: rgba(30, 41, 59, 0.74);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --pink: #f43f5e;
  --amber: #f59e0b;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 8rem, rgba(59, 130, 246, 0.18), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 38px rgba(34, 211, 238, 0.32);
}

.brand-name {
  font-size: 1.18rem;
}

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

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

.nav-link {
  padding: 9px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: white;
  background: rgba(34, 211, 238, 0.14);
}

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

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, 34vw);
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-panel input,
.filter-panel select,
.search-filters select {
  width: 100%;
  color: white;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input,
.mobile-search input {
  padding: 11px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-filters select:focus {
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button {
  padding: 11px 16px;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.26);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  background: rgba(15, 23, 42, 0.86);
}

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

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

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

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

.mobile-link {
  padding: 12px 14px;
}

main {
  min-height: 72vh;
}

.hero-slider {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg,
.detail-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-shade,
.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.3) 72%, rgba(2, 6, 23, 0.82) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, #020617 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1440px) / 2 + 16px));
  padding-top: clamp(110px, 16vh, 180px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a5f3fc;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-line,
.detail-line,
.page-hero p {
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  max-width: 700px;
}

.hero-tags,
.tag-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.score-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.hero-actions,
.detail-copy .btn {
  margin-top: 30px;
}

.btn,
.section-more,
.category-overview-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 42px rgba(59, 130, 246, 0.3);
}

.btn-ghost,
.section-more,
.category-overview-head a {
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.38);
  background: rgba(15, 23, 42, 0.58);
}

.btn-ghost:hover,
.section-more:hover,
.category-overview-head a:hover {
  color: white;
  background: rgba(34, 211, 238, 0.18);
}

.hero-cover {
  position: absolute;
  z-index: 2;
  right: max(16px, calc((100vw - 1440px) / 2 + 28px));
  bottom: clamp(92px, 10vh, 130px);
  width: min(340px, 28vw);
  aspect-ratio: 2 / 3;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

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

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 32px;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.search-hero-panel,
.content-section,
.page-hero,
.detail-hero-inner,
.footer-grid,
.filter-panel,
.search-page-panel {
  width: min(1440px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  margin-top: -56px;
  position: relative;
  z-index: 5;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-hero-panel h2,
.section-heading h2,
.side-card h2,
.detail-card h2,
.player-title-row h2,
.category-overview-head span {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.search-hero-panel p,
.section-heading p,
.category-overview-card p,
.site-footer p,
.empty-state,
.movie-line,
.detail-card p,
.side-card p {
  color: var(--muted);
}

.large-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.large-search input {
  padding: 15px 18px;
}

.large-search button {
  padding: 0 24px;
}

.content-section {
  padding: clamp(42px, 7vw, 82px) 0 0;
}

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

.section-heading p {
  margin: 9px 0 0;
}

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

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

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

.movie-poster:hover img {
  transform: scale(1.1);
  filter: brightness(0.76);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.86));
}

.play-bubble {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.region-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.region-badge {
  left: 10px;
}

.rank-badge {
  right: 10px;
  background: linear-gradient(135deg, var(--amber), var(--pink));
}

.movie-info {
  padding: 12px 4px 0;
}

.movie-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.movie-info h3 {
  margin: 0;
  color: white;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info h3 a:hover {
  color: var(--cyan);
}

.movie-meta,
.movie-line {
  margin: 5px 0 0;
  font-size: 0.88rem;
}

.movie-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-tile,
.category-overview-card,
.detail-card,
.side-card,
.player-shell,
.search-page-panel,
.filter-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.category-tile {
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.48);
}

.tile-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 116px;
  background: rgba(15, 23, 42, 0.9);
}

.tile-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-copy {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.tile-copy strong {
  font-size: 1.1rem;
}

.tile-copy em,
.inline-movie em {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
}

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

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

.movie-card--compact {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.movie-card--compact .movie-poster {
  border-radius: 14px;
}

.movie-card--compact .play-bubble {
  width: 42px;
  height: 42px;
}

.page-hero {
  padding: clamp(74px, 12vw, 140px) 0 10px;
}

.page-hero--compact {
  max-width: 980px;
  text-align: center;
}

.page-hero--compact .eyebrow {
  justify-content: center;
}

.page-hero--category {
  padding-bottom: 28px;
}

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

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

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.inline-movie-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.inline-movie {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  color: white;
  transition: background 0.2s ease;
}

.inline-movie:hover {
  background: rgba(34, 211, 238, 0.1);
}

.inline-movie img {
  width: 66px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.inline-movie span {
  min-width: 0;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;
  gap: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
}

.filter-panel input,
.filter-panel select,
.search-filters select {
  padding: 13px 15px;
}

.empty-state {
  margin: 36px 0 0;
  padding: 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.search-page-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  margin-top: 20px;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  isolation: isolate;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.detail-backdrop img {
  filter: blur(2px) saturate(1.05);
  transform: scale(1.04);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(210px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: end;
  padding: clamp(72px, 12vh, 132px) 0 54px;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 38px rgba(59, 130, 246, 0.28);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
}

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

.detail-copy h1 {
  max-width: 980px;
}

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

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

.player-shell,
.detail-card,
.side-card {
  padding: 20px;
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.player-title-row span {
  color: var(--muted);
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 58px rgba(34, 211, 238, 0.35);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-start span {
  margin-left: 5px;
  font-size: 2.4rem;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

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

.player-status {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(2, 6, 23, 0.72);
}

.detail-card p {
  margin-bottom: 0;
  font-size: 1.03rem;
}

.side-card {
  position: sticky;
  top: 92px;
}

.site-footer {
  margin-top: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 42px 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: white;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: var(--muted-strong);
}

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

.footer-brand {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

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

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-cover {
    display: none;
  }

  .hero-content {
    padding-top: 120px;
  }

  .search-hero-panel,
  .detail-layout,
  .footer-grid,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 70vw);
  }

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

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

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

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 24px, 1440px);
    min-height: 64px;
  }

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

  .hero-slider {
    min-height: 690px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .hero-tags span,
  .tag-row span,
  .detail-meta span {
    font-size: 0.85rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-controls {
    bottom: 18px;
  }

  .search-hero-panel,
  .content-section,
  .page-hero,
  .detail-hero-inner,
  .footer-grid,
  .filter-panel,
  .search-page-panel {
    width: min(100% - 24px, 1440px);
  }

  .search-hero-panel {
    grid-template-columns: 1fr;
    margin-top: -40px;
    padding: 20px;
  }

  .large-search,
  .mobile-search {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .detail-hero-inner {
    padding-top: 48px;
  }

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

  .player-start {
    width: 72px;
    height: 72px;
  }

  .search-filters {
    grid-template-columns: 1fr;
  }
}
