:root{
  --bg:#0d0d12;
  --bg-soft:#15151d;
  --card:#1b1b26;
  --line:#2a2a38;
  --text:#f2f2f6;
  --muted:#9a9aab;
  --accent:#ff6b1a;
  --accent-2:#ffb03a;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{-webkit-text-size-adjust:100%;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 18px;}

/* header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(13,13,18,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:58px;}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;letter-spacing:.5px;}
.brand img{height:32px;width:auto;border-radius:8px;}
.nav-links{display:none;gap:22px;font-size:14px;color:var(--muted);}
.nav-links a:hover{color:var(--accent-2);}
.header-cta{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#180a00;font-weight:700;font-size:13px;
  padding:8px 16px;border-radius:999px;white-space:nowrap;
}
.header-cta:hover{filter:brightness(1.08);}

/* hero */
.hero{padding:26px 0 10px;position:relative;}
.hero-badge{
  display:inline-block;font-size:12px;color:var(--accent-2);
  border:1px solid rgba(255,176,58,.4);border-radius:999px;
  padding:3px 12px;margin-bottom:14px;
}
.hero-grid{display:grid;gap:22px;}
.hero h1{font-size:26px;line-height:1.35;font-weight:800;letter-spacing:.5px;}
.hero h1 span{color:var(--accent-2);}
.hero-desc{color:var(--muted);font-size:14px;margin-top:12px;max-width:520px;}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;}
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#180a00;font-weight:800;font-size:15px;
  padding:13px 26px;border-radius:999px;
  box-shadow:0 8px 24px rgba(255,107,26,.28);
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,107,26,.4);}
.btn-ghost{
  display:inline-flex;align-items:center;
  border:1px solid var(--line);color:var(--text);
  padding:12px 22px;border-radius:999px;font-size:14px;
  transition:border-color .2s ease,color .2s ease;
}
.btn-ghost:hover{border-color:var(--accent-2);color:var(--accent-2);}
.hero-poster{
  position:relative;border-radius:18px;overflow:hidden;
  border:1px solid var(--line);aspect-ratio:3/4;max-width:340px;
  box-shadow:0 20px 50px rgba(0,0,0,.55);
}
.hero-poster img{width:100%;height:100%;object-fit:cover;}
.hero-poster::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(13,13,18,.85),transparent 55%);
}
.hero-poster-cap{
  position:absolute;left:14px;right:14px;bottom:12px;z-index:2;
}
.hero-poster-cap strong{display:block;font-size:15px;}
.hero-poster-cap em{font-style:normal;font-size:12px;color:var(--accent-2);}

/* section base */
section{padding:38px 0;}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px;}
.sec-head h2{font-size:20px;font-weight:800;}
.sec-head p{font-size:13px;color:var(--muted);margin-top:4px;}
.sec-more{font-size:13px;color:var(--accent-2);white-space:nowrap;}

/* poster rail */
.rail{
  display:flex;gap:14px;overflow-x:auto;padding-bottom:10px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
}
.rail::-webkit-scrollbar{height:5px;}
.rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:99px;}
.poster-card{
  flex:0 0 138px;scroll-snap-align:start;
}
.poster-card .frame{
  position:relative;border-radius:var(--radius);overflow:hidden;
  aspect-ratio:3/4;background:var(--card);border:1px solid var(--line);
}
.poster-card .frame img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.poster-card:hover .frame img{transform:scale(1.05);}
.tag-new{
  position:absolute;top:8px;left:8px;z-index:2;
  background:var(--accent);color:#180a00;font-size:11px;font-weight:800;
  padding:2px 8px;border-radius:6px;
}
.poster-card h3{font-size:13.5px;margin-top:9px;font-weight:700;line-height:1.4;}
.poster-meta{font-size:11.5px;color:var(--muted);margin-top:3px;}
.poster-tag{
  display:inline-block;font-size:11px;color:var(--accent-2);
  margin-top:5px;
}

/* category */
.cat-block{background:var(--bg-soft);border:1px solid var(--line);border-radius:18px;padding:20px;}
.cat-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px;}
.cat-row:last-child{margin-bottom:0;}
.cat-label{font-size:12px;color:var(--muted);width:100%;margin-bottom:-4px;}
.chip{
  font-size:13px;padding:7px 15px;border-radius:999px;
  border:1px solid var(--line);color:#d6d6e0;background:#101018;
  transition:all .2s ease;
}
.chip:hover{border-color:var(--accent);color:var(--accent-2);}
.chip.is-active{background:var(--accent);color:#180a00;border-color:var(--accent);font-weight:700;}

/* rank */
.rank-grid{display:grid;gap:14px;}
.rank-item{display:flex;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:10px;align-items:center;}
.rank-num{
  font-size:20px;font-weight:900;color:var(--accent);
  width:32px;text-align:center;flex-shrink:0;font-style:italic;
}
.rank-thumb{width:58px;height:78px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#101018;}
.rank-thumb img{width:100%;height:100%;object-fit:cover;}
.rank-info{min-width:0;}
.rank-info h3{font-size:14px;font-weight:700;}
.rank-info p{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5;}
.rank-type{font-size:11px;color:var(--accent-2);margin-top:5px;display:inline-block;}

/* feature */
.feature{
  display:grid;gap:18px;background:linear-gradient(160deg,#1d1a24,#131319);
  border:1px solid var(--line);border-radius:20px;overflow:hidden;
}
.feature-img{aspect-ratio:16/10;overflow:hidden;}
.feature-img img{width:100%;height:100%;object-fit:cover;}
.feature-body{padding:4px 20px 22px;}
.feature-body h2{font-size:19px;margin-bottom:10px;}
.feature-body p{font-size:14px;color:var(--muted);}
.feature-body ul{list-style:none;margin-top:14px;display:grid;gap:8px;}
.feature-body li{font-size:13.5px;color:#d6d6e0;padding-left:16px;position:relative;}
.feature-body li::before{
  content:"";position:absolute;left:0;top:.72em;
  width:6px;height:6px;border-radius:50%;background:var(--accent);
}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
.gallery figure{border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:3/4;}
.gallery img{width:100%;height:100%;object-fit:cover;}

/* help */
.help-grid{display:grid;gap:14px;}
.help-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;}
.help-card h3{font-size:15px;margin-bottom:8px;}
.help-card p{font-size:13px;color:var(--muted);}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:24px;border-radius:8px;
  background:rgba(255,107,26,.15);color:var(--accent-2);
  font-size:12px;font-weight:800;margin-bottom:10px;
}

/* download */
.download{
  text-align:center;background:linear-gradient(150deg,#231a13,#121218);
  border:1px solid rgba(255,107,26,.28);border-radius:22px;
  padding:34px 20px;
}
.download h2{font-size:21px;margin-bottom:10px;}
.download p{font-size:14px;color:var(--muted);max-width:520px;margin:0 auto;}
.download .btn-primary{margin-top:22px;}
.download small{display:block;font-size:12px;color:var(--muted);margin-top:14px;}

/* footer */
.site-footer{border-top:1px solid var(--line);margin-top:20px;padding:26px 0 30px;}
.footer-inner{display:grid;gap:16px;}
.footer-links{display:flex;flex-wrap:wrap;gap:16px;font-size:12.5px;color:var(--muted);}
.footer-links a:hover{color:var(--accent-2);}
.footer-copy{font-size:12px;color:#6c6c7c;line-height:1.8;}
.footer-copy a{color:#7c7c8e;text-decoration:underline;}
.footer-copy a:hover{color:var(--accent-2);}
.footer-update{font-size:12px;color:#6c6c7c;}

@media(min-width:768px){
  .hero{padding:44px 0 16px;}
  .hero-grid{grid-template-columns:1.15fr .85fr;align-items:center;gap:36px;}
  .hero h1{font-size:34px;}
  .hero-desc{font-size:15px;}
  .hero-poster{max-width:none;}
  section{padding:52px 0;}
  .sec-head h2{font-size:24px;}
  .poster-card{flex:0 0 168px;}
  .rank-grid{grid-template-columns:repeat(2,1fr);}
  .feature{grid-template-columns:1fr 1fr;align-items:stretch;}
  .feature-img{aspect-ratio:auto;height:100%;}
  .feature-body{padding:24px;}
  .gallery{grid-template-columns:repeat(4,1fr);}
  .help-grid{grid-template-columns:repeat(2,1fr);}
  .footer-inner{grid-template-columns:1fr auto;align-items:center;}
}
@media(min-width:1024px){
  .header-inner{height:66px;}
  .nav-links{display:flex;}
  .hero h1{font-size:40px;}
  .hero-poster{max-width:360px;justify-self:end;}
  .rank-grid{grid-template-columns:repeat(3,1fr);}
  .help-grid{grid-template-columns:repeat(3,1fr);}
  .poster-card{flex:0 0 178px;}
  section{padding:64px 0;}
}