/* ==========================================================================
   约会灵感站 · 样式
   风格：清新温柔（奶油 + 柔粉 + 薄荷绿，圆角卡片）
   ========================================================================== */

:root {
  /* 主色 */
  --cream: #fdf6ec;        /* 奶油底 */
  --cream-deep: #f8eede;   /* 稍深奶油 */
  --pink: #f7c5cc;         /* 柔粉 */
  --pink-deep: #eaa1ab;    /* 深柔粉 */
  --mint: #bfe3d0;         /* 薄荷绿 */
  --mint-deep: #7fc8a5;    /* 深薄荷 */
  --ink: #4a3f35;          /* 暖棕墨色文字 */
  --ink-soft: #8a7c6e;     /* 次级文字 */
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(180, 140, 120, 0.12);
  --shadow-hover: 0 14px 34px rgba(180, 140, 120, 0.18);
  --radius: 20px;
  --radius-sm: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 140, 120, 0.1);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
}

.brand-emoji { font-size: 22px; }

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.18s, color 0.18s;
}

.nav a:hover {
  background: var(--pink);
  color: var(--ink);
}

/* ========== 首屏 ========== */
.hero {
  padding: 64px 20px 56px;
  text-align: center;
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-kicker {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 26px; font-weight: 800; }
.hero-stat span { font-size: 13px; color: var(--ink-soft); }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.18s, background 0.18s;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 161, 171, 0.4);
}

.btn-primary:hover { box-shadow: 0 12px 26px rgba(234, 161, 171, 0.5); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--pink);
}

.btn-ghost:hover { background: var(--cream-deep); }

.btn-large { padding: 15px 34px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ========== 板块通用 ========== */
.section {
  padding: 56px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-tint {
  max-width: none;
  background: var(--cream-deep);
}

.section-tint > .section-head,
.section-tint > .chips,
.section-tint > .result-count,
.section-tint > .card-grid,
.section-tint > .gen-panel {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-emoji {
  font-size: 30px;
  background: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.section-title { font-size: 26px; font-weight: 800; }
.section-desc { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }

/* ========== 筛选 chips ========== */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-group { display: flex; flex-direction: column; gap: 8px; }

.filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid rgba(180, 140, 120, 0.2);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.16s;
}

.chip:hover { border-color: var(--pink-deep); color: var(--ink); }

.chip.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink);
  font-weight: 600;
}

.result-count {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ========== 卡片网格 ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-emoji {
  font-size: 38px;
  line-height: 1;
  background: var(--cream-deep);
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title { font-size: 17px; font-weight: 700; }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.card-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-grow: 1;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
}

.tag-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
}

/* ========== 生成器 ========== */
.gen-panel {
  background: var(--white);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.gen-locks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.gen-lock-label { font-size: 13px; color: var(--ink-soft); }

.gen-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.gen-select select {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(180, 140, 120, 0.2);
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.gen-card {
  background: linear-gradient(160deg, var(--cream-deep), #fff7f0);
  border-radius: 20px;
  padding: 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.gen-emoji {
  font-size: 56px;
  background: var(--white);
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.gen-title { font-size: 26px; font-weight: 800; }

.gen-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.gen-desc { font-size: 14px; color: var(--ink-soft); max-width: 480px; margin: 0 auto; }

.gen-detail {
  margin-top: 8px;
  text-align: left;
  display: grid;
  gap: 14px;
}

.gen-detail-block h4 {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 6px;
}

.gen-tips { list-style: none; display: grid; gap: 6px; }
.gen-tips li { font-size: 13.5px; padding-left: 18px; position: relative; }
.gen-tips li::before { content: "✦"; position: absolute; left: 0; color: var(--pink-deep); }

.gen-timeline { list-style: none; display: grid; gap: 6px; counter-reset: step; }
.gen-timeline li {
  font-size: 13.5px;
  padding-left: 30px;
  position: relative;
  counter-increment: step;
}
.gen-timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gen-actions {
  margin-top: 18px;
  text-align: center;
}

/* ========== 规划清单 ========== */
.checklist-wrap { display: grid; gap: 20px; }

.checklist-progress {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.progress-text { font-size: 14px; font-weight: 600; white-space: nowrap; }

.progress-bar {
  flex: 1;
  min-width: 120px;
  height: 12px;
  border-radius: 999px;
  background: var(--cream-deep);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mint-deep), var(--mint));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.checklist-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.checklist-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.checklist-items { list-style: none; display: grid; gap: 10px; }

.checklist-items li { display: flex; align-items: flex-start; gap: 10px; }

.checklist-items label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  user-select: none;
}

.checklist-items input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 7px;
  border: 2px solid rgba(180, 140, 120, 0.3);
  background: var(--white);
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: all 0.15s;
}

.checklist-items input[type="checkbox"]:checked {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
}

.checklist-items input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.checklist-items input:checked + span {
  color: var(--ink-soft);
  text-decoration: line-through;
}

/* ========== 小知识 ========== */
.knowledge-tabs { margin-bottom: 20px; }

.knowledge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.knowledge-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.knowledge-emoji {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.knowledge-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-deep);
  letter-spacing: 0.5px;
}

.knowledge-title { font-size: 16px; font-weight: 700; }
.knowledge-text { font-size: 13.5px; color: var(--ink-soft); }

/* ========== 页脚 ========== */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  border-top: 1px solid rgba(180, 140, 120, 0.1);
}

.footer-sub { font-size: 12px; margin-top: 4px; opacity: 0.7; }

/* ========== 响应式 ========== */
@media (min-width: 640px) {
  .filter-group { flex-direction: row; align-items: center; }
  .filter-label { width: 40px; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .nav a { padding: 6px 10px; font-size: 13px; }
  .br-desktop { display: none; }
  .hero { padding: 48px 18px 44px; }
  .section { padding: 44px 18px; }
  .gen-card { padding: 20px; }
}

/* 空状态 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-soft);
}

.empty-state .empty-emoji { font-size: 44px; display: block; margin-bottom: 10px; }
