:root {
  --bg-main: #190611;
  --bg-dark: #1E0915;
  --panel-1: #2E0F20;
  --panel-2: #40162C;
  --color-pink: #F45C96;
  --color-wine: #B93A70;
  --color-gold: #FFC879;
  --border-light: rgba(255, 190, 215, .10);
  --border-strong: rgba(255, 190, 215, .20);
  --text-main: #FCE8EF;
  --text-muted: #C99FB0;
  --grad-main: linear-gradient(135deg, var(--color-pink), var(--color-gold));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px; /* 给底部浮窗留空间 */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* 顶部导航 */
.header-wrap {
  position: relative;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand img { height: 32px; border-radius: 6px; }
.nav-links {
  display: flex;
  gap: 16px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-pink); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--grad-main); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.menu-toggle {
  display: none; background: none; border: none; color: var(--color-gold); font-size: 24px; cursor: pointer;
}

/* 首屏 */
.hero {
  padding: 40px 4% 20px;
  position: relative;
  background: radial-gradient(circle at top right, rgba(244, 92, 150, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(255, 200, 121, 0.1), transparent 40%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
h1 {
  font-size: 28px;
  line-height: 1.3;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 10px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
}
.hero-gallery {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  width: 100%;
}
.hero-gallery img {
  width: 30%;
  max-width: 260px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-gallery img:hover { transform: translateY(-4px); }
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  color: #190611; /* 文字用深酒红 */
  background: var(--grad-main);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(244,92,150,0.4); }

/* 跑马灯 */
.marquee-wrap {
  width: 100%;
  background: var(--panel-1);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 20px;
}
.marquee-text {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #F45C96, #FFC879, #F45C96);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* 通用区块 */
.section {
  padding: 40px 4%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: ''; display: block; width: 4px; height: 20px; background: var(--color-pink); border-radius: 2px;
}

/* 今日吃瓜 - 卡片墙 */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.card:hover { border-color: var(--color-pink); }
.card img { width: 100%; height: 160px; }
.card-body { padding: 12px; }
.card-title { font-size: 15px; margin-bottom: 6px; color: var(--text-main); }
.card-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

/* 本周热瓜 - 列表 */
.list-blocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-item {
  background: var(--panel-2);
  border-left: 4px solid var(--color-pink);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-item:hover { background: var(--color-wine); }
.list-item h3 { font-size: 16px; margin-bottom: 4px; }
.list-item p { font-size: 13px; color: var(--text-muted); }
.tag { font-size: 12px; background: rgba(255,200,121,0.2); color: var(--color-gold); padding: 2px 8px; border-radius: 10px; }

/* 校园大赛 - 左右图文 */
.split-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.split-img { flex: 1; min-width: 280px; border-radius: 12px; overflow: hidden; }
.split-img img { width: 100%; height: 100%; min-height: 300px; }
.split-content { flex: 1.5; display: flex; flex-direction: column; gap: 12px; }
.text-item {
  background: var(--panel-1); padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border-strong);
}
.text-item h3 { font-size: 15px; color: var(--color-pink); margin-bottom: 4px; }
.text-item p { font-size: 13px; color: var(--text-muted); }

/* 反差大赛 - 胶囊标签 */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--panel-2); border: 1px solid var(--border-strong); padding: 10px 20px; border-radius: 30px;
  font-size: 14px; transition: all 0.3s; cursor: default;
}
.chip:hover { background: var(--grad-main); color: #190611; border-color: transparent; }

/* 隐私安全 & 常见问题 - 问答风格 */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel-1); border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden;
}
.faq-q {
  padding: 14px 16px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-q::after { content: '+'; color: var(--color-pink); font-size: 18px; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a {
  padding: 0 16px 14px; font-size: 14px; color: var(--text-muted); display: none;
}
.faq-item.open .faq-a { display: block; }

/* 评论区域 */
.comments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comment-box {
  background: var(--panel-2); padding: 16px; border-radius: 12px; border: 1px solid var(--border-light);
  display: flex; gap: 12px;
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-gold); }
.comment-content h4 { font-size: 14px; color: var(--color-pink); margin-bottom: 4px; }
.comment-content p { font-size: 13px; color: var(--text-main); }

/* 底部下载 */
.footer-download {
  background: radial-gradient(circle at center, rgba(244,92,150,0.15), transparent), var(--bg-dark);
  border-top: 1px solid var(--border-strong);
  padding: 40px 4% 60px;
  text-align: center;
}
.footer-download img { width: 120px; margin: 0 auto 16px; border-radius: 16px; border: 1px solid var(--border-light); }
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.step { background: var(--panel-1); padding: 10px 16px; border-radius: 8px; font-size: 13px; border: 1px solid var(--border-strong); }
.step span { color: var(--color-gold); font-weight: bold; margin-right: 4px; }

/* 浮动下载窗口 */
.floating-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--panel-2); border: 1px solid var(--border-strong);
  padding: 10px 16px; border-radius: 50px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  z-index: 999; width: max-content; max-width: 90%;
}
.floating-download img { width: 28px; height: 28px; border-radius: 6px; }
.floating-download span { font-size: 13px; color: var(--color-gold); font-weight: 600; white-space: nowrap; }
.floating-download .btn { padding: 6px 16px; font-size: 13px; white-space: nowrap; }

/* 复制弹窗 */
.copy-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; justify-content: center; align-items: center; }
.copy-modal.show { display: flex; }
.modal-content { background: var(--panel-2); padding: 24px; border-radius: 16px; border: 1px solid var(--border-strong); width: 80%; max-width: 340px; text-align: center; }
.modal-content p { margin-bottom: 16px; font-size: 14px; color: var(--text-main); line-height: 1.5; }
.modal-content input { width: 100%; padding: 10px; background: var(--bg-dark); border: 1px solid var(--border-strong); color: var(--color-gold); border-radius: 8px; margin-bottom: 16px; text-align: center; font-size: 13px; }
.modal-content button { width: 100%; padding: 10px; border: none; border-radius: 8px; background: var(--grad-main); color: #190611; font-weight: bold; cursor: pointer; }

/* 页脚 */
footer { padding: 24px 4%; background: var(--bg-dark); border-top: 1px solid var(--border-light); text-align: center; font-size: 12px; color: var(--text-muted); }
footer .footer-nav { margin-bottom: 12px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
footer .footer-nav a:hover { color: var(--color-pink); }
footer .footer-info p { margin-bottom: 4px; }
footer a.icp-link { color: var(--text-muted); text-decoration: underline; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-dark); padding: 12px 0; border-bottom: 1px solid var(--border-light); align-items: center; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  h1 { font-size: 22px; }
  .split-layout { flex-direction: column; }
  .split-img img { min-height: 200px; }
  .comments { grid-template-columns: 1fr; }
  .hero-gallery { flex-wrap: wrap; gap: 8px; }
  .hero-gallery img { width: 48%; }
  .floating-download { bottom: 10px; padding: 8px 12px; width: 95%; border-radius: 12px; justify-content: space-between; }
  .floating-download span { font-size: 12px; white-space: normal; }
}
@media (min-width: 1024px) {
  h1 { font-size: 36px; }
  .section { padding: 60px 4%; }
}