:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --blue-50: #eff6ff;
  --cyan-50: #ecfeff;
  --amber-100: #fef3c7;
  --amber-600: #d97706;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.1);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, var(--emerald-50) 0%, #ffffff 34%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--emerald-800), var(--emerald-600));
  box-shadow: 0 12px 28px rgba(4, 120, 87, 0.25);
}

.site-header__inner {
  width: min(100% - 32px, var(--container));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #bbf7d0;
  transition: 0.25s ease;
}

.brand:hover .brand__icon {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.brand__text {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.search-box {
  position: relative;
}

.header-search input,
.mobile-search input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--white);
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  transition: 0.25s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search input:focus,
.mobile-search input:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.22);
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: 480px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.search-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.search-result {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: var(--gray-900);
  transition: 0.2s ease;
}

.search-result:hover {
  background: var(--emerald-50);
}

.search-result img {
  width: 54px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-100), var(--blue-50));
}

.search-result strong {
  display: block;
  margin-bottom: 2px;
}

.search-result span {
  color: var(--gray-500);
  font-size: 0.86rem;
}

.search-empty {
  padding: 18px;
  color: var(--gray-500);
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  padding: 0 0 18px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--white);
  font-weight: 650;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero__overlay,
.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 26%, rgba(16, 185, 129, 0.42), transparent 28%),
    linear-gradient(90deg, rgba(6, 78, 59, 0.9), rgba(6, 95, 70, 0.74) 48%, rgba(2, 44, 34, 0.52));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  min-height: 560px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 360px;
  gap: 48px;
  align-items: center;
}

.hero__content h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero__content p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #d1fae5;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bbf7d0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.25s ease;
}

.button--primary {
  color: var(--emerald-800);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.14);
}

.button--primary:hover {
  transform: translateY(-2px);
  background: var(--emerald-50);
  box-shadow: 0 22px 44px rgba(255, 255, 255, 0.2);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.button--full {
  width: 100%;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chips a,
.page-hero__meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-feature {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: 0.35s ease;
}

.hero-feature:hover {
  transform: translateY(-6px);
}

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

.hero-feature div {
  padding: 18px;
}

.hero-feature span {
  color: #a7f3d0;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero-feature strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 1.35rem;
}

.hero-feature p {
  margin: 0;
  color: #d1fae5;
}

.section-block {
  padding-block: 72px;
}

.section-block--tint {
  background: linear-gradient(90deg, var(--blue-50), var(--cyan-50));
}

.section-block--split {
  background: linear-gradient(180deg, #ffffff, var(--emerald-50));
}

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

.section-heading h2 {
  display: inline;
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-heading p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-heading__icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-right: 10px;
  border-radius: 14px;
  color: var(--white);
  background: var(--emerald-600);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.25);
  font-weight: 900;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -54px;
  position: relative;
  z-index: 4;
}

.stat-card {
  padding: 26px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat-card span {
  display: inline-grid;
  place-items: center;
  min-width: 110px;
  min-height: 34px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: var(--emerald-700);
  background: var(--emerald-100);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  color: var(--emerald-600);
  font-size: 2.4rem;
  line-height: 1;
}

.stat-card p {
  margin: 10px 0 0;
  color: var(--gray-500);
}

.stat-card--blue span {
  color: #2563eb;
  background: #dbeafe;
}

.stat-card--blue strong {
  color: #2563eb;
}

.stat-card--amber span {
  color: var(--amber-600);
  background: var(--amber-100);
}

.stat-card--amber strong {
  color: var(--amber-600);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

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

.movie-card__cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--emerald-100), var(--blue-50));
}

.movie-grid--catalog .movie-card__cover,
.movie-grid--compact .movie-card__cover {
  aspect-ratio: 3 / 4;
}

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

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

.movie-card__year,
.movie-card__region,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-card__year {
  right: 12px;
  background: var(--emerald-600);
}

.movie-card__region {
  left: 12px;
  background: rgba(3, 7, 18, 0.72);
}

.rank-badge {
  top: auto;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-card__body {
  padding: 18px;
}

.movie-card__title {
  display: block;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.2s ease;
}

.movie-card__title:hover {
  color: var(--emerald-600);
}

.movie-card__desc {
  min-height: 48px;
  margin: 9px 0 12px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.movie-card__tags {
  margin-top: 12px;
}

.movie-card__tags span,
.tag-list span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--emerald-700);
  background: var(--emerald-100);
  font-weight: 800;
  font-size: 0.82rem;
}

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

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.category-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  height: 170px;
  background: linear-gradient(135deg, var(--emerald-100), var(--blue-50));
}

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

.category-card__body {
  padding: 18px;
}

.category-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.category-card__body p {
  min-height: 58px;
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 0.94rem;
}

.category-card__body span {
  color: var(--emerald-600);
  font-weight: 850;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 36px;
  align-items: start;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 44px 58px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: 0.25s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.ranking-row__num {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--emerald-600);
  font-weight: 900;
}

.ranking-row img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-row__title {
  font-weight: 850;
}

.ranking-row__meta {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.ranking-more {
  margin-top: 22px;
}

.spotlight-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--emerald-800), var(--emerald-950));
  color: var(--white);
  box-shadow: 0 26px 60px rgba(6, 78, 59, 0.28);
}

.spotlight-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.spotlight-card div {
  padding: 26px;
}

.spotlight-card span {
  color: #a7f3d0;
  font-weight: 800;
}

.spotlight-card h2 {
  margin: 8px 0;
  font-size: 2rem;
}

.spotlight-card p {
  color: #d1fae5;
}

.spotlight-card a {
  display: inline-flex;
  margin-top: 12px;
  color: #bbf7d0;
  font-weight: 850;
}

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(100deg, var(--emerald-800), var(--emerald-600));
}

.page-hero h1 {
  max-width: 820px;
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #d1fae5;
  font-size: 1.1rem;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 160px auto;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-bar input,
.filter-bar select,
.filter-bar button {
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.filter-bar button {
  color: var(--white);
  border-color: var(--emerald-600);
  background: var(--emerald-600);
  font-weight: 800;
}

.filter-count {
  margin-bottom: 18px;
  color: var(--gray-600);
  font-weight: 700;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.detail-hero__inner {
  position: relative;
  z-index: 1;
  padding: 34px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: #d1fae5;
  font-weight: 700;
}

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

.detail-hero__content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  width: 250px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.detail-hero h1 {
  max-width: 900px;
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.08;
}

.detail-hero p {
  max-width: 880px;
  margin: 0 0 18px;
  color: #d1fae5;
  font-size: 1.18rem;
}

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

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

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

.player-card,
.content-card,
.side-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.38), rgba(0, 0, 0, 0.58));
  transition: 0.25s ease;
}

.play-overlay span {
  display: inline-grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  color: var(--emerald-700);
  background: var(--white);
  font-size: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.play-overlay strong {
  font-size: 1.1rem;
}

.play-overlay:hover span {
  transform: scale(1.05);
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-card__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  color: var(--gray-600);
}

.player-card__caption strong {
  color: var(--gray-900);
}

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

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 1.35rem;
}

.content-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.02rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}

.side-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.side-card dt {
  color: var(--gray-500);
  font-weight: 700;
}

.side-card dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
}

.side-card dd a {
  color: var(--emerald-600);
}

.side-card--highlight {
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
}

.side-card--highlight h2 {
  color: var(--white);
}

.site-footer {
  margin-top: 72px;
  color: var(--white);
  background: linear-gradient(180deg, var(--emerald-900), var(--emerald-950));
}

.site-footer__inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.2fr;
  gap: 36px;
  padding: 46px 0;
}

.site-footer p {
  max-width: 520px;
  color: #a7f3d0;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: #bbf7d0;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: #d1fae5;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 18px;
}

.site-footer__bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
  text-align: center;
  font-size: 0.92rem;
}

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

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

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

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

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

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .hero-feature {
    max-width: 420px;
  }

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

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

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

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 62px;
  }

  .header-search {
    display: none;
  }

  .mobile-search {
    margin-bottom: 10px;
  }

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

  .search-panel {
    left: 0;
    right: auto;
    width: 100%;
  }

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

  .hero__inner {
    gap: 28px;
  }

  .hero-feature img {
    height: 320px;
  }

  .stats-panel {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

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

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

  .ranking-row {
    grid-template-columns: 38px 52px 1fr;
  }

  .ranking-row__meta {
    grid-column: 3;
  }

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

  .detail-poster {
    width: 190px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container,
  .site-header__inner,
  .mobile-nav,
  .site-footer__inner,
  .hero__inner {
    width: min(100% - 24px, var(--container));
  }

  .brand__text {
    font-size: 1rem;
  }

  .hero__content h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: 2.25rem;
  }

  .hero__actions,
  .hero__chips {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

  .section-block {
    padding-block: 46px;
  }

  .player-card__caption {
    display: block;
  }
}
