:root{
  --bg-main:#190611;
  --bg-deep:#1E0915;
  --panel-1:#2E0F20;
  --panel-2:#40162C;
  --pink:#F45C96;
  --wine:#B93A70;
  --gold:#FFC879;
  --line:rgba(255,190,215,.10);
  --line-strong:rgba(255,190,215,.20);
  --text-main:#FFEBF2;
  --text-sub:#D3A1B6;
  --grad-btn:linear-gradient(135deg,var(--pink) 0%,var(--gold) 100%);
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  background:var(--bg-main);
  color:var(--text-main);
  font-family:'PingFang SC','Microsoft YaHei',-apple-system,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
  padding-bottom:80px;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
.container{max-width:1200px;margin:0 auto;padding:0 16px;}

/* 通用标题及装饰 */
.section-title{
  text-align:center;
  margin-bottom:36px;
}
.section-title h2{
  font-size:26px;
  font-weight:800;
  background:var(--grad-btn);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  display:inline-block;
  letter-spacing:1px;
}
.section-title h2::after{
  content:'';
  display:block;
  width:40px;
  height:3px;
  background:var(--gold);
  margin:8px auto 0;
  border-radius:2px;
}
.section-title p{
  color:var(--text-sub);
  font-size:14px;
  margin-top:8px;
}

/* Header */
header{
  position:fixed;
  top:0;left:0;right:0;
  background:rgba(25,6,17,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:1000;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:60px;
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{
  height:32px;
  width:auto;
  border-radius:6px;
}
.brand span{
  font-size:18px;
  font-weight:800;
  color:var(--text-main);
  white-space:nowrap;
}
.nav-links{
  display:flex;
  gap:4px;
}
.nav-links a{
  padding:6px 12px;
  font-size:14px;
  color:var(--text-sub);
  border-radius:20px;
  transition:all .3s;
}
.nav-links a:hover,.nav-links a.active{
  color:#190611;
  background:var(--grad-btn);
  font-weight:700;
}
.mobile-toggle{
  display:none;
  background:none;border:none;
  color:var(--text-main);
  font-size:22px;
  cursor:pointer;
}

/* Hero */
.hero{
  margin-top:60px;
  padding:40px 0;
  background:radial-gradient(circle at 50% 0%, var(--panel-2) 0%, var(--bg-deep) 70%);
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  width:400px;height:400px;
  background:radial-gradient(circle, rgba(244,92,150,.15) 0%, transparent 70%);
  top:-100px;left:-100px;
  border-radius:50%;
  pointer-events:none;
}
.hero-content{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}
.hero-text{
  flex:1 1 400px;
}
.hero-text h1{
  font-size:38px;
  font-weight:900;
  line-height:1.3;
  margin-bottom:16px;
  background:var(--grad-btn);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-text .desc{
  font-size:16px;
  color:var(--text-sub);
  margin-bottom:24px;
  max-width:550px;
}
.download-group{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.btn-download{
  display:inline-flex;
  align-items:center;
  padding:10px 20px;
  border-radius:30px;
  font-size:14px;
  font-weight:700;
  color:#190611;
  background:var(--grad-btn);
  border:1px solid rgba(255,255,255,.2);
  transition:all .3s;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(244,92,150,.3);
}
.btn-download:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(244,92,150,.5);
  filter:brightness(1.1);
}

/* Hero Carousel */
.hero-visual{
  flex:1 1 400px;
  display:flex;
  justify-content:center;
}
.carousel-wrap{
  position:relative;
  width:100%;
  max-width:500px;
  aspect-ratio:16/9;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line-strong);
  box-shadow:0 10px 30px rgba(0,0,0,.5);
}
.carousel-track{
  display:flex;
  height:100%;
  transition:transform .5s ease;
}
.carousel-item{
  flex:0 0 100%;
  height:100%;
  position:relative;
}
.carousel-item img{
  width:100%;height:100%;
  object-fit:cover;
}
/* 跑马灯 */
.marquee-wrap{
  margin-top:40px;
  overflow:hidden;
  white-space:nowrap;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:10px 0;
  background:var(--panel-1);
}
.marquee-content{
  display:inline-block;
  animation:scroll 25s linear infinite;
}
.marquee-content span{
  display:inline-block;
  padding:0 24px;
  font-size:14px;
  font-weight:700;
  background:var(--grad-btn);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
@keyframes scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* Sections */
section{
  padding:60px 0;
  border-bottom:1px solid var(--line);
}
.section-bg--alt{background:var(--panel-1);}

/* 今日吃瓜 */
.gossip-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
}
.gossip-card{
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  transition:transform .3s;
}
.gossip-card:hover{transform:translateY(-4px);}
.gossip-card img{
  width:100%;height:160px;object-fit:cover;
  border-bottom:1px solid var(--line);
}
.gossip-card .card-body{
  padding:16px;
}
.gossip-card h3{
  font-size:16px;
  font-weight:700;
  color:var(--pink);
  margin-bottom:8px;
}
.gossip-card p{
  font-size:13px;
  color:var(--text-sub);
  line-height:1.5;
}

/* 本周热瓜 - 左侧图右侧文 */
.hot-week{
  display:flex;
  gap:30px;
  align-items:stretch;
  flex-wrap:wrap;
}
.hot-week-img{
  flex:1 1 300px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line-strong);
}
.hot-week-img img{
  width:100%;height:100%;
  object-fit:cover;
  min-height:350px;
}
.hot-week-content{
  flex:2 1 500px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hot-week-content h3{
  font-size:22px;
  color:var(--gold);
  margin-bottom:16px;
}
.hot-week-list{
  list-style:none;
}
.hot-week-list li{
  padding:12px 0;
  border-bottom:1px dashed var(--line);
  font-size:14px;
  color:var(--text-main);
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.hot-week-list li::before{
  content:'★';
  color:var(--pink);
  font-size:12px;
  margin-top:4px;
}

/* 校园大赛 - 活动化卡片 */
.campus-wall{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.campus-item{
  background:linear-gradient(135deg, var(--panel-2), var(--bg-deep));
  border:1px solid var(--line-strong);
  border-radius:12px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:border-color .3s;
}
.campus-item:hover{border-color:var(--pink);}
.campus-item h3{
  font-size:18px;
  color:var(--pink);
}
.campus-item p{
  font-size:14px;
  color:var(--text-sub);
}

/* 反差大赛 - 问答风格 */
.qa-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.qa-item{
  background:var(--panel-1);
  border-left:4px solid var(--gold);
  border-radius:0 12px 12px 0;
  padding:20px;
}
.qa-item .q{
  font-size:16px;
  font-weight:700;
  color:var(--gold);
  margin-bottom:8px;
}
.qa-item .a{
  font-size:14px;
  color:var(--text-sub);
}

/* 隐私安全 */
.safety-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.safety-box{
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  text-align:center;
}
.safety-box h3{
  font-size:18px;
  color:var(--pink);
  margin-bottom:12px;
}
.safety-box p{
  font-size:14px;
  color:var(--text-sub);
}

/* 意见反馈 & 常见问题 */
.feedback-faq-wrap{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}
.feedback,.faq{
  flex:1 1 400px;
  background:var(--panel-1);
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:28px;
}
.feedback h3,.faq h3{
  font-size:20px;
  color:var(--gold);
  margin-bottom:16px;
  border-bottom:1px solid var(--line);
  padding-bottom:8px;
}
.feedback p,.faq p{
  font-size:14px;
  color:var(--text-sub);
  margin-bottom:12px;
}
.faq-item{
  margin-bottom:12px;
}
.faq-item .q{
  font-weight:700;
  color:var(--text-main);
  margin-bottom:4px;
}

/* 下载专区 */
.download-area{
  text-align:center;
  background:radial-gradient(circle at 50% 50%, var(--panel-2), var(--bg-deep));
  padding:60px 20px;
  border-radius:20px;
  border:1px solid var(--line-strong);
  margin-top:20px;
}
.download-area h2{
  font-size:28px;
  color:var(--gold);
  margin-bottom:12px;
}
.download-area p{
  color:var(--text-sub);
  font-size:15px;
  margin-bottom:30px;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}
.download-area .img-wrap{
  max-width:300px;
  margin:0 auto 30px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line-strong);
}
.install-steps{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:30px;
  flex-wrap:wrap;
  text-align:left;
}
.step{
  background:var(--panel-1);
  padding:16px;
  border-radius:10px;
  font-size:14px;
  border:1px solid var(--line);
  flex:1 1 200px;
  max-width:280px;
}
.step strong{color:var(--pink);display:block;margin-bottom:4px;}
.download-btns{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

/* Footer */
footer{
  padding:30px 16px;
  background:var(--bg-main);
  text-align:center;
  font-size:12px;
  color:var(--text-sub);
  border-top:1px solid var(--line);
}
footer .footer-nav{
  margin-bottom:12px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}
footer .footer-nav a{color:var(--text-sub);}
footer .footer-nav a:hover{color:var(--pink);}
footer .copy-info{
  font-size:11px;
  opacity:.8;
  margin-bottom:6px;
}
footer a.beian{color:var(--text-sub);text-decoration:none;}
footer a.beian:hover{color:var(--pink);}
footer time{display:inline-block;margin-left:6px;}

/* 浮动下载窗口 */
.float-download{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(46,15,32,.95);
  backdrop-filter:blur(10px);
  border:1px solid var(--line-strong);
  border-radius:40px;
  padding:10px 22px 10px 12px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.6);
  z-index:100;
  max-width:90vw;
}
.float-download img{
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid var(--pink);
}
.float-download .float-text{
  font-size:13px;
  color:var(--text-main);
  white-space:nowrap;
}
.float-download .float-btn{
  background:var(--grad-btn);
  color:#190611;
  padding:6px 16px;
  border-radius:20px;
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}

/* 弹窗 */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:2000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal-box{
  background:var(--panel-2);
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:30px;
  max-width:400px;
  width:100%;
  text-align:center;
}
.modal-box p{
  font-size:16px;
  color:var(--text-main);
  margin-bottom:16px;
  line-height:1.6;
}
.modal-box .link-text{
  display:block;
  background:var(--bg-main);
  padding:12px;
  border-radius:8px;
  color:var(--gold);
  word-break:break-all;
  margin-bottom:20px;
  font-size:14px;
  border:1px solid var(--line);
}
.modal-box button{
  background:var(--grad-btn);
  color:#190611;
  border:none;
  padding:10px 30px;
  border-radius:20px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}

/* 响应式 */
@media (max-width:1024px){
  .hero-text h1{font-size:32px;}
  .safety-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:768px){
  .nav-links{
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px;left:0;right:0;
    background:rgba(25,6,17,.98);
    padding:10px 16px;
    border-bottom:1px solid var(--line);
  }
  .nav-links.show{display:flex;}
  .mobile-toggle{display:block;}
  .hero-content{gap:20px;}
  .hero-text h1{font-size:26px;}
  .hero-text{text-align:center;}
  .hero-text .desc{margin:0 auto 20px;}
  .download-group{justify-content:center;}
  .campus-wall{grid-template-columns:1fr;}
  .safety-grid{grid-template-columns:1fr;}
  .hot-week{flex-direction:column;}
  .hot-week-img{min-height:250px;}
  .hot-week-img img{min-height:250px;}
  .float-download{
    padding:8px 16px 8px 10px;
    gap:8px;
    bottom:12px;
  }
  .float-download .float-text{font-size:11px;}
  .float-download .float-btn{font-size:12px;padding:5px 12px;}
  .download-area{padding:40px 16px;}
  .install-steps{flex-direction:column;align-items:center;}
  .step{width:100%;max-width:100%;}
}