:root {
  --bg: #080B14;
  --bg-deep: #060910;
  --panel: rgba(20, 27, 45, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --text: #F1F5F9;
  --muted: #94A3B8;
  --dim: #64748B;
  --accent: #818CF8;
  --accent-deep: #6366F1;
  --ok: #34D399;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(90% 45% at 50% 0%, rgba(99, 102, 241, 0.2), rgba(8, 11, 20, 0) 62%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 11, 20, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
}

.logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #6D6FF5, #4F46E5);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #C7D2FE;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), #4F46E5);
  border-color: rgba(165, 180, 252, 0.35);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.3);
  font-weight: 600;
}

.btn-ghost {
  background: rgba(20, 27, 45, 0.5);
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(129, 140, 248, 0.4);
}

/* 通用面板 */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* 页脚 */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--dim);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a:hover {
  color: var(--muted);
}

/* 提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 80;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.96);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.2s ease;
}

.toast[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a:not(.pill) {
    display: none;
  }
}

