*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg:#f5f5f3; --white:#fff; --text:#111110; --muted:#8a8a85; --light:#e5e5e0; --accent:#1a6aff; --accent-light:#eef3ff; }
html { scroll-behavior: smooth; }
body { background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; min-height:100vh; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
.page { min-height:100vh; display:flex; flex-direction:column; align-items:center; padding:64px 20px 80px; }
.official-badge { display:inline-flex; align-items:center; gap:7px; margin-bottom:32px; padding:6px 16px; border-radius:100px; color:var(--accent); background:var(--accent-light); font-size:11px; font-weight:600; letter-spacing:1px; animation:fadeUp .55s ease both; }
.badge-dot { width:6px; height:6px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.2); animation:blink 2s infinite; }
.icon-wrap { margin-bottom:20px; animation:fadeUp .55s .07s ease both; }
.app-icon { width:96px; height:96px; border-radius:24px; background:linear-gradient(145deg,#2278ff,#0040c8); display:flex; align-items:center; justify-content:center; box-shadow:0 16px 48px rgba(26,106,255,.2),0 2px 8px rgba(0,0,0,.06); position:relative; overflow:hidden; }
.app-icon::after { content:""; position:absolute; top:0; left:0; right:0; height:48%; background:linear-gradient(rgba(255,255,255,.15),transparent); pointer-events:none; }
.app-icon img { width:100%; height:100%; object-fit:cover; display:block; }
.app-icon.is-empty { background:transparent; box-shadow:none; }
.app-icon.is-empty::after { display:none; }
h1.app-name { font-family:Georgia,"Times New Roman","Songti SC",serif; font-size:26px; font-weight:700; letter-spacing:1px; color:#000; margin-bottom:10px; text-align:center; animation:fadeUp .55s .11s ease both; }
.app-sub { max-width:310px; margin-bottom:32px; color:var(--muted); font-size:15px; font-weight:600; line-height:1.7; text-align:center; animation:fadeUp .55s .15s ease both; }
.btn-group { display:flex; flex-direction:column; gap:10px; width:100%; max-width:340px; animation:fadeUp .55s .23s ease both; }
.download-form { width:100%; }
.btn { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; padding:15px 28px; border-radius:14px; font-size:15px; font-weight:500; transition:all .16s ease; cursor:pointer; border:0; }
.btn:active { transform:scale(.975); }
.btn-primary { background:var(--accent); color:#fff; box-shadow:0 4px 18px rgba(26,106,255,.26); }
.btn-primary:hover { background:#0f5ae0; box-shadow:0 6px 24px rgba(26,106,255,.36); transform:translateY(-1px); }
.btn-secondary { background:var(--white); color:var(--text); border:1.5px solid var(--light); box-shadow:0 1px 6px rgba(0,0,0,.05); }
.btn-secondary:hover { border-color:#c8c8c2; box-shadow:0 3px 14px rgba(0,0,0,.08); transform:translateY(-1px); }
.download-tray-icon { position:relative; width:18px; height:18px; flex:0 0 18px; }
.download-tray-icon::before { content:""; position:absolute; left:8px; top:1px; width:2px; height:10px; border-radius:2px; background:currentColor; }
.download-tray-icon::after { content:""; position:absolute; left:2px; bottom:1px; width:14px; height:6px; border:1.8px solid currentColor; border-top:0; border-radius:0 0 3px 3px; }
.download-tray-icon { background:linear-gradient(45deg,transparent 46%,currentColor 47% 55%,transparent 56%) 4px 7px/5px 5px no-repeat,linear-gradient(-45deg,transparent 46%,currentColor 47% 55%,transparent 56%) 9px 7px/5px 5px no-repeat; }
.btn-tag { padding:2px 8px; border-radius:100px; background:rgba(255,255,255,.2); font-size:10px; font-weight:700; letter-spacing:.5px; }
.divider { width:100%; max-width:380px; display:flex; align-items:center; gap:14px; margin:52px 0 32px; animation:fadeUp .55s .28s ease both; }
.divider-line { flex:1; height:1px; background:var(--light); }
.divider-text { color:var(--muted); font-size:12px; letter-spacing:.5px; white-space:nowrap; font-weight:500; }
.carousel-section { width:100%; max-width:720px; animation:fadeUp .55s .32s ease both; }
.carousel-viewport { overflow:hidden; padding:10px 0 28px; }
.carousel-track { display:flex; gap:18px; transition:transform .5s cubic-bezier(.22,1,.36,1); }
.screenshot { flex:0 0 195px; height:375px; border-radius:24px; overflow:hidden; background:var(--white); border:1px solid var(--light); box-shadow:0 8px 28px rgba(0,0,0,.08); transition:opacity .3s,transform .3s,box-shadow .3s; position:relative; }
.screenshot:hover { box-shadow:0 14px 44px rgba(0,0,0,.12); transform:translateY(-4px) scale(1.01); }
.screenshot img { width:100%; height:100%; object-fit:cover; display:block; }
.screenshots-placeholder { display:flex; align-items:center; justify-content:center; width:min(440px,100%); height:180px; margin:auto; border:1px dashed #d6d6d0; border-radius:20px; color:var(--muted); background:rgba(255,255,255,.5); font-size:14px; }
.carousel-dots { display:flex; justify-content:center; gap:7px; margin-top:4px; }
.dot { width:7px; height:7px; border-radius:100px; background:var(--light); cursor:pointer; transition:all .25s; border:0; padding:0; }
.dot.active { width:22px; background:var(--accent); }
.carousel-nav { display:flex; justify-content:center; gap:10px; margin-top:18px; }
.nav-btn { width:40px; height:40px; border-radius:50%; background:var(--white); border:1.5px solid var(--light); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .16s; color:var(--text); font-size:25px; line-height:1; padding:0 0 3px; }
.nav-btn:hover { background:var(--accent); border-color:var(--accent); color:#fff; }
.app-info-card { width:100%; max-width:440px; margin-top:48px; padding:18px 22px; border:1px solid #deded9; border-radius:20px; background:rgba(255,255,255,.88); box-shadow:0 8px 28px rgba(0,0,0,.055); animation:fadeUp .55s .35s ease both; }
.app-info-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 0; border-bottom:1px solid var(--light); font-size:13px; }
.app-info-row:last-child { border-bottom:0; }
.app-info-label { color:#718096; }
.app-info-value { color:#4a5568; font-weight:600; text-align:right; }
footer { margin-top:48px; color:var(--muted); font-size:12px; text-align:center; line-height:2; animation:fadeUp .55s .39s ease both; }
.download-loading { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:24px; background:rgba(17,17,16,.28); backdrop-filter:blur(4px); }
.download-loading[hidden] { display:none; }
.loading-card { width:min(300px,100%); display:grid; justify-items:center; gap:10px; padding:28px 24px; border:1px solid rgba(255,255,255,.8); border-radius:20px; background:rgba(255,255,255,.96); box-shadow:0 24px 70px rgba(0,0,0,.18); text-align:center; }
.loading-card strong { color:#242424; font-size:15px; }
.loading-card small { color:var(--muted); font-size:12px; }
.loading-spinner { width:36px; height:36px; border:3px solid #dbe7ff; border-top-color:var(--accent); border-radius:50%; animation:loadingSpin .7s linear infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes loadingSpin { to { transform:rotate(360deg); } }
@media (max-width:480px) { .page { padding-top:48px; } h1.app-name { font-size:28px; } .screenshot { flex-basis:175px; height:340px; } .app-info-card { padding:15px 20px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
