:root {
    --yellow: #fdf5d8;
    --yellow-deep: #f9e9b0;
    --red: #d92b2b;
    --red-dark: #b01e1e;
    --text: #2f2a1f;
    --text-light: #6f6552;
    --white: #ffffff;
    --shadow: 0 6px 18px rgba(80, 60, 20, 0.12);
    --radius: 14px;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--yellow);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  img {
    display: block;
    max-width: 100%;
  }

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

  /* 导航条 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 245, 216, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--yellow-deep);
    box-shadow: 0 2px 12px rgba(80, 60, 20, 0.08);
  }

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

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .brand img {
    height: 34px;
    width: auto;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover {
    background: var(--yellow-deep);
    color: var(--red-dark);
  }

  .nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--yellow-deep);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
  }

  /* 首屏 */
  .hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 16px;
  }

  .hero-text h1 span {
    color: var(--red);
  }

  .hero-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 480px;
  }

  .download-btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(217, 43, 43, 0.35);
    transition: transform 0.2s, background 0.2s;
  }

  .download-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
  }

  .update-time {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
  }

  .hero-img {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .hero-img img {
    width: 100%;
    max-width: 360px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
  }

  /* 滚动横幅 */
  .marquee-bar {
    background: var(--red);
    color: var(--white);
    overflow: hidden;
    padding: 10px 0;
    margin: 30px 0;
  }

  .marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 24s linear infinite;
  }

  .marquee-content span {
    font-size: 15px;
    padding: 0 24px;
    font-weight: 500;
  }

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

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

  .section-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--red);
    border-radius: 3px;
  }

  .section-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
  }

  /* 轮播图 */
  .carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--yellow-deep);
    aspect-ratio: 16 / 9;
  }

  .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
  }

  .carousel-track .slide {
    flex: 0 0 100%;
    height: 100%;
  }

  .carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .carousel-btn:hover {
    background: rgba(217, 43, 43, 0.85);
  }

  .carousel-btn.prev { left: 14px; }
  .carousel-btn.next { right: 14px; }

  .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }

  .carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
  }

  .carousel-dots button.active {
    background: var(--red);
  }

  /* 推荐卡片 */
  .recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s;
    cursor: pointer;
  }

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

  .card-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }

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

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .play-btn::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 14px solid var(--white);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
  }

  .card:hover .play-btn {
    background: rgba(217, 43, 43, 0.8);
  }

  .card-info {
    padding: 12px 14px;
  }

  .card-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  /* 截图墙 */
  .screenshot-wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .screenshot-wall img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.25s;
    border: 2px solid var(--white);
  }

  .screenshot-wall img:hover {
    transform: scale(1.04);
  }

  /* 网友评论 */
  .review-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .review-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--yellow-deep);
  }

  .review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow-deep);
    color: var(--red-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
  }

  .review-name {
    font-weight: 700;
    font-size: 14px;
  }

  .review-stars {
    font-size: 12px;
    color: #e6a700;
    letter-spacing: 2px;
  }

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

  /* 弹窗 */
  .modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal-mask.show {
    display: flex;
  }

  .modal-box {
    background: var(--yellow);
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
  }

  .modal-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text);
  }

  .modal-box p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 22px;
  }

  .modal-box .download-btn {
    font-size: 16px;
    padding: 12px 32px;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
  }

  /* 页脚 */
  footer {
    background: var(--yellow-deep);
    margin-top: 40px;
    padding: 26px 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
  }

  footer p {
    margin-bottom: 6px;
  }

  footer a {
    color: var(--text-light);
  }

  footer a:hover {
    color: var(--red);
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero {
      grid-template-columns: 1fr;
      text-align: center;
      padding-top: 30px;
    }
    .hero-text p {
      margin-left: auto;
      margin-right: auto;
    }
    .hero-img {
      order: -1;
    }
    .recommend-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .screenshot-wall {
      grid-template-columns: repeat(4, 1fr);
    }
    .review-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .header-inner {
      flex-wrap: wrap;
      padding: 10px 16px;
    }
    .nav-toggle {
      display: block;
    }
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      padding: 8px 0;
      gap: 2px;
    }
    .nav-links.open {
      display: flex;
    }
    .nav-links a {
      padding: 10px 14px;
      border-radius: 8px;
    }
    .hero-text h1 {
      font-size: 28px;
    }
    .hero-text p {
      font-size: 15px;
    }
    /* 手机端轮播图放在第二屏 */
    .hero {
      order: 1;
    }
    .carousel-section {
      order: 2;
    }
    section {
      padding: 30px 16px;
    }
    .section-title {
      font-size: 22px;
    }
    .recommend-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .screenshot-wall {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .review-list {
      grid-template-columns: 1fr;
    }
    .carousel-btn {
      width: 34px;
      height: 34px;
      font-size: 16px;
    }
  }