:root {
    --bg: #fffbea;
    --text: #3a3320;
    --muted: #7a6f52;
    --red: #e33b2e;
    --red-dark: #c22d22;
    --line: #f0e5c2;
    --card: #fffdf2;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; color: inherit; }

  /* 顶部滚动横幅 */
  .ticker {
    background: #2f2a1c;
    color: #ffe9a8;
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 26s linear infinite;
  }
  .ticker-track span { padding: 0 26px; }
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* 导航条 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 251, 234, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
  }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .nav-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #5d543a;
    transition: background .2s, color .2s;
  }
  .nav-links a:hover {
    background: var(--red);
    color: #fff;
  }

  .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* 首屏 */
  .hero {
    padding: 46px 0 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: .5px;
    margin-bottom: 16px;
  }
  .hero h1 em { color: var(--red); font-style: normal; }
  .hero p.lead {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 520px;
  }
  .btn-download {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 44px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(227, 59, 46, .28);
    transition: transform .18s, background .18s;
  }
  .btn-download:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
  }
  .visit-time {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
  }
  .hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #efe3bd;
  }
  .hero-collage .tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
  .hero-collage .short { aspect-ratio: 3 / 2.1; }

  /* 通用区块 */
  section.block { padding: 54px 0; }
  .block-head { margin-bottom: 28px; }
  .block-head h2 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .block-head p {
    color: var(--muted);
    font-size: 15px;
  }

  /* 轮播 */
  .carousel {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fdf6d8;
  }
  .carousel-track {
    display: flex;
    transition: transform .5s ease;
  }
  .slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 7.6;
    position: relative;
  }
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .slide-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 40px 22px 16px;
    background: linear-gradient(transparent, rgba(30, 25, 10, .78));
    color: #fff;
    font-size: 15px;
  }
  .carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
  }
  .carousel-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: #e3d5a6;
    cursor: pointer;
    padding: 0;
  }
  .carousel-dots button.active { background: var(--red); width: 22px; border-radius: 6px; }

  /* 高能漫展 —— 4 张图 */
  .expo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .expo-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--card);
  }
  .expo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .35s;
  }
  .expo-card:hover img { transform: scale(1.04); }
  .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .32);
    border: 2px solid rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .play-btn::after {
    content: "";
    border-left: 15px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
  }
  .expo-card p {
    font-size: 13px;
    padding: 10px 12px;
    color: var(--muted);
  }
  .expo-intro {
    font-size: 15px;
    color: var(--muted);
    background: #fffdf2;
    border: 1px dashed #ecdca8;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 22px;
  }

  /* 安装方式 */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
  }
  .step .num {
    display: inline-flex;
    width: 30px; height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .step h3 { font-size: 17px; margin-bottom: 6px; }
  .step p { font-size: 14px; color: var(--muted); }

  /* 软件特色 */
  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .feature {
    display: flex;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
  }
  .feature img {
    width: 92px;
    height: 122px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
  }
  .feature h3 { font-size: 17px; margin-bottom: 6px; }
  .feature p { font-size: 14px; color: var(--muted); }

  /* 截图墙 */
  .wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .wall img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
  }

  /* 网友评论 */
  .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .review {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
  }
  .review .who {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .review .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f2d98a;
    color: #7a5c10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
  }
  .review .name { font-size: 14px; font-weight: 600; }
  .review .stars { font-size: 12px; color: #e3a92e; letter-spacing: 1px; }
  .review p { font-size: 14px; color: #5b5340; }

  /* 弹窗 */
  .modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(30, 24, 10, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
  }
  .modal-mask.open { display: flex; }
  .modal {
    background: #fffdf2;
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  }
  .modal h3 { font-size: 20px; margin-bottom: 8px; }
  .modal p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
  .modal .btn-download { font-size: 16px; padding: 12px 30px; }
  .modal-close {
    margin-top: 16px;
    background: none;
    border: none;
    color: #9c916f;
    font-size: 13px;
    cursor: pointer;
  }

  /* 页脚 */
  .site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 18px 34px;
    text-align: center;
    font-size: 12px;
    color: #a49a7c;
  }
  .site-footer p { margin-bottom: 6px; }
  .site-footer a { color: #8d8366; }
  .site-footer a:hover { color: var(--red); }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 30px; }
    .expo-grid { grid-template-columns: repeat(2, 1fr); }
    .wall { grid-template-columns: repeat(4, 1fr); }
    .reviews { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 2px; }
    .nav-links a { padding: 6px 10px; font-size: 13px; }
  }
  @media (max-width: 768px) {
    .nav-wrap { flex-wrap: wrap; gap: 10px; }
    .nav-links {
      order: 3;
      width: 100%;
      margin-left: 0;
      overflow-x: auto;
      flex-wrap: nowrap;
      padding-bottom: 4px;
    }
    .nav-links a { white-space: nowrap; }
    .hero { padding: 28px 0 30px; }
    .hero h1 { font-size: 25px; }
    .btn-download { display: block; text-align: center; }
    .hero-collage { grid-template-columns: 1fr 1fr; }
    .slide { aspect-ratio: 4 / 4.6; }
    .expo-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .reviews { grid-template-columns: 1fr; }
    .wall { grid-template-columns: repeat(3, 1fr); }
    section.block { padding: 38px 0; }
    .block-head h2 { font-size: 22px; }
  }