/* 星辰影院 主题: midnight */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:system-ui, "Microsoft YaHei", sans-serif; background:#060b1a; color:#e8efff; line-height:1.6; }
a { color:inherit; text-decoration:none; }
img { display:block; }

.topbar { background:#0d1630; position:sticky; top:0; z-index:50; }
.topbar-inner { max-width:1200px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.logo { font-size:20px; font-weight:800; color:#e8efff; display:flex; align-items:center; gap:10px; }
.logo .dot { width:10px; height:10px; border-radius:50%; background:#4d7cfe; }
.logo small { font-size:12px; color:#7e8bb0; font-weight:400; }
.nav { display:flex; gap:4px; margin-left:auto; flex-wrap:wrap; }
.nav a { color:#7e8bb0; padding:6px 14px; border-radius:6px; font-size:14px; transition:.2s; }
.nav a:hover { color:#e8efff; background:#060b1a; }
.nav a.active { color:#060b1a; background:#4d7cfe; }
.menu-checkbox { display:none; }
.menu-toggle { display:none; font-size:22px; color:#e8efff; cursor:pointer; margin-left:auto; }

.container { max-width:1200px; margin:0 auto; padding:20px; }
.section { margin-bottom:34px; }
.sec-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; border-left:4px solid #4d7cfe; padding-left:12px; }
.sec-head h2 { font-size:20px; font-weight:800; }
.sec-head .more { color:#7e8bb0; font-size:13px; }
.sec-head .more:hover { color:#4d7cfe; }

.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:18px; }
.card { background:#0d1630; border-radius:12px; overflow:hidden; border:1px solid #060b1a; transition:.2s; }
.card:hover { transform:translateY(-4px); border-color:#4d7cfe; }
.card-poster { position:relative; aspect-ratio:3/4; overflow:hidden; background:#060b1a; }
.card-poster img { width:100%; height:100%; object-fit:cover; }
.badge { position:absolute; top:10px; left:10px; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:2px 8px; border-radius:4px; }
.badge.hot { background:#4d7cfe; }
.score { position:absolute; bottom:10px; right:10px; background:rgba(0,0,0,.72); color:#4d7cfe; font-weight:800; font-size:14px; padding:2px 8px; border-radius:6px; }
.card-body { padding:12px 14px; }
.card-body h3 { font-size:15px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.card-body .meta { margin-top:6px; font-size:12px; color:#7e8bb0; display:flex; justify-content:space-between; }

.hero { max-width:1200px; margin:20px auto 0; padding:0 20px; }
.hero-banner { position:relative; border-radius:14px; overflow:hidden; height:340px; background:#0d1630; }
.hero-banner img { width:100%; height:100%; object-fit:cover; opacity:.5; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,#060b1aE6 0%,#060b1a88 45%,transparent 70%); display:flex; flex-direction:column; justify-content:center; padding:0 52px; }
.hero-overlay .tag { align-self:flex-start; background:#4d7cfe; color:#060b1a; font-size:12px; padding:3px 10px; border-radius:20px; margin-bottom:12px; }
.hero-overlay h1 { font-size:32px; font-weight:800; margin-bottom:10px; }
.hero-overlay p { color:#7e8bb0; max-width:460px; font-size:14px; }
.hero-overlay .meta { margin-top:14px; color:#7e8bb0; font-size:13px; display:flex; gap:16px; }
.hero-overlay .btn { align-self:flex-start; margin-top:18px; background:#4d7cfe; color:#060b1a; padding:10px 26px; border-radius:8px; font-weight:700; font-size:14px; }

.page-head { margin-bottom:20px; }
.page-head h1 { font-size:26px; font-weight:800; margin-bottom:6px; }
.page-head p { color:#7e8bb0; font-size:14px; }

.rank-list { display:flex; flex-direction:column; gap:10px; }
.rank-item { display:flex; align-items:center; gap:16px; background:#0d1630; border-radius:10px; padding:10px 16px; border:1px solid #060b1a; transition:.2s; }
.rank-item:hover { border-color:#4d7cfe; }
.rank-no { font-size:22px; font-weight:900; width:40px; text-align:center; color:#7e8bb0; }
.rank-item:nth-child(-n+3) .rank-no { color:#4d7cfe; }
.rank-thumb { width:64px; height:88px; border-radius:6px; overflow:hidden; flex-shrink:0; }
.rank-thumb img { width:100%; height:100%; object-fit:cover; }
.rank-info { flex:1; min-width:0; }
.rank-info h3 { font-size:16px; font-weight:700; }
.rank-info .meta { color:#7e8bb0; font-size:12px; margin-top:4px; }
.rank-score { color:#4d7cfe; font-weight:800; font-size:15px; }

.detail-wrap { display:flex; gap:28px; margin-top:24px; }
.detail-poster { width:280px; flex-shrink:0; aspect-ratio:3/4; border-radius:12px; overflow:hidden; border:1px solid #060b1a; }
.detail-poster img { width:100%; height:100%; object-fit:cover; }
.detail-info h1 { font-size:30px; font-weight:800; margin-bottom:12px; }
.detail-tags { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.detail-tags span { background:#0d1630; color:#7e8bb0; font-size:12px; padding:4px 12px; border-radius:20px; }
.detail-desc { background:#0d1630; border:1px solid #060b1a; border-radius:12px; padding:18px; margin-top:18px; }
.detail-desc h3 { font-size:16px; margin-bottom:10px; }
.detail-desc p { color:#7e8bb0; font-size:14px; line-height:1.9; }
.detail-actions { margin-top:20px; display:flex; gap:14px; }
.detail-actions .btn { background:#4d7cfe; color:#060b1a; padding:12px 30px; border-radius:8px; font-weight:700; }
.detail-actions .btn.ghost { background:#0d1630; color:#e8efff; }
.back-link { display:inline-block; color:#7e8bb0; font-size:13px; margin-top:14px; }
.note { color:#7e8bb0; font-size:12px; margin-top:12px; font-style:italic; }

.footer { border-top:1px solid #060b1a; margin-top:40px; padding:24px 20px; text-align:center; color:#7e8bb0; font-size:13px; }

@media (max-width:768px) {
  .menu-toggle { display:block; }
  .nav { display:none; position:absolute; top:100%; left:0; right:0; background:#0d1630; flex-direction:column; padding:10px; }
  .menu-checkbox:checked ~ .nav { display:flex; }
  .hero-banner { height:220px; }
  .detail-wrap { flex-direction:column; }
  .detail-poster { width:100%; aspect-ratio:16/9; }
}
