* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #070b1a;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
#stage {
  position: fixed; inset: 0;
  display: block;
  cursor: crosshair;
  z-index: 1;
}
.ui { position: fixed; z-index: 10; color: rgba(255,255,255,.88); pointer-events: none; }
.brand {
  top: max(28px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  user-select: none;
}
.logo {
  width: min(96px, 20vw); height: min(96px, 20vw);
  border-radius: 50%;
  box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12);
  background: rgba(8,12,28,.35);
}
.brand h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 200;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-shadow: 0 2px 24px rgba(0,0,0,.65);
}
.brand p {
  margin-top: -2px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(220,230,255,.55);
  text-transform: uppercase;
}
.actions {
  margin-top: 10px;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  pointer-events: auto;
}
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 24px;
  font-size: 13px; letter-spacing: 0.16em;
  color: #e8f2ff;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(180,210,255,.35);
  background: rgba(14, 30, 70, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all .25s ease;
}
.cta:hover {
  background: rgba(40, 90, 170, .4);
  border-color: rgba(190,220,255,.55);
  transform: translateY(-1px);
}
.cta.primary {
  background: linear-gradient(135deg, rgba(14,165,233,.35), rgba(139,92,246,.35));
  border-color: rgba(160,200,255,.5);
}
.hint {
  bottom: max(28px, env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  font-size: 12px; letter-spacing: 3px;
  color: rgba(255,255,255,.55);
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
  white-space: nowrap;
  transition: opacity 2s ease;
}
.hint.fade { opacity: .22; }
@media (max-width: 640px) {
  .brand { left: 20px; right: 20px; transform: none; }
  .hint { font-size: 11px; letter-spacing: 1.5px; white-space: normal; text-align: center; padding: 0 16px; }
}
