:root {
    --orange: #ff8a3d;
    --pink: #ff6fa5;
    --blue: #46c6ff;
    --purple: #9b6bff;
    --ink: #231b3a;
    --ink-soft: #5b5375;
    --paper: #fffaff;
    --card: #ffffff;
    --line: #f0e5f6;
    --radius: 20px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

  /* 顶部导航 */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(155, 107, 255, 0.08);
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
  .brand img { height: 34px; width: auto; border-radius: 9px; }
  .nav-links { display: flex; gap: 24px; font-size: 0.92rem; color: var(--ink-soft); }
  .nav-links a { position: relative; padding: 4px 0; transition: color 0.2s; }
  .nav-links a:hover { color: var(--pink); }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    transition: width 0.25s; border-radius: 2px;
  }
  .nav-links a:hover::after { width: 100%; }

  /* 悬浮下载按钮 */
  .float-dl {
    position: fixed;
    right: 20px; bottom: 24px;
    z-index: 70;
    padding: 13px 22px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(120deg, var(--orange), var(--pink) 55%, var(--purple));
    box-shadow: 0 10px 28px rgba(255, 111, 165, 0.45);
    animation: bob 2.4s ease-in-out infinite;
  }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }

  /* Toast */
  .toast {
    position: fixed;
    top: 80px; left: 50%;
    transform: translateX(-50%) translateY(-16px);
    z-index: 90;
    padding: 10px 22px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(120deg, var(--blue), var(--purple));
    box-shadow: 0 8px 24px rgba(70, 198, 255, 0.4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* Hero */
  .hero {
    position: relative;
    padding: 132px 0 90px;
    background:
      radial-gradient(circle at 12% 18%, rgba(255, 138, 61, 0.28), transparent 46%),
      radial-gradient(circle at 82% 12%, rgba(155, 107, 255, 0.3), transparent 50%),
      radial-gradient(circle at 60% 90%, rgba(70, 198, 255, 0.26), transparent 48%),
      linear-gradient(160deg, #fff4fb, #eef7ff 60%, #f6f0ff);
    overflow: hidden;
  }
  .hero-covers {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    opacity: 0.16;
    pointer-events: none;
    transform: rotate(-6deg) scale(1.12);
  }
  .hero-covers img { width: 180px; height: 260px; object-fit: cover; border-radius: 16px; flex: none; }
  .hero-inner { position: relative; z-index: 2; max-width: 660px; }
  .pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, var(--orange), var(--pink));
    box-shadow: 0 6px 18px rgba(255, 111, 165, 0.35);
  }
  .hero h1 {
    margin: 22px 0 16px;
    font-size: 2.6rem;
    line-height: 1.25;
    letter-spacing: 1px;
  }
  .hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--orange), var(--pink) 45%, var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p { color: var(--ink-soft); font-size: 1.02rem; max-width: 560px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn:hover { transform: translateY(-3px); }
  .btn-main {
    color: #fff;
    background: linear-gradient(120deg, var(--pink), var(--purple));
    box-shadow: 0 10px 26px rgba(155, 107, 255, 0.38);
  }
  .btn-ghost {
    color: var(--ink);
    background: #fff;
    border: 2px solid rgba(155, 107, 255, 0.3);
  }

  /* 区块通用 */
  section { padding: 74px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head .kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--pink);
    margin-bottom: 8px;
  }
  .sec-head h2 { font-size: 1.9rem; line-height: 1.3; }
  .sec-head p { color: var(--ink-soft); margin-top: 10px; max-width: 680px; }

  /* 三列网格 */
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .anime-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(155, 107, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .anime-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(255, 111, 165, 0.18); }
  .poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #ffe3ef, #e6f1ff);
  }
  .poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .anime-card:hover .poster img { transform: scale(1.07); }
  .badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(120deg, var(--orange), var(--pink));
  }
  .badge.blue { background: linear-gradient(120deg, var(--blue), var(--purple)); }
  .rank {
    position: absolute;
    top: 10px; left: 10px;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    font-style: italic;
  }
  .rank.gold { background: linear-gradient(135deg, #ffd66b, #f7a422); box-shadow: 0 6px 16px rgba(247, 164, 34, 0.45); }
  .rank.silver { background: linear-gradient(135deg, #dfe6ee, #9aa8b8); box-shadow: 0 6px 16px rgba(154, 168, 184, 0.4); }
  .rank.bronze { background: linear-gradient(135deg, #f2b586, #c87b45); box-shadow: 0 6px 16px rgba(200, 123, 69, 0.4); }
  .mini-dl {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 6px 16px rgba(155, 107, 255, 0.4);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
  }
  .anime-card:hover .mini-dl { opacity: 1; transform: translateY(0); }
  .anime-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .anime-body h3 { font-size: 1.06rem; }
  .tags { display: flex; flex-wrap: wrap; gap: 7px; }
  .tags span {
    font-size: 0.74rem;
    padding: 3px 10px;
    border-radius: 999px;
    color: var(--purple);
    background: rgba(155, 107, 255, 0.1);
  }
  .anime-desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.75; }

  /* 排行榜视觉差异 */
  .rank-section { background: linear-gradient(170deg, #fdf6ff, #f2f8ff); }

  /* 口碑 */
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .review {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(70, 198, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .review-top { display: flex; align-items: center; gap: 12px; }
  .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--orange), var(--pink));
  }
  .review-top strong { font-size: 0.95rem; }
  .stars { color: #ffb020; font-size: 0.85rem; letter-spacing: 2px; }
  .review p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .review-tag {
    align-self: flex-start;
    font-size: 0.74rem;
    padding: 3px 10px;
    border-radius: 999px;
    color: #d2517d;
    background: rgba(255, 111, 165, 0.12);
  }

  /* 下载专区 */
  .download {
    background:
      radial-gradient(circle at 85% 20%, rgba(155, 107, 255, 0.35), transparent 45%),
      radial-gradient(circle at 10% 80%, rgba(70, 198, 255, 0.28), transparent 45%),
      linear-gradient(150deg, #171129, #241a3d 55%, #1b1330);
    color: #f2eefc;
    border-radius: 40px;
    margin: 0 16px;
    padding: 74px 0;
  }
  .download .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
  .download h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 16px; }
  .download h2 span {
    background: linear-gradient(120deg, #ffb36b, #ff8ab8, #a98bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .download .lead { color: #c6bcdd; font-size: 0.96rem; margin-bottom: 24px; }
  .marquee {
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    padding: 9px 0;
    margin-bottom: 28px;
  }
  .marquee-track {
    display: flex;
    gap: 36px;
    white-space: nowrap;
    width: max-content;
    animation: slide 18s linear infinite;
    font-size: 0.86rem;
    color: #e3d9ff;
  }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 30px; }
  .feature {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .feature b { display: block; font-size: 0.92rem; margin-bottom: 4px; }
  .feature small { color: #b7aad4; font-size: 0.8rem; line-height: 1.6; display: block; }
  .dl-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
  .dl-btn {
    flex: 1 1 180px;
    text-align: center;
    padding: 15px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
  }
  .dl-android { background: linear-gradient(120deg, #34d17c, #12a86b); box-shadow: 0 10px 26px rgba(18, 168, 107, 0.35); }
  .dl-ios { background: linear-gradient(120deg, #a684ff, #7a4dff); box-shadow: 0 10px 26px rgba(122, 77, 255, 0.35); }

  /* 手机 mockup */
  .phone-stage { display: flex; justify-content: center; perspective: 1200px; }
  .phone {
    width: 260px;
    height: 520px;
    border-radius: 38px;
    padding: 12px;
    background: linear-gradient(160deg, #3a2d5c, #1d1533);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
    transform: rotateY(-14deg) rotateX(6deg);
    animation: floaty 5s ease-in-out infinite;
  }
  @keyframes floaty {
    0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); }
    50% { transform: rotateY(-14deg) rotateX(6deg) translateY(-14px); }
  }
  .phone-screen {
    width: 100%; height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff4fb, #eef4ff);
    display: flex;
    flex-direction: column;
  }
  .screen-top {
    padding: 14px 14px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--purple);
    background: linear-gradient(120deg, rgba(255, 138, 61, 0.2), rgba(155, 107, 255, 0.2));
  }
  .screen-covers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px 12px; flex: 1; overflow: hidden; }
  .screen-covers img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
  .screen-tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    font-size: 0.62rem;
    color: #8a7fa8;
    border-top: 1px solid rgba(155, 107, 255, 0.15);
  }
  .screen-tabs b { color: var(--pink); }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 14px; }
  .faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
  }
  .faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    flex: none;
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    background: linear-gradient(120deg, var(--orange), var(--pink));
  }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.9rem; }

  /* 截图墙 */
  .wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .wall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 24px rgba(155, 107, 255, 0.14); }

  /* 页脚 */
  footer {
    padding: 44px 0 32px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fffaff, #f6f1fb);
    color: #9a92ad;
    font-size: 0.8rem;
  }
  .foot-inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; }
  footer a { color: #9a92ad; }
  footer a:hover { color: var(--purple); }
  .foot-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }

  @media (max-width: 1024px) {
    .hero h1 { font-size: 2.2rem; }
    .download .wrap { grid-template-columns: 1fr; gap: 40px; }
    .phone-stage { order: -1; }
    .phone { transform: rotateY(-8deg) rotateX(4deg); animation: none; }
    .wall { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .topbar-inner { height: 58px; }
    .hero { padding: 104px 0 66px; }
    .hero h1 { font-size: 1.85rem; }
    .hero-covers { opacity: 0.1; }
    section { padding: 54px 0; }
    .sec-head h2 { font-size: 1.5rem; }
    .grid3 { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .download { margin: 0 10px; border-radius: 28px; padding: 54px 0; }
    .download h2 { font-size: 1.6rem; }
    .wall { grid-template-columns: repeat(2, 1fr); }
    .float-dl { right: 14px; bottom: 16px; padding: 11px 18px; font-size: 0.88rem; }
    .foot-inner { flex-direction: column; align-items: flex-start; }
  }