/* ============================================================
   ZOKI 游戏盒推广页（pc/box.html + mobile/box.html）
   视觉：白色透明玻璃（毛玻璃）——半透明白面 + 背景模糊 + 白色高光边
   薄荷绿底纹从玻璃后面透出来，整块分区统一材质
   ============================================================ */

.box-page .zoki-content {
  max-width: 1160px;
  padding: 96px 2rem 0;
}



/* ===== 玻璃材质令牌 ===== */
.box-page {
  /* 玻璃要"看得见边界"才能成材质：面偏实、边偏亮、下面有投影 */
  --glass: linear-gradient(160deg, rgba(255, 255, 255, .46), rgba(240, 252, 255, .26));
  --glass-strong: linear-gradient(160deg, rgba(255, 255, 255, .54), rgba(244, 253, 255, .32));
  --glass-line: #fff;
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .55),
                 inset 0 -1px 0 rgba(255, 255, 255, .14);
  --glass-shadow: 0 18px 40px rgba(0, 43, 80, .18),
                  0 0 0 1px rgba(0, 72, 106, .05);
}

/* 统一的玻璃面：四个区块共用一套材质，避免每块玻璃厚薄不一 */
.box-hero,
.box-feature,
.box-gallery-item,
.box-download,
.box-step-row,
.box-faq-item {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(46px) saturate(104%) brightness(1.10);
  backdrop-filter: blur(46px) saturate(104%) brightness(1.10);
  border: 0;
  box-shadow: var(--glass-shadow), var(--glass-edge);
}

/* 玻璃的边不是一条白线，而是"上缘强、下缘弱、右下带一点冷色"的折射边。
   用 1px 的渐变环（padding + mask 挖空）代替 border，圆角也跟着走。 */
.box-hero::before,
.box-feature::before,
.box-gallery-item::before,
.box-download::before,
.box-step-row::before,
.box-faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, .98) 0%,
    rgba(255, 255, 255, .46) 22%,
    rgba(255, 255, 255, .30) 46%,
    rgba(176, 230, 243, .62) 74%,
    rgba(255, 255, 255, .58) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Hero ===== */
.box-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: center;
  padding: 28px 28px 24px;
  border-radius: 24px;
  overflow: hidden;
}
/* 一层很淡的光斑：让玻璃有"反光"的位置，不然整块太平 */
.box-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%);
  pointer-events: none;
}
.box-hero > * { position: relative; z-index: 1; }

.box-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #0069A8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.box-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 16px 0 10px;
  color: var(--fg);
}
.box-hero-sub {
  color: #14456e;
  font-size: .95rem;
  line-height: 1.9;
  max-width: 34em;
}
.box-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--rs);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--ease);
}
.box-btn:active { transform: scale(.97); }
.box-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.box-btn--primary:hover { filter: brightness(1.05); }
.box-btn--ghost {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--fg);
}
.box-btn--ghost:hover { background: rgba(255, 255, 255, .38); border-color: #fff; }
.box-hero-meta {
  margin-top: 14px;
  font-size: .78rem;
  color: #1d4c73;
}

/* 手机截图：白色玻璃边框，和卡片同一材质 */
.box-shots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 1;
}
.box-shot {
  width: 30%;
  max-width: 176px;
  aspect-ratio: 390 / 844;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, .62);
  box-shadow: 0 16px 34px rgba(0, 43, 80, .24), inset 0 0 0 1px rgba(255, 255, 255, .45);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 43, 80, .24);
  transform: translateY(10px);
  transition: var(--ease);
}
.box-shot:hover { transform: translateY(2px); }
.box-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.box-shot--center {
  transform: translateY(0) scale(1.06);
  z-index: 2;
}
.box-shot--center:hover { transform: translateY(-4px) scale(1.06); }

/* ===== 特性网格 ===== */
.box-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.box-feature {
  border-radius: 16px;
  padding: 20px 22px;
  transition: var(--ease);
}
.box-feature:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
}
.box-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--glass-line);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.box-feature-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.box-feature-desc {
  font-size: .85rem;
  color: #1d4c73;
  line-height: 1.8;
}

/* ===== 另外两屏 ===== */
.box-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.box-gallery-item {
  display: flex;
  gap: 20px;
  align-items: center;
  border-radius: 16px;
  padding: 20px;
}
.box-gallery-item img {
  width: 104px;
  border-radius: 14px;
  border: 3px solid rgba(255, 255, 255, .8);
  display: block;
  flex: none;
}
.box-gallery-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.box-gallery-desc {
  font-size: .86rem;
  color: #1d4c73;
  line-height: 1.8;
}

/* ===== 下载卡片 ===== */
.box-download {
  border-radius: 22px;
  padding: 26px 28px;
  background: var(--glass-strong);
}
.box-download-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.box-download-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #0d2a45;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 43, 80, .25);
}
.box-download-logo img { width: 100%; height: 100%; object-fit: contain; }
.box-download-name { font-size: 1.2rem; font-weight: 800; color: var(--fg); }
.box-download-sub { font-size: .82rem; color: #1d4c73; }
.box-download-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}
.box-meta-item {
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--glass-line);
  border-radius: var(--rs);
  padding: 10px 12px;
}
.box-meta-label { font-size: .72rem; color: #1d4c73; }
.box-meta-value { font-size: .95rem; font-weight: 700; color: var(--fg); }
.box-download-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.box-hash {
  font-size: .74rem;
  color: #1d4c73;
  word-break: break-all;
}

/* ===== 安装步骤 ===== */
.box-steps { display: grid; gap: 12px; }
.box-step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 16px;
  padding: 18px 22px;
}
.box-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.box-step-title { font-weight: 700; color: var(--fg); font-size: .98rem; }
.box-step-desc { color: #1d4c73; font-size: .86rem; line-height: 1.8; }

/* ===== FAQ ===== */
.box-faq-item {
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.box-faq-q { font-weight: 700; color: var(--fg); font-size: .95rem; margin-bottom: 6px; }
.box-faq-a { color: #1d4c73; font-size: .88rem; line-height: 1.85; }
.box-faq-a a { color: #0069A8; font-weight: 600; }

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  .box-page .zoki-content { padding: 76px 1.25rem 0; }
  .box-hero {
    grid-template-columns: 1fr;
    padding: 22px 20px 20px;
    gap: 22px;
  }
  .box-hero-title { font-size: 1.9rem; }
  .box-shots { gap: 10px; }
  .box-shot { max-width: 32%; border-width: 3px; border-radius: 18px; }
  .box-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-gallery { grid-template-columns: 1fr; }
  .box-download { border-radius: 18px; }
  .box-download-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-download-actions .box-btn { width: 100%; }
}
@media (max-width: 420px) {
  .box-features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .box-shot, .box-shot--center { transform: none; }
}
