/* ============================================================
   FloatPet · 官网样式 — 住在 Mac 桌面上的两只小猫
   ============================================================ */

:root {
  --bg: #0b0e13;
  --bg-soft: #121722;
  --cream: #f6f1e7;
  --muted: #9aa3b2;
  --gold: #f4a23b;
  --gold-soft: #ffcf8a;
  --brand-1: #ff63b3;
  --brand-2: #a64bf4;
  --brand-grad: linear-gradient(135deg, #ff7ac0, #a855f7);
  --brand-soft: #ffa8d6;
  --line: rgba(255, 255, 255, 0.1);
  --pet-size: clamp(84px, 8.4vw, 122px);
  --font-zh: "Noto Sans SC", "PingFang SC", sans-serif;
  --font-en: "Plus Jakarta Sans", sans-serif;
  --font-serif: "Fraunces", serif;
  --font-brand: "Baloo 2", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en), var(--font-zh);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.kicker {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brand-soft);
  margin-bottom: 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.kicker--dark { color: var(--brand-1); text-shadow: none; }

.sec-title {
  font-family: var(--font-zh); font-weight: 900;
  font-size: clamp(26px, 4vw, 44px); line-height: 1.18; letter-spacing: -0.01em;
}

/* ===== 品牌 logo ===== */
.brandmark { display: inline-flex; align-items: center; }
.brandmark svg { border-radius: 8px; box-shadow: 0 4px 14px rgba(166, 75, 244, 0.4); }
.wordmark {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-en); font-weight: 800;
  font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase;
}
.wordmark__a { color: #fff; }
.wordmark__b {
  background: linear-gradient(135deg, #ff7ac0, #b15cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===================== NAV（悬浮玻璃顶栏，仅在 Hero 显示） ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 46px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.nav.is-hidden { opacity: 0; transform: translateY(-110%); pointer-events: none; }
.nav__brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
/* 中部透明玻璃感导航条（视口居中） */
.nav__pill {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
  padding: 4px 6px; border-radius: 999px;
  background: rgba(20, 22, 32, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}
.nav__pill a {
  color: rgba(246, 241, 231, 0.86); text-decoration: none;
  font-family: var(--font-zh); font-size: 13.5px; font-weight: 600;
  padding: 6px 18px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav__pill a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav__sep { width: 1px; height: 15px; background: rgba(255, 255, 255, 0.22); flex: none; }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: flex-start; padding-top: clamp(92px, 14vh, 162px); }
.hero__wall { position: absolute; inset: 0; z-index: 1; }
.hero__wall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 100%; animation: heroFloat 26s ease-in-out infinite alternate; transition: opacity 0.45s ease; }
@keyframes heroFloat { from { transform: scale(1.02); } to { transform: scale(1.055); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(105deg, rgba(8, 12, 20, 0.78) 0%, rgba(8, 12, 20, 0.42) 34%, rgba(8, 12, 20, 0) 62%),
    linear-gradient(0deg, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0) 24%);
}
.hero__copy { position: relative; z-index: 6; max-width: 560px; padding: 0 clamp(20px, 5vw, 64px); }
.kicker--pill {
  margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; color: var(--brand-soft);
  background: rgba(168, 85, 247, 0.16); border: 1px solid rgba(255, 122, 192, 0.34);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.kicker--pill::before { content: "✦ "; opacity: 0.85; }
.hero__title { font-family: var(--font-zh); font-weight: 900; font-size: clamp(29px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -0.015em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.hero__title .l1 { display: block; }
.hero__title .l2 { display: block; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 18px; max-width: 460px; font-family: var(--font-zh); font-size: clamp(14px, 1.5vw, 16.5px); line-height: 1.75; color: rgba(246, 241, 231, 0.9); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.hero__btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero__free { margin-top: 13px; font-family: var(--font-zh); font-size: 12.5px; font-weight: 600; color: rgba(246, 241, 231, 0.72); letter-spacing: 0.01em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }

/* 沉浸模式：隐藏文案与下载按钮 */
.hero__copy { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease); }
body.is-immersive .hero__copy { opacity: 0; transform: translateY(18px); filter: blur(4px); pointer-events: none; }
body.is-immersive .hero__tip { opacity: 0; transform: translateX(-50%) translateY(-12px); pointer-events: none; }
/* 沉浸模式：猫追随鼠标，需置于 HUD 之上，否则走到左下角会被玻璃面板挡住"消失"；同时保持可拖拽 */
body.is-immersive .stage { z-index: 9; }

/* 下载按钮 */
.dlbtn { display: inline-flex; align-items: center; gap: 10px; border: 0; text-decoration: none; padding: 10px 17px; border-radius: 13px; font-family: var(--font-zh); transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s; }
.dlbtn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 14.5px; text-align: left; }
.dlbtn small { font-size: 10.5px; font-weight: 600; opacity: 0.62; letter-spacing: 0.04em; }
.dlbtn--mac { background: var(--cream); color: #14181f; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.dlbtn--win { background: rgba(255, 255, 255, 0.12); color: var(--cream); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.dlbtn:hover { transform: translateY(-2px); }
.dlbtn--mac:hover { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42); }
.dlbtn--win:hover { background: rgba(255, 255, 255, 0.2); }
.dlbtn--lg { padding: 14px 24px; border-radius: 15px; }
.dlbtn--lg span { font-size: 16px; }
.dlbtn--lg small { font-size: 11px; }

/* ===================== STAGE & PETS ===================== */
.stage { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pet {
  position: absolute; bottom: 8%; width: var(--pet-size); aspect-ratio: 1 / 1;
  pointer-events: auto; cursor: grab; touch-action: none;
  will-change: transform, left, bottom;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.32));
}
.pet img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.pet.is-flip img { transform: scaleX(-1); }
.pet.is-drag { cursor: grabbing; z-index: 30; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.4)); transition: none !important; }
.pet.is-drag img { transform: scale(1.08); }
.pet.is-pop { animation: petPop 0.5s var(--ease); }
@keyframes petPop { 0% { transform: translateY(26px) scale(0.4); opacity: 0; } 60% { transform: translateY(-6px) scale(1.08); opacity: 1; } 100% { transform: translateY(0) scale(1); opacity: 1; } }

/* 萌系气泡 */
.bubble {
  position: absolute; left: 50%; bottom: 92%; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96); color: #24180a;
  font-family: var(--font-zh); font-size: 12.5px; font-weight: 700; line-height: 1.2;
  white-space: nowrap; padding: 7px 12px; border-radius: 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); pointer-events: none;
  animation: bubbleIn 0.32s var(--ease) both;
}
.bubble::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(255, 255, 255, 0.96); }
.bubble.is-out { animation: bubbleOut 0.32s var(--ease) forwards; }
@keyframes bubbleIn { from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.7); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes bubbleOut { to { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.85); } }
.stage#demoStage .bubble { font-size: 10.5px; padding: 5px 9px; }

/* 小鱼干 */
.fish {
  position: absolute; z-index: 8; font-size: 30px; pointer-events: none;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.4));
  transform: translate(-50%, 0);
}
.fish.is-drop { animation: fishDrop 0.6s cubic-bezier(.5,0,.7,1) both; }
.fish.is-rest { animation: fishWiggle 1.2s ease-in-out infinite; }
.fish.is-eaten { animation: fishEaten 0.35s var(--ease) forwards; }
@keyframes fishDrop { 0% { transform: translate(-50%, -180px) rotate(-30deg); opacity: 0; } 60% { opacity: 1; } 80% { transform: translate(-50%, 6px) rotate(8deg); } 100% { transform: translate(-50%, 0) rotate(0); } }
@keyframes fishWiggle { 0%,100% { transform: translate(-50%, 0) rotate(-6deg); } 50% { transform: translate(-50%, -3px) rotate(6deg); } }
@keyframes fishEaten { to { transform: translate(-50%, -10px) scale(0); opacity: 0; } }

/* ===================== 顶部轻引导提示 ===================== */
.hero__tip {
  position: absolute; z-index: 7; top: clamp(80px, 11vh, 110px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px; max-width: min(92vw, 560px);
  padding: 9px 12px 9px 15px; border-radius: 999px;
  background: rgba(20, 16, 30, 0.42); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: var(--font-zh); font-size: 13px; color: rgba(246, 241, 231, 0.92);
  animation: tipIn 0.6s var(--ease) both; transition: opacity 0.35s, transform 0.35s;
}
.hero__tip.is-hidden { opacity: 0; transform: translateX(-50%) translateY(-12px); pointer-events: none; }
.hero__tip-ic { font-size: 14px; }
.hero__tip-tx b { color: var(--brand-soft); font-weight: 700; }
.hero__tip-x {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; margin-left: 2px;
  background: rgba(255, 255, 255, 0.12); color: var(--cream); font-size: 15px; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s;
}
.hero__tip-x:hover { background: rgba(255, 255, 255, 0.24); }
@keyframes tipIn { from { opacity: 0; transform: translateX(-50%) translateY(-12px); } }

/* ===================== 互动 HUD（左下角竖向玻璃面板） ===================== */
.hud {
  position: absolute; z-index: 7; left: clamp(14px, 2.6vw, 34px); bottom: clamp(88px, 14vh, 140px);
  display: flex; flex-direction: column; gap: 7px; width: 150px;
  padding: 8px; border-radius: 15px;
  background: rgba(16, 18, 26, 0.34); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}
.hud__walls { display: flex; gap: 5px; justify-content: space-between; }
.wallthumb {
  flex: 1; height: 22px; border-radius: 6px; padding: 0;
  background-size: cover; background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.22); cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s, box-shadow 0.18s;
}
.wallthumb:hover { transform: translateY(-2px) scale(1.04); border-color: rgba(255, 255, 255, 0.5); }
.wallthumb.is-active { border-color: var(--brand-1); box-shadow: 0 0 0 1.5px rgba(255, 99, 179, 0.45), 0 5px 12px rgba(255, 99, 179, 0.3); }
.hud__btns { display: flex; flex-direction: column; gap: 5px; }
/* 统一的玻璃胶囊按钮（次级动作）+ 单一主按钮（沉浸体验） */
.hbtn {
  display: flex; align-items: center; gap: 7px; width: 100%;
  padding: 6px 10px 6px 6px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07);
  color: var(--cream); font-family: var(--font-zh); font-size: 12px; font-weight: 700;
  transition: transform 0.16s var(--ease), background 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.hbtn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.28); }
.hbtn:active { transform: translateY(0) scale(0.98); }
.hbtn__i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: var(--brand-soft); }
.hbtn__i svg { width: 14px; height: 14px; }
.hbtn--primary { border-color: transparent; background: var(--brand-grad); color: #fff; box-shadow: 0 8px 20px rgba(168, 85, 247, 0.38); }
.hbtn--primary .hbtn__i { background: rgba(255, 255, 255, 0.22); color: #fff; }
.hbtn--primary:hover { box-shadow: 0 12px 28px rgba(255, 99, 179, 0.48); }
.hbtn--primary.is-on { background: rgba(255, 255, 255, 0.07); color: var(--cream); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.hbtn--primary.is-on .hbtn__i { background: rgba(255, 255, 255, 0.1); color: var(--brand-soft); }

.scroll-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: none; z-index: 6; }

/* ===================== DEMO ===================== */
.demo { position: relative; background: radial-gradient(120% 80% at 50% 0%, #1a2230 0%, var(--bg) 60%); padding: clamp(78px, 11vh, 130px) clamp(20px, 5vw, 56px) clamp(60px, 9vh, 100px); }
.sec-head { max-width: 680px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }
.sec-lead { margin-top: 18px; font-family: var(--font-zh); font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.8; color: var(--muted); }

.screen { max-width: 1040px; margin: 0 auto; padding: clamp(8px, 1vw, 13px); border-radius: clamp(18px, 2vw, 26px); background: linear-gradient(160deg, #2b3340, #161b24); box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5); }
.screen__inner { position: relative; border-radius: clamp(12px, 1.4vw, 17px); overflow: hidden; aspect-ratio: 16 / 9; background: #0a0d12; }
.screen__wall { width: 100%; height: 100%; object-fit: cover; }
.screen__inner .stage { z-index: 4; }
.screen__poke {
  position: absolute; z-index: 6; left: 50%; bottom: 8%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-zh); font-size: 12.5px; font-weight: 700; color: #fff;
  padding: 8px 17px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.screen__poke:hover { transform: translateX(-50%) translateY(-2px); background: rgba(255, 255, 255, 0.26); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

/* 功能要点（情绪化、去 emoji） */
.feats { list-style: none; max-width: 1040px; margin: clamp(34px, 5vh, 52px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, 0.025); }
.feats li { padding: clamp(22px, 2.4vw, 30px) clamp(18px, 1.8vw, 24px); border-right: 1px solid var(--line); transition: background 0.3s var(--ease); }
.feats li:last-child { border-right: 0; }
.feats li:hover { background: rgba(255, 99, 179, 0.07); }
.feats__ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--brand-soft); background: rgba(168, 85, 247, 0.14); margin-bottom: 16px; }
.feats b { display: block; font-family: var(--font-zh); font-size: clamp(15px, 1.5vw, 17px); font-weight: 700; color: var(--cream); margin-bottom: 7px; }
.feats i { font-style: normal; font-family: var(--font-zh); font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ===================== MORE ===================== */
.more { position: relative; overflow: hidden; padding: clamp(90px, 14vh, 150px) clamp(20px, 5vw, 56px); }
.more__bg { position: absolute; inset: 0; z-index: 1; }
.more__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.55); }
.more__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(11, 14, 19, 0.96) 0%, rgba(11, 14, 19, 0.7) 50%, rgba(11, 14, 19, 0.9) 100%); }
.more__inner { position: relative; z-index: 3; max-width: 980px; margin: 0 auto; text-align: center; }
.sec-title--light { color: var(--cream); }
.more__lead { margin: 18px auto 0; max-width: 600px; font-family: var(--font-zh); font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.8; color: rgba(246, 241, 231, 0.82); }
.roster { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(38px, 6vh, 58px); }
.rslot { width: clamp(132px, 16vw, 170px); aspect-ratio: 3 / 4; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 10px 16px; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s; }
.rslot:hover { transform: translateY(-6px); border-color: rgba(255, 99, 179, 0.5); }
.rslot b { font-family: var(--font-zh); font-size: 15px; font-weight: 700; color: var(--cream); z-index: 2; }
.rslot span { font-family: var(--font-zh); font-size: 12px; font-weight: 500; color: var(--muted); z-index: 2; margin-top: 2px; }
.rslot.is-ready { background: radial-gradient(120% 90% at 50% 22%, rgba(168, 85, 247, 0.2), rgba(255, 255, 255, 0.03)); }
.rslot__photo { position: absolute; top: 4%; left: 0; right: 0; height: 66%; }
.rslot__photo img { width: 86%; height: 100%; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)); }

/* 盲盒 */
.rslot.is-box { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.rslot__box { position: relative; width: 58%; aspect-ratio: 1; margin: auto 0; border-radius: 14px; background: repeating-linear-gradient(45deg, rgba(255, 99, 179, 0.16) 0 10px, rgba(168, 85, 247, 0.08) 10px 20px); border: 1.5px dashed rgba(255, 122, 192, 0.55); display: grid; place-items: center; overflow: hidden; }
.rslot__box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); animation: boxShine 3.2s ease-in-out infinite; }
@keyframes boxShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.rslot__lid { position: absolute; top: 0; left: 0; right: 0; height: 26%; background: rgba(255, 99, 179, 0.22); border-bottom: 1.5px dashed rgba(255, 122, 192, 0.55); }
.rslot__lid::after { content: ""; position: absolute; left: 50%; top: -7px; transform: translateX(-50%); width: 16px; height: 12px; border: 1.5px solid rgba(255, 122, 192, 0.65); border-bottom: 0; border-radius: 8px 8px 0 0; }
.rslot__q { font-family: var(--font-brand); font-size: 30px; font-weight: 800; color: var(--brand-soft); z-index: 1; }
.rslot.is-more .rslot__q { color: var(--cream); }
.rslot.is-box:hover .rslot__box { transform: rotate(-2deg) scale(1.04); transition: transform 0.3s var(--ease); }

/* ===================== DOWNLOAD ===================== */
.download { position: relative; overflow: hidden; padding: clamp(96px, 16vh, 170px) clamp(20px, 5vw, 56px); }
.download__bg { position: absolute; inset: 0; z-index: 1; }
.download__bg img { width: 100%; height: 100%; object-fit: cover; }
.download__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(8, 11, 16, 0.92) 0%, rgba(8, 11, 16, 0.55) 45%, rgba(8, 11, 16, 0.75) 100%); }
.download__pets { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; height: 0; }
.download__pets img { position: absolute; bottom: -6px; width: clamp(92px, 11vw, 140px); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); }
.download__pets img:first-child { left: 7%; }
.download__pets img:last-child { right: 8%; }
.download__inner { position: relative; z-index: 4; max-width: 760px; margin: 0 auto; text-align: center; }
.download__title { font-family: var(--font-zh); font-weight: 900; font-size: clamp(30px, 5.4vw, 60px); line-height: 1.1; letter-spacing: -0.015em; }
.download__lead { margin: 20px auto 0; max-width: 520px; font-family: var(--font-zh); font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.8; color: rgba(246, 241, 231, 0.85); }
.dlbtns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.download__sub { margin-top: 22px; font-family: var(--font-zh); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 46px 24px; text-align: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 8px; }
.footer__tag { margin-top: 12px; font-family: var(--font-zh); font-size: 13.5px; color: var(--muted); }
.footer__copy { margin-top: 8px; font-size: 12.5px; color: rgba(154, 163, 178, 0.6); font-family: var(--font-zh); }
.privacy-note { width: min(680px, 100%); margin: 16px auto 0; font-family: var(--font-zh); color: rgba(154, 163, 178, 0.72); font-size: 12.5px; line-height: 1.75; }
.privacy-note summary { display: inline-flex; cursor: pointer; list-style: none; color: rgba(255, 255, 255, 0.68); transition: color 0.2s; }
.privacy-note summary::-webkit-details-marker { display: none; }
.privacy-note summary:hover { color: var(--cream); }
.privacy-note__body { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.04); text-align: left; }
.privacy-note__body p + p { margin-top: 8px; }

/* ===================== MODAL ===================== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 8, 12, 0.66); backdrop-filter: blur(8px); animation: fadeIn 0.3s; }
.modal__card { position: relative; z-index: 2; width: min(440px, 100%); background: linear-gradient(180deg, #1b212c, #12161e); border: 1px solid var(--line); border-radius: 24px; padding: 30px 30px 26px; text-align: center; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8); animation: modalIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } }
.modal__x { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: var(--cream); font-size: 20px; line-height: 1; transition: background 0.2s; }
.modal__x:hover { background: rgba(255, 255, 255, 0.18); }
.modal__pet { width: 96px; height: 96px; margin: 0 auto 6px; }
.modal__pet img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }
.modal__title { font-family: var(--font-zh); font-weight: 800; font-size: 22px; margin-top: 4px; }
.modal__lead { font-family: var(--font-zh); font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.modal__form { display: flex; gap: 8px; margin-top: 20px; }
.modal__form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--cream); font-family: var(--font-zh); font-size: 14px; outline: none; transition: border-color 0.2s; }
.modal__form input:focus { border-color: var(--brand-1); }
.modal__submit { border: 0; white-space: nowrap; padding: 12px 18px; border-radius: 12px; font-family: var(--font-zh); font-weight: 800; font-size: 14px; color: #fff; background: var(--brand-grad); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.modal__submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 99, 179, 0.45); }
.modal__submit:disabled { cursor: wait; opacity: 0.72; transform: none; box-shadow: none; }
.modal__status { min-height: 18px; margin-top: 10px; font-family: var(--font-zh); font-size: 12px; color: #ff9aa9; }
.modal__status:empty { display: none; }
.modal__note { margin-top: 14px; font-family: var(--font-zh); font-size: 11.5px; color: rgba(154, 163, 178, 0.7); }
.modal__done { display: none; }
.modal.is-done .modal__pet, .modal.is-done .modal__title, .modal.is-done .modal__lead, .modal.is-done .modal__form, .modal.is-done .modal__note, .modal.is-done > .modal__card > .kicker { display: none; }
.modal.is-done .modal__done { display: block; }
.modal__donepet { width: 110px; height: 110px; margin: 0 auto 8px; }
.modal__donepet img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }
.modal__done h3 { font-family: var(--font-zh); font-weight: 800; font-size: 22px; }
.modal__done p { font-family: var(--font-zh); font-size: 14px; line-height: 1.7; color: var(--muted); margin: 12px 0 20px; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { animation: revealUp 0.8s var(--ease) forwards; }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .nav__pill { display: none; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .feats li:nth-child(2) { border-right: 0; }
  .feats li:nth-child(1), .feats li:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  :root { --pet-size: clamp(64px, 17vw, 86px); }
  .hero { padding-top: 100px; }
  .hero__title { font-size: clamp(29px, 8.6vw, 42px); }
  .hero__btns { gap: 10px; }
  .dlbtn { flex: 1; justify-content: center; }
  .hero__tip { font-size: 11.5px; top: 74px; padding: 8px 10px 8px 12px; }
  .hud { left: 12px; bottom: clamp(72px, 12vh, 116px); width: 168px; padding: 9px; }
  .wallthumb { height: 24px; }
  .hbtn { font-size: 12.5px; padding: 7px 10px 7px 7px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .screen { padding: 6px; }
  .screen__poke { font-size: 12px; bottom: 8%; }
  .download__pets { display: none; }
  .modal__form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .hero__wall img, .rslot__box::before { animation: none; } }
