:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --line: rgba(148, 163, 184, 0.18);
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --cyan-soft: rgba(6, 182, 212, 0.14);
  --orange: #fb923c;
  --yellow: #facc15;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.24), transparent 32%), linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: var(--font-family, Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.nav-shell {
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4, #2563eb 62%, #7c3aed);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.28);
}

.logo-text {
  font-size: 20px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-link {
  padding: 10px 12px;
  color: var(--muted-strong);
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.14);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 330px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
}

.search-input,
.nav-search input,
.mobile-search input,
.big-search input,
.filter-search input {
  width: 100%;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-input::placeholder,
.big-search input::placeholder,
.filter-search input::placeholder,
.mobile-search input::placeholder {
  color: #64748b;
}

.search-button,
.mobile-search button,
.big-search button {
  flex: 0 0 auto;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  border-radius: 999px;
  padding: 9px 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.search-button:hover,
.mobile-search button:hover,
.big-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.22);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-panel a {
  padding: 10px 12px;
  color: var(--muted-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: #020617;
}

.hero-slides,
.hero-slide,
.hero-image,
.hero-shadow {
  position: absolute;
  inset: 0;
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.hero-shadow {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72) 38%, rgba(2, 6, 23, 0.18)), linear-gradient(0deg, #020617 0%, transparent 42%, rgba(2, 6, 23, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1280px) / 2));
  padding-top: 148px;
  animation: slideUp 0.7s ease both;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

.hero-movie-title {
  margin-top: 16px !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  color: #e0f2fe !important;
}

.hero-desc {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags a,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(8, 47, 73, 0.42);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.28);
}

.btn-ghost {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(16px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(16px);
  font-size: 34px;
  line-height: 1;
  transition: background 0.22s ease, transform 0.22s ease;
}

.hero-arrow:hover {
  background: rgba(6, 182, 212, 0.46);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 28px;
  transform: translateY(-50%);
}

.hero-next {
  right: 28px;
  transform: translateY(-50%);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

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

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

.hero-category-strip {
  position: absolute;
  right: max(16px, calc((100vw - 1280px) / 2));
  bottom: 92px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 520px;
}

.hero-category-strip a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(14px);
  transition: color 0.22s ease, background 0.22s ease;
}

.hero-category-strip a:hover {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.5);
}

.content-section,
.page-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

.intro-search {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}

.intro-copy h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-text-card h2,
.info-card h2,
.side-rank-card h2,
.search-result-panel h2,
.sitemap-block h2,
.year-content h2 {
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.intro-copy h2,
.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.intro-copy p:last-child,
.page-hero p,
.category-panel-head p,
.detail-one-line {
  color: var(--muted-strong);
  line-height: 1.75;
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.big-search input {
  padding: 0 14px;
  font-size: 16px;
}

.big-search button {
  padding: 12px 24px;
}

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

.compact-heading {
  align-items: center;
  margin-bottom: 18px;
}

.section-link {
  color: var(--cyan);
  font-weight: 800;
}

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

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

.catalog-grid {
  align-items: start;
}

.movie-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.48));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.42);
  box-shadow: 0 24px 65px rgba(6, 182, 212, 0.12);
}

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-frame img {
  transform: scale(1.06);
  filter: brightness(0.84);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent);
  pointer-events: none;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

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

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

.card-desc {
  display: -webkit-box;
  min-height: 40px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 12px;
}

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

.card-small .card-body h3 {
  font-size: 14px;
}

.card-small .card-desc,
.card-small .tag-row {
  display: none;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scrollbar-color: var(--cyan) rgba(148, 163, 184, 0.15);
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.rank-panel,
.latest-panel,
.category-panel,
.filter-panel,
.detail-text-card,
.info-card,
.side-rank-card,
ranking-list-panel,
.search-result-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.rank-panel,
.latest-panel,
.category-panel,
.search-result-panel {
  padding: 24px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.rank-item:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.34);
  transform: translateX(4px);
}

.rank-item img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
}

.hot-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.22);
  font-weight: 900;
}

.rank-text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rank-text strong,
.review-card strong,
.ranking-lead-card strong {
  color: #ffffff;
}

.rank-text em,
.review-card em,
.ranking-lead-card em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.review-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.78));
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.36);
}

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

.review-card span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px 20px 20px 0;
}

.page-main {
  padding: 54px 0 78px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 52px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 34px;
  background: radial-gradient(circle at 10% 0%, rgba(6, 182, 212, 0.28), transparent 34%), linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.7));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
}

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

.breadcrumb a {
  color: #bae6fd;
}

.category-overview {
  display: grid;
  gap: 24px;
}

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

.category-panel-head h2 {
  margin: 0;
  font-size: 28px;
}

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

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
}

.filter-search {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.34);
}

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

.year-filter button {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.68);
  padding: 8px 12px;
}

.year-filter button.is-active,
.year-filter button:hover {
  color: #ffffff;
  background: var(--cyan-dark);
  border-color: transparent;
}

.empty-state {
  display: none;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.ranking-lead {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.ranking-lead-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.ranking-lead-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease;
}

.ranking-lead-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), transparent 64%);
}

.ranking-lead-card:hover img {
  transform: scale(1.06);
}

.ranking-lead-card strong,
.ranking-lead-card em,
.ranking-crown {
  position: relative;
  z-index: 2;
}

.ranking-crown {
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.ranking-lead-card strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.ranking-list-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

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

.year-timeline {
  position: relative;
  display: grid;
  gap: 34px;
}

.year-timeline::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
}

.year-block {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 26px;
}

.year-label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.year-label span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #020617;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  font-weight: 900;
}

.year-content {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.year-content h2 {
  margin-bottom: 20px;
}

.detail-main {
  padding-top: 32px;
}

.detail-breadcrumb {
  margin: 0 0 24px;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

.video-element {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24), rgba(2, 6, 23, 0.64) 48%, rgba(2, 6, 23, 0.88));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  box-shadow: 0 18px 52px rgba(6, 182, 212, 0.34);
  font-size: 30px;
}

.detail-copy {
  padding-top: 28px;
}

.detail-copy h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.detail-one-line {
  margin: 18px 0;
  color: #bae6fd;
  font-size: 18px;
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-text-card {
  margin-top: 18px;
  padding: 26px;
}

.detail-text-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.detail-text-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.9;
}

.review-text-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.info-card,
.side-rank-card {
  padding: 22px;
}

.info-card h2,
.side-rank-card h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

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

.info-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-card dt {
  color: var(--muted);
}

.info-card dd {
  margin: 0;
  color: #ffffff;
}

.info-card a {
  color: #67e8f9;
}

.side-link-list {
  display: grid;
  gap: 10px;
}

.side-link-list .rank-item {
  grid-template-columns: 52px minmax(0, 1fr);
}

.side-link-list .hot-number {
  display: none;
}

.side-link-list img {
  width: 52px;
  height: 72px;
}

.related-section {
  padding-bottom: 0;
}

.search-result-panel {
  min-height: 340px;
  margin-top: 24px;
}

.search-page-form {
  max-width: 760px;
  margin-top: 28px;
}

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

.sitemap-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.sitemap-block h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.sitemap-block h2 a {
  color: #67e8f9;
}

.sitemap-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-block li a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
}

.sitemap-block li a:hover {
  color: var(--cyan);
}

.sitemap-block span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

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

.footer-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

  .detail-side {
    position: static;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}

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

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

  .hero {
    height: 720px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 124px;
  }

  .hero-category-strip {
    left: 16px;
    right: 16px;
    bottom: 86px;
    justify-content: flex-start;
  }

  .intro-search,
  .review-grid,
  .ranking-lead,
  .wide-rank-list,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .content-section,
  .page-main,
  .footer-shell,
  .mobile-panel {
    width: min(100% - 22px, 1280px);
  }

  .site-logo .logo-text {
    font-size: 16px;
  }

  .hero {
    height: 760px;
  }

  .hero-content {
    padding-top: 104px;
  }

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

  .hero-movie-title {
    font-size: 30px !important;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-arrow {
    top: auto;
    bottom: 26px;
    width: 42px;
    height: 42px;
  }

  .hero-prev {
    left: 16px;
    transform: none;
  }

  .hero-next {
    right: 16px;
    transform: none;
  }

  .hero-dots {
    bottom: 38px;
  }

  .hero-category-strip {
    bottom: 96px;
  }

  .big-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .movie-grid,
  .featured-grid,
  .mini-card-row,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .section-heading,
  .category-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .review-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 180px;
  }

  .review-card img {
    width: 110px;
  }

  .review-card span {
    padding: 16px 16px 16px 0;
  }

  .ranking-lead-card {
    min-height: 360px;
  }

  .year-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .year-timeline::before {
    display: none;
  }

  .year-label {
    justify-content: flex-start;
  }

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

  .detail-poster {
    max-width: 280px;
  }

  .player-box {
    border-radius: 18px;
  }

  .sitemap-block li a {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .featured-grid,
  .mini-card-row,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .scroll-row {
    grid-auto-columns: 72vw;
  }
}