:root {
    --bg-dark: #12141c;
    --bg-panel: #1c1f2b;
    --bg-light: #f4f1ea;
    --text-main: #e8e6e1;
    --text-dark: #23262f;
    --accent-1: #ff5e5e;
    --accent-2: #ffbb33;
    --accent-3: #4ecdc4;
    --accent-4: #9b59b6;
    --border-radius: 16px;
    --shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

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

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

  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* 头部与导航 */
  .site-header {
    background: linear-gradient(180deg, #1c1f2b 0%, #12141c 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2e3d;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
  }

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

  .nav-menu {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-menu a {
    font-size: 14px;
    color: #a0a5b5;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
  }

  .nav-menu a:hover {
    color: var(--accent-2);
    background: rgba(255,187,51,0.1);
  }

  /* 移动端折叠导航 */
  .mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #3a3f50;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
  }

  /* 首屏 hero */
  .hero-section {
    padding: 40px 16px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-text {
    flex: 1 1 400px;
  }

  .hero-text h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
  }

  .hero-text p {
    font-size: 16px;
    color: #b0b5c5;
    margin-bottom: 24px;
    max-width: 600px;
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    color: #fff;
    text-align: center;
  }

  .btn:active { transform: scale(0.96); }
  .btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-4));
  }
  .btn-android {
    background: linear-gradient(135deg, #3ddc84, #1bac60);
  }
  .btn-ios {
    background: linear-gradient(135deg, #555, #222);
  }
  .btn-web {
    background: linear-gradient(135deg, #4ecdc4, #2a9d8f);
  }
  .btn-harmony {
    background: linear-gradient(135deg, #ff5e5e, #c0392b);
  }

  .hero-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-images img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #2a2e3d;
    transition: transform 0.3s;
  }

  .hero-images img:hover {
    transform: translateY(-4px);
  }

  /* 跑马灯 */
  .marquee-banner {
    margin-top: 20px;
    background: #1c1f2b;
    border-radius: 8px;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #2a2e3d;
  }

  .marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff5e5e, #ffbb33, #4ecdc4, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

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

  /* 通用区块 */
  .section-block {
    padding: 48px 16px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-block h2 {
    font-size: 26px;
    margin-bottom: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
  }

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

  /* 每日大赛 - 卡片墙 */
  .daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .daily-card {
    background: var(--bg-panel);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #2a2e3d;
    transition: transform 0.2s;
  }

  .daily-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-3);
  }

  .daily-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .daily-card-body {
    padding: 16px;
  }

  .daily-card-body h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
  }

  .daily-card-body p {
    font-size: 14px;
    color: #a0a5b5;
  }

  /* 电梯战神大赛 - 左右布局 */
  .elevator-layout {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .elevator-image {
    flex: 0 0 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
  }

  .elevator-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-4);
  }

  .elevator-list {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .elevator-list-item {
    background: rgba(155, 89, 182, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-4);
    color: #d0d5e0;
    font-size: 15px;
  }

  .elevator-list-item strong {
    color: var(--accent-2);
    margin-right: 8px;
  }

  /* 校园反差 - 高亮块 */
  .campus-section {
    background: #1e222f;
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px dashed var(--accent-3);
  }

  .campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .campus-item {
    background: #12141c;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #b0b5c5;
    border: 1px solid #2a2e3d;
  }

  /* 热门吃瓜 - 问答式 */
  .gossip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
  }

  .gossip-item {
    background: var(--bg-panel);
    border-radius: var(--border-radius);
    padding: 20px;
  }

  .gossip-item .q {
    color: var(--accent-2);
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
  }

  .gossip-item .q::before {
    content: 'Q';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-2);
    color: #12141c;
    font-size: 12px;
    font-weight: 900;
    margin-right: 10px;
  }

  .gossip-item .a {
    color: #c0c5d0;
    font-size: 15px;
    padding-left: 32px;
  }

  /* 隐私安全 - 标签墙 */
  .privacy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .privacy-tags span {
    background: rgba(78, 205, 196, 0.15);
    color: var(--accent-3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(78, 205, 196, 0.3);
  }

  /* 用户评论 */
  .review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 24px auto 0;
  }

  .review-item {
    display: flex;
    gap: 12px;
    background: var(--bg-panel);
    padding: 16px;
    border-radius: var(--border-radius);
    border: 1px solid #2a2e3d;
  }

  .review-item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .review-content {
    font-size: 14px;
    color: #c0c5d0;
  }

  .review-content .name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
  }

  .review-content .time {
    color: #6b7080;
    font-size: 12px;
    margin-top: 4px;
  }

  /* 下载专区 */
  .download-area {
    background: linear-gradient(135deg, #1c1f2b, #23273a);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid #3a3f50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .download-area img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
  }

  .step-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
  }

  .step-item {
    background: #12141c;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #b0b5c5;
    border: 1px dashed var(--accent-2);
  }

  /* 页脚 */
  .site-footer {
    background: #0e1017;
    padding: 32px 16px 24px;
    text-align: center;
    font-size: 13px;
    color: #6b7080;
    border-top: 1px solid #1c1f2b;
  }

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

  .footer-nav a {
    color: #8a90a0;
    font-size: 13px;
  }

  .footer-nav a:hover {
    color: var(--accent-3);
  }

  .footer-info {
    margin-bottom: 12px;
  }

  .about-details {
    text-align: left;
    max-width: 600px;
    margin: 16px auto 0;
    background: #12141c;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1c1f2b;
  }

  .about-details summary {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 13px;
    color: #8a90a0;
    list-style: none;
    text-align: center;
    user-select: none;
  }

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

  .about-details summary:hover {
    color: #c0c5d0;
  }

  .about-content {
    padding: 16px;
    font-size: 12px;
    color: #6b7080;
    line-height: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .about-content a {
    color: #8a90a0;
  }

  .about-content a:hover {
    color: var(--accent-2);
  }

  /* 浮动下载窗口 */
  .floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #12141c;
    padding: 10px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 999;
    cursor: pointer;
    border: 2px solid var(--accent-2);
    transition: transform 0.2s;
  }

  .floating-download:hover {
    transform: translateX(-50%) scale(1.02);
  }

  .floating-download img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .floating-download .float-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
  }

  .floating-download .float-text small {
    display: block;
    font-weight: normal;
    font-size: 11px;
    color: #666;
  }

  /* iOS 百度提示框 */
  .copy-toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    text-align: center;
    width: 90%;
    max-width: 360px;
  }

  .copy-toast p {
    color: #333;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .copy-toast .copy-url {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    word-break: break-all;
    color: #12141c;
    font-size: 13px;
    margin-bottom: 16px;
    cursor: pointer;
    border: 1px dashed #ccc;
  }

  .copy-toast .toast-close {
    background: #12141c;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
  }

  /* 响应式 */
  @media (max-width: 767px) {
    .nav-menu {
      display: none;
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
      padding-top: 12px;
      border-top: 1px solid #2a2e3d;
      margin-top: 12px;
    }

    .nav-menu.active { display: flex; }

    .mobile-nav-toggle { display: block; }

    .hero-top { flex-direction: column; align-items: flex-start; }

    .hero-images { justify-content: flex-start; }

    .hero-images img { width: 90px; height: 120px; }

    .elevator-layout { flex-direction: column; }

    .elevator-image { flex: 0 0 auto; width: 100%; max-width: 300px; }

    .campus-section { padding: 20px; }

    .gossip-list { gap: 8px; }

    .floating-download { width: 90%; justify-content: center; }

    .download-buttons { justify-content: center; }

    .section-block h2 { font-size: 22px; }
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    .hero-text h1 { font-size: 32px; }
    .daily-grid { grid-template-columns: repeat(2, 1fr); }
  }