:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #facc15;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f9fafb;
  --line: #e5e7eb;
  --card: #ffffff;
  --dark: #111827;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 12px 28px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.35);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: #fff7ed;
  color: var(--orange-dark);
}

.top-search,
.mobile-search,
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search {
  margin-left: auto;
  width: min(360px, 34vw);
}

.top-search input,
.mobile-search input,
.hero-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.top-search button,
.mobile-search button,
.hero-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 24px 18px;
  background: #fff;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.hero,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f97316 0%, #f59e0b 52%, #fb923c 100%);
  color: #fff;
}

.hero {
  min-height: 640px;
}

.hero::before,
.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(4px);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -28% -8%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.24), rgba(17, 24, 39, 0.06));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 640px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: 46px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-pill,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hero-search {
  max-width: 620px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-search input {
  border-color: transparent;
  padding: 14px 18px;
}

.hero-search button {
  padding: 14px 24px;
  background: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.primary-btn {
  color: #fff;
  background: #111827;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.24);
}

.ghost-btn {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.compact-card:hover,
.category-tile:hover,
.category-overview:hover,
.podium-card:hover {
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats span {
  min-width: 128px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-stats strong,
.hero-stats em {
  display: block;
}

.hero-stats strong {
  font-size: 24px;
  font-style: normal;
  line-height: 1.1;
}

.hero-stats em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-style: normal;
}

.hero-stage {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.32);
  background: rgba(17, 24, 39, 0.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fb923c, #111827);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.05) 62%);
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.hero-slide-copy span,
.hero-slide-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-slide-copy h2 {
  margin: 8px 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.hero-slide-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 18px;
}

.hero-slide-copy a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 28px;
  top: 26px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 24px;
}

.wide-band {
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
}

.band-inner {
  padding-top: 70px;
  padding-bottom: 70px;
}

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

.section-kicker {
  color: var(--orange-dark);
  background: #fff7ed;
  box-shadow: none;
  padding: 6px 12px;
  font-size: 13px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-weight: 900;
  white-space: nowrap;
}

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

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  color: var(--ink);
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #111827);
}

.poster-wrap img,
.compact-poster img,
.category-cover img,
.overview-covers img,
.podium-card img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .poster-wrap img,
.compact-card:hover .compact-poster img,
.category-tile:hover .category-cover img,
.category-overview:hover .overview-covers img,
.podium-card:hover img {
  transform: scale(1.07);
}

.poster-glow,
.play-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.poster-glow {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 58%);
}

.play-hover {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 46px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.movie-card:hover .poster-glow,
.movie-card:hover .play-hover {
  opacity: 1;
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.movie-title {
  font-size: 18px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-desc {
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
}

.movie-meta-muted {
  color: #9ca3af;
}

.movie-score {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-size: 12px;
  font-weight: 900;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.compact-card:hover {
  box-shadow: var(--shadow);
}

.compact-poster {
  position: relative;
  display: block;
  min-height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #111827);
}

.compact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 14px 12px 0;
}

.compact-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.compact-info span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-info em {
  margin-top: 10px;
  color: var(--orange-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

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

.category-tile,
.category-overview {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  min-height: 236px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover,
.category-overview:hover {
  box-shadow: var(--shadow);
}

.category-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fed7aa, #111827);
}

.category-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.16));
}

.category-text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.category-text strong,
.overview-info strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
}

.category-text em,
.overview-info em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 82px 24px;
}

.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.slim-hero,
.search-hero,
.ranking-hero,
.category-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
}

.ranking-hero {
  background: linear-gradient(115deg, #111827, #f97316 70%, #f59e0b);
}

.search-hero {
  background: linear-gradient(115deg, #0f172a, #334155 50%, #f97316);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 0.6fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 26px;
  border-radius: 24px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 11px 12px;
  outline: none;
  color: var(--ink);
}

.empty-state {
  margin: 32px 0;
  border-radius: 18px;
  padding: 22px;
  background: #fff7ed;
  color: var(--orange-dark);
  font-weight: 900;
  text-align: center;
}

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

.category-overview {
  min-height: 300px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.overview-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-height: 300px;
  overflow: hidden;
  background: #111827;
}

.overview-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  color: var(--ink);
}

.overview-info em {
  color: var(--muted);
}

.overview-info b {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

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

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  color: #fff;
  background: #111827;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease;
}

.podium-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.82;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.08));
}

.podium-card strong,
.podium-card em,
.podium-card p,
.podium-rank {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
}

.podium-rank {
  top: 22px;
  right: auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: #111827;
  background: #fff;
  font-weight: 950;
}

.podium-card strong {
  bottom: 116px;
  font-size: 28px;
  line-height: 1.2;
}

.podium-card em {
  bottom: 86px;
  color: #fbbf24;
  font-style: normal;
  font-weight: 900;
}

.podium-card p {
  bottom: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(1px);
}

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

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.82));
}

.detail-shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 70px;
}

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

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

.detail-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #fed7aa, #111827);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

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

.detail-one {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.detail-meta span,
.tag-row span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 13px;
}

.detail-copy .primary-btn {
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.player-card,
.synopsis-card,
.related-block {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.player-card {
  grid-column: 1 / -1;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.player-head h2,
.synopsis-card h2 {
  margin: 0;
  font-size: 22px;
}

.player-head span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-weight: 900;
  font-size: 13px;
}

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

.video-box video {
  width: 100%;
  height: 100%;
  background: #050505;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.62));
}

.video-cover.is-hidden {
  display: none;
}

.video-cover span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.45);
  font-size: 32px;
  text-indent: 4px;
}

.video-cover strong {
  font-size: 20px;
}

.synopsis-card {
  padding: 26px;
}

.synopsis-card p {
  color: #374151;
  margin: 12px 0 0;
  font-size: 16px;
}

.related-block {
  grid-column: 1 / -1;
  padding: 26px;
}

.related-block .section-head {
  margin-bottom: 22px;
}

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

.site-footer {
  background: #111827;
  color: #fff;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 32px;
}

.footer-grid p {
  color: #9ca3af;
  max-width: 520px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
}

.footer-grid a:not(.footer-brand) {
  display: inline-flex;
  margin: 0 12px 8px 0;
  color: #d1d5db;
}

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

.footer-brand {
  color: #fff;
  margin-bottom: 12px;
}

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

[hidden] {
  display: none !important;
}

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

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

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

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

  .hero-inner {
    padding: 54px 20px;
  }

  .hero-search {
    border-radius: 26px;
    flex-direction: column;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
  }

  .feature-grid,
  .rank-grid,
  .podium-grid,
  .overview-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .detail-main {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }

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

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

@media (max-width: 620px) {
  .nav-shell,
  .content-section,
  .page-hero,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 18px;
  }

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

  .hero-stage {
    min-height: 360px;
    border-radius: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid,
  .catalog-grid,
  .latest-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .player-head {
    align-items: start;
    flex-direction: column;
  }

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