:root{
  --bg:#0d1117;
  --bg-soft:#161b22;
  --bg-card:#1c232c;
  --line:#2a3441;
  --text:#e6edf3;
  --muted:#9aa7b4;
  --green:#39d353;
  --green-dark:#238636;
  --red:#e5484d;
  --red-dark:#c03236;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.65;
  overflow-x:hidden;
}
a{color:var(--green);text-decoration:none}
img{display:block;max-width:100%}

/* 导航 */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(13,17,23,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.nav-inner{
  max-width:1200px;margin:0 auto;padding:10px 18px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:var(--text)}
.brand img{height:32px;width:auto;border-radius:6px}
.nav-toggle{
  background:var(--bg-card);border:1px solid var(--line);color:var(--text);
  border-radius:8px;padding:7px 13px;font-size:14px;cursor:pointer;
}
.nav-toggle:hover{border-color:var(--green);color:var(--green)}
.nav-links{
  display:none;
  width:100%;
}
.nav-links.open{display:block}
.nav-links ul{list-style:none;display:flex;flex-direction:column;gap:2px;padding-top:10px}
.nav-links a{display:block;padding:9px 6px;color:var(--muted);font-size:15px;border-radius:8px}
.nav-links a:hover{color:var(--green);background:var(--bg-card)}

/* 首屏 */
.hero{
  padding:38px 18px 30px;
  background:radial-gradient(ellipse at 50% 0%,rgba(57,211,83,.10),transparent 65%);
  position:relative;overflow:hidden;
}
.hero-inner{max-width:1200px;margin:0 auto;text-align:center;position:relative;z-index:2}
.hero h1{font-size:1.55rem;line-height:1.4;margin-bottom:14px;letter-spacing:.5px}
.hero h1 em{color:var(--green);font-style:normal}
.hero p{color:var(--muted);font-size:.95rem;max-width:640px;margin:0 auto 22px}
.btn-download{
  display:inline-block;background:var(--red);color:#fff;font-weight:700;
  padding:14px 38px;border-radius:40px;font-size:1.05rem;
  box-shadow:0 6px 22px rgba(229,72,77,.35);
  transition:transform .2s,background .2s;
}
.btn-download:hover{background:var(--red-dark);transform:translateY(-2px)}
.update-time{margin-top:12px;font-size:.78rem;color:#6b7785}

/* 下落元素 */
.fall{position:absolute;top:-40px;width:8px;height:8px;border-radius:50%;background:var(--green);opacity:.45;animation:fall linear infinite;z-index:1}
.fall:nth-child(2n){background:var(--red);width:6px;height:6px}
@keyframes fall{to{transform:translateY(130vh)}}

/* 轮播 */
.carousel-section{padding:26px 0 34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-soft)}
.section-head{max-width:1200px;margin:0 auto 20px;padding:0 18px}
.section-head h2{font-size:1.3rem;margin-bottom:6px}
.section-head p{color:var(--muted);font-size:.9rem}
.carousel{max-width:1200px;margin:0 auto;display:flex;gap:14px;overflow-x:auto;padding:6px 18px 18px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.carousel::-webkit-scrollbar{height:6px}
.carousel::-webkit-scrollbar-thumb{background:var(--green-dark);border-radius:4px}
.slide{
  flex:0 0 78%;max-width:78%;scroll-snap-align:center;
  position:relative;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--bg-card);
  transition:transform .3s;
}
.slide:hover{transform:translateY(-3px)}
.slide img{width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}
.play-btn{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.18);border:0;cursor:pointer;width:100%;
}
.play-btn span{
  width:58px;height:58px;border-radius:50%;
  border:2px solid rgba(255,255,255,.9);
  display:flex;align-items:center;justify-content:center;
  background:rgba(13,17,23,.35);color:#fff;font-size:1.35rem;padding-left:4px;
}
.carousel-nav{display:flex;justify-content:center;gap:10px;margin-top:4px}
.carousel-nav button{
  background:var(--bg-card);border:1px solid var(--line);color:var(--text);
  width:38px;height:38px;border-radius:50%;cursor:pointer;font-size:1rem;
}
.carousel-nav button:hover{border-color:var(--green);color:var(--green)}

/* 滚动横幅 */
.ticker{
  overflow:hidden;background:var(--green-dark);color:#fff;
  padding:10px 0;white-space:nowrap;margin:0;
}
.ticker-track{display:inline-block;animation:tick 22s linear infinite;font-size:.9rem}
.ticker-track span{padding:0 26px}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* 通用区块 */
.section{max-width:1200px;margin:0 auto;padding:42px 18px}
.section h2{font-size:1.3rem;margin-bottom:8px}
.section .lead{color:var(--muted);font-size:.92rem;margin-bottom:22px}
.grid{display:grid;grid-template-columns:1fr;gap:16px}
.card{
  background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:border-color .2s,transform .2s;
}
.card:hover{border-color:var(--green-dark);transform:translateY(-3px)}
.card-img{position:relative}
.card-img img{width:100%;aspect-ratio:3/4;object-fit:cover}
.card-body{padding:12px 14px}
.card-body h3{font-size:1rem;margin-bottom:4px;color:var(--text)}
.card-body p{font-size:.86rem;color:var(--muted)}
.meta{display:flex;gap:14px;font-size:.78rem;color:var(--green);margin-top:8px}

/* 特色 */
.feature-box{
  background:var(--bg-card);border-left:3px solid var(--green);
  border-radius:0 var(--radius) var(--radius) 0;padding:20px 22px;
  color:#c8d3dd;font-size:.95rem;
}
.feature-box p{margin-bottom:12px}
.feature-box p:last-child{margin-bottom:0}

/* 弹幕播放器 */
.player-wrap{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#000}
.player-wrap img{width:100%;max-height:520px;object-fit:cover;opacity:.9}
.danmaku{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.dm{
  position:absolute;white-space:nowrap;color:#fff;font-size:.88rem;
  text-shadow:0 1px 3px rgba(0,0,0,.9);animation:dm-move linear infinite;
}
@keyframes dm-move{from{transform:translateX(100%)}to{transform:translateX(-120%)}}

/* 历程 */
.timeline{list-style:none;border-left:2px solid var(--line);margin-left:8px;padding-left:22px;display:flex;flex-direction:column;gap:20px}
.timeline li{position:relative;font-size:.92rem;color:#c8d3dd}
.timeline li::before{content:"";position:absolute;left:-29px;top:7px;width:10px;height:10px;border-radius:50%;background:var(--green)}
.timeline strong{color:var(--text);display:block;margin-bottom:3px}

/* FAQ */
.faq{display:flex;flex-direction:column;gap:10px}
.faq details{background:var(--bg-card);border:1px solid var(--line);border-radius:10px;padding:0 16px}
.faq details[open]{border-color:var(--green-dark)}
.faq summary{cursor:pointer;padding:14px 0;font-size:.95rem;list-style:none;display:flex;justify-content:space-between;gap:10px;color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--green);font-weight:700}
.faq details[open] summary::after{content:"−"}
.faq p{font-size:.88rem;color:var(--muted);padding-bottom:14px}

/* 评论 */
.comment-form{display:flex;flex-direction:column;gap:10px;margin-bottom:26px}
.comment-form textarea{
  background:var(--bg-card);border:1px solid var(--line);border-radius:10px;
  color:var(--text);font-size:.92rem;padding:12px;min-height:92px;resize:vertical;font-family:inherit;
}
.comment-form button{
  align-self:flex-start;background:var(--green-dark);color:#fff;border:0;
  padding:10px 26px;border-radius:8px;font-size:.92rem;cursor:pointer;
}
.comment-form button:hover{background:var(--green)}
.comment-list{list-style:none;display:flex;flex-direction:column;gap:16px}
.comment-list li{display:flex;gap:12px;background:var(--bg-card);border:1px solid var(--line);border-radius:10px;padding:14px}
.comment-list img{width:40px;height:40px;border-radius:50%;flex:0 0 40px;object-fit:cover;border:1px solid var(--line)}
.comment-list strong{font-size:.9rem;color:var(--green)}
.comment-list p{font-size:.88rem;color:#c8d3dd;margin-top:2px}

/* 截图墙 */
.wall{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wall img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;border:1px solid var(--line)}

/* 弹窗 */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:none;align-items:center;justify-content:center;z-index:200;padding:20px}
.modal.show{display:flex}
.modal-box{background:var(--bg-soft);border:1px solid var(--line);border-radius:16px;padding:28px 24px;text-align:center;max-width:340px;width:100%}
.modal-box p{margin-bottom:18px;font-size:1rem}
.modal-box a{display:inline-block;background:var(--red);color:#fff;padding:11px 30px;border-radius:30px;font-weight:700}
.modal-box button{display:block;margin:14px auto 0;background:none;border:0;color:var(--muted);cursor:pointer;font-size:.85rem}

/* 页脚 */
.site-footer{border-top:1px solid var(--line);padding:30px 18px 40px;background:#0a0e13}
.footer-inner{max-width:1200px;margin:0 auto;font-size:.8rem;color:#6b7785}
.footer-inner p{margin-bottom:8px}
.footer-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:14px 0}
.footer-links a{color:#6b7785;font-size:.78rem}
.footer-links a:hover{color:var(--green)}
.about-details{margin:14px 0;font-size:.8rem}
.about-details summary{cursor:pointer;color:#6b7785;list-style:none;display:inline-block}
.about-details summary::-webkit-details-marker{display:none}
.about-details summary:hover{color:var(--green)}
.about-content{max-width:640px;line-height:1.8;color:#6b7785;margin-top:8px}
.about-content a{color:#6b7785;font-size:.78rem}
.about-content a:hover{color:var(--green)}
.about-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:6px}

@media(min-width:768px){
  .hero h1{font-size:2rem}
  .grid{grid-template-columns:repeat(3,1fr)}
  .slide{flex:0 0 42%;max-width:42%}
  .nav-inner{flex-wrap:wrap}
  .nav-toggle{display:none}
  .nav-links{display:block;width:auto}
  .nav-links ul{flex-direction:row;gap:4px;padding-top:0}
  .nav-links a{padding:6px 10px;font-size:.9rem}
  .wall{grid-template-columns:repeat(6,1fr)}
}
@media(min-width:1024px){
  .hero{padding:60px 18px 46px}
  .hero h1{font-size:2.3rem}
  .slide{flex:0 0 30%;max-width:30%}
  .carousel{gap:20px}
  .section{padding:56px 18px}
}