:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-solid: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --blue: #2563eb;
  --blue-light: #38bdf8;
  --cyan: #22d3ee;
  --pink: #db2777;
  --green: #34d399;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.38);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.28), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.18), transparent 28rem),
    linear-gradient(180deg, #020617 0%, #0f172a 54%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.section-block,
.hero-content,
.hero-controls,
.page-hero,
.movie-detail-hero,
.breadcrumb,
.ranking-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #bfdbfe, #67e8f9);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy small {
  color: #bfdbfe;
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  border-radius: 12px;
  color: #dbeafe;
  transition: 0.22s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover {
  background: rgba(37, 99, 235, 0.72);
  color: white;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 14px;
  outline: none;
  transition: 0.2s ease;
}

.header-search input {
  width: 190px;
  padding: 10px 12px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.search-page-form button {
  border: 0;
  border-radius: 14px;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

input:focus,
select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  color: white;
  background: rgba(30, 64, 175, 0.65);
  padding: 9px 12px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  width: 100%;
  padding: 11px 12px;
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.45);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #020617;
}

.hero-slides {
  position: relative;
  min-height: 620px;
}

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

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.72);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.78) 44%, rgba(2, 6, 23, 0.34) 100%),
    linear-gradient(0deg, #020617 0%, transparent 35%, rgba(2, 6, 23, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  padding: 74px 430px 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
}

.hero-content h1,
.hero-content h2,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
  margin: 18px 0 0;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(38px, 6vw, 72px);
}

.hero-content h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.5vw, 56px);
}

.hero-content p,
.page-hero p,
.ranking-hero p,
.detail-copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

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

.primary-button,
.ghost-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 700;
  transition: 0.22s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.35);
  padding: 13px 20px;
}

.ghost-button {
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.38);
  background: rgba(15, 23, 42, 0.58);
  padding: 12px 18px;
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-poster {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 120px;
  z-index: 3;
  width: 310px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: rotate(2deg);
  transition: 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.hero-poster span {
  display: block;
  padding: 14px 6px 2px;
  color: #bfdbfe;
  font-weight: 700;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.hero-control,
.hero-dot {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.hero-control {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: rgba(30, 64, 175, 0.72);
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.68);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.42);
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: #38bdf8;
}

.section-block {
  padding: 74px 0;
}

.quick-search {
  margin-top: -42px;
  position: relative;
  z-index: 8;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.section-heading h2 {
  margin: 10px 0 0;
  color: white;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.compact-heading,
.inline-heading {
  margin-bottom: 18px;
}

.section-link {
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(37, 99, 235, 0.18);
  padding: 10px 14px;
}

.hero-search,
.search-page-form {
  display: flex;
  gap: 12px;
}

.hero-search input,
.search-page-form input {
  width: 100%;
  padding: 15px 16px;
  font-size: 16px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-chips a {
  color: #dbeafe;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.24);
  transition: 0.2s ease;
}

.category-chips a:hover {
  background: rgba(37, 99, 235, 0.56);
  color: white;
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.48);
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.2);
}

.poster-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 9px;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.26);
}

.score-badge {
  right: 10px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
}

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

.movie-card h3 {
  margin: 0;
  color: white;
  font-size: 16px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #7dd3fc;
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 13px;
}

.movie-desc {
  min-height: 42px;
}

.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-row span,
.tag-cloud span {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
}

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

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 46px rgba(2, 6, 23, 0.24);
}

.category-tile {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.1);
  transition: 0.3s ease;
}

.category-tile:hover img {
  opacity: 0.44;
  transform: scale(1.05);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.2));
}

.category-tile span,
.category-tile strong,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  color: #67e8f9;
  font-weight: 900;
  font-size: 14px;
}

.category-tile strong {
  margin-top: 8px;
  color: white;
  font-size: 24px;
}

.category-tile p {
  margin: 8px 0 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 14px;
}

.rank-panel,
.detail-poster-card {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px;
  box-shadow: var(--shadow);
}

.rank-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank-item a {
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: 0.2s ease;
}

.rank-item a:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
}

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

.rank-item img {
  width: 48px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
}

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

.rank-info strong {
  color: white;
}

.rank-info small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rank-item em {
  color: #facc15;
  font-style: normal;
  font-weight: 900;
}

.page-hero,
.ranking-hero {
  margin-top: 34px;
  padding: 58px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(30, 64, 175, 0.56));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
}

.slim-hero {
  padding: 48px 58px;
}

.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 13px 14px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.category-cover img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.category-overview-card h2 {
  margin: 12px 0 0;
  color: white;
  font-size: 26px;
}

.category-overview-card p {
  color: #cbd5e1;
  line-height: 1.75;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-links a {
  color: #bfdbfe;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  padding: 7px 10px;
  font-size: 13px;
}

.ranking-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ranking-hero img {
  width: 240px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.sticky-panel {
  position: sticky;
  top: 100px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 26px;
  color: #bfdbfe;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.movie-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 22px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 30px;
  background: #000;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: white;
  cursor: pointer;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.26), rgba(2, 6, 23, 0.68)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.15));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.45);
  font-size: 32px;
  padding-left: 6px;
}

.play-overlay strong {
  font-size: 20px;
}

.detail-copy {
  border-radius: 30px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 20rem),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.detail-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.detail-score strong {
  color: #facc15;
  font-size: 38px;
  line-height: 1;
}

.detail-score span {
  color: #cbd5e1;
}

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

.detail-article {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.detail-article h2,
.detail-poster-card h2 {
  color: white;
  margin: 0 0 14px;
  font-size: 26px;
}

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

.detail-article p {
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 16px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.detail-meta-grid div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-meta-grid strong,
.detail-meta-grid span {
  display: block;
}

.detail-meta-grid strong {
  color: #93c5fd;
  margin-bottom: 8px;
}

.detail-meta-grid span {
  color: white;
}

.detail-poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
}

.detail-poster-card p {
  color: var(--muted);
}

.full-button {
  width: 100%;
  margin-top: 14px;
}

.search-page-form {
  margin-bottom: 18px;
}

.search-status {
  color: #bfdbfe;
  margin-bottom: 18px;
}

.site-footer {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-inner {
  padding: 44px 0 34px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 640px;
}

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

.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.footer-links a {
  color: #cbd5e1;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-links a:hover {
  color: white;
  background: rgba(37, 99, 235, 0.35);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

  .hero-content {
    padding-right: 360px;
  }

  .hero-poster {
    width: 270px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .hero-slides,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    padding: 70px 0 330px;
  }

  .hero-poster {
    width: min(270px, 72vw);
    left: 50%;
    right: auto;
    top: auto;
    bottom: 94px;
    transform: translateX(-50%) rotate(1deg);
  }

  .hero-poster:hover {
    transform: translateX(-50%) translateY(-4px);
  }

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

  .sticky-panel {
    position: static;
  }

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

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

  .ranking-hero img {
    width: 190px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .section-block,
  .hero-content,
  .hero-controls,
  .page-hero,
  .movie-detail-hero,
  .breadcrumb,
  .ranking-hero {
    width: min(100% - 22px, 1180px);
  }

  .brand-copy small {
    display: none;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 36px;
  }

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

  .quick-search,
  .page-hero,
  .ranking-hero,
  .detail-copy,
  .detail-article,
  .rank-panel,
  .detail-poster-card {
    padding: 22px;
    border-radius: 22px;
  }

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

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

  .hero-search,
  .search-page-form,
  .mobile-search {
    flex-direction: column;
  }

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

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

  .movie-desc {
    display: none;
  }

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

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

  .category-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-shell,
  .video-shell video {
    min-height: 230px;
  }

  .play-circle {
    width: 66px;
    height: 66px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
