:root {
  --red: #dc2626;
  --red-dark: #991b1b;
  --orange: #f97316;
  --pink: #ec4899;
  --yellow: #facc15;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
  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: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #fef2f2 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
  font-size: 16px;
}

.brand-text,
.footer-brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong,
.footer-brand strong {
  font-size: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand em,
.footer-brand em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: #374151;
}

.desktop-nav > a,
.nav-dropdown > a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav > a::after,
.nav-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transition: width 0.25s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > a:hover {
  color: var(--red);
}

.desktop-nav > a:hover::after,
.nav-dropdown:hover > a::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 70px;
  left: 0;
  min-width: 180px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: var(--red);
  background: #fef2f2;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 2px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 12px 10px 18px;
}

.header-search button,
.mobile-search button {
  border: 0;
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--red);
  font-size: 22px;
}

.mobile-panel {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.mobile-panel nav a {
  padding: 10px 12px;
  color: #374151;
  border-radius: 10px;
}

.mobile-panel nav a:hover {
  background: #fee2e2;
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 30%), linear-gradient(135deg, #dc2626 0%, #991b1b 56%, #450a0a 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background: linear-gradient(to top, #f9fafb, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  min-height: 650px;
  margin: 0 auto;
  padding: 72px 20px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.07em;
}

.hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 35px rgba(220, 38, 38, 0.32);
}

.hero .btn-primary {
  color: var(--red);
  background: #fff;
}

.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
}

.btn-ghost {
  color: #fff;
  background: rgba(0,0,0,0.16);
  border: 2px solid rgba(255,255,255,0.28);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.14);
}

.hero-slider {
  position: relative;
  min-height: 500px;
}

.hero-track {
  position: relative;
  height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
  background: #111827;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.86), rgba(0,0,0,0.08) 58%);
}

.hero-slide-text {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.hero-slide-text span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-text h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.hero-slide-text p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.84);
  font-size: 15px;
  line-height: 1.65;
}

.hero-slide-text a {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--red);
  background: #fff;
  font-weight: 800;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #fff;
}

.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
}

.inner-section {
  padding-top: 0;
  padding-bottom: 0;
}

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

.section-title span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-title a {
  color: var(--red);
  font-weight: 800;
}

.compact-title {
  align-items: center;
}

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

.category-tile,
.category-overview a {
  position: relative;
  display: flex;
  min-height: 145px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::before,
.category-overview a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 34%);
}

.category-tile:hover,
.category-overview a:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.category-tile span,
.category-overview span {
  position: relative;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em,
.category-overview p {
  position: relative;
  margin: 8px 0 0;
  color: rgba(255,255,255,0.84);
  font-style: normal;
  line-height: 1.7;
}

.tone-red,
.tone-rose {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.tone-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.tone-purple {
  background: linear-gradient(135deg, #7c3aed, #581c87);
}

.tone-dark {
  background: linear-gradient(135deg, #374151, #111827);
}

.tone-orange {
  background: linear-gradient(135deg, #f97316, #c2410c);
}

.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #155e75);
}

.tone-yellow {
  background: linear-gradient(135deg, #eab308, #a16207);
}

.tone-pink {
  background: linear-gradient(135deg, #ec4899, #be185d);
}

.tone-stone {
  background: linear-gradient(135deg, #78716c, #44403c);
}

.tone-green {
  background: linear-gradient(135deg, #16a34a, #166534);
}

.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #312e81);
}

.feature-band {
  background: linear-gradient(135deg, #fff1f2, #fee2e2, #fff7ed);
  padding: 72px 0;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 58%);
  transition: opacity 0.25s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(249, 115, 22, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: 0.25s ease;
}

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

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

.movie-card h2,
.movie-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h2 a:hover,
.movie-card h3 a:hover {
  color: var(--orange);
}

.card-line {
  min-height: 48px;
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row,
.tag-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.meta-row span {
  color: #6b7280;
  font-size: 13px;
}

.tag-row span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #991b1b;
  background: #fee2e2;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-compact .poster-link {
  aspect-ratio: 1 / 1;
}

.movie-card-compact .movie-card-body {
  padding: 14px;
}

.movie-card-compact .card-line {
  display: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.rank-panel {
  align-self: start;
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #7f1d1d);
  box-shadow: var(--shadow);
}

.rank-head span {
  color: #fca5a5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.rank-head h2 {
  margin: 4px 0 18px;
  font-size: 28px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(4px);
}

.rank-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-num {
  color: #fecaca;
  font-weight: 900;
}

.rank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rank-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em {
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-style: normal;
}

.rank-score {
  color: #facc15;
  font-weight: 900;
}

.rank-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  font-weight: 900;
}

.page-main,
.detail-main {
  min-height: 60vh;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
}

.slim-hero > div,
.category-hero > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}

.page-hero h1,
.category-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: -0.06em;
}

.page-hero p,
.category-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.75;
}

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

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

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  outline: 0;
}

.filter-bar input {
  flex: 1;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--red);
}

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

.detail-hero {
  min-height: 560px;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.detail-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 20px 70px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 28px;
}

.detail-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 7px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
  background: #111827;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.95);
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(0.95);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.detail-line {
  max-width: 780px;
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin: 20px 0;
}

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-weight: 800;
}

.detail-tags span {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

.small-actions {
  margin-top: 24px;
}

.player-section {
  padding-top: 48px;
}

.player-card {
  overflow: hidden;
  border-radius: 32px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.74), rgba(0,0,0,0.12));
  cursor: pointer;
  z-index: 3;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  font-size: 32px;
}

.player-overlay.is-hidden {
  display: none;
}

.player-title {
  padding: 24px;
  color: #fff;
}

.player-title h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.player-title p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 0;
}

.content-card {
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 26px;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.site-footer {
  margin-top: 72px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #f87171;
  font-size: 18px;
}

.footer-grid p {
  color: #9ca3af;
  line-height: 1.8;
}

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

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9ca3af;
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

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

  .header-search {
    margin-left: auto;
  }

  .hero-inner,
  .split-section,
  .detail-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

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

  .hero-track {
    height: 460px;
  }

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

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

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 72px;
    gap: 12px;
  }

  .header-search {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .mobile-search {
    display: flex;
  }

  .brand strong,
  .footer-brand strong {
    font-size: 19px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

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

  .hero h1,
  .detail-copy h1 {
    font-size: 40px;
  }

  .hero p,
  .detail-line {
    font-size: 17px;
  }

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

  .hero-track {
    height: 380px;
  }

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

  .section-title,
  .filter-bar,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-shell,
  .slim-hero > div,
  .category-hero > div,
  .section-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-grid {
    gap: 26px;
  }

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

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