:root{
  --bg:#0d0a16;
  --bg-soft:#151024;
  --bg-card:#1b1430;
  --purple:#8b5cf6;
  --purple-deep:#5b21b6;
  --purple-light:#c4b5fd;
  --yellow:#ffd23f;
  --text:#f3eefe;
  --text-dim:#b9aed6;
  --line:rgba(139,92,246,.28);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
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;
  position:relative;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px;}

/* 下落光点背景 */
.fall-layer{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;}
.fall-dot{
  position:absolute;top:-40px;
  width:6px;height:6px;border-radius:50%;
  background:radial-gradient(circle,rgba(196,181,253,.9),rgba(139,92,246,0));
  animation:falling linear infinite;
}
.fall-dot:nth-child(1){left:6%;animation-duration:11s;animation-delay:0s;width:8px;height:8px;}
.fall-dot:nth-child(2){left:18%;animation-duration:15s;animation-delay:2s;}
.fall-dot:nth-child(3){left:31%;animation-duration:9s;animation-delay:4s;width:4px;height:4px;}
.fall-dot:nth-child(4){left:44%;animation-duration:17s;animation-delay:1s;}
.fall-dot:nth-child(5){left:57%;animation-duration:12s;animation-delay:6s;width:9px;height:9px;}
.fall-dot:nth-child(6){left:69%;animation-duration:14s;animation-delay:3s;}
.fall-dot:nth-child(7){left:81%;animation-duration:10s;animation-delay:5s;width:5px;height:5px;}
.fall-dot:nth-child(8){left:92%;animation-duration:16s;animation-delay:7s;}
@keyframes falling{
  0%{transform:translateY(0) scale(1);opacity:0;}
  10%{opacity:.85;}
  100%{transform:translateY(105vh) scale(.4);opacity:0;}
}

/* 导航 */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(13,10,22,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.brand img{height:34px;width:auto;border-radius:9px;}
.brand-name{font-size:19px;font-weight:700;letter-spacing:.5px;}
.nav-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;}
.nav-links a{
  display:block;padding:6px 14px;font-size:14px;color:var(--text-dim);
  border-radius:999px;border:1px solid transparent;transition:.25s;
}
.nav-links a:hover{
  color:#fff;border-color:var(--line);
  background:rgba(139,92,246,.16);
  box-shadow:0 0 14px rgba(139,92,246,.35);
}
.nav-toggle{
  display:none;flex-shrink:0;
  background:rgba(139,92,246,.2);color:var(--text);
  border:1px solid var(--line);border-radius:10px;
  padding:7px 14px;font-size:14px;cursor:pointer;
}
.nav-toggle:hover{background:rgba(139,92,246,.34);}

/* 首屏 */
.hero{position:relative;z-index:1;padding:56px 0 72px;}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.hero-tag{
  display:inline-block;padding:5px 14px;border-radius:999px;
  font-size:13px;color:var(--purple-light);
  border:1px solid var(--line);background:rgba(139,92,246,.12);
  margin-bottom:18px;
}
.hero h1{font-size:40px;line-height:1.3;font-weight:800;letter-spacing:1px;}
.hero h1 em{font-style:normal;color:var(--purple-light);}
.hero-sub{margin-top:18px;font-size:16px;color:var(--text-dim);max-width:480px;}
.hero-actions{margin-top:30px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;}
.btn-download{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--yellow);color:#221a05;
  font-size:17px;font-weight:800;
  padding:15px 34px;border-radius:14px;
  box-shadow:0 10px 26px rgba(255,210,63,.28);
  transition:.22s;
}
.btn-download:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(255,210,63,.42);}
.hero-note{font-size:13px;color:var(--text-dim);}

/* 扑克牌轮播 */
.poker-stage{position:relative;height:420px;perspective:1200px;}
.poker-card{
  position:absolute;top:50%;left:50%;
  width:210px;height:310px;border-radius:14px;
  overflow:hidden;background:var(--bg-card);
  border:1px solid rgba(196,181,253,.28);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  transform-origin:center bottom;
  transition:transform .5s cubic-bezier(.4,.1,.3,1),opacity .5s;
}
.poker-card img{width:100%;height:100%;object-fit:cover;}
.poker-pos-0{transform:translate(-50%,-50%) translateX(-105px) rotate(-13deg) scale(.86);z-index:1;opacity:.72;}
.poker-pos-1{transform:translate(-50%,-50%) translateX(105px) rotate(13deg) scale(.86);z-index:1;opacity:.72;}
.poker-pos-2{transform:translate(-50%,-50%) translateY(-8px) scale(1);z-index:3;opacity:1;}
.poker-pos-3{transform:translate(-50%,-50%) translateY(16px) scale(.8);z-index:2;opacity:0;}

/* 通用区块 */
.section{position:relative;z-index:1;padding:70px 0;}
.section-head{text-align:center;margin-bottom:42px;}
.section-head h2{font-size:30px;font-weight:800;letter-spacing:.5px;}
.section-head p{margin-top:12px;color:var(--text-dim);font-size:15px;}
.section-head h2::after{
  content:"";display:block;width:52px;height:3px;border-radius:2px;
  background:linear-gradient(90deg,var(--purple),var(--purple-light));
  margin:14px auto 0;
}

/* 网格卡片 */
.card-grid{display:grid;gap:22px;}
.grid-6{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.poster-card{
  position:relative;border-radius:14px;overflow:hidden;
  background:var(--bg-card);border:1px solid var(--line);
  transition:.28s;
}
.poster-card:hover{transform:translateY(-6px);border-color:rgba(196,181,253,.55);box-shadow:0 16px 34px rgba(91,33,182,.35);}
.poster-media{position:relative;aspect-ratio:3/4;overflow:hidden;}
.poster-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.poster-card:hover .poster-media img{transform:scale(1.06);}
.play-btn{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:54px;height:54px;border-radius:50%;
  border:2px solid rgba(255,255,255,.85);
  background:rgba(20,10,40,.35);
  backdrop-filter:blur(2px);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:.25s;
}
.play-btn::after{
  content:"";display:block;
  border-style:solid;border-width:9px 0 9px 15px;
  border-color:transparent transparent transparent #fff;
  margin-left:4px;
}
.play-btn:hover{background:rgba(139,92,246,.6);transform:translate(-50%,-50%) scale(1.1);}
.poster-caption{padding:14px 16px;}
.poster-caption h3{font-size:16px;font-weight:700;margin-bottom:6px;}
.poster-caption p{font-size:13px;color:var(--text-dim);line-height:1.6;}
.poster-meta{display:flex;gap:16px;font-size:12px;color:var(--purple-light);margin-top:8px;}

/* 优势 */
.advantage-wrap{
  background:linear-gradient(145deg,rgba(91,33,182,.28),rgba(27,20,48,.9));
  border:1px solid var(--line);border-radius:20px;
  padding:44px 40px;
}
.advantage-wrap p{font-size:16px;color:#ded5f5;line-height:2;}
.advantage-wrap p + p{margin-top:18px;}
.advantage-points{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.advantage-points span{
  font-size:13px;padding:7px 16px;border-radius:999px;
  background:rgba(139,92,246,.18);border:1px solid var(--line);color:var(--purple-light);
}

/* 排行榜 */
.rank-list{display:grid;gap:16px;}
.rank-item{
  display:flex;align-items:center;gap:18px;
  background:var(--bg-soft);border:1px solid var(--line);
  border-radius:14px;padding:12px;transition:.25s;
}
.rank-item:hover{background:rgba(139,92,246,.14);}
.rank-num{
  flex-shrink:0;width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:17px;color:#221a05;background:var(--yellow);
}
.rank-item:nth-child(n+4) .rank-num{background:rgba(139,92,246,.4);color:#fff;}
.rank-thumb{width:64px;height:84px;border-radius:9px;overflow:hidden;flex-shrink:0;position:relative;}
.rank-thumb img{width:100%;height:100%;object-fit:cover;}
.rank-thumb .play-btn{width:30px;height:30px;border-width:1.5px;}
.rank-thumb .play-btn::after{border-width:6px 0 6px 10px;margin-left:3px;}
.rank-info{flex:1;min-width:0;}
.rank-info h3{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rank-bars{display:flex;gap:22px;margin-top:8px;font-size:12px;color:var(--text-dim);flex-wrap:wrap;}
.rank-bars b{color:var(--purple-light);font-weight:700;}

/* 弹幕播放器 */
.danmu-box{
  position:relative;border-radius:18px;overflow:hidden;
  border:1px solid var(--line);
  aspect-ratio:16/9;max-width:900px;margin:0 auto;
  background:#000;
}
.danmu-box > img{width:100%;height:100%;object-fit:cover;opacity:.82;}
.danmu-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.danmu{
  position:absolute;white-space:nowrap;
  font-size:15px;color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,.9);
  animation:danmuMove linear infinite;
}
.danmu:nth-child(1){top:12%;animation-duration:11s;animation-delay:0s;}
.danmu:nth-child(2){top:26%;animation-duration:14s;animation-delay:2s;color:var(--yellow);}
.danmu:nth-child(3){top:40%;animation-duration:10s;animation-delay:4s;}
.danmu:nth-child(4){top:54%;animation-duration:15s;animation-delay:1s;color:var(--purple-light);}
.danmu:nth-child(5){top:68%;animation-duration:12s;animation-delay:5s;}
.danmu:nth-child(6){top:80%;animation-duration:13s;animation-delay:3s;color:var(--yellow);}
@keyframes danmuMove{
  0%{transform:translateX(100%);}
  100%{transform:translateX(-120%);}
}
.danmu-input{
  max-width:900px;margin:22px auto 0;display:flex;gap:12px;
}
.danmu-input input{
  flex:1;padding:12px 16px;border-radius:12px;
  border:1px solid var(--line);background:var(--bg-soft);color:var(--text);
  font-size:14px;font-family:inherit;
}
.danmu-input input::placeholder{color:#8479a3;}

/* 滚动横幅 */
.ticker{
  position:relative;z-index:1;overflow:hidden;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:rgba(139,92,246,.1);padding:14px 0;
}
.ticker-track{display:flex;gap:48px;white-space:nowrap;animation:tickerMove 26s linear infinite;}
.ticker-track span{font-size:14px;color:var(--purple-light);}
.ticker-track span::before{content:"◆";margin-right:10px;color:var(--purple);font-size:11px;}
@keyframes tickerMove{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* 历史 */
.history-box{max-width:860px;margin:0 auto;}
.history-box p{font-size:15.5px;color:#d8cff0;line-height:2;margin-bottom:18px;}
.history-box p strong{color:var(--purple-light);}

/* 常见问题 */
.faq-list{max-width:880px;margin:0 auto;display:grid;gap:12px;}
.faq-item{border:1px solid var(--line);border-radius:12px;background:var(--bg-soft);overflow:hidden;}
.faq-q{
  width:100%;text-align:left;padding:17px 20px;
  background:transparent;border:none;color:var(--text);
  font-size:15.5px;font-weight:600;font-family:inherit;
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  cursor:pointer;
}
.faq-q::after{content:"+";font-size:20px;color:var(--purple-light);transition:.25s;flex-shrink:0;}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-a{
  display:none;padding:0 20px 18px;
  font-size:14.5px;color:var(--text-dim);line-height:1.9;
}
.faq-item.open .faq-a{display:block;}

/* 评论 */
.comment-area{max-width:820px;margin:0 auto;}
.comment-form{
  display:flex;flex-direction:column;gap:12px;
  background:var(--bg-soft);border:1px solid var(--line);
  border-radius:16px;padding:20px;
}
.comment-form textarea{
  width:100%;min-height:100px;resize:vertical;
  padding:12px 14px;border-radius:12px;
  border:1px solid var(--line);background:var(--bg);color:var(--text);
  font-family:inherit;font-size:14px;
}
.comment-form textarea::placeholder{color:#8479a3;}
.comment-form button{
  align-self:flex-end;padding:10px 26px;border-radius:10px;
  border:none;background:var(--purple);color:#fff;
  font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;transition:.2s;
}
.comment-form button:hover{background:var(--purple-deep);}
.comment-list{display:grid;gap:14px;margin-top:26px;}
.comment-item{display:flex;gap:14px;background:var(--bg-soft);border:1px solid var(--line);border-radius:14px;padding:16px;}
.comment-avatar{width:42px;height:42px;border-radius:50%;flex-shrink:0;overflow:hidden;border:1px solid var(--line);}
.comment-avatar img{width:100%;height:100%;object-fit:cover;}
.comment-body h4{font-size:14px;color:var(--purple-light);margin-bottom:4px;}
.comment-body p{font-size:14px;color:var(--text-dim);}

/* 页脚 */
.site-footer{
  position:relative;z-index:1;
  border-top:1px solid var(--line);
  padding:34px 0 30px;margin-top:40px;
}
.footer-inner{text-align:center;font-size:12.5px;color:#7c7099;line-height:2;}
.footer-inner a{color:#9d90c0;}
.footer-inner a:hover{color:var(--purple-light);}
.footer-inner .update-time{color:#6b6088;}

/* 弹窗 */
.modal-mask{
  position:fixed;inset:0;background:rgba(6,3,14,.78);
  display:none;align-items:center;justify-content:center;
  z-index:200;padding:20px;
}
.modal-mask.show{display:flex;}
.modal-card{
  width:100%;max-width:360px;text-align:center;
  background:linear-gradient(160deg,#241a3d,#150f26);
  border:1px solid rgba(196,181,253,.4);
  border-radius:18px;padding:32px 26px;
  box-shadow:0 22px 60px rgba(0,0,0,.7);
}
.modal-card h3{font-size:20px;margin-bottom:12px;}
.modal-card p{font-size:14px;color:var(--text-dim);margin-bottom:24px;line-height:1.8;}
.modal-card .btn-download{width:100%;justify-content:center;padding:13px 0;font-size:16px;}
.modal-close{
  background:transparent;border:1px solid var(--line);
  color:var(--text-dim);border-radius:10px;
  padding:9px 0;width:100%;margin-top:12px;
  font-size:14px;font-family:inherit;cursor:pointer;
}
.modal-close:hover{color:#fff;}

/* 响应式 */
@media (max-width:1024px){
  .hero h1{font-size:34px;}
  .grid-6{grid-template-columns:repeat(2,1fr);}
  .poker-stage{height:380px;}
  .poker-card{width:180px;height:266px;}
  .poker-pos-0{transform:translate(-50%,-50%) translateX(-88px) rotate(-13deg) scale(.86);}
  .poker-pos-1{transform:translate(-50%,-50%) translateX(88px) rotate(13deg) scale(.86);}
}
@media (max-width:768px){
  .nav-toggle{display:block;}
  .nav-links{
    display:none;width:100%;flex-direction:column;gap:6px;
    padding-top:12px;
  }
  .nav-links.open{display:flex;}
  .nav-links a{padding:10px 14px;border-radius:10px;border:1px solid var(--line);}
  .nav-wrap{flex-wrap:wrap;}
  .hero{padding:36px 0 48px;}
  .hero-grid{grid-template-columns:1fr;gap:36px;}
  .hero h1{font-size:29px;}
  .hero-sub{font-size:15px;}
  .btn-download{width:100%;justify-content:center;padding:14px 0;}
  .poker-stage{height:340px;max-width:340px;margin:0 auto;}
  .poker-card{width:170px;height:250px;}
  .poker-pos-0{transform:translate(-50%,-50%) translateX(-74px) rotate(-13deg) scale(.86);}
  .poker-pos-1{transform:translate(-50%,-50%) translateX(74px) rotate(13deg) scale(.86);}
  .section{padding:48px 0;}
  .section-head h2{font-size:24px;}
  .grid-6{grid-template-columns:repeat(2,1fr);gap:14px;}
  .poster-caption{padding:10px 12px;}
  .poster-caption h3{font-size:14px;}
  .poster-caption p{font-size:12px;}
  .advantage-wrap{padding:26px 20px;}
  .advantage-wrap p{font-size:15px;line-height:1.9;}
  .rank-item{gap:12px;padding:10px;}
  .rank-num{width:30px;height:30px;font-size:14px;}
  .rank-thumb{width:52px;height:70px;}
  .danmu{font-size:12px;}
  .danmu-input{flex-direction:column;}
  .history-box p{font-size:14.5px;}
}
@media (max-width:420px){
  .grid-6{grid-template-columns:1fr;}
  .poker-stage{height:310px;max-width:300px;}
  .poker-card{width:150px;height:220px;}
  .poker-pos-0{transform:translate(-50%,-50%) translateX(-62px) rotate(-13deg) scale(.86);}
  .poker-pos-1{transform:translate(-50%,-50%) translateX(62px) rotate(13deg) scale(.86);}
}