* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #0b0d12;
  --text: #e8ecf3;
  --muted: #8b93a7;
  --gold: #ffcf5c;
  --line: rgba(255,255,255,.12);
}

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px calc(32px + env(safe-area-inset-bottom));
}

/* 背景图（后台填了才显示） */
.nav-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, #1d2536 0%, #0b0d12 62%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.nav-bg.has-img { filter: blur(2px) brightness(.5); transform: scale(1.06); }
.nav-veil {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,.55) 0%, rgba(11,13,18,.86) 100%);
  z-index: -1;
  pointer-events: none;
}

.nav-wrap {
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.nav-logo { margin-bottom: 20px; }
.nav-logo img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  border: 1px solid var(--line);
}
.nav-logo .nav-letter {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #221803;
  background: linear-gradient(135deg, #ffd76e, #ff9f1c);
  box-shadow: 0 10px 30px rgba(255,159,28,.35);
}

/* 标题 */
.nav-title { font-size: 30px; font-weight: 800; letter-spacing: 1px; line-height: 1.3; margin-bottom: 10px; }
.nav-title a { color: var(--text); text-decoration: none; }
.nav-sub { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 34px; }

/* 入口按钮 */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s;
  backdrop-filter: blur(8px);
}
.nav-link:active { transform: scale(.975); }
.nav-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,207,92,.5); }
.nav-link.primary {
  background: linear-gradient(135deg, #ffd76e, #ff9f1c);
  color: #221803;
  border: none;
  box-shadow: 0 6px 22px rgba(255,159,28,.4);
}
.nav-link .nav-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(0,0,0,.22);
}

/* 底部 */
.nav-foot { margin-top: 30px; }
.nav-enter { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav-enter:hover { color: var(--gold); }

@media (min-width: 600px) {
  .nav-title { font-size: 34px; }
  .nav-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .nav-link { min-width: 150px; }
}
