
:root {
  --bg: #080b14;
  --bg-2: #0f172a;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-strong: rgba(17, 24, 39, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-2: #ec4899;
  --accent-3: #06b6d4;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.12), transparent 30%),
    linear-gradient(180deg, #050814, #0a1020 45%, #080b14 100%);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(6, 10, 20, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
  color: white;
}
.brand-text { font-size: 1.08rem; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}
.site-nav a:hover, .site-nav a.active { color: white; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 14px;
  color: white;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}
.hero {
  padding: 34px 0 18px;
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(2,6,23,.94)),
    radial-gradient(circle at top right, rgba(249,115,22,.18), transparent 32%);
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
}
.hero-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 0.92rem;
}
.hero-title {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
}
.hero-title strong {
  display: block;
  background: linear-gradient(135deg, #fff, #ffd4b5 35%, #f97316 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 58ch;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 700;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  color: white;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
}
.stat-card strong { display: block; font-size: 1.25rem; }
.stat-card span { color: var(--muted); font-size: .9rem; }
.hero-spot {
  display: grid;
  gap: 14px;
}
.feature-carousel {
  position: relative;
  min-height: 100%;
}
.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: all .45s ease;
  pointer-events: none;
}
.feature-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.feature-card {
  height: 100%;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}
.poster {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 5 / 7;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px rgba(0,0,0,.24);
}
.poster::after {
  content: attr(data-badge);
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: white;
  font-size: .78rem;
  letter-spacing: .02em;
}
.poster .poster-num {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255,255,255,.2);
}
.poster .poster-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(6,10,20,.55);
  color: white;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.12);
}
.section {
  padding: 18px 0 8px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 18px;
}
.section-head h2, .section-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #fff;
  transition: .2s ease;
}
.chip:hover, .chip.active {
  transform: translateY(-1px);
  background: rgba(249,115,22,.18);
  border-color: rgba(249,115,22,.38);
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.movie-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249,115,22,.35);
  background: rgba(255,255,255,.06);
}
.movie-card .meta {
  padding: 14px;
}
.movie-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.3;
}
.movie-sub {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.movie-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: .76rem;
}
.list-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.rank-item {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.rank-num {
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(249,115,22,.24), rgba(236,72,153,.18));
  font-weight: 900;
  font-size: 1.2rem;
}
.rank-body h3 { margin: 0 0 6px; }
.rank-body p { margin: 0; color: var(--muted); }
.detail-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.detail-cover .poster { min-height: 100%; }
.detail-title { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 3rem); }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.07);
}
.summary-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.summary-box h3 { margin: 0 0 10px; }
.summary-box p { margin: 0; color: rgba(255,255,255,.82); }
.player-shell {
  margin-top: 24px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(6, 10, 20, .9);
  border: 1px solid rgba(255,255,255,.08);
}
.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(249,115,22,.18), rgba(236,72,153,.12));
  min-height: 420px;
}
.player-box video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #000;
}
.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(3,7,18,.18), rgba(3,7,18,.56));
  z-index: 2;
}
.player-overlay .play-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 38px rgba(249,115,22,.32);
  color: white;
  font-size: 1.5rem;
  border: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.page-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.tool-input, .tool-select {
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: white;
  outline: none;
}
.tool-input::placeholder { color: rgba(255,255,255,.42); }
.page-body {
  padding: 20px 0 50px;
}
.site-footer {
  margin-top: 40px;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(5,8,20,.72);
}
.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.muted { color: var(--muted); }
.card-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.note-box {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.long-copy { color: rgba(255,255,255,.84); }
.hide { display: none !important; }
@media (max-width: 1100px) {
  .movie-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-layout, .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 20px, 1240px); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 10px;
    right: 10px;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(6,10,20,.98);
    border: 1px solid rgba(255,255,255,.08);
  }
  .site-nav.open { display: flex; }
  .hero-grid, .detail-layout, .card-list, .list-compact { grid-template-columns: 1fr; }
  .movie-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { flex-direction: column; }
  .player-box video, .player-box { min-height: 240px; }
}
