:root {
    --bg-deep: #0d1a12;
    --bg-panel: #13251a;
    --bg-card: #193222;
    --green-light: #a8e6b8;
    --green-mid: #4caf50;
    --green-dark: #2e7d32;
    --red-accent: #e53935;
    --red-deep: #b71c1c;
    --yellow-btn: #ffd600;
    --yellow-hover: #ffea00;
    --text-main: #e8f5e9;
    --text-sub: #a5c9ad;
    --text-dim: #7ba385;
  }

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

  html { scroll-behavior: smooth; }

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

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

  /* 导航条 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 26, 18, 0.95);
    border-bottom: 1px solid rgba(168, 230, 184, 0.12);
    backdrop-filter: blur(6px);
  }

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

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green-light);
    letter-spacing: 1px;
  }

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

  .menu-toggle {
    display: none;
    background: var(--green-dark);
    color: var(--text-main);
    border: 1px solid var(--green-mid);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .menu-toggle:hover { background: var(--green-mid); }

  .nav-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.95rem;
    color: var(--text-sub);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }

  .nav-links a:hover {
    color: var(--green-light);
    border-color: var(--red-accent);
  }

  /* 首屏 Hero */
  .hero {
    position: relative;
    background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.18), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(229, 57, 53, 0.10), transparent 50%),
                var(--bg-deep);
    padding: 70px 20px 60px;
    text-align: center;
    overflow: hidden;
  }

  /* 水果下落装饰 */
  .fruit-fall {
    position: absolute;
    top: -40px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-mid);
    opacity: 0.35;
    pointer-events: none;
    animation: fall linear infinite;
  }

  .fruit-fall.f1 { left: 8%; animation-duration: 8s; animation-delay: 0s; background: #e53935; }
  .fruit-fall.f2 { left: 22%; animation-duration: 11s; animation-delay: 2s; }
  .fruit-fall.f3 { left: 45%; animation-duration: 9s; animation-delay: 4s; background: #ffd600; }
  .fruit-fall.f4 { left: 68%; animation-duration: 13s; animation-delay: 1s; background: #e53935; }
  .fruit-fall.f5 { left: 85%; animation-duration: 10s; animation-delay: 3s; }
  .fruit-fall.f6 { left: 55%; animation-duration: 12s; animation-delay: 5s; background: #ff8a65; }

  @keyframes fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.35; }
    100% { transform: translateY(900px) rotate(360deg); opacity: 0.1; }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.3;
    color: var(--green-light);
    margin-bottom: 18px;
    font-weight: 800;
  }

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

  .hero-desc {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-download {
    display: inline-block;
    background: var(--yellow-btn);
    color: #1a1a1a;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 15px 44px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 214, 0, 0.35);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }

  .btn-download:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(255, 214, 0, 0.5);
  }

  .update-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
  }

  /* 跑马灯横幅 */
  .marquee-bar {
    background: linear-gradient(90deg, var(--red-deep), var(--red-accent), var(--red-deep));
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .marquee-track {
    display: inline-block;
    animation: marquee 26s linear infinite;
  }

  .marquee-track span {
    display: inline-block;
    padding: 0 40px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
  }

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

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

  .section-head {
    text-align: center;
    margin-bottom: 44px;
  }

  .section-head h2 {
    font-size: 1.9rem;
    color: var(--green-light);
    margin-bottom: 10px;
    font-weight: 700;
  }

  .section-head p {
    color: var(--text-sub);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
  }

  /* 轮播图 */
  .carousel-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
  }

  .carousel-stage {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-card {
    position: absolute;
    width: 300px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(168, 230, 184, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0s;
    cursor: pointer;
    transform-origin: center center;
  }

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

  .carousel-card .card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
  }

  .carousel-card .card-play::after {
    content: "";
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.75);
    position: relative;
  }

  .carousel-card .card-play::before {
    content: "";
    position: absolute;
    z-index: 3;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }

  .carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .carousel-nav button {
    background: var(--bg-card);
    color: var(--green-light);
    border: 1px solid var(--green-dark);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }

  .carousel-nav button:hover {
    background: var(--green-dark);
    border-color: var(--green-light);
  }

  /* 水果漫剧 */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .drama-card {
    background: var(--bg-panel);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(168, 230, 184, 0.1);
    transition: transform 0.25s, border-color 0.25s;
  }

  .drama-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-mid);
  }

  .drama-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
  }

  .drama-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
  }

  .drama-card:hover .drama-media img { transform: scale(1.04); }

  .play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
  }

  .drama-media:hover .play-badge { background: rgba(0, 0, 0, 0.25); }

  .play-badge::after {
    content: "";
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
  }

  .play-badge::before {
    content: "";
    position: absolute;
    z-index: 3;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }

  .drama-caption {
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
  }

  /* 水果特色 */
  .feature-block {
    background: var(--bg-panel);
    border-radius: 18px;
    padding: 44px 40px;
    border-left: 5px solid var(--red-accent);
  }

  .feature-block h2 {
    font-size: 1.8rem;
    color: var(--green-light);
    margin-bottom: 18px;
  }

  .feature-block p {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.9;
  }

  /* 排行榜 */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 12px 18px;
    border: 1px solid rgba(168, 230, 184, 0.08);
    transition: border-color 0.2s;
  }

  .rank-item:hover { border-color: var(--green-mid); }

  .rank-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red-accent);
    width: 36px;
    text-align: center;
    flex-shrink: 0;
  }

  .rank-item:nth-child(1) .rank-num { color: #ffd600; }
  .rank-item:nth-child(2) .rank-num { color: #cfd8dc; }
  .rank-item:nth-child(3) .rank-num { color: #ff8a65; }

  .rank-thumb {
    width: 68px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
  }

  .rank-info { flex: 1; min-width: 0; }

  .rank-info h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
    font-weight: 600;
  }

  .rank-meta {
    font-size: 0.85rem;
    color: var(--text-dim);
  }

  .rank-meta span { color: var(--red-accent); }

  /* 界面演示 */
  .ui-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .ui-gallery figure {
    background: var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(168, 230, 184, 0.1);
  }

  .ui-gallery .ui-img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
  }

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

  .ui-gallery figcaption {
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-sub);
  }

  /* 弹幕区 */
  .danmaku-stage {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--green-dark);
    background: #000;
  }

  .danmaku-stage img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
  }

  .danmaku-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .danmu {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    animation: danmu-move linear infinite;
  }

  .danmu.d1 { top: 12%; animation-duration: 9s; animation-delay: 0s; color: #ffd600; }
  .danmu.d2 { top: 26%; animation-duration: 11s; animation-delay: 2s; }
  .danmu.d3 { top: 42%; animation-duration: 10s; animation-delay: 4s; color: #a8e6b8; }
  .danmu.d4 { top: 56%; animation-duration: 12s; animation-delay: 1s; }
  .danmu.d5 { top: 70%; animation-duration: 9s; animation-delay: 5s; color: #ff8a65; }
  .danmu.d6 { top: 82%; animation-duration: 13s; animation-delay: 3s; color: #ffd600; }

  @keyframes danmu-move {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-120%); }
  }

  /* 历程 */
  .timeline {
    max-width: 760px;
    margin: 0 auto;
    border-left: 3px solid var(--green-dark);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .timeline-item h3 {
    color: var(--green-light);
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .timeline-item p {
    color: var(--text-sub);
    font-size: 0.98rem;
  }

  /* 常见问题 */
  .faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .faq-list details {
    background: var(--bg-panel);
    border-radius: 12px;
    border: 1px solid rgba(168, 230, 184, 0.1);
    overflow: hidden;
  }

  .faq-list summary {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-list summary::-webkit-details-marker { display: none; }

  .faq-list summary::after {
    content: "+";
    color: var(--red-accent);
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
  }

  .faq-list details[open] summary::after { transform: rotate(45deg); }

  .faq-list details p {
    padding: 0 20px 18px;
    color: var(--text-sub);
    font-size: 0.95rem;
  }

  /* 网友热议 */
  .comments-wrap {
    max-width: 820px;
    margin: 0 auto;
  }

  .comment-post {
    background: var(--bg-panel);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 28px;
    border: 1px solid rgba(168, 230, 184, 0.1);
  }

  .comment-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .comment-post textarea {
    width: 100%;
    min-height: 90px;
    background: var(--bg-deep);
    border: 1px solid var(--green-dark);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
  }

  .comment-post textarea:focus {
    outline: none;
    border-color: var(--green-mid);
  }

  .comment-post button {
    align-self: flex-end;
    background: var(--green-dark);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .comment-post button:hover { background: var(--green-mid); }

  .comment-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(168, 230, 184, 0.08);
  }

  .comment-item:last-child { border-bottom: none; }

  .comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-card);
  }

  .comment-body strong {
    color: var(--green-light);
    font-size: 0.95rem;
  }

  .comment-body p {
    color: var(--text-sub);
    font-size: 0.93rem;
    margin-top: 4px;
  }

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

  .modal-overlay.active { display: flex; }

  .modal-box {
    background: var(--bg-panel);
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--green-dark);
  }

  .modal-box h3 {
    color: var(--green-light);
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

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

  .modal-box .btn-download {
    font-size: 1rem;
    padding: 12px 34px;
  }

  .modal-close {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
  }

  /* 页脚 */
  .site-footer {
    background: #08110b;
    padding: 36px 20px 28px;
    text-align: center;
    border-top: 1px solid rgba(168, 230, 184, 0.08);
    font-size: 0.8rem;
    color: var(--text-dim);
  }

  .site-footer p { margin-bottom: 8px; }
  .site-footer a { color: var(--text-dim); }
  .site-footer a:hover { color: var(--green-light); }

  .about-details {
    margin: 18px auto 0;
    max-width: 520px;
    text-align: left;
  }

  .about-details summary {
    cursor: pointer;
    color: var(--text-dim);
    font-size: 0.8rem;
    list-style: none;
    display: inline-block;
    padding: 2px 0;
  }

  .about-details summary::-webkit-details-marker { display: none; }
  .about-details summary:focus { outline: 1px solid var(--green-mid); outline-offset: 2px; }

  .about-content {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .about-content a {
    font-size: 0.78rem;
    color: var(--text-dim);
  }

  .about-content a:hover { color: var(--green-light); }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .ui-gallery { grid-template-columns: repeat(2, 1fr); }
    .carousel-stage { height: 400px; }
    .carousel-card { width: 260px; height: 360px; }
  }

  @media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-panel);
      flex-direction: column;
      gap: 0;
      padding: 10px 20px;
      border-bottom: 1px solid var(--green-dark);
      z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(168, 230, 184, 0.06); }
    .nav-links a:last-child { border-bottom: none; }

    .hero { padding: 50px 16px 44px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-desc { font-size: 0.95rem; }
    .btn-download { font-size: 1rem; padding: 13px 34px; }

    .section { padding: 48px 16px; }
    .section-head h2 { font-size: 1.5rem; }

    .carousel-stage { height: 340px; }
    .carousel-card { width: 200px; height: 300px; }

    .grid-3 { grid-template-columns: 1fr; }
    .ui-gallery { grid-template-columns: 1fr; }

    .feature-block { padding: 28px 20px; }
    .feature-block h2 { font-size: 1.4rem; }

    .rank-item { gap: 12px; padding: 10px 12px; }
    .rank-thumb { width: 54px; height: 72px; }
    .rank-num { font-size: 1.2rem; width: 26px; }
  }

  @media (max-width: 480px) {
    .carousel-card { width: 170px; height: 260px; }
    .carousel-stage { height: 300px; }
  }