:root {
    --bg: #fffdf0;
    --bg-soft: #fff8d6;
    --bg-card: #fffef8;
    --text: #2b2b2b;
    --text-soft: #666;
    --red: #e62e2e;
    --red-dark: #c01f1f;
    --yellow: #ffe680;
    --border: #f0e6b8;
    --radius: 14px;
    --shadow: 0 4px 16px rgba(180, 160, 60, 0.12);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  /* 滚动横幅 */
  .notice-bar {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }
  .notice-track {
    display: inline-block;
    padding-left: 100%;
    animation: scrollLeft 26s linear infinite;
  }
  .notice-track span { margin: 0 34px; }
  @keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  /* 导航 */
  .site-header {
    background: rgba(255, 253, 240, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .nav-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.5px;
    color: #3a2f00;
    flex-shrink: 0;
  }
  .brand img {
    height: 32px;
    width: auto;
    border-radius: 8px;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
  }
  .nav-links a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 999px;
    color: #4a3f10;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links a:hover {
    background: var(--yellow);
    color: #2b2200;
  }

  /* 首屏 */
  .hero {
    background: linear-gradient(160deg, #fffbe0 0%, #fff4bd 60%, #ffeaa0 100%);
    padding: 48px 16px 56px;
  }
  .hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
  .hero-text h1 {
    font-size: 34px;
    line-height: 1.35;
    color: #2b2200;
    margin-bottom: 16px;
    font-weight: 800;
  }
  .hero-text p {
    font-size: 16px;
    color: #5a4d1c;
    margin-bottom: 24px;
    max-width: 460px;
  }
  .btn-download {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 46px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(230, 46, 46, 0.35);
    transition: transform 0.15s, background 0.2s;
  }
  .btn-download:hover { background: var(--red-dark); transform: translateY(-2px); }
  .update-time {
    margin-top: 14px;
    font-size: 13px;
    color: #8a7a33;
  }
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .hero-visual img {
    width: 46%;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(120, 100, 0, 0.22);
    border: 3px solid #fff;
  }
  .hero-visual img:first-child { transform: translateY(18px) rotate(-3deg); }
  .hero-visual img:last-child { transform: translateY(-6px) rotate(3deg); }

  /* 通用区块 */
  .section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 16px;
  }
  .section-title {
    font-size: 26px;
    font-weight: 800;
    color: #3a2f00;
    margin-bottom: 10px;
    text-align: center;
  }
  .section-sub {
    text-align: center;
    color: #8a7a33;
    font-size: 15px;
    margin-bottom: 34px;
  }

  /* 轮播 */
  .carousel {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  .carousel-item {
    flex: 0 0 100%;
    position: relative;
  }
  .carousel-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 20px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.62));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .carousel-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: #e0d38f;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dots button.active {
    background: var(--red);
    transform: scale(1.3);
  }

  /* 片库网格 */
  .grid-pool {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .pool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
  }
  .pool-card:hover { transform: translateY(-4px); }
  .pool-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
  .pool-card p {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #4a3f10;
  }

  /* 高能漫展 */
  .expo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 26px;
  }
  .expo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 1px solid var(--border);
    background: #fff;
  }
  .expo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .expo-card:hover img { transform: scale(1.04); }
  .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .play-btn::after {
    content: "";
    width: 0; height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
  }
  .expo-intro {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 22px 26px;
    font-size: 15px;
    color: #5a4d1c;
    line-height: 1.9;
  }

  /* 安装方式 */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow);
  }
  .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
  }
  .step-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #3a2f00;
  }
  .step-card p { font-size: 14px; color: var(--text-soft); }

  /* 网友热议 */
  .comment-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .comment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
  }
  .comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--yellow);
    color: #7a6700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
  }
  .comment-name { font-size: 14px; font-weight: 700; color: #3a2f00; }
  .comment-text { font-size: 14px; color: #555; }

  /* 常见问题 */
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .faq-q {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #3a2f00;
    cursor: pointer;
    font-family: inherit;
  }
  .faq-q::after {
    content: "＋";
    float: right;
    color: var(--red);
    font-weight: 700;
  }
  .faq-item.open .faq-q::after { content: "－"; }
  .faq-a {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-soft);
  }
  .faq-item.open .faq-a { display: block; }

  /* 弹窗 */
  .modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal-mask.show { display: flex; }
  .modal-box {
    background: #fffdf0;
    border-radius: 18px;
    padding: 32px 28px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  }
  .modal-box h3 {
    font-size: 19px;
    color: #2b2200;
    margin-bottom: 20px;
  }
  .btn-modal {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 999px;
  }
  .modal-close {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
  }

  /* 页脚 */
  .site-footer {
    border-top: 1px solid var(--border);
    background: #fffbe8;
    padding: 26px 16px 34px;
    text-align: center;
    font-size: 13px;
    color: #a0946a;
  }
  .site-footer p { margin-bottom: 6px; }
  .site-footer a { color: #a0946a; }
  .site-footer a:hover { color: var(--red); }

  /* 响应式 */
  @media (max-width: 1024px) {
    .grid-pool { grid-template-columns: repeat(3, 1fr); }
    .expo-grid { grid-template-columns: repeat(4, 1fr); }
    .comment-list { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; gap: 26px; }
    .hero-text h1 { font-size: 26px; }
    .hero-visual { order: -1; }
    .hero-visual img { width: 48%; }
    .nav-wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 14px; }
    .nav-links { gap: 2px; }
    .nav-links a { font-size: 13px; padding: 5px 9px; }
    .grid-pool { grid-template-columns: repeat(2, 1fr); }
    .expo-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .comment-list { grid-template-columns: 1fr; }
    .section { padding: 38px 14px; }
    .section-title { font-size: 22px; }
    .carousel { order: 0; }
  }