* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0d0c0c;
  --card-bg: rgba(26, 22, 19, 0.7);
  --border-color: rgba(255, 255, 255, 0.05);
  --text-primary: rgba(255, 255, 255, 0.85);
  --text-secondary: rgba(255, 255, 255, 0.45);
  --accent-color: #e56b3f; /* 篝火橙 */
  --accent-light: rgba(229, 107, 63, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* 浮动背景火星 Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* 渐变遮罩层 */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

/* 极简顶栏 */
header {
  width: 100%;
  max-width: 800px;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
}

.lang-switch {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

/* 主要内容容器 */
.container {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 35px 0 15px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 300;
  line-height: 1.6;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 107, 63, 0.2);
  background: rgba(30, 25, 22, 0.8);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card-title {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.card-arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--accent-color);
  opacity: 0.6;
  transition: transform 0.3s ease;
  font-size: 20px;
}

.card:hover .card-arrow {
  transform: translateX(5px);
  opacity: 1;
}

/* 文本页面专属样式 */
.policy-box {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 50px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.policy-box p {
  margin-bottom: 16px;
  font-size: 14px;
}

.policy-box ol, .policy-box ul {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.3s;
}

.back-btn:hover {
  color: var(--text-primary);
}

footer {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1px;
  z-index: 10;
}

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  .policy-box { padding: 25px; }
  header { padding: 20px; }
}
