* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-overlay: rgba(0, 0, 0, 0.45);
  --card-bg: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.25);
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --btn-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --btn-shadow: 0 8px 24px rgba(102, 126, 234, 0.45);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 32px;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.logo-wrap {
  margin-bottom: 20px;
}

.logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.logo-placeholder {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 22px;
  background: var(--card-bg);
  border: 2px dashed var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-muted);
}

.title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.version {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.detail-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.detail-card .detail {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 52px;
  border: none;
  border-radius: 26px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.download-btn:active {
  transform: scale(0.98);
}

.download-btn:hover {
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.5);
}

.file-size {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.loading {
  color: var(--text-muted);
  padding: 40px 20px;
}

.error-msg {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 12px;
}
