:root {
  --ink: #1c1b22;
  --paper: #fff6f2;
  --pink: #ff4d85;
  --purple: #7b4dff;
  --mint: #16b8a6;
  --yellow: #ffcb3d;
  --soft: #ffe7ee;
  --line: #1c1b22;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fffdfb;
  border-bottom: 3px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.brand img { height: 36px; width: 36px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.nav-toggle {
  display: none; margin-left: auto;
  background: var(--yellow); border: 2px solid var(--line);
  border-radius: 10px; padding: 6px 12px; font-weight: 700; cursor: pointer;
  font-size: 14px;
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  display: block; padding: 6px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: background .2s, color .2s, transform .2s;
}
.main-nav a:hover, .main-nav a:focus { background: var(--pink); color: #fff; transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, #ffe4ec 0%, #fff3d6 45%, #e6f7ff 100%);
  border-bottom: 3px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 40px 20px 0;
}
.hero-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero-copy h1 {
  font-size: 38px; line-height: 1.35; letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero-copy h1 mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  color: inherit; padding: 0 4px;
}
.hero-copy p { font-size: 16px; margin-bottom: 10px; max-width: 34em; }
.tagline { display: inline-block; background: var(--ink); color: #fff; padding: 3px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; }

.device-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2.5px solid var(--line); border-radius: 14px;
  padding: 9px 18px; font-weight: 800; font-size: 14px;
  background: #fff; box-shadow: 4px 4px 0 var(--line);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-android { background: var(--mint); color: #fff; }
.btn-ios { background: var(--purple); color: #fff; }
.btn-harmony { background: var(--yellow); color: var(--ink); }

.hero-visual { position: relative; }
.hero-slides { position: relative; border: 3px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--line); }
.hero-slides img { width: 100%; height: 300px; object-fit: cover; }
.slide-caption {
  position: absolute; left: 0; bottom: 0; width: 100%;
  background: rgba(28,27,34,.78); color: #fff; padding: 8px 14px; font-size: 13px;
}
.hero-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.hero-thumbs img { width: 33%; height: 64px; object-fit: cover; border: 2px solid var(--line); border-radius: 10px; }

.marquee-wrap {
  margin-top: 34px; border-top: 3px solid var(--line);
  background: var(--ink); overflow: hidden; padding: 10px 0;
}
.marquee { display: flex; width: max-content; animation: scrollx 28s linear infinite; }
.marquee span {
  padding: 0 26px; font-weight: 800; font-size: 15px; white-space: nowrap;
  background: linear-gradient(90deg, #ff4d85, #ffcb3d, #35e0c3, #7b4dff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section base ---------- */
section { padding: 52px 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: 28px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; display: inline-block; width: 12px; height: 28px; border-radius: 4px; background: var(--pink); border: 2px solid var(--line); }
.sec-head p { margin-top: 8px; color: #4b4a55; font-size: 15px; max-width: 46em; }

/* ---------- ranking timeline ---------- */
.bg-rank { background: #fff1f5; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.timeline { position: relative; margin-left: 8px; padding-left: 26px; border-left: 3px dashed var(--pink); }
.timeline-item { position: relative; margin-bottom: 20px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.timeline-item::before { content: ""; position: absolute; left: -38px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--line); }
.time-tag { display: inline-block; background: var(--purple); color: #fff; font-weight: 800; font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }
.timeline-item strong { font-size: 15px; }
.timeline-item p { font-size: 13.5px; color: #55535f; }

/* ---------- comic sections ---------- */
.bg-cn { background: #fff8e4; }
.bg-jp { background: #eefaf7; }
.bg-kr { background: #f0ecff; }

.split { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.split.reverse { grid-template-columns: 1fr 320px; }
.poster { border: 3px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 7px 7px 0 var(--line); background:#fff; }
.poster img { width: 100%; height: 420px; object-fit: cover; }
.poster-note { padding: 10px 12px; font-size: 12.5px; color: #4b4a55; border-top: 2px dashed var(--line); }
.list-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  background: #fff; border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; transition: transform .18s;
}
.card:hover { transform: translateY(-3px); }
.card h4 { font-size: 15px; margin-bottom: 4px; }
.card p { font-size: 13px; color: #595763; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags span { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.date-note { font-size: 12px; color: #777581; margin-top: 8px; }

/* ---------- faq ---------- */
.bg-faq { background: #fffbee; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.faq-item h3 { font-size: 15px; display: flex; gap: 8px; }
.faq-item h3 b { color: var(--pink); }
.faq-item p { font-size: 13.5px; color: #55535f; margin-top: 6px; }

/* ---------- reviews ---------- */
.bg-rev { background: #eef3ff; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rev-card { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px; }
.rev-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rev-head img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); object-fit: cover; }
.rev-head strong { font-size: 14px; }
.rev-head small { display: block; color: #8a8894; font-size: 11.5px; }
.rev-card p { font-size: 13.5px; color: #4b4a55; }

/* ---------- download ---------- */
.bg-dl { background: linear-gradient(135deg, #ffe4ec, #e8f7ff 60%, #fff3d6); border-top: 3px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.step { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 4px 4px 0 var(--line); }
.step b { display: inline-block; width: 28px; height: 28px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); margin-bottom: 8px; }
.step p { font-size: 13.5px; }
.dl-panel { background: var(--ink); color: #fff; border-radius: 18px; padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.dl-panel h2 { font-size: 24px; color: #fff; }
.dl-panel p { font-size: 14px; color: #d8d6e0; margin-top: 6px; }
.dl-panel .device-btns { margin-top: 0; }
.dl-panel .btn { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #1c1b22; color: #b7b4c2; padding: 34px 20px 90px; font-size: 13px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.site-footer a:hover { color: var(--yellow); }
.footer-links li { margin-bottom: 4px; }
.footer-bottom { max-width: 1180px; margin: 22px auto 0; border-top: 1px solid #35333f; padding-top: 14px; font-size: 12px; color: #8a8797; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-bottom a { color: #8a8797; }

/* ---------- floating ---------- */
.float-dl {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 80; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2.5px solid var(--line); border-radius: 999px;
  padding: 6px 8px 6px 6px; box-shadow: 0 6px 0 rgba(28,27,34,.85);
  max-width: calc(100% - 24px);
}
.float-dl img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.float-dl .fl-text { font-size: 12px; line-height: 1.35; }
.float-dl .fl-text strong { display: block; font-size: 13px; }
.float-dl .btn { padding: 6px 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--line); }

/* ---------- copy modal ---------- */
.copy-mask {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(28,27,34,.55); align-items: center; justify-content: center; padding: 20px;
}
.copy-mask.on { display: flex; }
.copy-box { background: #fff; border: 3px solid var(--line); border-radius: 16px; padding: 20px; max-width: 320px; width: 100%; box-shadow: 8px 8px 0 var(--line); }
.copy-box p { font-size: 14px; margin-bottom: 10px; }
.copy-box input { width: 100%; border: 2px solid var(--line); border-radius: 10px; padding: 8px; font-size: 13px; margin-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 32px; }
  .split, .split.reverse { grid-template-columns: 280px 1fr; }
  .poster img { height: 360px; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 10px 14px; gap: 10px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; margin-left: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { border-radius: 10px; }
  .hero-inner { padding: 26px 14px 0; }
  .hero-top { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy h1 { font-size: 26px; }
  .hero-copy p { font-size: 14.5px; }
  .hero-slides img { height: 210px; }
  .device-btns { gap: 8px; }
  .btn { padding: 8px 14px; font-size: 13px; flex: 1 1 auto; justify-content: center; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .poster img { height: 300px; }
  .list-cards, .faq-grid, .rev-grid, .steps { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 22px; }
  .dl-panel { grid-template-columns: 1fr; padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .float-dl { left: 10px; right: 10px; transform: none; max-width: none; }
  section { padding: 40px 0; }
  .marquee span { font-size: 13px; padding: 0 16px; }
}