/* ===== 全局重置 & 背景纹理 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f5f0e8;
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', 'Songti SC', serif;
  overflow-x: hidden;
  color: #2c241a;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(230, 215, 190, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(210, 195, 175, 0.2) 0%, transparent 50%),
    repeating-linear-gradient(45deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.008) 2px,
      rgba(0, 0, 0, 0.008) 4px);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse, rgba(235, 215, 185, 0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ===== 内容容器 ===== */
.content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-height: 100vh;
}

/* ===== 粘性 Header ===== */
.glass-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  background: rgba(255, 252, 248, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(210, 195, 175, 0.25);
  border-radius: 60px;
  padding: 0.8rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}
.glass-header__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2c241a;
  white-space: nowrap;
}
.glass-header__logo span {
  background: linear-gradient(135deg, #b8963a, #d4c5a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Creators in header */
.glass-header__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.glass-header__creators {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: rgba(44, 36, 26, 0.4);
  font-weight: 500;
  border-left: 1px solid rgba(210, 195, 175, 0.3);
  padding-left: 2rem;
}
.creator-item {
  position: relative;
  cursor: pointer;
}
.creator-name {
  color: rgba(44, 36, 26, 0.6);
  transition: color 0.2s;
  padding: 0.2rem 0;
  text-decoration: none;
}
.creator-name:hover {
  color: #b8963a;
}
.creator-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 252, 248, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(210, 195, 175, 0.3);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
  min-width: 160px;
}
.creator-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.creator-item:hover .creator-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}
.creator-role {
  font-size: 0.75rem;
  color: #b8963a;
  font-weight: 600;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}
.creator-divider {
  width: 100%;
  height: 1px;
  background: rgba(210, 195, 175, 0.3);
  margin-bottom: 0.5rem;
}
.creator-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(44, 36, 26, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  white-space: nowrap;
  margin-top: 0.4rem;
  cursor: pointer;
  transition: color 0.2s;
}
.creator-action:first-of-type {
  margin-top: 0;
}
.creator-action:hover {
  color: #b8963a;
}
.creator-action svg {
  opacity: 0.7;
}
.glass-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(44, 36, 26, 0.5);
  flex-wrap: wrap;
}
.glass-header__nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.glass-header__nav a:hover {
  color: #b8963a;
}
.glass-header__nav a.active {
  color: #b8963a;
  font-weight: 600;
}

/* ===== 页面标题 ===== */
.page-header {
  text-align: center;
  padding: 0.5rem 0 0.2rem;
}
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2c241a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.page-header h1 small {
  font-size: 0.45em;
  font-weight: 400;
  color: rgba(44, 36, 26, 0.35);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.2rem;
}
.ink-line {
  width: 80px;
  height: 1px;
  margin: 0.6rem auto 0.8rem;
  background: linear-gradient(90deg, transparent, rgba(184, 150, 58, 0.2), transparent);
  position: relative;
}

/* ===== Footer ===== */
.glass-footer {
  background: rgba(255, 252, 248, 0.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(210, 195, 175, 0.15);
  border-radius: 60px;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}
.glass-footer__copy {
  font-size: 0.75rem;
  color: rgba(44, 36, 26, 0.4);
}
.glass-footer__copy strong {
  color: rgba(44, 36, 26, 0.5);
  font-weight: 500;
}
.glass-footer__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.glass-footer__links a {
  color: rgba(44, 36, 26, 0.4);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  transition: color 0.2s;
}
.glass-footer__links a:hover {
  color: #b8963a;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  background: rgba(255, 252, 248, 0.6);
  color: #2c241a;
  border: 1px solid rgba(210, 195, 175, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn--primary {
  background: linear-gradient(135deg, #d4c5a0, #b8963a);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(184, 150, 58, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(184, 150, 58, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 252, 248, 0.9);
  border-color: rgba(184, 150, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ===== 占位卡片（用于 docs, dev-docs, workshop） ===== */
.placeholder-card {
  background: rgba(255, 252, 248, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(210, 195, 175, 0.15);
  border-radius: 24px;
  padding: 4rem 2.5rem;
  text-align: center;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 16px 48px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.placeholder-card .icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}
.placeholder-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c241a;
  margin-bottom: 0.5rem;
}
.placeholder-card p {
  font-size: 1rem;
  color: rgba(44, 36, 26, 0.55);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}
.placeholder-card .status-badge {
  display: inline-block;
  background: rgba(184, 150, 58, 0.1);
  border: 1px solid rgba(184, 150, 58, 0.2);
  border-radius: 60px;
  padding: 0.3rem 1.2rem;
  font-size: 0.75rem;
  color: #b8963a;
  margin-top: 1.5rem;
}

/* ===== 响应式基础 ===== */
@media (max-width: 768px) {
  .content {
    padding: 1rem 1rem 2rem;
    gap: 2rem;
  }
  .glass-header {
    top: 10px;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
  }
  .glass-header__nav {
    gap: 0.8rem;
    font-size: 0.75rem;
  }
  .glass-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 40px;
    padding: 1.2rem;
  }
  .glass-footer__links {
    justify-content: center;
  }
  .placeholder-card {
    padding: 2.5rem 1.5rem;
  }
  .placeholder-card .icon {
    font-size: 3rem;
  }
  .placeholder-card h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .glass-header__logo {
    font-size: 1rem;
  }
  .glass-header__nav {
    gap: 0.5rem;
    font-size: 0.7rem;
  }
  .placeholder-card {
    padding: 2rem 1rem;
  }
}