/* steel-mono bridge — 布局变体与工业冷感覆盖 */

:root {
  --pink: #5b8fb5;
  --blue: #4a7c9b;
  --green: #6b9090;
  --orange: #8a9bab;
  --ink: #e8edf2;
  --muted: #8b9aab;
  --panel: #1e2630;
  --line: #2f3a48;
  --soft: #151b24;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --steel-50: #f0f4f8;
  --steel-100: #d8e0ea;
  --steel-200: #a8b8c8;
  --steel-400: #5b8fb5;
  --steel-600: #3d6580;
  --steel-800: #1a2332;
  --steel-900: #0f141c;
  --accent: #5b8fb5;
  --accent-dim: rgba(91, 143, 181, 0.15);
  --surface: #181f28;
  --surface-raised: #232c38;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --grid-gap: 10px;
  --radius-sharp: 2px;
  --radius-sm: 4px;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

/* 双层顶栏 */
.site-header {
  background: var(--steel-900);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}

.nav-bar {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 20px;
}

.nav-bar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-strip .main-nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 40px;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-strip .main-nav::-webkit-scrollbar {
  display: none;
}

.nav-strip .main-nav a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-strip .main-nav a:hover {
  color: var(--text-primary);
  background: transparent;
}

.nav-wrap {
  display: none;
}

/* 品牌 */
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sharp);
  background: var(--accent);
  box-shadow: none;
  font-size: 14px;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text-primary);
}

/* 搜索 */
.nav-search {
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  background: var(--surface-raised);
  box-shadow: none;
}

.nav-search input {
  width: 180px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 13px;
}

.nav-search button {
  padding: 8px 14px;
  background: var(--accent);
  font-weight: 700;
  font-size: 16px;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  border-radius: var(--radius-sharp);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--text-primary);
  font-size: 18px;
}

/* 页面底 */
body {
  background: var(--steel-900);
  color: var(--text-primary);
  font-family: var(--font-display);
}

.page-main {
  max-width: 1320px;
  padding: 24px 20px 56px;
}

/* 影院首屏 */
.hero-cinema {
  margin: 0 -20px 36px;
  min-height: 420px;
  border-radius: 0;
  background: var(--steel-800);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}

.hero-cinema .hero-glow {
  display: none;
}

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

.hero-cinema .hero-slide {
  position: absolute;
  inset: 0;
}

.hero-cinema .hero-slide {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  padding: 0;
  gap: 0;
  align-items: stretch;
  transform: translateY(12px);
}

.hero-cinema .hero-slide.active {
  transform: translateY(0);
}

.hero-cinema .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}

.hero-cinema .hero-visual:hover {
  transform: none;
}

.hero-cinema .hero-visual img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
}

.hero-cinema .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 20, 28, 0.92) 0%,
    rgba(15, 20, 28, 0.55) 45%,
    rgba(15, 20, 28, 0.25) 100%
  );
  pointer-events: none;
}

.hero-cinema .hero-caption {
  display: none;
}

.hero-cinema .hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: start;
  max-width: 560px;
  padding: 48px 40px;
  margin: 0;
}

.hero-cinema .hero-copy h1,
.hero-cinema .hero-copy h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-cinema .hero-copy p {
  color: var(--steel-200);
  font-size: 15px;
  line-height: 1.7;
}

.hero-cinema .eyebrow span,
.hero-cinema .eyebrow.solo {
  background: var(--accent-dim);
  color: var(--steel-100);
  border: 1px solid rgba(91, 143, 181, 0.35);
  border-radius: var(--radius-sharp);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-cinema .hero-tags span {
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel-200);
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 11px;
}

.hero-cinema .primary-btn {
  background: var(--accent);
  border-radius: var(--radius-sharp);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-cinema .primary-btn:hover {
  transform: none;
  background: var(--steel-400);
  box-shadow: none;
}

.hero-cinema .ghost-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.hero-cinema .ghost-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.hero-cinema .hero-control {
  left: 40px;
  right: 40px;
  bottom: 20px;
}

.hero-cinema .hero-control button {
  border-radius: var(--radius-sharp);
  background: rgba(15, 20, 28, 0.75);
  border: 1px solid var(--line);
  color: var(--text-primary);
  box-shadow: none;
}

.hero-cinema .hero-dots button {
  border-radius: var(--radius-sharp);
  background: rgba(255, 255, 255, 0.2);
}

.hero-cinema .hero-dots button.active {
  width: 24px;
  background: var(--accent);
}

/* 栏目条 */
.channel-strip {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

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

.category-grid--strip .category-tile {
  padding: 14px 16px;
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
  text-align: center;
}

.category-grid--strip .category-tile strong {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  background: none;
  -webkit-background-clip: unset;
  color: var(--text-primary);
}

.category-grid--strip .category-tile span {
  display: none;
}

.category-grid--strip .category-tile:hover {
  transform: none;
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: none;
}

/* 等宽海报网格 */
.movie-grid--equal {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* 区块标题 */
.section-head h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.section-head a {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sharp);
  background: var(--accent-dim);
  border: 1px solid rgba(91, 143, 181, 0.3);
  color: var(--accent);
  font-size: 12px;
}

/* 卡片 — 直角工业 */
.movie-card {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.movie-card:hover {
  transform: none;
  border-color: var(--accent);
  box-shadow: none;
}

.poster-frame {
  border-radius: 0;
  background: var(--steel-800);
  aspect-ratio: 2/3;
}

.movie-card:hover .poster-frame img {
  transform: scale(1.03);
}

.movie-card-body {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.movie-meta-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.movie-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

.movie-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.card-actions a {
  border-radius: var(--radius-sharp);
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
}

.card-actions span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.rank-badge {
  border-radius: var(--radius-sharp);
  background: var(--accent);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* 快速搜索 */
.quick-search {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.quick-search h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.quick-search-lead {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.quick-search form {
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  background: var(--steel-900);
}

.quick-search input {
  color: var(--text-primary);
  background: transparent;
}

.quick-search button {
  background: var(--accent);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* SEO 区块 */
.seo-brand-block {
  margin: 0;
  padding: 20px 24px;
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.seo-brand-block h1 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: none;
  -webkit-background-clip: unset;
  color: var(--text-primary);
}

.seo-brand-block p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* 内页 */
.page-hero,
.compact-hero {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.compact-hero h1 {
  background: none;
  -webkit-background-clip: unset;
  color: var(--text-primary);
}

.compact-hero p {
  color: var(--text-secondary);
}

.filter-panel {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.filter-panel input,
.filter-panel select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  background: var(--steel-900);
  color: var(--text-primary);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--accent);
}

.detail-hero {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.detail-info h1 {
  color: var(--text-primary);
}

.detail-info p {
  color: var(--text-secondary);
}

.detail-poster {
  border-radius: var(--radius-sharp);
  box-shadow: none;
  border: 1px solid var(--line);
}

.player-section,
.content-card {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.player-section h2,
.content-card h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.player-box {
  border-radius: var(--radius-sharp);
  border: 1px solid var(--line);
}

.prose-card p {
  color: var(--text-secondary);
}

.tag-cloud a {
  border-radius: var(--radius-sharp);
  background: var(--accent-dim);
  border: 1px solid var(--line);
  color: var(--steel-200);
  box-shadow: none;
}

.side-meta li {
  border-bottom-color: var(--line);
}

.side-meta span {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.side-meta strong {
  color: var(--text-primary);
}

.side-link {
  border-radius: var(--radius-sharp);
  background: var(--accent);
  box-shadow: none;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

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

.site-footer {
  background: var(--steel-900);
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-inner {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-inner a {
  color: var(--accent);
}

.rank-panel {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
}

.category-tile,
.overview-card {
  border-radius: var(--radius-sharp);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.category-tile strong,
.overview-main strong {
  background: none;
  -webkit-background-clip: unset;
  color: var(--text-primary);
}

.card-compact {
  border-radius: var(--radius-sharp);
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  color: var(--text-secondary);
}

/* 移动端 */
@media (max-width: 1100px) {
  .movie-grid--equal,
  .category-grid--strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-cinema {
    min-height: 380px;
  }

  .hero-cinema .hero-visual img {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .nav-strip .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: var(--radius-sharp);
    background: var(--surface-raised);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 70;
  }

  .nav-strip .main-nav.open {
    display: flex;
  }

  .nav-strip .main-nav a {
    border-bottom: none;
    border-left: 2px solid transparent;
    padding: 12px 14px;
  }

  .nav-strip .main-nav a:hover {
    border-left-color: var(--accent);
    background: var(--accent-dim);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .nav-search input {
    display: none;
  }

  .hero-cinema {
    margin: 0 -16px 28px;
    min-height: 360px;
  }

  .hero-cinema .hero-copy {
    padding: 32px 24px;
  }

  .hero-cinema .hero-control {
    left: 24px;
    right: 24px;
  }

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

@media (max-width: 540px) {
  .movie-grid--equal,
  .category-grid--strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-cinema .hero-copy h1,
  .hero-cinema .hero-copy h2 {
    font-size: 26px;
  }

  .brand-text {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .movie-card,
  .poster-frame img {
    transition: none;
  }
}
