:root {
  --bg: #07110d;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-2: rgba(10, 17, 31, 0.9);
  --text: #f2ebd4;
  --muted: #9ba7a0;
  --gold: #c9a96b;
  --gold-2: #f0d79f;
  --line: rgba(201, 169, 107, 0.22);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(160deg, #0a0e1a 0%, #111827 40%, #0f1a2e 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.site-header {
  text-align: center;
  padding: 26px 16px 8px;
}

.site-title {
  font-size: 2.4rem;
  letter-spacing: 0.18em;
  margin: 0 0 8px;
  background: linear-gradient(120deg, var(--gold-2), var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(201, 169, 107, 0.25);
}

/* 网站标题 Logo */
.site-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 10px;
  box-shadow: 0 0 14px rgba(201, 169, 107, 0.4);
}

/* 所有下拉框深色 */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a96b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px !important;
  padding: 11px 10px !important;
  padding-right: 28px !important;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
}
select:hover { border-color: rgba(201, 169, 107, 0.6); }
select:focus { border-color: rgba(201, 169, 107, 0.7); background-color: rgba(255, 255, 255, 0.07); }
select option { background-color: #0d1a14; color: #f2ebd4; }
.dt-row { display: flex; gap: 6px; }
.dt-row select { flex: 1; min-width: 0; padding: 11px 6px !important; font-size: 0.9rem; }

.site-subtitle {
  color: var(--muted);
  letter-spacing: 0.28em;
  margin: 0;
  font-size: 0.95rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(201, 169, 107, 0.14), rgba(10, 20, 18, 0.95));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 169, 107, 0.16);
  color: var(--gold-2);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2, h3 {
  margin: 0 0 10px;
  font-weight: 700;
}

/* 中文排版：每段开头空两格（标题除外） */
p:not(.site-subtitle) {
  text-indent: 2em;
}

.hero p { color: var(--muted); line-height: 1.8; }

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 107, 0.7);
}

.card h3 { color: var(--gold-2); font-size: 1.2rem; }

.card ul { margin: 12px 0 18px; padding-left: 18px; color: var(--muted); line-height: 1.8; }

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ec8a8 0%, #5ab08a 100%);
  color: #0a0e1a;
  font-weight: 700;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.sanpan-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #f0d79f 0%, #c9a96b 100%);
}

/* 导航页：条目行 + 独立进入按钮 */
.entry-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.entry:hover {
  border-color: rgba(201, 169, 107, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.entry-name {
  flex: 1;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  min-width: 0;
}

.btn-entry {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-entry:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-entry.free {
  background: linear-gradient(135deg, #7ec8a8 0%, #5ab08a 100%);
  color: #0a0e1a;
}

.btn-entry.demo {
  background: linear-gradient(135deg, #f0d79f 0%, #c9a96b 100%);
  color: #0a0e1a;
}

.section {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: var(--panel-2);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
}

.metric strong { display: block; color: var(--gold-2); margin-bottom: 6px; }

@media (max-width: 900px) {
  .grid, .metrics { grid-template-columns: 1fr; }
}
