:root {
  --color-sky: #0284c7;
  --color-sky-dark: #0369a1;
  --color-sky-soft: #e0f2fe;
  --color-orange: #f97316;
  --color-rose: #e11d48;
  --color-green: #16a34a;
  --color-purple: #7c3aed;
  --color-cyan: #0891b2;
  --color-amber: #d97706;
  --color-slate: #475569;
  --text-main: #111827;
  --text-muted: #667085;
  --border-soft: #e5e7eb;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 20px 45px rgba(2, 132, 199, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: var(--bg-page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
}

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

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.25);
}

.brand-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon svg path:last-child {
  fill: currentColor;
  stroke: none;
}

.brand-text {
  font-size: 20px;
  color: var(--text-main);
  white-space: nowrap;
}

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

.nav-link {
  color: #475569;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.header-search,
.mobile-search,
.wide-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.wide-search input {
  width: 245px;
  height: 42px;
  padding: 0 18px 0 42px;
  color: #0f172a;
  background: white;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-head select:focus {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.search-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  color: #94a3b8;
  pointer-events: none;
}

.search-icon svg,
.card-meta svg,
.card-duration svg,
.rating svg,
.button svg,
.section-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rating svg {
  fill: currentColor;
  stroke: currentColor;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: #334155;
  background: #f1f5f9;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-menu-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-nav-panel {
  display: none;
  padding: 14px 16px 20px;
  border-top: 1px solid #edf2f7;
  background: white;
}

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

.mobile-search input {
  width: 100%;
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  color: #475569;
  font-weight: 700;
  border-radius: 12px;
  background: #f8fafc;
}

.hero {
  position: relative;
  height: min(74vh, 690px);
  min-height: 560px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 1.2s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 36%, rgba(14, 165, 233, 0.24), transparent 30%), linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.24) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.05) 55%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 88px;
}

.hero-copy {
  width: min(680px, 100%);
  color: white;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  color: #e0f2fe;
  background: rgba(2, 132, 199, 0.3);
  border: 1px solid rgba(186, 230, 253, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: #e2e8f0;
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tag,
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tag {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag {
  color: #0369a1;
  background: #e0f2fe;
}

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

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

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

.button.primary {
  color: white;
  background: var(--color-sky);
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.35);
}

.button.primary:hover {
  background: var(--color-sky-dark);
}

.button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.button.line {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

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

.hero-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 52px;
  background: white;
}

.section {
  padding: 70px 0;
}

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

.section-heading h2,
.category-overview-head h2,
.search-head h2,
.story-card h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p,
.category-overview-head p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-sky);
  font-weight: 800;
  white-space: nowrap;
}

.movie-rail {
  display: flex;
  gap: 22px;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.rail-item {
  width: 330px;
  flex: 0 0 330px;
  scroll-snap-align: start;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: var(--shadow-card-hover);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

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

.movie-card:hover .card-cover img {
  transform: scale(1.1);
}

.card-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.74));
  transition: opacity 0.3s ease;
}

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

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--color-sky);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

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

.card-duration,
.card-category {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  color: white;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
}

.card-duration {
  right: 10px;
  bottom: 10px;
  background: rgba(2, 6, 23, 0.75);
}

.card-duration svg {
  width: 14px;
  height: 14px;
}

.card-category {
  top: 10px;
  left: 10px;
  background: var(--color-sky);
}

.card-body {
  padding: 16px;
}

.card-title {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.4;
}

.card-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover .card-title a {
  color: var(--color-sky);
}

.card-desc {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  margin: 10px 0 14px;
}

.card-tags .tag {
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-meta svg {
  width: 15px;
  height: 15px;
}

.card-meta .rating {
  color: #f59e0b;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  background: linear-gradient(135deg, #fb923c, #ef4444);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
  font-size: 18px;
  font-weight: 900;
}

.ranking-band {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.topic-band {
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.82));
  z-index: -1;
}

.tile-glow {
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 120px;
  opacity: 0.62;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.8), transparent 70%);
}

.category-tile div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.category-tile h2 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.2;
}

.category-tile p {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  color: white;
  background: linear-gradient(135deg, #0f172a, #075985);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #e2e8f0;
  font-size: 18px;
}

.soft-hero {
  color: var(--text-main);
  background: radial-gradient(circle at 82% 22%, rgba(14, 165, 233, 0.18), transparent 30%), linear-gradient(135deg, #f8fafc, #e0f2fe);
}

.soft-hero p {
  color: #475569;
}

.category-hero.accent-green {
  background: linear-gradient(135deg, #052e16, #16a34a);
}

.category-hero.accent-rose {
  background: linear-gradient(135deg, #4c0519, #e11d48);
}

.category-hero.accent-purple {
  background: linear-gradient(135deg, #2e1065, #7c3aed);
}

.category-hero.accent-orange {
  background: linear-gradient(135deg, #431407, #f97316);
}

.category-hero.accent-cyan {
  background: linear-gradient(135deg, #083344, #0891b2);
}

.category-hero.accent-teal {
  background: linear-gradient(135deg, #042f2e, #0d9488);
}

.category-hero.accent-blue {
  background: linear-gradient(135deg, #172554, #2563eb);
}

.category-hero.accent-amber {
  background: linear-gradient(135deg, #451a03, #d97706);
}

.category-hero.accent-slate {
  background: linear-gradient(135deg, #020617, #475569);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.soft-hero .breadcrumb {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #bae6fd;
}

.soft-hero .breadcrumb a:hover {
  color: var(--color-sky);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-head select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  outline: none;
}

.category-overview-block {
  padding: 24px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.category-overview-block + .category-overview-block {
  margin-top: 28px;
}

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

.compact-grid .card-desc {
  display: none;
}

.ranking-hero {
  min-height: 430px;
  background: #020617;
}

.ranking-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.56), rgba(2, 6, 23, 0.25));
}

.wide-search {
  width: min(720px, 100%);
  margin-top: 28px;
  background: white;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.wide-search input {
  width: 100%;
  height: 56px;
  border: 0;
  box-shadow: none;
}

.wide-search button {
  height: 44px;
  margin-right: 6px;
  padding: 0 22px;
  border: 0;
  color: white;
  background: var(--color-sky);
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.search-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.search-head select {
  width: 170px;
}

.detail-stage {
  position: relative;
  padding: 46px 0;
  color: white;
  background: radial-gradient(circle at 84% 18%, rgba(14, 165, 233, 0.25), transparent 30%), linear-gradient(135deg, #020617, #0f172a 58%, #075985);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
}

.movie-player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #020617;
}

.player-shell.is-playing .movie-player-cover {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.movie-player-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.72));
}

.movie-player-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--color-sky);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.28);
}

.movie-player-button svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-one-line {
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f8fafc;
  font-weight: 750;
}

.detail-meta .rating {
  color: #fbbf24;
}

.detail-tags .tag {
  color: white;
  background: rgba(14, 165, 233, 0.28);
  border: 1px solid rgba(186, 230, 253, 0.3);
}

.detail-content {
  padding: 42px 0 0;
}

.story-card {
  padding: 30px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.story-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

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

.story-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  color: white;
  font-size: 20px;
}

.site-footer p {
  margin: 16px 0 0;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 17px;
}

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

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  padding: 20px 16px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.hidden-by-filter {
  display: none !important;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 14px;
  }

  .header-search input {
    width: 205px;
  }

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

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

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

  .hero {
    min-height: 640px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 95px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .section-heading,
  .category-overview-head,
  .search-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid.three-columns,
  .movie-grid.four-columns,
  .category-grid,
  .detail-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .hero {
    min-height: 600px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

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

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

  .button {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .movie-grid.three-columns,
  .movie-grid.four-columns,
  .category-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .rail-item {
    width: 285px;
    flex-basis: 285px;
  }

  .category-overview-block,
  .story-card {
    padding: 20px;
  }

  .page-hero .container {
    padding: 52px 0;
  }

  .detail-stage {
    padding: 24px 0 36px;
  }

  .movie-player-button {
    width: 68px;
    height: 68px;
  }
}
