/* ============================================================
   平行岛官网 V2 —— 樱花浅色版（参考原站视觉复刻）
   全站唯一样式表：首页 + features/characters/download/faq/news/article
   （index-old.html 仍用老 style.css，属归档版本）
   ============================================================ */

:root {
  --ink: #4a3b63;          /* 正文深紫 */
  --ink-soft: #7a6a94;     /* 次级文字 */
  --purple: #8b6bc7;       /* 主题紫 */
  --purple-deep: #6d4fb3;
  --pink: #ef8fbe;         /* 主题粉 */
  --pink-deep: #e06aa6;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(255, 255, 255, 0.9);
  --shadow: 0 12px 40px rgba(167, 124, 214, 0.16);
  --grad-btn: linear-gradient(90deg, #f591c8, #a97ee8);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background:
    radial-gradient(900px 420px at 85% -60px, rgba(244, 180, 220, 0.35), transparent 70%),
    radial-gradient(800px 400px at 0% 240px, rgba(206, 178, 240, 0.28), transparent 70%),
    linear-gradient(180deg, #fdf8fb 0%, #faf4fb 40%, #f7f0fa 100%);
  overflow-x: hidden;
}

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

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(720px, 100% - 48px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(167, 124, 214, 0.12);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* 导航、hero、各板块卡片统一使用容器标准边缘，与内页（style.css）同一条对齐线 */
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--purple-deep); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.main-nav a { color: var(--ink); opacity: .82; transition: .2s; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--purple-deep); font-weight: 600; }
.nav-cta {
  background: var(--grad-btn); color: #fff !important; opacity: 1 !important;
  padding: 8px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(233, 138, 196, 0.4);
}
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--purple-deep); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  padding: 120px 0 60px;
  background:
    linear-gradient(90deg, rgba(253, 246, 250, 0.92) 0%, rgba(253, 244, 250, 0.55) 38%, rgba(253, 244, 250, 0) 62%),
    url("../assets/kv-sakura.webp") right 18% center / cover no-repeat;
}
.hero-inner { max-width: 560px; }
/* hero 文字与全站卡片外边缘对齐（容器标准边缘）
   （max-width:none 抵消 .hero-inner 的 560px，否则会被 flex 居中） */
.hero .container { max-width: none; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(233, 138, 196, 0.35);
  color: var(--pink-deep); font-size: 13.5px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(167, 124, 214, 0.14);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.22; font-weight: 800; letter-spacing: 2px;
  color: var(--purple-deep);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #e06aa6 8%, #8b6bc7 60%, #6d4fb3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { margin-top: 14px; font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); letter-spacing: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); opacity: .8; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: .22s;
  border: 0; white-space: nowrap;
}
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 10px 26px rgba(233, 138, 196, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(233, 138, 196, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.82); color: var(--purple-deep);
  border: 1.5px solid rgba(139, 107, 199, 0.35);
}
.btn-ghost:hover { border-color: var(--purple); background: #fff; }
.dl-ico { font-size: 15px; }

/* ---------- 通用板块 ---------- */
.section { padding: 72px 0; position: relative; }
.sec-tint {
  background:
    radial-gradient(700px 300px at 12% 20%, rgba(244, 180, 220, 0.18), transparent 70%),
    radial-gradient(700px 300px at 88% 80%, rgba(206, 178, 240, 0.2), transparent 70%);
}
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: 2px;
  color: var(--purple-deep);
}
.section-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, #e06aa6, #8b6bc7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }

.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- 下载卡片 ---------- */
.dl-wrap { padding: 8px 0 10px; margin-top: -30px; position: relative; z-index: 5; }
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 34px; flex-wrap: wrap;
}
.dl-info h2 { font-size: 24px; color: var(--purple-deep); font-weight: 800; }
.dl-info h2 small { font-size: 14px; color: var(--ink-soft); font-weight: 500; margin-left: 12px; }
.dl-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 14px; color: var(--ink); flex-wrap: wrap; }
.dl-meta i { width: 1px; height: 14px; background: rgba(139, 107, 199, 0.3); }
.dl-checks { display: flex; gap: 18px; margin-top: 12px; font-size: 13.5px; color: #3ba272; font-weight: 600; flex-wrap: wrap; }
.dl-tip { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); }
.dl-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-android { background: linear-gradient(90deg, #8f7ae5, #7a5fd8); color: #fff; box-shadow: 0 8px 20px rgba(138, 116, 224, 0.4); }
.btn-ios { background: linear-gradient(90deg, #f591c8, #e06aa6); color: #fff; box-shadow: 0 8px 20px rgba(233, 138, 196, 0.4); }
.btn-android:hover, .btn-ios:hover { transform: translateY(-2px); }

/* ---------- 活动横幅 ---------- */
.act-wrap { padding: 26px 0; }
.act-banner {
  position: relative; display: flex; align-items: center; gap: 20px;
  border-radius: 22px; padding: 14px 28px 14px 0; overflow: hidden;
  background: linear-gradient(92deg, #fdeaf3 0%, #f3e6fb 45%, #ece0fa 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.act-couple { height: 128px; width: auto; border-radius: 18px 0 0 18px; object-fit: cover; }
.act-text { display: flex; flex-direction: column; gap: 8px; }
.act-text b { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--purple-deep); letter-spacing: 2px; line-height: 1.15; }
.act-text b i {
  font-style: normal; margin-left: 8px;
  background: linear-gradient(92deg, #e06aa6, #f591c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.act-ribbon {
  align-self: flex-start; padding: 4px 18px; border-radius: 999px 999px 999px 4px;
  background: linear-gradient(92deg, #9d7ee0, #7a5fd8); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 14px rgba(122, 95, 216, 0.35);
}
.act-gift { height: 108px; width: auto; margin-left: auto; object-fit: contain; }
.act-slogan {
  font-size: 14px; color: var(--purple); letter-spacing: 2px; text-align: center;
  line-height: 1.9; font-weight: 600; opacity: .85;
}
.act-btn {
  padding: 10px 24px; font-size: 15px;
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 8px 18px rgba(233, 138, 196, 0.4);
}

/* ---------- 六大功能 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feat-card { padding: 10px 12px 20px; text-align: center; transition: transform .28s, box-shadow .28s; }
.feat-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 18px 44px rgba(224, 106, 166, 0.28); }
/* 竖版角色立绘：4/5 构图 + 顶部对齐保住脸 */
.feat-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 12px; transition: transform .35s; }
.feat-card:hover img { transform: scale(1.05); }
.feat-card h3 { margin-top: 14px; font-size: 17px; color: var(--purple-deep); font-weight: 800; }
.feat-card h3 small { font-size: 12px; color: var(--pink-deep); font-weight: 600; }
.feat-card p { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 心动图鉴 ---------- */
.char-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 20px; overflow-x: auto; }
.char-card { overflow: hidden; transition: transform .28s, box-shadow .28s; }
.char-card:hover { transform: translateY(-8px) rotate(.6deg); box-shadow: 0 18px 44px rgba(139, 107, 199, 0.32); }
.char-card:hover .char-portrait img { transform: scale(1.06); }
.char-portrait img { transition: transform .45s ease; }
.char-portrait { position: relative; aspect-ratio: 10 / 11; overflow: hidden; }
.char-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.char-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: var(--purple-deep);
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(109, 79, 179, 0.18);
}
.char-body { padding: 14px 16px 18px; }
.char-body h3 { font-size: 19px; color: var(--purple-deep); font-weight: 800; }
.char-body .quote { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 日常对话 ---------- */
.chat-card { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-inline: auto; }
.chat-top {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(139, 107, 199, 0.22);
}
.chat-ava-top { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; box-shadow: 0 4px 12px rgba(109, 79, 179, 0.25); }
.chat-top-info b { font-size: 16.5px; color: var(--purple-deep); }
.online { display: block; font-size: 12px; color: #3ba272; font-weight: 600; }
.online i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ba272; margin-right: 4px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.chat-fav {
  margin-left: auto; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(244, 180, 220, 0.25); color: var(--pink-deep);
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } }
.chat-line { display: flex; align-items: flex-end; gap: 8px; }
.chat-line.me { justify-content: flex-end; }
.chat-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; flex: 0 0 auto; box-shadow: 0 3px 8px rgba(109, 79, 179, 0.22); }
.bubble {
  max-width: 76%; padding: 11px 16px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.65;
}
.bubble b { color: var(--pink-deep); }
.chat-line.ai .bubble { background: #fff; border: 1px solid rgba(139, 107, 199, 0.18); border-top-left-radius: 6px; color: var(--ink); box-shadow: 0 4px 12px rgba(167, 124, 214, 0.1); }
.chat-line.me .bubble { background: var(--grad-btn); color: #fff; border-top-right-radius: 6px; box-shadow: 0 6px 16px rgba(233, 138, 196, 0.35); }
.chat-line.me .bubble b { color: #fff; }
.chat-sticker { font-size: 34px; background: none !important; box-shadow: none !important; padding: 2px 8px; }
.typing-bubble { display: inline-flex; gap: 5px; align-items: center; padding: 14px 18px; }
.typing-bubble i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); opacity: .4; animation: blink 1.2s infinite; }
.typing-bubble i:nth-child(2) { animation-delay: .2s; }
.typing-bubble i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .35; transform: translateY(0); } 45% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.chat-quick span {
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(233, 138, 196, 0.4); color: var(--pink-deep);
  transition: .2s;
}
.chat-quick span:hover { background: var(--grad-btn); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---------- 用户反馈 ---------- */
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; }
.review-card { padding: 22px 24px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head .ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(109, 79, 179, 0.2); }
.review-head b { color: var(--purple-deep); font-size: 15.5px; }
.stars { color: #f5b53f; font-size: 13px; letter-spacing: 2px; }
.review-card p { margin-top: 12px; font-size: 14px; color: var(--ink); }
.review-tag {
  display: inline-block; margin-top: 14px; padding: 4px 14px; border-radius: 999px;
  background: rgba(244, 180, 220, 0.22); color: var(--pink-deep);
  font-size: 12.5px; font-weight: 700;
}

/* ---------- 使用教程 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card { padding: 24px 22px; position: relative; }
.gnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-btn); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 14px rgba(233, 138, 196, 0.4);
}
.guide-card h3 { margin-top: 14px; font-size: 17px; color: var(--purple-deep); font-weight: 800; }
.guide-card p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 心动界面（手机壳） ---------- */
.phone-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 22px; overflow-x: auto; padding-bottom: 8px; }
.phone {
  position: relative; border-radius: 26px; padding: 8px;
  background: #fff; border: 1px solid rgba(139, 107, 199, 0.18);
  box-shadow: 0 16px 40px rgba(167, 124, 214, 0.22);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s;
}
.phone:hover { transform: translateY(-12px) rotate(-1.5deg); box-shadow: 0 26px 56px rgba(139, 107, 199, 0.35); }
.phone:nth-child(even):hover { transform: translateY(-12px) rotate(1.5deg); }
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 12px; border-radius: 999px;
  background: rgba(74, 59, 99, 0.16); z-index: 2;
}
.p-shot { width: 100%; aspect-ratio: 500 / 1084; object-fit: cover; object-position: top; border-radius: 20px; }

/* ---------- CTA ---------- */
.cta-banner {
  text-align: center; padding: 56px 30px; border-radius: 26px;
  background:
    radial-gradient(500px 200px at 20% 0%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(92deg, #f7b8d9, #c9a5ee);
  box-shadow: 0 20px 50px rgba(206, 138, 196, 0.35);
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(139, 87, 166, 0.3); }
.cta-banner p { margin: 12px 0 26px; color: rgba(255, 255, 255, 0.92); }
.cta-banner .btn { background: #fff; color: var(--pink-deep); box-shadow: 0 10px 24px rgba(120, 70, 140, 0.3); }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 30px; padding: 70px 0 30px; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 244, 251, 0) 0%, rgba(243, 230, 251, 0.55) 30%, rgba(238, 220, 250, 0.8) 100%),
    url("../assets/v2/bg-castle.webp") bottom center / cover no-repeat;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-desc { margin-top: 14px; font-size: 14px; color: var(--ink-soft); max-width: 360px; }
.footer-col h4 { font-size: 15.5px; color: var(--purple-deep); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; transition: .2s; }
.footer-col a:hover { color: var(--pink-deep); }
.footer-bottom { margin-top: 46px; text-align: center; font-size: 13px; color: var(--ink-soft); opacity: .75; }
.footer-bottom span{ margin-left:10px;}

/* ---------- 友情链接 ---------- */
.friend-links {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(139, 107, 199, 0.18);
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.friend-links .fl-label { font-size: 13.5px; font-weight: 600; color: var(--purple-deep); flex: 0 0 auto; }
.friend-links .fl-list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.friend-links .fl-list a {
  font-size: 13px; color: var(--ink-soft); transition: .2s;
}
.friend-links .fl-list a:hover { color: var(--pink-deep); }

/* ---------- 横滑工具 + 浮现动画 ---------- */
.h-scroll { scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.scroll-meta { text-align: center; margin-top: 16px; }
.scroll-hint { font-size: 12.5px; color: var(--ink-soft); opacity: .7; }
.scroll-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.scroll-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(139, 107, 199, 0.25); transition: .2s; }
.scroll-dots i.on { background: var(--purple); width: 18px; border-radius: 999px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 二次元特效 ---------- */
/* 樱花花瓣飘落 */
.petal {
  position: fixed; top: -5vh; z-index: 60; pointer-events: none;
  user-select: none; will-change: transform;
  animation: petal-fall linear forwards;
}
.petal.paused { animation-play-state: paused; }
@keyframes petal-fall {
  0%   { transform: translate3d(0, -6vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: .9; }
  100% { transform: translate3d(var(--drift, 60px), 106vh, 0) rotate(540deg); opacity: .15; }
}
/* 点击爱心迸发 */
.click-heart {
  position: fixed; z-index: 70; pointer-events: none;
  animation: heart-pop .9s ease-out forwards;
}
@keyframes heart-pop {
  0%   { transform: translate(-50%, -50%) scale(.4); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--hx, 0px)), calc(-50% - 70px)) scale(1.15); opacity: 0; }
}
/* 主按钮流光扫过 */
.btn-primary, .act-btn, .nav-cta {
  position: relative; overflow: hidden;
}
.btn-primary::after, .act-btn::after, .nav-cta::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -80%; } 55% { left: 130%; } 100% { left: 130%; }
}
/* CTA 横幅呼吸光晕 */
.cta-banner { animation: cta-glow 3.6s ease-in-out infinite; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 20px 50px rgba(206, 138, 196, 0.35); }
  50% { box-shadow: 0 20px 64px rgba(224, 106, 166, 0.5); }
}
/* 减少动态偏好时关闭装饰动画 */
@media (prefers-reduced-motion: reduce) {
  .petal, .click-heart { display: none !important; }
  .btn-primary::after, .act-btn::after, .nav-cta::after,
  .cta-banner, .chat-fav, .online i { animation: none !important; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px);
    padding: 10px 24px 18px; box-shadow: 0 14px 30px rgba(167, 124, 214, 0.15);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(139, 107, 199, 0.1); }
  .nav-cta { margin-top: 12px; text-align: center; justify-content: center; }

  .hero {
    min-height: 560px; padding: 108px 0 44px;
    background:
      linear-gradient(180deg, rgba(253, 246, 250, 0.25) 0%, rgba(253, 246, 250, 0.72) 62%, #faf4fb 96%),
      url("../assets/kv-sakura.webp") 74% top / cover no-repeat;
  }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 12px 16px; font-size: 13px; white-space: nowrap; flex: 0 1 auto; }

  .dl-card { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .dl-meta, .dl-checks { justify-content: center; }
  /* 移动端隐藏竖线分隔符，避免换行后悬挂孤立的 | */
  .dl-meta i { display: none; }
  .dl-meta { gap: 6px 16px; }
  .dl-btns { justify-content: center; }
  .dl-btns .btn { flex: 1; padding: 13px 10px; font-size: 15px; }

  /* 活动横幅：上行[情侣图|文案]，下行[礼盒|按钮]
     （text 的 flex-basis 220px 迫使礼盒换行；按钮 flex:1 与礼盒同排填满） */
  .act-banner { flex-wrap: wrap; align-items: center; row-gap: 12px; padding: 12px 14px 16px; }
  .act-couple { flex: 0 0 auto; height: 100px; border-radius: 12px; }
  .act-text { flex: 1 1 180px; }
  .act-text b { font-size: 22px; }
  .act-gift { flex: 0 0 auto; height: 76px; margin-left: 0; align-self: center; }
  .act-slogan { display: none; }
  .act-btn { flex: 1 1 0; margin: 0 0 0 10px; padding: 12px 10px; }

  .section { padding: 54px 0; }
  /* 功能卡：平板 3 列网格 */
  .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .char-grid, .review-grid, .phone-grid { grid-auto-columns: minmax(168px, 46vw); }
  .review-grid { grid-auto-columns: minmax(260px, 82vw); }
  .phone-grid { grid-auto-columns: minmax(168px, 44vw); }
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .chat-card { padding: 18px 16px 20px; }
  .chat-fav { font-size: 11.5px; padding: 4px 10px; }
  .chat-quick span { padding: 6px 13px; font-size: 12.5px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 48px); }  /* 与内页 style.css 一致：两侧 24px */
  .guide-grid { grid-template-columns: 1fr; }
  /* 功能卡：手机 2 列网格 */
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat-card h3 { font-size: 15.5px; }
  .feat-card p { font-size: 12px; }
  .char-grid { grid-auto-columns: minmax(158px, 58vw); }
}

/* ============================================================
   内页组件（features / characters / download / faq / news / article）
   —— 由老版 style.css 移植，统一浅色樱花主题
   ============================================================ */

/* ---------- 内页顶部横幅 ---------- */
.page-hero {
  padding: 150px 0 58px; text-align: center;
  background:
    radial-gradient(640px 280px at 50% 0%, rgba(244, 180, 220, 0.3), transparent 70%),
    radial-gradient(520px 240px at 10% 100%, rgba(206, 178, 240, 0.22), transparent 70%);
}
.page-hero h1 { font-size: clamp(28px, 5vw, 44px); color: var(--purple-deep); letter-spacing: 3px; font-weight: 800; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #e06aa6, #8b6bc7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.crumb { display: inline-flex; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--ink-soft); }
.crumb a:hover { color: var(--purple-deep); }

/* section 标题装饰（✿ —— ✿） */
.section-head .deco {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 14px;
  color: rgba(217, 104, 174, .55); font-size: 14px; letter-spacing: 4px;
}
.section-head .deco::before,
.section-head .deco::after {
  content: ""; width: 42px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 104, 174, .5), transparent);
}

/* ---------- 功能页：功能卡 + 步骤 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px 26px; transition: transform .28s, box-shadow .28s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(167, 124, 214, 0.28); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 25px; color: #fff; margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(139, 89, 202, .25);
}
.fi-1 { background: linear-gradient(135deg, #f293c8, #d968ae); }
.fi-2 { background: linear-gradient(135deg, #b57ae0, #8b59ca); }
.fi-3 { background: linear-gradient(135deg, #8fb0ec, #6f8fd9); }
.fi-4 { background: linear-gradient(135deg, #f0a987, #e07f5f); }
.fi-5 { background: linear-gradient(135deg, #8fd4c8, #58ab9c); }
.fi-6 { background: linear-gradient(135deg, #c7a6ec, #9b6fd4); }
.feature-card h3 { font-size: 19px; color: var(--purple-deep); margin-bottom: 8px; letter-spacing: 1px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { padding: 26px 22px; position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-btn); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 17px;
  margin-bottom: 16px; box-shadow: 0 6px 16px rgba(233, 138, 196, 0.4);
}
.step-card h3 { font-size: 16.5px; color: var(--purple-deep); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 角色图鉴页：全量换行网格（PC 一行 5 个） ---------- */
.grid-wrap { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
.char-body .role { margin-top: 3px; font-size: 12.5px; color: var(--purple); letter-spacing: 2px; }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid rgba(139, 107, 199, 0.18); border-radius: 14px; background: #fff; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 58px; padding: 14px 22px; list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: #665783;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: ""; flex: 0 0 10px; width: 10px; height: 10px;
  border-right: 2px solid #9379bb; border-bottom: 2px solid #9379bb;
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary { color: var(--purple-deep); }
.faq-item[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq-item .faq-body {
  padding: 14px 22px 18px; margin: 0;
  border-top: 1px solid rgba(159, 127, 194, 0.16);
  font-size: 14px; line-height: 1.9; color: #746b86;
}

/* ---------- 下载页 ---------- */
.download-panel { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: stretch; }
.download-panel .dl-info { padding: 34px 34px 30px; }
.dl-info h3 { font-size: 22px; color: var(--purple-deep); letter-spacing: 1px; }
.dl-meta { margin-top: 18px; gap: 12px 28px; }
.dl-meta b { color: var(--purple-deep); font-weight: 600; }
.dl-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.dl-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
  border-radius: 999px; font-size: 12.5px;
  background: rgba(88, 171, 156, .12); color: #3f9184;
}
.download-panel .dl-btns { margin-top: 26px; }
.dl-qr { padding: 28px; display: grid; place-items: center; gap: 14px; text-align: center; }
.qr-box {
  width: 158px; height: 158px; border-radius: 18px;
  background: repeating-linear-gradient(0deg, #fff 0 10px, #f3ecf9 10px 20px);
  border: 1px solid rgba(139, 107, 199, 0.18);
  display: grid; place-items: center; color: var(--purple-deep); font-size: 34px;
}
.dl-qr p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 资讯列表页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(139, 107, 199, 0.22); background: rgba(255, 255, 255, 0.8);
  color: var(--ink); font-size: 14px; transition: .2s; cursor: pointer;
}
.filter-bar button:hover { color: var(--purple-deep); border-color: rgba(139, 89, 202, .45); }
.filter-bar button.on { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(233, 138, 196, 0.4); }

.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; margin-bottom: 28px; }
.news-feature .cover { position: relative; min-height: 320px; overflow: hidden; }
.news-feature .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-feature:hover .cover img { transform: scale(1.04); }
.news-feature .body { padding: 38px 36px; display: flex; flex-direction: column; justify-content: center; }
.news-feature h2 { margin-top: 14px; font-size: clamp(20px, 2.6vw, 27px); color: var(--purple-deep); line-height: 1.45; letter-spacing: 1px; }
.news-feature p { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.news-feature .more { margin-top: 24px; color: var(--purple-deep); font-size: 14.5px; font-weight: 600; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(167, 124, 214, 0.24); }
.news-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #f3d9ec, #d9c4f2); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .55s ease; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.cover-grad { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: rgba(255, 255, 255, 0.9); }
.cg-1 { background: linear-gradient(135deg, #f6a9cf, #b57ae0); }
.cg-2 { background: linear-gradient(135deg, #a9c4f0, #7d54c4); }
.news-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(139, 89, 202, .1); color: var(--purple-deep); }
.chip-update { background: rgba(232, 139, 196, .16); color: #c9558f; }
.chip-new { background: rgba(139, 89, 202, .12); color: #7a4cba; }
.chip-event { background: rgba(240, 169, 135, .18); color: #c96a45; }
.chip-guide { background: rgba(88, 171, 156, .14); color: #3f9184; }
.news-card h3 { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--purple-deep); }
.news-card:hover h3 { color: var(--pink-deep); }
.news-card .excerpt { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; flex: 1; }
.news-meta { margin-top: 14px; display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-soft); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: grid; place-items: center; border-radius: 11px;
  border: 1px solid rgba(139, 107, 199, 0.22); background: rgba(255, 255, 255, 0.85);
  font-size: 14px; color: var(--ink);
}
.pager .cur { background: var(--grad-btn); border-color: transparent; color: #fff; }
.pager a:hover { border-color: rgba(139, 89, 202, .5); color: var(--purple-deep); }

/* ---------- 文章详情页 ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; align-items: start; }
.article { padding: 42px 46px 46px; }
.article-head { border-bottom: 1px solid rgba(159, 127, 194, 0.18); padding-bottom: 22px; }
.article-head h1 { margin-top: 12px; font-size: clamp(23px, 3.2vw, 32px); line-height: 1.5; color: var(--purple-deep); letter-spacing: 1px; }
.article-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ink-soft); }
.article-cover { margin: 26px 0 4px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8.4; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-top: 24px; font-size: 15.5px; line-height: 2; color: #5f5573; }
.article-body h2 {
  margin: 34px 0 12px; font-size: 20px; color: var(--purple-deep);
  letter-spacing: 1px; position: relative; padding-left: 16px;
}
.article-body h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; border-radius: 4px; background: var(--grad-btn);
}
.article-body h3 { margin: 24px 0 8px; font-size: 17px; color: var(--purple-deep); }
.article-body p { margin: 12px 0; }
.article-body ul, .article-body ol { margin: 12px 0 12px 22px; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--purple-deep); }
.article-body blockquote {
  margin: 22px 0; padding: 16px 22px;
  border-left: 3px solid rgba(232, 139, 196, 0.6);
  border-radius: 0 12px 12px 0;
  background: rgba(247, 238, 251, 0.65);
  color: #6f6584; font-size: 14.5px;
}
.article-body .inline-img { margin: 24px 0; border-radius: 16px; overflow: hidden; }
.article-body .inline-img img { width: 100%; }
.article-body .inline-img figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.article-foot {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(159, 127, 194, 0.18);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px;
}
.article-foot a { color: var(--purple-deep); }

/* 侧栏 */
.side { display: grid; gap: 20px; position: sticky; top: 88px; }
.side-card { padding: 24px 22px; }
.side-card h4 { font-size: 15px; color: var(--purple-deep); letter-spacing: 2px; margin-bottom: 14px; }
.side-card ul { list-style: none; display: grid; gap: 12px; }
.side-card li a { font-size: 13.5px; color: var(--ink); line-height: 1.6; display: block; }
.side-card li a:hover { color: var(--purple-deep); }
.side-card li span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.side-cta { text-align: center; }
.side-cta p { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 16px; }
.side-cta .btn { width: 100%; padding: 11px 18px; font-size: 14.5px; }

/* ---------- 内页响应式 ---------- */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .download-panel { grid-template-columns: 1fr; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature .cover { min-height: 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .page-hero { padding: 112px 0 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 16px 13px; }
  .feature-card h3 { font-size: 14.5px; }
  .feature-card p { font-size: 12px; line-height: 1.6; }
  .feature-icon { width: 38px; height: 38px; font-size: 19px; margin-bottom: 12px; }
  .steps-grid { gap: 12px; }
  .step-card { padding: 16px 12px; }
  .step-card p { font-size: 12px; line-height: 1.6; }
  .grid-wrap { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .news-grid, .side { grid-template-columns: 1fr; }
  .article { padding: 26px 20px 30px; }
  .news-feature .body { padding: 24px 22px; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { flex: 0 0 auto; }
  .cta-banner { padding: 42px 22px; }
  .download-panel .dl-info, .dl-qr { padding: 26px 22px; }
  /* 移动端三个下载徽章保持一行横排，不换行 */
  .dl-badges { flex-wrap: nowrap; gap: 6px; }
  .dl-badge { flex: 1; justify-content: center; padding: 5px 6px; font-size: 11.5px; white-space: nowrap; }
}
