:root {
    --pink: #ffb7c5;
    --blue: #87ceeb;
    --yellow: #fffacd;
    --purple: #dda0dd;
    --dark: #2d2d2d;
    --text: #333;
    --white: #fff;
    --shadow: 4px 4px 0 rgba(0,0,0,0.15);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    color: var(--text);
    background: #fdf6f0;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* Header */
  header {
    background: var(--white);
    border-bottom: 3px solid var(--dark);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
  }
  .brand img { height: 36px; width: auto; }
  nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    flex-wrap: wrap;
  }
  nav a {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
  }
  nav a:hover { background: var(--pink); }

  /* Hero */
  .hero {
    background: var(--blue);
    position: relative;
    padding: 60px 0 70px;
    overflow: hidden;
  }
  .hero::before {
    content: \"\";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    pointer-events: none;
  }
  .hero::after {
    content: \"\";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.4;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-text { flex: 1 1 400px; text-align: center; }
  .hero-text h1 {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .hero-text p {
    font-size: 17px;
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .badge {
    background: var(--white);
    border: 2px solid var(--dark);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow);
  }
  .download-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .btn {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--dark);
    transition: transform 0.2s;
  }
  .btn:hover { transform: translateY(-3px); }
  .btn-alt { background: var(--pink); color: var(--dark); }
  .hero-visual {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .phone-frame {
    background: var(--dark);
    border-radius: 20px;
    padding: 6px;
    width: 150px;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
  }
  .phone-frame img { border-radius: 14px; width: 100%; height: auto; }
  .phone-frame.offset { margin-top: 40px; }

  /* Section common */
  section { padding: 60px 0; position: relative; }
  .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--dark);
  }
  .section-desc {
    text-align: center;
    font-size: 15px;
    margin-bottom: 36px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Today update - Comic Panel Wall */
  .update-section { background: var(--pink); }
  .panel-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
  }
  .panel-card {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s;
    cursor: pointer;
    box-shadow: var(--shadow);
  }
  .panel-card:hover { transform: scale(1.04) rotate(-1deg); }
  .panel-card img { width: 100%; height: 230px; object-fit: cover; }
  .panel-card .panel-info { padding: 8px 10px; }
  .panel-card .panel-info h3 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
  .panel-card .panel-info span { font-size: 12px; color: #777; }
  .noise-word {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 900;
    font-size: 13px;
    padding: 2px 8px;
    border: 2px solid var(--dark);
    border-radius: 4px;
    transform: rotate(8deg);
    opacity: 0;
    transition: opacity 0.25s;
  }
  .panel-card:hover .noise-word { opacity: 1; }

  /* Hot recommend - Scroll Timeline */
  .hot-section { background: var(--yellow); }
  .hot-section::before {
    content: \"\";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0 2px, transparent 2px 12px);
    pointer-events: none;
  }
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
  }
  .timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .timeline-item:nth-child(even) { flex-direction: row-reverse; }
  .timeline-img {
    flex: 0 0 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--dark);
    box-shadow: var(--shadow);
  }
  .timeline-img img { width: 100%; height: 280px; object-fit: cover; }
  .timeline-content {
    flex: 1;
    background: var(--white);
    border-radius: 14px;
    border: 2px solid var(--dark);
    padding: 20px;
    position: relative;
  }
  .timeline-content::before {
    content: \"\";
    position: absolute;
    top: 30px;
    left: -12px;
    border: 12px solid transparent;
    border-right-color: var(--dark);
  }
  .timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -12px;
    border-right-color: transparent;
    border-left-color: var(--dark);
  }
  .timeline-content h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
  .timeline-content .meta { font-size: 13px; color: #666; margin-bottom: 10px; }
  .timeline-content p { font-size: 14px; color: #444; margin-bottom: 12px; }
  .tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .tag {
    background: var(--pink);
    border: 1.5px solid var(--dark);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
  }

  /* Offline & sync - Cloud Belt */
  .sync-section { background: var(--purple); }
  .cloud-belt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .device-card {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    width: 200px;
    box-shadow: var(--shadow);
  }
  .device-card .icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    border: 2px solid var(--dark);
  }
  .device-card h3 { font-size: 16px; margin-bottom: 6px; }
  .device-card p { font-size: 13px; color: #555; }
  .dashed-line {
    flex: 1 1 80px;
    border-top: 4px dashed var(--dark);
    min-width: 60px;
    position: relative;
  }
  .speech-bubble {
    background: var(--white);
    border: 2px solid var(--dark);
    border-radius: 16px;
    padding: 10px 18px;
    font-size: 14px;
    position: relative;
    display: inline-block;
    box-shadow: var(--shadow);
  }
  .sync-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }
  .sync-feature {
    background: var(--white);
    border: 2px solid var(--dark);
    border-radius: 12px;
    padding: 16px;
  }
  .sync-feature h3 { font-size: 16px; margin-bottom: 6px; }
  .sync-feature p { font-size: 13.5px; color: #555; }

  /* Danmu - Chat bubble matrix */
  .danmu-section { background: #c8f0e0; }
  .chat-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  .chat-bubble {
    background: var(--white);
    border: 2.5px solid var(--dark);
    border-radius: 18px 18px 18px 4px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.12);
    transition: transform 0.2s;
  }
  .chat-bubble:nth-child(3n) { border-radius: 18px 18px 4px 18px; }
  .chat-bubble:hover { transform: translateY(-3px); }
  .chat-bubble img.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    object-fit: cover;
    flex-shrink: 0;
  }
  .chat-bubble .msg p { font-size: 13.5px; line-height: 1.5; }
  .chat-bubble .msg .who { font-size: 11px; color: #888; margin-top: 4px; }

  /* FAQ Accordion */
  .faq-section { background: var(--white); }
  .faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .faq-item {
    border: 2px solid var(--dark);
    border-radius: 12px;
    overflow: hidden;
    background: #fffdf5;
    box-shadow: var(--shadow);
  }
  .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    color: var(--dark);
  }
  .faq-question .plus {
    font-size: 20px;
    font-weight: 900;
    transition: transform 0.25s;
  }
  .faq-item.open .plus { transform: rotate(45deg); }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
  }
  .faq-item.open .faq-answer { max-height: 240px; padding-bottom: 16px; }
  .faq-answer p { font-size: 14px; color: #555; }

  /* Install steps */
  .install-section { background: var(--pink); }
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
  }
  .step-card {
    background: var(--white);
    border: 2px solid var(--dark);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .step-card .num {
    display: inline-block;
    background: var(--blue);
    border: 2px solid var(--dark);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 28px;
    font-weight: 900;
    margin-bottom: 10px;
  }
  .step-card h3 { font-size: 16px; margin-bottom: 6px; }
  .step-card p { font-size: 13.5px; color: #555; }
  .final-download {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .gamepad-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    border: 3px solid var(--dark);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }
  .gamepad-btn:hover { transform: translateY(-4px); }
  .gamepad-btn.alt { background: var(--white); color: var(--dark); }

  /* Footer */
  footer {
    background: var(--dark);
    color: #ddd;
    padding: 40px 0 30px;
    text-align: center;
    position: relative;
  }
  .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
  }
  .footer-brand img { height: 32px; }
  .footer-desc { font-size: 13.5px; max-width: 600px; margin: 0 auto 16px; color: #bbb; }
  .footer-end {
    display: inline-block;
    border: 2px dashed var(--pink);
    color: var(--pink);
    padding: 6px 24px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .footer-meta { font-size: 12px; color: #999; }

  /* Modal */
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal.show { display: flex; }
  .modal-box {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 24px;
    text-align: center;
  }
  .modal-box p { font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
  .modal-box .link-box {
    background: #f0f0f0;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    word-break: break-all;
    margin-bottom: 16px;
  }
  .modal-box .copy-btn {
    background: var(--blue);
    border: 2px solid var(--dark);
    border-radius: 24px;
    padding: 10px 30px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
  }
  .modal-box .close-btn {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-text h1 { font-size: 30px; }
    .timeline-img { flex: 0 0 160px; }
    .timeline-img img { height: 240px; }
  }
  @media (max-width: 768px) {
    .nav-wrap { justify-content: center; }
    nav ul { gap: 10px; justify-content: center; }
    nav a { font-size: 13px; }
    .hero { padding: 40px 0 50px; }
    .hero-text h1 { font-size: 25px; }
    .hero-text p { font-size: 15px; }
    .section-title { font-size: 23px; }
    .timeline-item,
    .timeline-item:nth-child(even) { flex-direction: column; }
    .timeline-img { flex: 0 0 auto; width: 100%; max-width: 260px; }
    .timeline-img img { height: 300px; }
    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before { display: none; }
    .cloud-belt { flex-direction: column; }
    .dashed-line { width: 4px; flex: 0 0 50px; border-top: none; border-left: 4px dashed var(--dark); min-width: 0; }
    .panel-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .panel-card img { height: 200px; }
    .chat-matrix { grid-template-columns: 1fr; }
    .device-card { width: 100%; max-width: 260px; }
    .final-download { flex-direction: column; align-items: center; }
  }