:root {
    --bg-body: #f6f7fb;
    --bg-dark: #12141c;
    --bg-card: #ffffff;
    --text-main: #1f2330;
    --text-muted: #5c6378;
    --accent: #ff3b70;
    --accent-gradient: linear-gradient(135deg, #ff3b70, #ff8a00);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 10px 30px rgba(24, 27, 40, 0.08);
    --shadow-float: 0 8px 24px rgba(255, 59, 112, 0.35);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 90px;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; border-radius: var(--radius-sm); }

  /* —— 顶部导航 —— */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 32px; width: auto; border-radius: 8px; object-fit: contain; }
  .brand span { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.5px; }
  .nav-links {
    display: flex; gap: 6px; list-style: none;
    overflow-x: auto; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    font-size: 0.92rem; font-weight: 600; color: var(--text-muted);
    padding: 8px 14px; border-radius: 999px; white-space: nowrap;
    transition: all 0.25s ease;
  }
  .nav-links a:hover { color: var(--accent); background: rgba(255, 59, 112, 0.08); transform: translateY(-1px); }
  .menu-toggle {
    display: none; background: none; border: none;
    font-size: 1.6rem; cursor: pointer; color: var(--text-main);
  }

  /* —— 首屏 —— */
  .hero {
    position: relative; overflow: hidden;
    padding: 50px 20px 0;
    background: radial-gradient(circle at 10% 10%, #ffe4ea 0%, transparent 40%),
                radial-gradient(circle at 90% 20%, #e0f2ff 0%, transparent 40%),
                #ffffff;
  }
  .hero-inner { max-width: 1200px; margin: 0 auto; }
  .hero-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 40px; }
  .hero-badge {
    display: inline-block; background: var(--accent-gradient); color: #fff;
    font-size: 0.8rem; font-weight: 700; padding: 6px 16px; border-radius: 999px;
    letter-spacing: 1px;
  }
  .hero h1 { font-size: 2.2rem; line-height: 1.3; font-weight: 900; max-width: 800px; }
  .hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(135deg, var(--accent), #ff8a00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; }

  .hero-carousel {
    position: relative; max-width: 900px; margin: 0 auto 30px;
    aspect-ratio: 16 / 8;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #e5e9f0;
  }
  .carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); height: 100%; }
  .carousel-slide { min-width: 100%; height: 100%; position: relative; }
  .carousel-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  .carousel-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
  }
  .dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5);
    transition: background 0.3s;
  }
  .dot.active { background: #fff; transform: scale(1.2); }

  .hero-downloads {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    padding-bottom: 30px;
  }
  .dl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; min-width: 130px; padding: 12px 20px;
    border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    border: 2px solid var(--accent); color: var(--accent);
    background: #fff; transition: all 0.25s ease;
  }
  .dl-btn:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-float); transform: translateY(-2px); }
  .dl-btn.primary { background: var(--accent-gradient); color: #fff; border: none; }

  /* —— 跑马灯 —— */
  .marquee-wrap {
    background: var(--bg-dark); overflow: hidden; padding: 12px 0; white-space: nowrap;
    border-top: 2px solid #2a2e40;
  }
  .marquee-content {
    display: inline-block; animation: marquee 18s linear infinite;
    font-weight: 800; font-size: 1.1rem; letter-spacing: 2px;
    background: linear-gradient(90deg, #ff3b70, #ff8a00, #ffd200, #ff3b70);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .marquee-content span { margin-right: 40px; }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* —— 通用区块 —— */
  .section { padding: 60px 20px; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
  .section-header h2::before {
    content: ''; display: inline-block; width: 6px; height: 24px;
    border-radius: 4px; background: var(--accent-gradient);
  }
  .section-header p { color: var(--text-muted); font-size: 0.98rem; }

  /* —— 今日吃瓜 —— */
  .section-gossip { background: #fdfaf5; }
  .gossip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .gossip-card {
    background: #fff; border-radius: var(--radius-md); padding: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid #f0e6d8;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.2s;
  }
  .gossip-card:hover { transform: translateY(-3px); }
  .gossip-card h3 { font-size: 1.02rem; color: #8a5a00; }
  .gossip-card p { font-size: 0.9rem; color: var(--text-muted); }
  .gossip-user { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
  .gossip-user img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .gossip-user span { font-size: 0.78rem; color: #a0a0a0; }

  /* —— 本周热瓜 —— */
  .section-hot { background: #f4f6ff; }
  .hot-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: start; }
  .hot-cover {
    background: linear-gradient(180deg, #e0e7ff, #f4f6ff);
    border-radius: var(--radius-lg); overflow: hidden;
    padding: 10px;
  }
  .hot-cover img { width: 100%; height: auto; border-radius: var(--radius-md); object-fit: cover; }
  .hot-list { display: flex; flex-direction: column; gap: 12px; }
  .hot-item {
    background: #fff; border-radius: var(--radius-md); padding: 14px 18px;
    display: flex; align-items: flex-start; gap: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); border-left: 4px solid #6c8cff;
  }
  .hot-idx { font-size: 1.2rem; font-weight: 900; color: #6c8cff; opacity: 0.6; line-height: 1.2; min-width: 24px; }
  .hot-item p { font-size: 0.92rem; color: var(--text-main); }
  .hot-item p strong { color: #2e3e8e; }

  /* —— 校园大赛 —— */
  .section-campus { background: #f0faf4; }
  .campus-qna { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
  .qna-card {
    background: #fff; border-radius: var(--radius-md); padding: 20px;
    border: 1px solid #d6f0e0; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  }
  .qna-q { font-weight: 700; color: #1a6b3b; margin-bottom: 6px; display: flex; gap: 6px; }
  .qna-q::before { content: 'Q'; background: #1a6b3b; color: #fff; border-radius: 4px; padding: 0 5px; font-size: 0.8rem; line-height: 1.6; }
  .qna-a { font-size: 0.92rem; color: var(--text-muted); padding-left: 22px; }

  /* —— 反差大赛 —— */
  .section-contrast { background: #1a1625; color: #f3f0ff; }
  .section-contrast .section-header h2 { color: #fff; }
  .section-contrast .section-header p { color: #b8a8d4; }
  .contrast-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
  .contrast-list { display: flex; flex-direction: column; gap: 10px; }
  .contrast-item {
    padding: 12px 16px; background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm); border-left: 3px solid #a374ff;
    font-size: 0.92rem; color: #ddd6f0;
    transition: background 0.2s;
  }
  .contrast-item:hover { background: rgba(255,255,255,0.1); }
  .contrast-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
  .contrast-img-wrap img { width: 100%; height: auto; object-fit: cover; border-radius: 0; }

  /* —— 隐私安全 & 意见反馈 & 常见问题 —— */
  .section-privacy { background: #fff5f5; }
  .privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
  .privacy-card {
    background: #fff; border-radius: var(--radius-md); padding: 18px 20px;
    border-top: 4px solid #ff7b7b; box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  }
  .privacy-card h3 { font-size: 1rem; color: #b84444; margin-bottom: 6px; }
  .privacy-card p { font-size: 0.88rem; color: var(--text-muted); }

  .section-feedback { background: #f7f9fc; }
  .feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
  .feedback-card {
    background: #fff; border-radius: var(--radius-md); padding: 18px 20px;
    border-bottom: 4px solid #72c0ff; box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  }
  .feedback-card h3 { font-size: 1rem; color: #1a6aab; margin-bottom: 6px; }
  .feedback-card p { font-size: 0.88rem; color: var(--text-muted); }

  .section-faq { background: #fbfaf7; }
  .faq-item {
    background: #fff; border-radius: var(--radius-sm); margin-bottom: 10px;
    border: 1px solid #f0ede6; overflow: hidden;
  }
  .faq-q {
    padding: 14px 18px; font-weight: 700; font-size: 0.95rem; color: #4a3b22;
    cursor: pointer; display: flex; justify-content: space-between;
  }
  .faq-a { padding: 0 18px 14px; font-size: 0.9rem; color: var(--text-muted); display: block; }

  /* —— 下载专区 —— */
  .section-download { background: linear-gradient(135deg, #12141c, #202436); color: #fff; }
  .section-download .section-header h2 { color: #fff; }
  .section-download .section-header p { color: #a0a8c0; }
  .download-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
  .download-info { display: flex; flex-direction: column; gap: 20px; }
  .download-info .dl-btn { border-color: rgba(255,255,255,0.2); color: #fff; background: rgba(255,255,255,0.06); justify-content: flex-start; }
  .download-info .dl-btn:hover { background: var(--accent); border-color: var(--accent); }
  .download-info .dl-btn.primary { background: var(--accent-gradient); border: none; }
  .dl-step { font-size: 0.9rem; color: #c0c8e0; }
  .dl-step strong { color: #ff8a00; margin-right: 4px; }
  .download-phone {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); background: #000;
    padding: 10px 10px 0;
  }
  .download-phone img { width: 100%; height: auto; display: block; border-radius: 12px 12px 0 0; object-fit: cover; }

  /* —— 浮动下载 —— */
  .float-download {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 999; background: var(--accent-gradient); color: #fff;
    border-radius: 999px; padding: 10px 24px 10px 14px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-float); transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid rgba(255,255,255,0.3);
  }
  .float-download:hover { transform: translateX(-50%) scale(1.03); box-shadow: 0 12px 30px rgba(255,59,112,0.5); }
  .float-download img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
  .float-text { display: flex; flex-direction: column; }
  .float-text strong { font-size: 0.95rem; }
  .float-text span { font-size: 0.72rem; opacity: 0.9; }

  /* —— 页脚 —— */
  .site-footer {
    background: #ffffff; border-top: 1px solid #e8e8ed;
    padding: 30px 20px; text-align: center; font-size: 0.8rem; color: #9aa0b4;
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; align-items: center; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-links a { color: #9aa0b4; transition: color 0.2s; }
  .footer-links a:hover { color: var(--accent); }
  .footer-copy { line-height: 1.6; }
  .footer-copy a { color: #9aa0b4; text-decoration: none; }
  .footer-copy a:hover { color: var(--accent); }
  .footer-time { font-size: 0.75rem; color: #b0b5c8; }

  /* —— 移动端弹窗 —— */
  .copy-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
  }
  .copy-modal.active { display: flex; }
  .modal-box {
    background: #fff; border-radius: var(--radius-lg); padding: 24px;
    max-width: 360px; width: 100%; text-align: center; color: var(--text-main);
  }
  .modal-box p { font-size: 0.95rem; margin-bottom: 16px; }
  .modal-box input {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px;
    margin-bottom: 16px; font-size: 0.9rem; color: #ff3b70;
  }
  .modal-btn {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: var(--accent-gradient); color: #fff; font-weight: 700;
    font-size: 1rem; cursor: pointer; margin-bottom: 8px;
  }
  .modal-close { background: none; border: none; color: var(--text-muted); font-size: 0.85rem; cursor: pointer; }

  /* —— 响应式 —— */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 1.8rem; }
    .hot-layout, .contrast-layout, .download-layout { grid-template-columns: 1fr; }
    .contrast-img-wrap { order: -1; max-width: 500px; margin: 0 auto; }
    .download-phone { max-width: 400px; margin: 0 auto; }
  }
  @media (max-width: 768px) {
    .nav-links {
      display: none; flex-direction: column; position: absolute;
      top: 100%; left: 0; width: 100%; background: #fff;
      box-shadow: 0 10px 20px rgba(0,0,0,0.05); padding: 10px 16px;
      border-bottom: 1px solid #eee; gap: 4px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { display: block; padding: 10px 14px; }
    .menu-toggle { display: block; }
    .hero { padding-top: 30px; }
    .hero h1 { font-size: 1.5rem; }
    .hero-desc { font-size: 0.95rem; }
    .carousel-track { height: 100%; }
    .hero-carousel { aspect-ratio: 4 / 3; }
    .section { padding: 40px 16px; }
    .section-header h2 { font-size: 1.4rem; }
    .dl-btn { min-width: 100px; padding: 10px 16px; font-size: 0.85rem; flex: 1; }
    .float-download { bottom: 12px; padding: 8px 16px 8px 10px; gap: 8px; }
    .float-download img { width: 30px; height: 30px; }
    .float-text strong { font-size: 0.85rem; }
    .float-text span { font-size: 0.65rem; }
    .hot-cover { display: none; }
    .footer-inner { gap: 8px; }
  }