* {
  box-sizing: border-box;
}

:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(59, 130, 246, 0.24);
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #60a5fa;
  --cyan: #67e8f9;
  --accent: #22d3ee;
  --radius: 1rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32rem),
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 130, 246, 0.28);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.94), rgba(15, 23, 42, 0.96));
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1180px;
  height: 4rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: inline-grid;
  place-items: center;
  color: #07111f;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 18px 34px rgba(34, 211, 238, 0.35);
}

.brand-mark.small {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #bfdbfe, #cffafe, #bfdbfe);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy em {
  color: rgba(147, 197, 253, 0.74);
  font-size: 0.76rem;
  font-style: normal;
  margin-top: 0.12rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav a,
.mobile-panel a {
  color: #dbeafe;
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.62rem 0.88rem;
  border-radius: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.8rem;
  background: rgba(37, 99, 235, 0.2);
  color: #dbeafe;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 10rem;
}

.mobile-panel {
  display: none;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(59, 130, 246, 0.24);
  background: rgba(2, 6, 23, 0.98);
}

.mobile-panel.open {
  display: grid;
  gap: 0.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
}

.hero::before {
  width: 28rem;
  height: 28rem;
  top: 7rem;
  left: -7rem;
  background: rgba(37, 99, 235, 0.22);
}

.hero::after {
  width: 24rem;
  height: 24rem;
  right: -6rem;
  bottom: 5rem;
  background: rgba(8, 145, 178, 0.24);
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 43%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0.1) 44%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 2rem));
  min-height: 690px;
  margin: 0 auto;
  padding: 6.4rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 3rem;
  align-items: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 0.5rem;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.gradient-text {
  background: linear-gradient(90deg, #eff6ff, #67e8f9, #bfdbfe);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.9;
  margin: 0 0 1.2rem;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  border-color: rgba(103, 232, 249, 0.35);
  color: #06111f;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.34);
}

.hero-poster {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(147, 197, 253, 0.22);
  transform: rotate(2deg);
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 48%);
}

.hero-poster span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 900;
}

.hero-poster em {
  color: #bae6fd;
  font-size: 0.85rem;
  font-style: normal;
}

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 2.1rem;
  height: 0.35rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.38);
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero-search {
  position: relative;
  z-index: 7;
  width: min(1180px, calc(100% - 2rem));
  margin: -5.2rem auto 3rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(59, 130, 246, 0.24);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.search-shell {
  position: relative;
}

.site-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.site-search input {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.2);
  outline: 0;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.68);
  border-radius: 0.95rem;
  min-height: 3rem;
  padding: 0 1rem;
}

.site-search input:focus {
  border-color: rgba(103, 232, 249, 0.58);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.site-search button {
  border: 0;
  border-radius: 0.95rem;
  color: #06111f;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  padding: 0 1.15rem;
  cursor: pointer;
}

.search-results {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 460px;
  overflow: auto;
  border: 1px solid rgba(59, 130, 246, 0.26);
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: var(--shadow);
}

.search-results.open {
  display: grid;
}

.search-result-item {
  display: grid;
  grid-template-columns: 3.3rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.search-result-item:hover {
  background: rgba(37, 99, 235, 0.18);
}

.search-result-item img {
  width: 3.3rem;
  height: 4.8rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.search-result-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.search-result-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

main,
.page-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  margin: 4rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-head h2,
.page-title h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.section-head p,
.page-title p {
  color: var(--muted);
  margin: 0.45rem 0 0;
  line-height: 1.75;
}

.section-more {
  color: #bae6fd;
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 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(103, 232, 249, 0.42);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.32);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.86);
}

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

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

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 44%);
}

.play-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  color: #07111f;
  font-weight: 900;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

.movie-card-body {
  padding: 0.9rem;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-meta span {
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  padding: 0.16rem 0.45rem;
  background: rgba(30, 58, 138, 0.24);
}

.movie-card h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.25rem;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.8rem;
}

.tag-row span,
.info-chip {
  color: #cffafe;
  background: rgba(8, 145, 178, 0.14);
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  padding: 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 45%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.48);
}

.category-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.category-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 0.93rem;
}

.rank-panel {
  display: grid;
  gap: 0.75rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 3.2rem 4.2rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(103, 232, 249, 0.38);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  color: #07111f;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-item img {
  width: 4.2rem;
  height: 5.8rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.rank-item strong {
  display: block;
  font-size: 1.05rem;
}

.rank-item p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.rank-item em {
  color: #93c5fd;
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  margin: 2rem auto 2rem;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 32rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 58, 138, 0.32));
  box-shadow: var(--shadow);
}

.page-title {
  max-width: 780px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0 1.5rem;
}

.filter-bar button {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.76);
  padding: 0.52rem 0.8rem;
  cursor: pointer;
}

.filter-bar button.active,
.filter-bar button:hover {
  color: #07111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  min-height: 560px;
  isolation: isolate;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.56)),
    linear-gradient(0deg, rgba(2, 6, 23, 1), transparent 45%, rgba(2, 6, 23, 0.76));
}

.detail-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 560px;
  margin: 0 auto;
  padding: 4.2rem 0 3rem;
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2rem;
  align-items: center;
}

.detail-cover {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #93c5fd;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

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

.detail-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.detail-intro {
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 820px;
}

.info-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0;
}

.watch-player {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(103, 232, 249, 0.22);
  background: #000000;
  box-shadow: var(--shadow);
}

.watch-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.65rem;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(15, 23, 42, 0.34));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 999px;
  color: #07111f;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.32);
}

.play-overlay strong {
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.play-overlay span:last-child {
  color: #cbd5e1;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.4rem;
  align-items: start;
}

.content-panel,
.side-panel {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.content-panel {
  padding: 1.4rem;
}

.content-panel h2,
.side-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.content-panel p {
  color: #cbd5e1;
  line-height: 1.9;
  margin: 0 0 1.15rem;
}

.side-panel {
  padding: 1rem;
  position: sticky;
  top: 5rem;
}

.compact-list {
  display: grid;
  gap: 0.75rem;
}

.compact-card {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.8rem;
  transition: background 0.2s ease;
}

.compact-card:hover {
  background: rgba(37, 99, 235, 0.18);
}

.compact-card img {
  width: 3.6rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  line-height: 1.35;
}

.compact-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  margin-top: 0.22rem;
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.56), rgba(2, 6, 23, 0.98));
}

.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  color: #94a3b8;
  margin: 0.55rem 0;
}

.site-footer a:hover {
  color: #bae6fd;
}

.footer-bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.search-page-results {
  display: grid;
  gap: 0.85rem;
}

.search-page-card {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
}

.search-page-card img {
  width: 5.4rem;
  height: 7.6rem;
  object-fit: cover;
  border-radius: 0.72rem;
}

.search-page-card h3 {
  margin: 0 0 0.35rem;
}

.search-page-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.35rem 0;
}

.empty-state {
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  color: var(--muted);
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-content {
    padding-top: 5.4rem;
  }

  .hero-poster,
  .detail-cover {
    max-width: 18rem;
    transform: none;
  }

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

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding: 0 0.85rem;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy em {
    display: none;
  }

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

  .hero-content {
    padding-top: 4.8rem;
    gap: 1.6rem;
  }

  .hero-search {
    margin-top: -4rem;
  }

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

  .site-search button {
    min-height: 2.8rem;
  }

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

  .movie-card-body {
    padding: 0.75rem;
  }

  .movie-card p,
  .tag-row {
    display: none;
  }

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

  .rank-item {
    grid-template-columns: 2.7rem 3.4rem 1fr;
  }

  .rank-item em {
    display: none;
  }

  .rank-item img {
    width: 3.4rem;
    height: 4.8rem;
  }

  .detail-inner {
    padding-top: 2.2rem;
  }

  .content-panel {
    padding: 1rem;
  }

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