:root {
  --brand: #ea580c;
  --brand-dark: #c2410c;
  --accent: #f59e0b;
  --teal: #0d9488;
  --cyan: #0891b2;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --pink: #db2777;
  --red: #dc2626;
  --green: #16a34a;
  --yellow: #ca8a04;
  --slate: #334155;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

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: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: #374151;
  white-space: nowrap;
}

.desktop-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

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

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--brand);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 16px 20px;
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: linear-gradient(135deg, #ea580c 0%, #f59e0b 54%, #fde047 100%);
}

.hero-slides,
.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-slide > img,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.03);
}

.hero-mask,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(120, 53, 15, 0.72) 45%, rgba(15, 23, 42, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 580px;
  display: flex;
  align-items: center;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-kicker {
  background: #fff7ed;
  color: var(--brand);
}

.hero h1,
.sub-hero h1,
.detail-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-subtitle,
.sub-hero p,
.detail-hero p {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(18px, 2.6vw, 26px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags,
.tag-row,
.quick-filters,
.side-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.side-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.tag-row span,
.side-links a {
  background: #f3f4f6;
  color: #374151;
}

.tag-row-large {
  margin-bottom: 18px;
}

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

.primary-button,
.ghost-button,
.text-button,
.inline-search button,
.player-info button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 26px;
  color: var(--brand);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.22);
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.inline-search button:hover,
.player-info button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-controls {
  position: relative;
  z-index: 3;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 34px;
}

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

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

.hero-dot.is-active {
  width: 72px;
  background: #ffffff;
}

.search-strip {
  position: relative;
  z-index: 4;
  margin-top: -40px;
}

.search-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-strip strong {
  display: block;
  font-size: 20px;
}

.search-strip span {
  color: var(--muted);
}

.inline-search {
  display: flex;
  width: min(520px, 100%);
  gap: 10px;
}

.inline-search input,
.filter-input,
.sort-label select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #ffffff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.inline-search input:focus,
.filter-input:focus,
.sort-label select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.inline-search button,
.player-info button {
  min-height: 46px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.page-section {
  padding: 76px 0;
}

.bg-white {
  background: #ffffff;
}

.bg-soft {
  background: var(--soft);
}

.gradient-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.gradient-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
}

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

.section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-more,
.text-button {
  color: var(--brand);
  font-weight: 800;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -48px;
  top: -42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.category-card strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 22px;
}

.category-card p,
.category-card em {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-card em {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 800;
}

.category-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.category-samples {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.category-orange,
.sub-hero.category-orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.category-teal,
.sub-hero.category-teal { background: linear-gradient(135deg, #0d9488, #06b6d4); }
.category-amber,
.sub-hero.category-amber { background: linear-gradient(135deg, #d97706, #facc15); }
.category-red,
.sub-hero.category-red { background: linear-gradient(135deg, #dc2626, #f97316); }
.category-rose,
.sub-hero.category-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.category-indigo,
.sub-hero.category-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.category-purple,
.sub-hero.category-purple { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.category-cyan,
.sub-hero.category-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.category-blue,
.sub-hero.category-blue { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.category-slate,
.sub-hero.category-slate { background: linear-gradient(135deg, #334155, #0f172a); }
.category-pink,
.sub-hero.category-pink { background: linear-gradient(135deg, #db2777, #f9a8d4); }
.category-yellow,
.sub-hero.category-yellow { background: linear-gradient(135deg, #ca8a04, #fde047); }
.category-green,
.sub-hero.category-green { background: linear-gradient(135deg, #16a34a, #86efac); }
.category-violet,
.sub-hero.category-violet { background: linear-gradient(135deg, #6d28d9, #a78bfa); }

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.poster-link,
.compact-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.poster-link {
  aspect-ratio: 16 / 10;
}

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

.movie-card:hover img,
.compact-card:hover img {
  transform: scale(1.08);
}

.poster-shade,
.compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.76) 100%);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.score-badge,
.rank-num {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
  font-size: 13px;
}

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

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.movie-card h3 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.32;
}

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

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.compact-card {
  min-height: 190px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.compact-title,
.compact-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #ffffff;
}

.compact-title {
  bottom: 36px;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.3;
}

.compact-meta {
  bottom: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.compact-hero {
  padding: 76px 0;
}

.sub-hero .hero-kicker {
  background: rgba(255, 255, 255, 0.18);
}

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

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

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.toolbar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 10;
}

.filter-input {
  flex: 1 1 280px;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.sort-label select {
  width: auto;
  min-width: 150px;
}

.filter-count {
  color: var(--muted);
  font-weight: 700;
}

.quick-filters {
  margin: 0 0 24px;
}

.quick-filters button {
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.quick-filters button:hover {
  color: var(--brand);
}

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

.category-overview-card {
  color: #ffffff;
}

.category-overview-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.category-overview-head > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.category-overview-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.category-overview-head p,
.category-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-count {
  margin: 18px 0;
  font-weight: 900;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.category-preview a {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-preview span {
  position: absolute;
  inset: auto 8px 8px 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.detail-title-row p {
  max-width: 780px;
}

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

.player-card,
.content-card,
.side-card,
.prose-card {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
}

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

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 132px;
  height: 132px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.9);
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.35);
  transform: translate(-50%, -50%);
}

.player-start span {
  font-size: 34px;
}

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

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--muted);
}

.player-info strong {
  color: var(--ink);
}

.player-info button {
  margin-left: auto;
}

.content-card,
.side-card,
.prose-card {
  padding: 26px;
}

.content-card h2,
.side-card h2,
.prose-card h1,
.prose-card h2 {
  margin: 0 0 14px;
}

.content-card p,
.prose-card p {
  margin: 0 0 22px;
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
}

.content-card blockquote {
  margin: 0;
  padding: 20px;
  border-left: 5px solid var(--brand);
  border-radius: 14px;
  background: #fff7ed;
  color: #7c2d12;
  line-height: 1.85;
}

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

.sticky-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  font-weight: 800;
}

.sidebar-compact {
  grid-template-columns: 1fr;
}

.sidebar-compact .compact-card {
  min-height: 130px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.ranking-table th {
  color: #4b5563;
  background: #f9fafb;
}

.ranking-table a {
  font-weight: 800;
}

.ranking-table a:hover {
  color: var(--brand);
}

.table-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-grid p {
  margin: 14px 0 0;
  color: #9ca3af;
}

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

.footer-grid a:hover {
  color: #fed7aa;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 14px;
}

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

.feature-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #fff7ed;
}

.prose-card ul {
  columns: 2;
  margin: 0;
  padding-left: 18px;
}

.sitemap-movies {
  grid-column: 1 / -1;
}

.sitemap-movies ul {
  columns: 4;
}

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

img.is-missing {
  opacity: 0;
}

.poster-link.has-missing-image::before,
.compact-card.has-missing-image::before,
.category-preview a.has-missing-image::before,
.hero-slide.has-missing-image::before,
.detail-hero.has-missing-image::before {
  content: attr(data-fallback-title);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

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

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

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

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

  .sticky-card {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero,
  .hero-content,
  .hero-controls {
    min-height: 560px;
  }

  .search-strip-inner,
  .section-heading,
  .detail-title-row,
  .player-info,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-search {
    width: 100%;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .split-showcase,
  .footer-grid,
  .feature-grid,
  .sitemap-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .player-info button {
    margin-left: 0;
  }

  .prose-card ul,
  .sitemap-movies ul {
    columns: 2;
  }
}

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

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

  .hero,
  .hero-content,
  .hero-controls {
    min-height: 620px;
  }

  .hero-tags span {
    font-size: 12px;
  }

  .page-section {
    padding: 54px 0;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .compact-grid,
  .compact-grid-large,
  .split-showcase,
  .footer-grid,
  .feature-grid,
  .sitemap-columns {
    grid-template-columns: 1fr;
  }

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

  .toolbar {
    padding: 12px;
  }

  .sort-label {
    width: 100%;
    justify-content: space-between;
  }

  .sort-label select {
    width: 55%;
  }

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

  .info-list div {
    grid-template-columns: 1fr;
  }

  .prose-card ul,
  .sitemap-movies ul {
    columns: 1;
  }
}
