:root {
  --bg-deep: #190611;
  --bg-dark: #1E0915;
  --panel-1: #2E0F20;
  --panel-2: #40162C;
  --primary: #F45C96;
  --wine: #B93A70;
  --gold: #FFC879;
  --border-light: rgba(255, 190, 215, 0.10);
  --border-heavier: rgba(255, 190, 215, 0.20);
  --text-main: #FCE8F1;
  --text-muted: #C9A5B6;
  --gradient-main: linear-gradient(135deg, var(--primary), var(--gold));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 跑马灯 */
.marquee-container {
  background: var(--panel-1);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
}

.marquee-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

.marquee-content span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 30px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 头部导航 */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
}

.brand img {
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

/* 首屏 Hero */
.hero {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: radial-gradient(circle at top right, var(--panel-2) 0%, var(--bg-deep) 70%);
}

.hero-top {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-top h1 {
  font-size: 32px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.hero-top p {
  font-size: 16px;
  color: var(--text-muted);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.hero-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.hero-gallery img {
  height: 240px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-heavier);
  scroll-snap-align: start;
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: bold;
  color: var(--bg-deep);
  background: var(--gradient-main);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-secondary {
  background: var(--panel-2);
  color: var(--primary);
  border: 1px solid var(--border-heavier);
}

/* 通用区块 */
section {
  padding: 40px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 24px;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  color: var(--gold);
}

/* 今日吃瓜 / 本周热瓜 卡片 */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--panel-1);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.3s;
}

.card:hover {
  border-color: var(--primary);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 校园大赛 / 反差大赛 */
.list-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: flex;
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.list-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 16px;
}

.list-item-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.list-item-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 隐私安全 / 意见反馈 / 常见问题 */
.faq-item {
  background: var(--panel-1);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.faq-question {
  padding: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-main);
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 下载专区 */
.download-section {
  text-align: center;
  background: var(--panel-2);
  border-radius: 16px;
  padding: 40px 24px;
  border: 1px solid var(--border-heavier);
}

.download-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 24px;
  max-height: 300px;
  object-fit: contain;
}

/* 页脚 */
footer {
  background: var(--bg-dark);
  padding: 30px 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* 浮动下载 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: var(--bg-deep);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(244, 92, 150, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99;
  white-space: nowrap;
}

.floating-download img {
  height: 24px;
  border-radius: 4px;
}

/* 隐私弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--panel-1);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  width: 320px;
  border: 1px solid var(--primary);
}

.modal-content p {
  margin-bottom: 16px;
  font-size: 14px;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-heavier);
  color: var(--text-main);
  border-radius: 6px;
  text-align: center;
}

/* 响应式调整 */
@media (min-width: 768px) {
  .hero-top h1 { font-size: 40px; }
  .hero-gallery img { height: 300px; }
  .grid-cards { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .list-item img { width: 120px; height: 120px; }
}

@media (min-width: 1024px) {
  .hero-top h1 { font-size: 48px; }
  .hero-gallery { justify-content: center; flex-wrap: wrap; }
  .grid-cards { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-gallery img { height: 200px; }
}