/* ─────────────────────────────────────────────────────────────
   pond.css —— 小池塘动态壁纸页（/wallpaper、/wallpaper/download）共用样式
   设计系统与桌宠官网一致（同卡片 / 阴影 / 圆角 / 字号 / 节距 / 动效曲线），
   仅把主色换成池塘水色（青绿），因为产品本身是水面。
   改色只需动 :root 里的变量，其余组件不用碰。
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #eef8f8;
  --ink: #16393c;
  --muted: #6d8f91;
  --accent: #14b3a8;
  --accent2: #4fd6c8;
  --cream: #f9fefe;
  --line: #d9eeee;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(16, 90, 95, .32);
  --ease: cubic-bezier(.22, .9, .28, 1);
  --font: -apple-system, "SF Pro Text", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --navgap: 16px;          /* 顶部留给语言切换按钮的横向余量 */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 82% -12%, #d8f4f2 0%, transparent 56%),
    radial-gradient(900px 500px at 8% 108%, #d3f0f4 0%, transparent 52%),
    var(--bg);
  min-height: 100%;
  overflow-x: hidden;
  text-wrap: pretty;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
.page { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 80px; }

/* ── 顶栏 ── */
header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0 10px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.brand .drop {
  width: 17px; height: 17px; flex: none;
  border-radius: 50% 50% 50% 4px;              /* 水滴形，呼应池塘 logo */
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 14px -6px var(--accent);
}
header nav { display: flex; align-items: center; gap: 4px; }
header nav a { color: var(--muted); font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 12px; transition: background .2s, color .2s; }
header nav a:hover { background: rgba(20, 179, 168, .1); color: var(--accent); }
header nav a.nav-cta {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #fff; box-shadow: 0 12px 24px -14px var(--accent); padding: 10px 18px;
}
header nav a.nav-cta:hover { filter: brightness(1.05); color: #fff; }
.navburger {
  display: none; border: 1px solid var(--line); background: var(--cream); color: var(--ink);
  width: 42px; height: 40px; border-radius: 12px; font-size: 18px; cursor: pointer;
}
#mnav { display: none; flex-direction: column; gap: 4px; margin-bottom: 6px; }
#mnav.show { display: flex; }
#mnav a { padding: 13px 14px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 15px; background: var(--cream); border: 1px solid var(--line); }

/* 桌面端给固定在右上角的语言切换按钮留位（i18n.js 会注入该按钮） */
@media (min-width: 861px) { header { padding-right: 152px; } }
@media (max-width: 860px) {
  header nav { display: none; }
  .navburger { display: inline-block; }
}

/* ── 首屏 ── */
.hero { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 34px; align-items: center; padding: 30px 0 8px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; color: #0b6b64; letter-spacing: 2px; background: #d7f4f0; border: 1px solid #b9e8e2; border-radius: 999px; padding: 7px 18px; box-shadow: 0 8px 20px -12px #7fcfc6; }
.hero h1 { font-size: 40px; font-weight: 900; line-height: 1.24; letter-spacing: .5px; margin: 14px 0 12px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.85; }
.lead.center { text-align: center; max-width: 720px; margin: 0 auto; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 16px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 32px -16px var(--accent);
  transition: transform .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.big { padding: 16px 34px; font-size: 16px; }
.micro { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { font-size: 13px; font-weight: 800; color: #0b6b64; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; box-shadow: 0 10px 20px -14px rgba(16, 90, 95, .5); }

/* ── 画面卡（含涟漪演示层） ── */
.pond-media {
  /* 25 / 16 = 源视频 1200x768 的原始比例，避免 object-fit:cover 上下裁掉画面内容 */
  position: relative; aspect-ratio: 25 / 16; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  /* 海报帧做占位：动图加载完之前就有画面，不会空一块 */
  background: #dff2f2 url("/assets/pond-poster.jpg") center / cover no-repeat;
}
/* picture 包一层（WebP 优先 / GIF 回退）时，撑满画面卡 */
.pond-media picture { display: block; width: 100%; height: 100%; }
.pond-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 画面说明 / 功能亮点 ── */
.showcase { padding: 46px 0 6px; text-align: center; }
.showcase h2 { font-size: 27px; font-weight: 900; margin-bottom: 12px; letter-spacing: .4px; }
.features { padding: 44px 0 4px; }
.features h2 { font-size: 27px; font-weight: 900; text-align: center; margin-bottom: 22px; letter-spacing: .4px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); }
.card .ico { font-size: 26px; line-height: 1; }
.card h3 { font-size: 17px; font-weight: 900; margin: 10px 0 7px; }
.card p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ── 摸鱼神器 ── */
.moyu {
  margin-top: 40px; padding: 30px 30px 26px; border-radius: var(--radius);
  background: linear-gradient(140deg, #e8fbf7, #f7fefe); border: 1px solid #bfe9e3;
  box-shadow: var(--shadow); text-align: center;
}
.moyu h2 { font-size: 25px; font-weight: 900; margin-bottom: 12px; }
.moyu p { color: #3d6669; font-size: 14.5px; line-height: 1.85; max-width: 720px; margin: 0 auto; }
.moyu-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.moyu-list li { font-size: 13.5px; font-weight: 800; color: #0b6b64; background: #fff; border: 1px solid #bfe9e3; border-radius: 999px; padding: 9px 18px; }
.moyu-list li::before { content: "✓ "; color: var(--accent); }

/* ── 常见问题 ── */
.faq { padding: 44px 0 4px; }
.faq h2 { font-size: 27px; font-weight: 900; text-align: center; margin-bottom: 20px; }
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qa { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.qa h3 { font-size: 15.5px; font-weight: 900; margin-bottom: 8px; }
.qa p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ── 收尾 CTA / 页脚 ── */
.end { margin-top: 44px; padding: 38px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.end h2 { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.end p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
footer { border-top: 1px solid var(--line); margin-top: 46px; padding: 32px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ── 返回顶部 ── */
#backTop {
  position: fixed; right: 26px; bottom: 30px; z-index: 40;
  width: 48px; height: 48px; border: none; border-radius: 16px; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  font-size: 20px; font-weight: 900; line-height: 1;
  box-shadow: 0 14px 26px -10px rgba(20, 179, 168, .7);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
#backTop.show { opacity: 1; visibility: visible; transform: none; }
#backTop:hover { filter: brightness(1.06); }

/* ── 下载页 ── */
.dl-hero { text-align: center; padding: 18px 0 6px; }
.dl-hero h1 { font-size: 30px; font-weight: 900; margin: 12px 0 8px; letter-spacing: .6px; }
.dl-hero h1 em { color: var(--accent); font-style: normal; }
.dl-hero p { color: var(--muted); font-size: 13.5px; max-width: 620px; margin: 0 auto; line-height: 1.8; }
.os-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.os-cards .card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.os-cards .card.hot { border-color: var(--accent); }
.os-ico { font-size: 38px; line-height: 1; }
.os-ico svg { width: 44px; height: 44px; }
.os-cards h2 { font-size: 18px; font-weight: 900; margin: 10px 0 3px; }
.os-cards .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }
.ver-note { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.7; }
.ver-note b { color: var(--accent); }
.dbtn {
  display: inline-block; width: 100%; text-align: center; padding: 13px; border-radius: 13px;
  background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 16px 30px -14px var(--accent); cursor: pointer; transition: filter .2s, transform .2s var(--ease);
}
.dbtn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.dbtn.soon { background: rgba(22, 57, 60, .1); color: var(--muted); box-shadow: none; cursor: not-allowed; }
/* 安装包语言切换（Windows 卡片内的两个小胶囊） */
.lang-pick { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.lang-pick .lp-label { margin-right: 2px; }
.lp {
  font-family: inherit; border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: 5px 13px; font-size: 12px; cursor: pointer; transition: all .18s var(--ease);
}
.lp.static { cursor: default; }
.lp:hover { border-color: var(--accent2); color: var(--accent); }
.lp.static:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.lp.on { border-color: var(--accent); color: #fff; background: var(--accent); font-weight: 700; }
/* 苹果版未就绪时点按钮弹出的说明 */
.mac-tip { margin: 10px 0 0; font-size: 12px; color: var(--accent); line-height: 1.7; }
.pick-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.dl-note { margin-top: 20px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.9; }
.backlink { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 700; }
.backlink:hover { color: var(--accent); }

/* 解压被拦截自查表（与桌宠下载页同款结构） */
.install-help { margin: 22px auto 0; max-width: 880px; background: var(--cream); border: 2px solid var(--accent2); border-radius: 20px; padding: 22px 24px 6px; box-shadow: 0 18px 40px -22px rgba(20, 179, 168, .75); text-align: left; }
.ih-title-wrap { text-align: center; margin-bottom: 11px; }
.install-help h2 { display: inline-block; margin: 0; padding: 8px 22px; border-radius: 999px; background: #d7f4f0; color: #0b6b64; font-size: 17px; font-weight: 900; line-height: 1.5; border: 1px solid #9fdfd7; }
.ih-sub { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.ih-grid { margin-top: 14px; }
.ih-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 13px 0; border-top: 1px dashed var(--line); align-items: start; }
.ih-q { display: flex; gap: 9px; font-weight: 800; color: #0b6b64; font-size: 14px; line-height: 1.65; }
.ih-num { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #cdeeea; color: #0b6b64; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.ih-a { display: flex; gap: 8px; color: #3d6669; font-size: 14px; line-height: 1.7; }
.ih-arrow { flex: none; color: #26b36a; font-weight: 900; }
.ih-a b { color: #0b6b64; }

/* ── 响应式 ── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  .os-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page { padding: 0 18px 64px; }
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 29px; }
  .showcase h2, .features h2, .faq h2, .end h2 { font-size: 22px; }
  .moyu { padding: 24px 18px 20px; }
  .end { padding: 30px 18px; }
  .ih-row { grid-template-columns: 1fr; gap: 7px; }
  .ih-a { padding-left: 29px; }
  .install-help { padding: 18px 16px 4px; }
  #backTop { right: 16px; bottom: 20px; }
}
