:root {
    --bg-main: #f6f7fb;
    --bg-dark: #1a1c23;
    --brand: #ff5a5f;
    --brand-glow: rgba(255, 90, 95, 0.3);
    --text-main: #2b2d36;
    --text-light: #6b6d76;
    --card-bg: #ffffff;
    --border: #e2e4ea;
    --radius: 12px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* 为底部浮动栏留空间 */
  }

  a { text-decoration: none; color: inherit; }
  button { cursor: pointer; border: none; font-family: inherit; }

  /* 顶部导航 */
  header {
    background: var(--bg-dark);
    color: #fff;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

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

  .header-left span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* 桌面导航 */
  .desktop-nav {
    display: none;
    gap: 18px;
    font-size: 14px;
    font-weight: 500;
  }

  .desktop-nav a {
    color: #a0a2ab;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
  }

  /* 移动端折叠菜单按钮 */
  .mobile-menu-btn {
    display: block;
    background: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
  }

  /* 移动端菜单面板 */
  .mobile-nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 10px 0;
    border-top: 1px solid #333;
  }

  .mobile-nav-panel.open {
    display: flex;
  }

  .mobile-nav-panel a {
    padding: 12px 20px;
    color: #ccc;
    font-size: 15px;
    border-bottom: 1px solid #2c2f38;
  }

  .mobile-nav-panel a:last-child {
    border-bottom: none;
  }

  .mobile-nav-panel a:hover {
    color: var(--brand);
    background: #222;
  }

  /* 首屏区域 */
  .hero {
    background: var(--bg-dark);
    color: #fff;
    padding: 40px 20px 80px;
    position: relative;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
  }

  .hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-tag {
    display: inline-block;
    background: rgba(255, 90, 95, 0.15);
    color: var(--brand);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    border: 1px solid rgba(255, 90, 95, 0.3);
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
  }

  .hero p {
    color: #a0a2ab;
    font-size: 15px;
    line-height: 1.7;
  }

  .download-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
  }

  .download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
  }

  .download-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
  }

  .download-btn.primary {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 4px 15px var(--brand-glow);
  }

  .download-btn.primary:hover {
    background: #e04b50;
  }

  .hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-images img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
  }

  .hero-images img:nth-child(1) {
    grid-column: span 2;
    height: 200px;
  }

  /* 滚动跑马灯 */
  .marquee-wrapper {
    background: #111;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    margin-top: -20px;
    border-radius: var(--radius);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
  }

  .marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 14px;
    font-weight: 600;
  }

  .marquee-content span {
    margin: 0 20px;
    background: linear-gradient(90deg, #ff5a5f, #ffb347, #ff5a5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

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

  /* 主体内容 */
  main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
  }

  .section-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .section-header h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--brand);
    border-radius: 2px;
  }

  /* 每日大赛区块 */
  .daily-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .daily-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    background: #fafafc;
    border: 1px solid #f0f0f4;
    transition: transform 0.2s;
  }

  .daily-card:hover {
    transform: translateY(-2px);
  }

  .daily-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .daily-card-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .daily-card-content p {
    font-size: 13px;
    color: var(--text-light);
  }

  /* 电梯战神大赛 */
  .elevator-section {
    background: #fff8f0;
    border-color: #f0e6d6;
  }

  .elevator-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .elevator-item {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eeddc9;
  }

  .elevator-item .num {
    font-size: 20px;
    font-weight: 800;
    color: #ff8c00;
    flex-shrink: 0;
    line-height: 1.2;
  }

  .elevator-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .elevator-item p {
    font-size: 13px;
    color: var(--text-light);
  }

  /* 校园反差 */
  .campus-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .campus-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .campus-left img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }

  .campus-right h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .campus-right ul {
    list-style: none;
    font-size: 14px;
    color: var(--text-main);
  }

  .campus-right ul li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
  }

  .campus-right ul li:last-child {
    border-bottom: none;
  }

  /* 热门吃瓜 */
  .gossip-section {
    background: #f0f4ff;
    border-color: #dbe4ff;
  }

  .gossip-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .gossip-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
  }

  .gossip-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .gossip-item {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d1dcff;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .gossip-item::before {
    content: '🔥';
    font-size: 14px;
  }

  /* 隐私安全 & 意见反馈 */
  .two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-box, .feedback-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
  }

  .privacy-box h2, .feedback-box h2 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-main);
  }

  .qa-item {
    margin-bottom: 12px;
  }

  .qa-item h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--brand);
  }

  .qa-item p {
    font-size: 13px;
    color: var(--text-light);
  }

  /* 常见问题 */
  .faq-section {
    background: #f8f8f8;
  }

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .faq-item {
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
  }

  .faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .faq-item h3::before {
    content: 'Q';
    background: var(--brand);
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
  }

  .faq-item p {
    font-size: 13px;
    color: var(--text-light);
    padding-left: 28px;
  }

  /* 下载专区 */
  .download-section {
    background: var(--bg-dark);
    color: #fff;
    padding: 40px 20px;
    border-radius: var(--radius);
    text-align: center;
  }

  .download-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .download-section p {
    color: #a0a2ab;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .download-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .step-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #ccc;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
  }

  .step-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
  }

  .download-section .download-group {
    justify-content: center;
  }

  /* 用户评论 */
  .comments-section {
    background: #fff;
  }

  .comment {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .comment:last-child {
    border-bottom: none;
  }

  .comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #f0f0f0;
    padding: 4px;
  }

  .comment-content {
    flex: 1;
  }

  .comment-content strong {
    font-size: 14px;
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
  }

  .comment-content p {
    font-size: 13px;
    color: var(--text-light);
  }

  /* 底部浮动下载窗口 */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    border: 1px solid var(--border);
    width: 90%;
    max-width: 400px;
    justify-content: space-between;
  }

  .floating-download-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .floating-download-left img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
  }

  .floating-download-left div {
    display: flex;
    flex-direction: column;
  }

  .floating-download-left div strong {
    font-size: 14px;
    color: var(--text-main);
  }

  .floating-download-left div span {
    font-size: 11px;
    color: var(--text-light);
  }

  .floating-btn {
    background: var(--brand);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
  }

  .floating-btn:hover {
    background: #e04b50;
  }

  /* 页脚 */
  footer {
    background: #111;
    color: #666;
    padding: 30px 20px;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #222;
  }

  .footer-links {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-links a {
    color: #888;
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: var(--brand);
  }

  .footer-copyright {
    margin-bottom: 8px;
  }

  .footer-beian a {
    color: #555;
    transition: color 0.2s;
  }

  .footer-beian a:hover {
    color: #888;
  }

  .footer-time {
    margin-top: 8px;
    color: #444;
    font-size: 11px;
  }

  /* 关于我们折叠 */
  .footer-about {
    margin-top: 16px;
    border-top: 1px solid #222;
    padding-top: 16px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-about summary {
    cursor: pointer;
    color: #555;
    font-size: 12px;
    list-style: none;
    outline: none;
  }

  .footer-about summary::-webkit-details-marker {
    display: none;
  }

  .footer-about summary:hover {
    color: #888;
  }

  .about-content {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 12px;
  }

  .about-content a {
    color: #555;
    transition: color 0.2s;
  }

  .about-content a:hover {
    color: #888;
  }

  /* 响应式断点 */
  @media (min-width: 768px) {
    .desktop-nav {
      display: flex;
    }
    .mobile-menu-btn {
      display: none;
    }
    .hero-container {
      flex-direction: row;
      align-items: center;
    }
    .hero-images {
      grid-template-columns: 1fr 1fr;
      flex: 1;
    }
    .hero-images img:nth-child(1) {
      grid-column: span 2;
      height: 220px;
    }
    .hero-images img {
      height: 180px;
    }
    .hero h1 {
      font-size: 34px;
    }
    .daily-grid {
      grid-template-columns: 1fr 1fr;
    }
    .elevator-list {
      grid-template-columns: 1fr 1fr;
    }
    .two-col {
      grid-template-columns: 1fr 1fr;
    }
    .campus-layout {
      flex-direction: row;
    }
    .campus-left {
      flex: 1;
    }
    .campus-left img {
      height: 100%;
      min-height: 250px;
    }
    .campus-right {
      flex: 1;
    }
    .gossip-layout {
      flex-direction: row;
    }
    .gossip-img-wrapper {
      flex: 1;
    }
    .gossip-img-wrapper img {
      height: 100%;
      min-height: 250px;
    }
    .gossip-list {
      flex: 1;
    }
    .download-section h2 {
      font-size: 28px;
    }
  }

  @media (min-width: 1024px) {
    .hero h1 {
      font-size: 40px;
    }
    .hero-images img:nth-child(1) {
      height: 260px;
    }
    .hero-images img {
      height: 200px;
    }
    .daily-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
    .elevator-list {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  /* 弹窗样式 */
  .copy-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  .copy-modal.active {
    display: flex;
  }
  .copy-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  }
  .copy-modal-content p {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .copy-modal-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    text-align: center;
    background: #f8f8f8;
  }
  .copy-modal-btn {
    background: var(--brand);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
  }