
:root {
  --bg: #070b1f;
  --bg-2: #0a0d24;
  --card: rgba(12, 16, 43, 0.76);
  --card-strong: rgba(16, 21, 56, 0.92);
  --line: rgba(255,255,255,0.1);
  --text: #eef2ff;
  --muted: #a7b0d6;
  --muted-2: #7e89b1;
  --accent: #7d60f5;
  --accent-2: #5d77ff;
  --accent-3: #39d0ff;
  --shadow: 0 20px 70px rgba(3, 6, 20, 0.55);
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1240px;
  font-synthesis-weight: none;
  font-synthesis-style: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 96, 245, 0.24), transparent 36%),
    radial-gradient(circle at top right, rgba(93, 119, 255, 0.18), transparent 30%),
    radial-gradient(circle at 20% 78%, rgba(57, 208, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #050816 0%, #070b1f 36%, #060814 100%);
  font-family: Inter, PingFang SC, Hiragino Sans GB, Microsoft YaHei, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.shell {
  position: relative;
  isolation: isolate;
}
.shell::before,
.shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.shell::before { top: -6rem; left: -10rem; background: rgba(125,96,245,.35); }
.shell::after { top: 18rem; right: -8rem; background: rgba(93,119,255,.26); }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(6, 9, 22, 0.86), rgba(6, 9, 22, 0.54));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 52%, var(--accent-3));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(93,119,255,.28);
  font-weight: 800;
  color: #fff;
}
.brand-text {
  min-width: 0;
}
.brand-title {
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-color: rgba(93,119,255,.26);
  background: rgba(93,119,255,.12);
  box-shadow: 0 12px 35px rgba(93,119,255,.14);
}
.topbar {
  padding: 26px 0 0;
}
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11, 15, 40, 0.95), rgba(13, 18, 53, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(125,96,245,0.34), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(57,208,255,0.18), transparent 22%);
  box-shadow: var(--shadow);
  padding: 36px;
  margin-top: 22px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: 28px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #dce6ff;
  background: rgba(125,96,245,.13);
  border: 1px solid rgba(125,96,245,.28);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 14px 34px rgba(93,119,255,.26);
}
.btn-secondary {
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.metric strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}
.panel {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(9, 12, 34, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}
.panel-desc {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  transition: 0.2s ease;
}
.pill:hover { color: #fff; border-color: rgba(125,96,245,.24); background: rgba(125,96,245,.12); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: 0.28s ease;
}
.poster-card:hover { transform: translateY(-5px); border-color: rgba(93,119,255,.25); box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.poster {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--g1), var(--g2) 52%, var(--g3));
  display: flex;
  align-items: end;
  padding: 16px;
  isolation: isolate;
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.24), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 15%),
    linear-gradient(180deg, rgba(4,7,20,.02), rgba(4,7,20,.74));
  z-index: 0;
}
.poster > * { position: relative; z-index: 1; }
.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  border: 1px solid rgba(255,255,255,.12);
}
.poster-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
}
.poster-meta {
  margin-top: 6px;
  color: rgba(255,255,255,.82);
  font-size: 0.84rem;
}
.poster-body {
  padding: 14px 14px 16px;
}
.poster-body .desc {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 3.3em;
  margin-top: 8px;
}
.info-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}
.info-chip {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.grid-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.grid-hero .poster-card:nth-child(1) { grid-column: span 2; }
.grid-hero .poster-card:nth-child(2) { grid-column: span 2; }
.grid-hero .poster-card:nth-child(3) { grid-column: span 1; }
.grid-hero .poster-card:nth-child(4) { grid-column: span 1; }
.grid-hero .poster-card:nth-child(5) { grid-column: span 1; }
.grid-hero .poster-card:nth-child(6) { grid-column: span 1; }
.grid-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.list-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: .24s ease;
}
.list-card:hover { background: rgba(93,119,255,.08); border-color: rgba(93,119,255,.22); transform: translateY(-2px); }
.list-poster {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  display: flex;
  align-items: end;
  padding: 10px;
}
.list-poster .poster-title { font-size: .84rem; }
.list-body h3, .list-body h4 { margin: 0 0 6px; font-size: 1.02rem; }
.list-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: stretch;
}
.big-poster {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(145deg, var(--g1), var(--g2) 55%, var(--g3));
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  position: relative;
}
.big-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,22,.05), rgba(6,9,22,.84));
}
.big-poster > * { position: relative; z-index: 1; }
.big-poster .poster-title { font-size: 1.75rem; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.detail-meta .info-chip { color: #fff; }
.detail-copy {
  padding: 4px 0 0;
}
.detail-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}
.detail-copy .lead {
  font-size: 1.06rem;
  color: #dce2ff;
  max-width: 65ch;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat strong { display: block; font-size: 1.08rem; margin-bottom: 3px; }
.stat span { color: var(--muted); font-size: 0.88rem; }
.player-shell {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 9, 22, 0.8);
  box-shadow: var(--shadow);
}
.player-head {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.player-area {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}
.player-area video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(4,7,20,.06), rgba(4,7,20,.45));
  transition: .2s ease;
}
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-button {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 44px rgba(93,119,255,.34);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.player-caption {
  padding: 18px 20px 22px;
  color: var(--muted);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  margin-top: 22px;
}
.card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card h2, .card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}
.card p { color: var(--muted); margin: 0 0 12px; }
.line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 16px 0;
}
.searchbar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.searchbar input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
}
.searchbar input::placeholder { color: var(--muted-2); }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.toolbar button {
  border: 0;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: .2s ease;
}
.toolbar button.active,
.toolbar button:hover {
  background: rgba(93,119,255,.13);
  color: #fff;
}
.footer {
  padding: 28px 0 40px;
  color: var(--muted);
}
.footer-inner {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.small { font-size: 0.88rem; color: var(--muted); }
.breadcrumb {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
  margin: 10px 0 18px;
}
.breadcrumb a { color: #dce6ff; }
@media (max-width: 1080px) {
  .hero-grid, .detail-hero, .content-grid { grid-template-columns: 1fr; }
  .grid-list, .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-hero .poster-card:nth-child(n) { grid-column: span 1; }
  .detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .hero { padding: 22px; border-radius: 26px; }
  .nav { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .grid-list, .grid-cards, .grid-hero { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .detail-stats { grid-template-columns: 1fr; }
  .player-head, .panel-head { flex-direction: column; align-items: flex-start; }
}
