/* 静态电影网站主样式：深色渐变、青蓝高亮、卡片式布局、Hero 轮播与响应式导航 */
:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.18);
  --blue: #2563eb;
  --shadow-cyan: 0 18px 60px rgba(34, 211, 238, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.15), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 82%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1440px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.32);
}

.brand-text,
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #67e8f9, #38bdf8, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.nav-link {
  color: var(--muted-strong);
  font-size: 15px;
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cyan);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.nav-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.nav-search button,
.quick-search-form button {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 0;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

main {
  padding-top: 68px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.hero-stage {
  position: relative;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 640px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.04);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, #020617 0%, transparent 38%, rgba(2, 6, 23, 0.6) 100%);
}

.hero-inner,
.content-section,
.quick-search-inner,
.filter-panel,
.breadcrumb,
.detail-hero,
.player-section,
.footer-inner,
.footer-bottom,
.category-overview-block,
.page-hero {
  width: min(1280px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
  gap: 58px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted-strong);
  font-size: 18px;
}

.hero-tags,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  font-size: 13px;
}

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

.btn-primary,
.btn-secondary,
.btn-ghost,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--shadow-cyan);
}

.btn-secondary,
.btn-ghost,
.section-link {
  border: 1px solid var(--line);
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.66);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.section-link:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow-cyan);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(37, 99, 235, 0.12));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.04);
}

.hero-poster span {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(8, 145, 178, 0.88);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.65);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--cyan);
}

.quick-search-block {
  padding: 36px 0 18px;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.66);
  box-shadow: var(--shadow-cyan);
}

.quick-search-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px);
}

.quick-search-inner p {
  margin: 0;
  color: var(--muted);
}

.quick-search-form {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.6);
}

.quick-search-form input {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.content-section {
  padding: 70px 0;
}

.no-top-padding {
  padding-top: 22px;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1280px) / 2));
  padding-left: max(20px, calc((100% - 1280px) / 2));
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(15, 23, 42, 0.34);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.03em;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.52);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-5px);
}

.poster-shell {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(37, 99, 235, 0.16)),
    #0f172a;
}

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

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), transparent);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: white;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #0e7490 52%, #1d4ed8);
}

.poster-shell.poster-missing .poster-fallback,
.hero-poster.poster-missing .poster-fallback {
  display: flex;
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  background: rgba(8, 145, 178, 0.9);
  backdrop-filter: blur(10px);
}

.type-badge {
  top: 10px;
  right: 10px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

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

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted-strong);
  font-size: 12px;
}

.movie-meta span:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(148, 163, 184, 0.45);
  content: "·";
}

.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: 36px;
  align-items: start;
}

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

.ranking-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.66);
}

.ranking-number {
  color: var(--cyan);
  font-weight: 900;
}

.ranking-list a {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-list a:hover {
  color: var(--cyan);
}

.ranking-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.long-list {
  max-height: 1180px;
  overflow: auto;
  padding-right: 6px;
}

.ranking-aside {
  position: sticky;
  top: 92px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.66);
}

.mini-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
}

.mini-card img {
  width: 72px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  background: #0f172a;
}

.mini-card strong,
.mini-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.category-tile a,
.category-overview-block,
.filter-panel,
.prose-card,
.player-section {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.category-tile a {
  min-height: 230px;
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-tile a:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}

.category-count {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #a5f3fc;
  background: var(--cyan-soft);
  font-size: 12px;
}

.category-tile h3,
.category-overview-head h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-tile p,
.category-overview-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.category-samples {
  display: grid;
  gap: 6px;
}

.category-samples a {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted-strong);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.category-samples a:hover {
  color: var(--cyan);
  transform: none;
}

.page-hero {
  margin-top: 38px;
  margin-bottom: 34px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.86));
  box-shadow: var(--shadow-cyan);
}

.small-hero h1 {
  max-width: 960px;
  font-size: clamp(34px, 6vw, 62px);
}

.category-overview-block {
  margin-bottom: 26px;
  padding: 24px;
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.filter-panel {
  margin-bottom: 22px;
  padding: 24px;
}

.filter-title h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.filter-title p,
.filter-result {
  margin: 0;
  color: var(--muted);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(150px, 0.7fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
}

.filter-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 13px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background: rgba(2, 6, 23, 0.64);
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.empty-state {
  margin: 26px 0;
  padding: 28px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.14), transparent 36%),
    rgba(15, 23, 42, 0.68);
}

.detail-poster {
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.detail-info h1 {
  font-size: clamp(34px, 6vw, 66px);
}

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

.detail-meta-grid span {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(2, 6, 23, 0.42);
}

.detail-meta-grid strong {
  color: var(--cyan);
  font-size: 12px;
}

.player-section {
  padding: 24px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18));
}

.player-start[hidden] {
  display: none;
}

.player-start span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--shadow-cyan);
  font-size: 30px;
}

.player-start strong {
  display: block;
  font-size: 18px;
}

.player-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(2, 6, 23, 0.72);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.prose-card {
  padding: 28px;
}

.prose-card h2 {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 26px;
}

.prose-card p {
  margin: 0 0 24px;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-line;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.82);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 42px;
  padding: 44px 0;
}

.footer-brand p,
.footer-bottom p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 18px;
}

.footer-links a {
  color: var(--muted-strong);
  font-size: 14px;
}

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

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

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

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

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

@media (max-width: 980px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0 18px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
  }

  .nav-menu.is-open {
    display: flex;
  }

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

  .nav-search {
    order: 2;
    width: min(100%, 420px);
    margin-left: auto;
  }

  main {
    padding-top: 116px;
  }

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

  .hero-carousel,
  .hero-stage,
  .hero-slide {
    min-height: 780px;
  }

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

  .hero-poster img {
    min-height: 420px;
  }

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

  .ranking-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-inner,
  .content-section,
  .quick-search-inner,
  .filter-panel,
  .breadcrumb,
  .detail-hero,
  .player-section,
  .footer-inner,
  .footer-bottom,
  .category-overview-block,
  .page-hero {
    width: min(100% - 28px, 1280px);
  }

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

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

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 15px;
  }

  .page-hero,
  .detail-hero,
  .filter-panel,
  .player-section,
  .prose-card {
    padding: 20px;
  }

  .quick-search-form {
    flex-direction: column;
    border-radius: 18px;
  }

  .quick-search-form button {
    width: 100%;
  }

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

  .ranking-list li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .ranking-list em {
    grid-column: 2;
  }

  .hero-arrow {
    display: none;
  }

  .hero-carousel,
  .hero-stage,
  .hero-slide {
    min-height: 720px;
  }
}

@media (max-width: 460px) {
  .nav-search {
    width: 100%;
  }

  main {
    padding-top: 156px;
  }

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

  .movie-card h3 {
    min-height: 46px;
    font-size: 15px;
  }

  .movie-card p {
    min-height: 38px;
    font-size: 12px;
  }

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