:root {
    --bg-color: #fcfcfc;
    --white: #ffffff;
    --primary-yellow: #ffcc00;
    --primary-yellow-hover: #e6b800;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #eeeeee;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --radius: 12px;
  }

  * {
    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-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }

  /* 小猫下落动效 */
  .cat-falling {
    position: fixed;
    top: -50px;
    font-size: 24px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: fall linear infinite;
  }
  @keyframes fall {
    0% { transform: translateY(-50px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
  }

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

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

  /* 导航条 */
  header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
  }
  .logo-area img {
    height: 32px;
    width: auto;
  }

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

  .nav-links a {
    position: relative;
    padding: 8px 16px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 20px;
    border: 1px solid transparent;
  }

  .nav-links a:hover {
    background-color: rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.3);
    color: #000;
  }

  /* 气泡元素 */
  .nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,204,0,0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
  }

  .nav-links a:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
  }

  .menu-toggle {
    display: none;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
  }

  /* 主体容器 */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
  }

  /* 首屏区域 */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
  }

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

  .download-btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #111;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
  }

  .download-btn:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
  }

  .update-time {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
  }

  .hero-carousel {
    flex: 1;
    position: relative;
    max-width: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f0f0f0;
    aspect-ratio: 3/4;
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .carousel-slide.active {
    opacity: 1;
  }

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

  /* 滚动横幅 */
  .marquee-bar {
    background-color: #111;
    color: var(--primary-yellow);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0 40px;
    border-radius: var(--radius);
  }

  .marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 14px;
    letter-spacing: 1px;
  }

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

  /* 图片通用样式 */
  .img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    background-color: #f9f9f9;
  }

  .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .img-wrapper:hover img {
    transform: scale(1.05);
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 204, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 2;
  }

  .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }

  .img-wrapper:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 204, 0, 0.9);
  }

  /* 通用区块标题 */
  .section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background-color: var(--primary-yellow);
    border-radius: 2px;
  }

  /* 网格布局 */
  .grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
  }

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

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

  .card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #111;
  }

  .card-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    flex: 1;
  }

  .stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: auto;
  }

  /* 优势区块 */
  .advantage-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 40px auto;
    border-left: 6px solid var(--primary-yellow);
  }

  .advantage-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
  }

  /* 弹幕互动区块 */
  .danmaku-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
  }

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

  .danmaku-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .danmaku-item {
    position: absolute;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    white-space: nowrap;
    animation: danmaku-move linear forwards;
  }

  @keyframes danmaku-move {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
  }

  /* 历史区块 */
  .history-section {
    padding: 40px 0;
  }

  .history-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  /* 常见问题 */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
  }

  .faq-q {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }

  .faq-q::after {
    content: '+';
    font-size: 20px;
    color: #999;
    transition: transform 0.3s ease;
  }

  .faq-item.active .faq-q::after {
    transform: rotate(45deg);
  }

  .faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--text-light);
  }

  .faq-item.active .faq-a {
    padding: 0 20px 20px;
    max-height: 200px;
  }

  /* 网友热议 */
  .comments-section {
    padding: 40px 0;
  }

  .comment-input-box {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
  }

  .comment-input-box textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    margin-bottom: 10px;
    outline: none;
  }

  .comment-input-box textarea:focus {
    border-color: var(--primary-yellow);
  }

  .submit-btn {
    background: var(--primary-yellow);
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
  }

  .submit-btn:hover {
    background: var(--primary-yellow-hover);
  }

  .comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .comment-item {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #eee;
    padding: 4px;
  }

  .comment-content {
    flex: 1;
  }

  .comment-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
  }

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

  /* 弹窗 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .modal-overlay.show {
    display: flex;
    opacity: 1;
  }

  .modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .modal-content h3 {
    margin-bottom: 15px;
    color: #111;
  }

  .modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
  }

  .modal-content .download-btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  /* 页脚 */
  footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 60px;
  }

  footer p {
    margin-bottom: 8px;
  }

  footer a {
    color: #999;
  }
  footer a:hover {
    text-decoration: underline;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 40px 0;
    }
    .hero-text h1 {
      font-size: 32px;
    }
    .hero-text p {
      margin: 0 auto 30px;
    }
    .hero-carousel {
      width: 100%;
      max-width: 400px;
    }
    .grid-6 {
      grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--white);
      padding: 20px;
      box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .nav-links.active {
      display: flex;
    }
    .menu-toggle {
      display: block;
    }
  }

  @media (max-width: 768px) {
    .grid-6 {
      grid-template-columns: 1fr;
    }
    .grid-3 {
      grid-template-columns: 1fr;
    }
    .hero-text h1 {
      font-size: 28px;
    }
    .advantage-section {
      padding: 20px;
    }
  }