:root {
    --bg-main: #fffbe6;
    --bg-card: #fffdf5;
    --yellow-deep: #f5c518;
    --yellow-soft: #fff3b0;
    --red-btn: #e63946;
    --red-btn-hover: #c1121f;
    --text-main: #2b2b2b;
    --text-sub: #5a5a5a;
    --border-color: #ecd98a;
    --radius: 14px;
    --shadow: 0 6px 18px rgba(160, 130, 20, 0.12);
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
  }

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

  /* 顶部滚动横幅 */
  .top-banner {
    background: var(--yellow-deep);
    color: #3a2c00;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
  }
  .top-banner-track {
    display: inline-block;
    padding-left: 100%;
    animation: scrollBanner 22s linear infinite;
  }
  @keyframes scrollBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  /* 导航条 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 251, 230, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--yellow-soft);
  }
  .header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #b8860b;
  }
  .brand img { height: 34px; width: auto; border-radius: 8px; }

  .main-nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
  }
  .main-nav a {
    display: inline-block;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #6b5200;
    border-radius: 30px;
    transition: background 0.25s, color 0.25s;
  }
  .main-nav a:hover {
    background: var(--yellow-deep);
    color: #fff;
  }

  .menu-toggle {
    display: none;
    background: var(--yellow-deep);
    color: #fff;
    border: none;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
  }

  /* 首屏 */
  .hero {
    background: linear-gradient(160deg, var(--yellow-soft) 0%, var(--bg-main) 65%);
    padding: 50px 20px 60px;
  }
  .hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }
  .hero-text h1 {
    font-size: 36px;
    line-height: 1.3;
    color: #7a5b00;
    margin-bottom: 18px;
  }
  .hero-text h1 span { color: var(--red-btn); }
  .hero-text p {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 14px;
    max-width: 520px;
  }
  .hero-actions {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .btn-download {
    display: inline-block;
    background: var(--red-btn);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 42px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
    transition: transform 0.2s, background 0.2s;
  }
  .btn-download:hover {
    background: var(--red-btn-hover);
    transform: translateY(-2px);
  }
  .update-time {
    font-size: 13px;
    color: #9a7b1f;
  }

  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  .hero-visual img {
    width: 46%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid #fff;
  }
  .hero-visual img:nth-child(2) { transform: translateY(30px); }

  /* 通用区块 */
  .section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 20px;
  }
  .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #7a5b00;
    margin-bottom: 8px;
    text-align: center;
  }
  .section-sub {
    text-align: center;
    color: var(--text-sub);
    font-size: 15px;
    margin-bottom: 40px;
  }
  .title-line {
    width: 56px;
    height: 4px;
    background: var(--yellow-deep);
    border-radius: 4px;
    margin: 16px auto 0;
  }

  /* 轮播图 */
  .carousel-wrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
  }
  .carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 560px;
  }
  .carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .carousel-slide.active { opacity: 1; }
  .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
  .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
    background: #fff;
  }
  .carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #e3d6a0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dots button.active {
    background: var(--red-btn);
    transform: scale(1.3);
  }

  /* 漫展栏目 */
  .gallery-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 15px;
    color: var(--text-sub);
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    cursor: pointer;
    border: 3px solid #fff;
  }
  .gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s;
  }
  .gallery-card:hover img { transform: scale(1.06); }
  .gallery-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .gallery-card .play-btn::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
  }
  .gallery-card .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }

  /* 弹窗 */
  .modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
  }
  .modal-mask.show { display: flex; }
  .modal-box {
    background: #fff;
    border-radius: 18px;
    padding: 32px 26px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
  .modal-box h3 {
    font-size: 20px;
    color: #7a5b00;
    margin-bottom: 10px;
  }
  .modal-box p {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 22px;
  }
  .modal-box .btn-download {
    font-size: 16px;
    padding: 12px 32px;
  }
  .modal-close {
    margin-top: 14px;
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
  }

  /* 推荐区 / 图文交错 */
  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 50px;
  }
  .feature-row.reverse .feature-img { order: 2; }
  .feature-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid #fff;
  }
  .feature-text h3 {
    font-size: 22px;
    color: #7a5b00;
    margin-bottom: 12px;
  }
  .feature-text p {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 10px;
  }
  .feature-badge {
    display: inline-block;
    background: var(--yellow-soft);
    color: #8a6b00;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
  }

  /* 安装步骤 */
  .install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
  }
  .step-num {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: var(--yellow-deep);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 14px;
  }
  .step-card h3 {
    font-size: 17px;
    color: #7a5b00;
    margin-bottom: 8px;
  }
  .step-card p {
    font-size: 14px;
    color: var(--text-sub);
  }

  /* 产品信息 / 截图墙 */
  .info-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
  }
  .info-block p {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 14px;
  }
  .info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  .info-tags span {
    background: var(--yellow-soft);
    color: #7a5b00;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
  }

  .screenshot-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
  }
  .screenshot-wall img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(160,130,20,0.12);
  }

  /* 网友热议 */
  .comment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .comment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
  }
  .comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yellow-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
  }
  .comment-name { font-size: 14px; font-weight: 700; color: #7a5b00; }
  .comment-stars { font-size: 12px; color: #f0a500; letter-spacing: 2px; }
  .comment-card p { font-size: 14px; color: var(--text-sub); }

  /* 页脚 */
  .site-footer {
    background: #faf3d4;
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
  }
  .site-footer p {
    font-size: 12px;
    color: #a08a4a;
    margin-bottom: 6px;
  }
  .site-footer a {
    font-size: 12px;
    color: #a08a4a;
  }
  .site-footer a:hover { text-decoration: underline; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { order: -1; }
    .hero-visual img { width: 44%; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .install-steps { grid-template-columns: repeat(2, 1fr); }
    .comment-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-wall { grid-template-columns: repeat(3, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 20px; }
    .feature-row.reverse .feature-img { order: 0; }
  }

  @media (max-width: 768px) {
    .main-nav ul { display: none; flex-direction: column; width: 100%; gap: 2px; }
    .main-nav.open ul { display: flex; }
    .menu-toggle { display: block; }
    .header-inner { padding: 10px 16px; }
    .hero-text h1 { font-size: 26px; }
    .hero { padding: 34px 16px 44px; }
    .hero-visual img:nth-child(2) { transform: translateY(16px); }
    .section { padding: 44px 16px; }
    .section-title { font-size: 22px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card img { height: 340px; }
    .install-steps { grid-template-columns: 1fr; }
    .comment-grid { grid-template-columns: 1fr; }
    .screenshot-wall { grid-template-columns: repeat(2, 1fr); }
    .screenshot-wall img { height: 160px; }
    .feature-img img { height: 240px; }
    .carousel-wrap { max-width: 100%; }
    .carousel-slides { max-height: 460px; }
    .info-block { padding: 24px 18px; }
    .btn-download { font-size: 16px; padding: 13px 34px; }
  }