:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-sub: #f1f5f9;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --primary-gold: #b45309;
  --primary-gold-light: #d97706;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --accent-blue: #0284c7;
  --accent-blue-light: #38bdf8;
  --accent-green: #10b981;
  --border-sub: #e2e8f0;
  --border-focus: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏：纯净白底磨砂 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-sub);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
}
.brand-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-gold-light);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-auth {
  padding: 8px 18px;
  background: var(--gold-gradient);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
  transition: opacity 0.2s;
}
.btn-nav-auth:hover { opacity: 0.9; }

/* 右上角语言切换 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-sub, #e2e8f0);
  border-radius: 20px;
  padding: 2px 8px 2px 10px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}
.lang-switch .lang-globe { font-size: 12px; line-height: 1; opacity: 0.75; }
.lang-switch select {
  border: none;
  outline: none;
  background: transparent;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 2px;
  cursor: pointer;
  max-width: 108px;
}
.lang-switch select:focus { color: var(--primary-gold-light); }
@media (max-width: 768px) {
  .lang-switch select { max-width: 92px; font-size: 12px; }
}

/* 主体容器 */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 36px 16px;
  flex: 1;
  width: 100%;
}

/* 纯白舒适卡片 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-sub);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

/* 按钮 */
.btn-primary {
  background: var(--gold-gradient);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.25);
  transition: transform 0.1s, opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* 表单输入控件 (开朗舒适明亮风) */
.inp-ctrl {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inp-ctrl:focus {
  border-color: var(--primary-gold-light);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* 页脚 */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-sub);
  padding: 28px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: auto;
}
.footer a { color: var(--text-sub); text-decoration: none; margin: 0 8px; font-weight: 600; }
.footer a:hover { color: var(--primary-gold-light); }
