/* ===========================================================
   温涛个人站点 · 深色科技风（火山引擎风格）
   =========================================================== */

:root {
  --bg: #05070d;
  --bg-2: #0a0e18;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f5fa;
  --text-soft: #9aa6bd;
  --text-dim: #6b7688;

  --brand: #2b6bff;      /* 科技蓝 */
  --brand-2: #7b4dff;    /* 紫 */
  --brand-3: #00d4ff;    /* 青 */
  --accent: #ff7a29;     /* 橙，点缀 */

  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--brand-3); text-decoration: none; }
a:hover { text-decoration: none; }

/* ---------- 背景光晕 + 网格 ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-fx::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 420px at 12% 8%, rgba(43, 107, 255, 0.28), transparent 65%),
    radial-gradient(520px 380px at 88% 0%, rgba(123, 77, 255, 0.22), transparent 62%),
    radial-gradient(680px 460px at 70% 42%, rgba(0, 212, 255, 0.14), transparent 66%),
    radial-gradient(520px 400px at 20% 82%, rgba(255, 122, 41, 0.10), transparent 64%);
  filter: blur(10px);
  animation: drift 26s ease-in-out infinite alternate;
}

.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, 3%, 0) scale(1.08); }
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text);
}

.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px rgba(43, 107, 255, 0.42);
  position: relative;
  flex-shrink: 0;
}

.brand .logo::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.brand small {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
}

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a {
  position: relative;
  color: var(--text-soft);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand));
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a.active { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 26px;
}

.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 10px var(--brand-3);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(96deg, #ffffff 8%, #b9d0ff 42%, var(--brand-3) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(96deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(43, 107, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(43, 107, 255, 0.46);
}

.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--panel-2);
  border-color: rgba(0, 212, 255, 0.45);
}

/* Hero 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

.stat {
  background: rgba(10, 14, 24, 0.72);
  padding: 22px 18px;
}

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(96deg, #ffffff, #9fc4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span { font-size: 13px; color: var(--text-dim); }

/* ---------- 区块 ---------- */
.section { padding: 26px 0 10px; }

.sec-head { margin-bottom: 30px; }

.sec-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sec-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.sec-head .kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 10px;
}

/* ---------- 玻璃卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.card:hover::before { opacity: 1; }

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(43, 107, 255, 0.32);
}

.card .icon.alt { background: linear-gradient(135deg, #00a3b5, var(--brand-3)); box-shadow: 0 8px 20px rgba(0, 212, 255, 0.28); }
.card .icon.warm { background: linear-gradient(135deg, #ff7a29, #ffb03a); box-shadow: 0 8px 20px rgba(255, 122, 41, 0.28); }

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
}

.card .meta {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: #cfe0ff;
  background: rgba(43, 107, 255, 0.16);
  border: 1px solid rgba(43, 107, 255, 0.32);
  border-radius: 6px;
  padding: 1px 8px;
  margin-right: 6px;
  font-family: inherit;
}

/* ---------- 正文页（隐私/协议） ---------- */
.doc { max-width: 820px; }

.doc h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 10px;
  font-weight: 750;
  letter-spacing: -0.4px;
}

.doc .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 36px;
}

.doc h2 {
  font-size: 19px;
  margin: 38px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-weight: 650;
}

.doc p, .doc li { color: var(--text-soft); font-size: 15.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }

/* ---------- 底部 ---------- */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; font-size: 14px; color: var(--text-dim); }

.beian a {
  color: var(--text-soft);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 2px;
}

.beian a:hover { color: var(--brand-3); }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .hero { padding: 64px 0 48px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .brand small { display: none; }
  .foot-inner { justify-content: center; text-align: center; }
}

/* ===========================================================
   第二版新增：应用展示（展示图 / 详情块 / 规格）
   =========================================================== */

/* ---------- 大展示图 ---------- */
.showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #070a12;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  margin-bottom: 26px;
  line-height: 0;
}

.showcase img,
.showcase picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 应用详情块 ---------- */
.app-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 30px 0 62px;
  border-top: 1px solid var(--line);
}

.app-block:first-of-type { border-top: none; padding-top: 10px; }
.app-block.flip .app-media { order: 2; }

.app-media { min-width: 0; }

.app-body { min-width: 0; }

/* 图标 + 标题行 */
.app-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.app-head .app-icon {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.09);
  object-fit: cover;
  background: #0d1017;
}

.app-head h3 {
  margin: 0 0 5px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.3px;
}

.app-head .pkg {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 已上架徽标 */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #7ff0b8;
  background: rgba(18, 128, 92, 0.18);
  border: 1px solid rgba(18, 128, 92, 0.42);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.store-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #25d08a;
  box-shadow: 0 0 8px #25d08a;
}

/* 规格行（版本 / 分类 / 平台） */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.pill {
  display: inline-block;
  font-size: 12.5px;
  color: #cfe0ff;
  background: rgba(43, 107, 255, 0.14);
  border: 1px solid rgba(43, 107, 255, 0.30);
  border-radius: 7px;
  padding: 3px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pill.warm { color: #ffd7b0; background: rgba(255, 122, 41, 0.14); border-color: rgba(255, 122, 41, 0.32); }
.pill.cool { color: #b9f0ff; background: rgba(0, 212, 255, 0.13); border-color: rgba(0, 212, 255, 0.30); }

.app-body > p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-soft);
}

.app-body .lead-line {
  font-size: 16.5px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 14px;
}

/* 功能特点 */
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--text-soft);
}

.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.55);
}

.features li strong { color: var(--text); }

/* 底部小注（权限 / 备案 / 免责） */
.footnote {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.75;
}

.footnote b { color: var(--text-soft); font-weight: 600; }

/* 卡片上的展示图（首页） */
.card.show-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card.show-card .shot {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #070a12;
}

.card.show-card .card-inner {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card.show-card .head-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}

.card.show-card .head-row img {
  width: 46px; height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
}

.card.show-card .head-row h3 { margin: 0 0 3px; font-size: 17.5px; }
.card.show-card .head-row .pkg { margin: 0; font-size: 12px; color: var(--text-dim); font-family: ui-monospace, Menlo, Consolas, monospace; }
.card.show-card p.desc { font-size: 14.5px; color: var(--text-soft); margin-bottom: 14px; flex: 1; }

/* 简介数字条里的强调 */
.stat b.sm { font-size: 19px; }

@media (max-width: 900px) {
  .app-block { grid-template-columns: 1fr; gap: 24px; padding: 22px 0 46px; }
  .app-block.flip .app-media { order: 0; }
  .app-head h3 { font-size: 21px; }
  .app-head .app-icon { width: 62px; height: 62px; border-radius: 16px; }
}

/* ---------- 展示图叠放（主图 + 细节图） ---------- */
.shot-stack {
  display: grid;
  gap: 16px;
}

.shot-stack .showcase { margin-bottom: 0; }

/* ---------- 更新日志 · 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 880px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-3), var(--brand), rgba(43, 107, 255, 0.05));
}

.tl-item {
  position: relative;
  margin-bottom: 26px;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--brand-3);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.65);
}

.tl-date {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tl-body {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.tl-body h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 9px;
  font-size: 16.5px;
  font-weight: 650;
}

.tl-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
}

.tl-body p + p { margin-top: 6px; }

@media (max-width: 900px) {
  .timeline { padding-left: 26px; }
  .tl-item::before { left: -24px; }
}


