/* ══════════════════════════════════
   DreamForge · 锻梦工坊
   Dark theme · 2026
   ══════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-hover: #1a1a28;
  --text: #e0e0e8;
  --text-dim: #8888a0;
  --accent: #c0a060;
  --accent-dim: #8a7a50;
  --border: #1e1e30;
  --radius: 12px;
  --font: 'Inter', -apple-system, sans-serif;
  --font-cn: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font), var(--font-cn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #d4b870; }

img { max-width: 100%; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ Navigation ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-links { display: flex; gap: 8px; }

.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-dim);
  transition: all .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg-hover);
}

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ═══ Pages ═══ */
.page { display: none; padding-top: 56px; min-height: 100vh; }
.page.active { display: block; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(192,160,96,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(100,80,160,.05) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; padding: 0 24px; }

.hero-icon { font-size: 3rem; margin-bottom: 16px; }

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  transition: all .2s;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0f !important;
}
.btn-primary:hover { background: #d4b870; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text) !important;
}
.btn-secondary:hover { border-color: var(--accent); }

/* ═══ Sections ═══ */
.section { padding: 80px 0; }

.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

/* ═══ Feature Grid ═══ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .2s;
}

.feature-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.6; }

/* ═══ About ═══ */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0f;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-info { flex: 1; min-width: 240px; }
.about-info h3 { font-size: 1.4rem; margin-bottom: 4px; }
.about-tagline { color: var(--accent-dim); font-size: .95rem; margin-bottom: 16px; }

.about-details { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.detail-item {
  display: flex;
  gap: 12px;
  font-size: .9rem;
}

.detail-label {
  color: var(--text-dim);
  min-width: 80px;
  flex-shrink: 0;
}

/* ═══ Notes ═══ */
.notes-list { display: flex; flex-direction: column; gap: 16px; }

.note-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .2s;
}

.note-item:hover { border-color: var(--accent-dim); }

.note-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.note-item .note-meta {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.note-item p { font-size: .9rem; color: var(--text-dim); line-height: 1.6; }

.note-placeholder { color: var(--text-dim); text-align: center; padding: 40px; }

/* ═══ Echo ═══ */
.echo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.echo-symbol { font-size: 3.5rem; margin-bottom: 16px; }

.echo-text blockquote {
  font-size: 1.1rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  border-left: 3px solid var(--accent-dim);
  padding-left: 20px;
  text-align: left;
}

.echo-text p {
  color: var(--text-dim);
  margin-bottom: 12px;
  text-align: left;
}

/* ═══ Footer ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-dim);
  font-size: .85rem;
}

.footer-icp a {
  color: var(--text-dim);
  font-size: .82rem;
}
.footer-icp a:hover { color: var(--accent); }

/* ═══ Responsive ═══ */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: rgba(10,10,15,.95); padding: 12px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .about-card { flex-direction: column; align-items: center; text-align: center; }
  .echo-text blockquote { text-align: center; border-left: none; padding-left: 0; }
  .detail-item { justify-content: center; }
}
