/* === 全屏布局 === */

body {
  background: linear-gradient(175deg, #0b0820 0%, #160a36 50%, #0c0726 100%);
}

/* Stars background */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 22% 30%, #fff 50%, transparent),
    radial-gradient(1px 1px at 72% 60%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 42% 80%, #cdb8ff 50%, transparent),
    radial-gradient(1px 1px at 85% 24%, #fff 50%, transparent),
    radial-gradient(1px 1px at 14% 70%, #e8c97a 50%, transparent),
    radial-gradient(1.5px 1.5px at 90% 76%, #fff 50%, transparent),
    radial-gradient(1px 1px at 34% 46%, #fff 50%, transparent);
  animation: lltw 7s ease-in-out infinite;
  pointer-events: none;
}
.aurora {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}
.aurora-top {
  top: -8%;
  left: -12%;
  width: 60%;
  height: 40%;
  background: radial-gradient(circle, rgba(120,70,200,0.32), transparent 64%);
  filter: blur(34px);
}

/* === Nav bar === */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(11,8,32,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.nav-back {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* === Scroll content === */
.scroll-content {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 64px;
  overflow-y: auto;
  z-index: 5;
  color: var(--text-body);
  -webkit-overflow-scrolling: touch;
}
.scroll-content.no-nav {
  top: 0;
}

/* === Page container === */
.page {
  min-height: 100%;
  padding: 0 20px 26px;
}

/* === Tab bar === */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 64px;
  background: rgba(12,7,30,0.92);
  border-top: 1px solid var(--border-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  padding-bottom: 8px;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--purple-dark);
  font-size: 10px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  user-select: none;
  text-decoration: none;
}
.tab-item.active { color: var(--gold); }
