:root {
  --bg-main: #f7f1e7;
  --bg-light: #fffaf2;
  --orange: #e08a4f;
  --terracotta: #c96b45;
  --mint: #5ca99a;
  --navy: #3d5a80;
  --ink: #4a3b34;
  --muted: #8a7568;
  --line: #b3a395;
  --duo: linear-gradient(135deg, var(--orange) 0%, var(--mint) 100%);
  --shadow-hard: 3px 3px 0px var(--ink);
  --border-thick: 2px solid var(--ink);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(224, 138, 79, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 138, 79, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 导航 */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 231, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-thick);
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.brand img { height: 32px; width: 32px; border-radius: 8px; border: var(--border-thick); object-fit: cover; }
.nav-links { display: none; gap: 16px; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--terracotta); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-download {
  background: var(--duo); color: #fff; padding: 8px 16px; border-radius: 20px;
  font-weight: bold; border: var(--border-thick); box-shadow: var(--shadow-hard);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0px var(--ink); }
.menu-toggle { display: block; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--ink); }

/* 首屏 */
.hero { padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-content .badge {
  display: inline-block; background: var(--bg-light); border: var(--border-thick);
  padding: 4px 12px; border-radius: 16px; font-size: 0.85rem; font-weight: bold;
  margin-bottom: 16px; box-shadow: 2px 2px 0px var(--ink);
}
.hero-content h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }
.hero-content p { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; max-width: 500px; }
.hero-tags { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-tags span {
  background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; color: var(--terracotta);
}
.hero-cta { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.btn-primary {
  background: var(--duo); color: #fff; padding: 12px 24px; border-radius: 24px;
  font-size: 1.1rem; font-weight: bold; border: var(--border-thick); box-shadow: var(--shadow-hard);
  transition: transform 0.2s;
}
.btn-primary:hover { transform: translate(-2px, -2px); }
.btn-secondary {
  background: #fff; color: var(--ink); padding: 12px 24px; border-radius: 24px;
  font-size: 1.1rem; font-weight: bold; border: var(--border-thick); box-shadow: var(--shadow-hard);
}
.stats-row { display: flex; gap: 24px; border-top: 1px dashed var(--line); padding-top: 20px; }
.stat-item strong { display: block; font-size: 1.4rem; color: var(--terracotta); }
.stat-item span { font-size: 0.9rem; color: var(--muted); }

/* 地图视觉 */
.hero-map {
  background: #fff; border: var(--border-thick); border-radius: 24px;
  box-shadow: var(--shadow-hard); padding: 20px; position: relative; overflow: hidden;
  min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.map-bg-lines { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0.1; background-image: radial-gradient(circle, var(--ink) 2px, transparent 2px); background-size: 40px 40px; }
.map-compass { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; font-weight: bold; border: 2px solid var(--ink); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; z-index: 2; }
.map-pin-main { position: relative; z-index: 3; text-align: center; margin: 20px 0; }
.map-pin-main img { width: 160px; height: 240px; object-fit: cover; border-radius: 12px; border: var(--border-thick); box-shadow: 4px 4px 0px var(--ink); }
.map-pin-label { background: var(--terracotta); color: #fff; padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; font-weight: bold; display: inline-block; margin-top: -10px; position: relative; border: 2px solid var(--ink); }
.map-side-pins { display: flex; justify-content: space-between; width: 100%; position: absolute; bottom: 40px; z-index: 2; padding: 0 10px; }
.side-pin { width: 60px; height: 80px; border-radius: 8px; border: 2px solid var(--ink); overflow: hidden; transform: rotate(-5deg); box-shadow: 2px 2px 0px var(--ink); background: #fff; }
.side-pin.right { transform: rotate(5deg); }
.side-pin img { width: 100%; height: 100%; object-fit: cover; }
.route-pill { position: absolute; top: 20px; left: 20px; background: #fff; border: 2px dashed var(--ink); border-radius: 20px; padding: 4px 12px; font-size: 0.8rem; font-weight: bold; z-index: 2; }
.route-pill.end { top: auto; bottom: 20px; left: auto; right: 20px; }

/* 通用版块 */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; display: inline-block; position: relative; }
.section-header h2::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--duo); border-radius: 2px; }
.section-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* 街区分区 */
.district-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.district-card {
  background: #fff; border: var(--border-thick); border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-hard); transition: transform 0.2s, box-shadow 0.2s;
}
.district-card:hover { transform: translateY(-4px); box-shadow: 5px 5px 0px var(--ink); }
.district-tag { display: inline-block; background: var(--bg-main); border: 1px solid var(--line); padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; margin-bottom: 12px; }
.district-icon { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.district-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.district-card p { font-size: 0.95rem; color: var(--muted); }

/* 约会路线 */
.route-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.route-card { background: #fff; border: var(--border-thick); border-radius: 16px; padding: 24px; display: flex; gap: 20px; box-shadow: var(--shadow-hard); position: relative; }
.route-num { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; color: #fff; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); border: 2px solid var(--ink); }
.route-num.c1 { background: var(--orange); }
.route-num.c2 { background: var(--mint); }
.route-num.c3 { background: var(--navy); }
.route-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.route-info p { font-size: 0.95rem; color: var(--muted); }

/* 热门打卡 */
.hot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hot-card { background: #fff; border: var(--border-thick); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-hard); transition: transform 0.2s; }
.hot-card:hover { transform: translateY(-4px); }
.hot-img-wrap { position: relative; aspect-ratio: 2/3; }
.hot-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hot-rank { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-weight: bold; font-size: 0.8rem; }
.hot-info { padding: 12px; }
.hot-info h3 { font-size: 1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-info .tags { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.hot-info .score { font-size: 0.8rem; color: var(--terracotta); font-weight: bold; }

/* 地点清单 (片库) */
.list-section { background: #fff; border: var(--border-thick); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-hard); }
.search-bar { display: flex; gap: 12px; margin-bottom: 20px; }
.search-bar input { flex: 1; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; font-size: 1rem; outline: none; background: var(--bg-main); }
.search-bar input:focus { border-color: var(--ink); }
.filter-tags { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-btn { padding: 6px 16px; border: 2px solid var(--line); border-radius: 20px; background: #fff; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.list-items { display: flex; flex-direction: column; gap: 12px; }
.list-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-bottom: 1px dashed var(--line); }
.list-item:last-child { border-bottom: none; }
.list-num { font-weight: bold; color: var(--orange); width: 24px; font-size: 1.1rem; }
.list-thumb { width: 38px; height: 50px; border-radius: 6px; border: 1px solid var(--ink); overflow: hidden; flex-shrink: 0; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-detail { flex: 1; }
.list-detail h3 { font-size: 1rem; margin-bottom: 4px; }
.list-detail .meta { font-size: 0.8rem; color: var(--muted); }
.list-tags { display: flex; gap: 6px; margin-top: 4px; }
.list-tags span { font-size: 0.7rem; background: var(--bg-main); padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line); }

/* 想去清单 */
.wish-section { background: #fff; border: var(--border-thick); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-hard); }
.wish-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.wish-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-main); border: var(--border-thick); border-radius: 16px; }
.wish-img { width: 60px; height: 80px; border-radius: 8px; border: 2px solid var(--ink); overflow: hidden; flex-shrink: 0; }
.wish-img img { width: 100%; height: 100%; object-fit: cover; }
.wish-info { flex: 1; }
.wish-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.wish-info p { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.progress-bar { width: 100%; height: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.progress-fill { height: 100%; background: var(--duo); width: 60%; transition: width 0.4s ease; }
.wish-stats { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: bold; }
.wish-btn { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 6px 16px; font-size: 0.9rem; font-weight: bold; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.wish-btn.joined { background: var(--mint); color: #fff; border-color: var(--mint); }

/* 沿途放映 */
.preview-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.phone-wrapper { display: flex; justify-content: center; position: relative; }
.phone-wrapper::before { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); opacity: 0.2; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; }
.phone-mockup { width: 240px; height: 480px; background: #000; border-radius: 32px; padding: 8px; box-shadow: 10px 10px 0px rgba(0,0,0,0.1); position: relative; z-index: 1; }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 24px; overflow: hidden; position: relative; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.swipe-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.6); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
.preview-features { display: flex; flex-direction: column; gap: 16px; }
.feature-bar { background: #fff; border: var(--border-thick); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow-hard); display: flex; align-items: center; gap: 12px; }
.feature-bar span { font-weight: bold; font-size: 1.2rem; color: var(--terracotta); }
.feature-bar h3 { font-size: 1rem; }
.feature-bar p { font-size: 0.85rem; color: var(--muted); }

/* 打卡日记 (评价) */
.diary-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.diary-card { background: #fff; border: var(--border-thick); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-hard); position: relative; }
.diary-tag { display: inline-block; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-family: monospace; margin-bottom: 12px; }
.diary-text { font-size: 0.95rem; margin-bottom: 12px; }
.diary-user { font-size: 0.85rem; color: var(--muted); display: flex; justify-content: space-between; }
.rating-board { text-align: center; margin-bottom: 32px; }
.rating-board .score { font-size: 3rem; font-weight: bold; color: var(--terracotta); line-height: 1; }
.rating-board p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* 出行贴士 (FAQ) */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.faq-card { background: #fff; border: var(--border-thick); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-hard); }
.faq-q { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.faq-q span { background: var(--ink); color: #fff; font-weight: bold; padding: 2px 8px; border-radius: 4px; font-size: 0.85rem; }
.faq-q h3 { font-size: 1.05rem; }
.faq-a { font-size: 0.95rem; color: var(--muted); padding-left: 36px; }

/* 下载区 */
.download-banner {
  background: var(--duo); border: var(--border-thick); border-radius: 24px; padding: 60px 20px;
  text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-hard);
}
.download-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; }
.download-banner h2 { font-size: 2rem; margin-bottom: 16px; position: relative; z-index: 1; text-shadow: 1px 1px 0 var(--ink); }
.download-banner p { font-size: 1.1rem; margin-bottom: 32px; position: relative; z-index: 1; text-shadow: 1px 1px 0 rgba(0,0,0,0.3); }
.btn-download-large { display: inline-block; background: #fff; color: var(--terracotta); padding: 16px 48px; border-radius: 30px; font-size: 1.2rem; font-weight: bold; position: relative; z-index: 1; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform 0.2s; }
.btn-download-large:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 40px 0 20px; background: var(--bg-main); }
.footer-content { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; margin-bottom: 20px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-bottom a { color: var(--muted); text-decoration: underline; }

/* 响应式 */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .district-grid { grid-template-columns: repeat(2, 1fr); }
  .route-grid { grid-template-columns: repeat(3, 1fr); }
  .hot-grid { grid-template-columns: repeat(3, 1fr); }
  .wish-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .diary-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .district-grid { grid-template-columns: repeat(4, 1fr); }
  .hot-grid { grid-template-columns: repeat(5, 1fr); }
  .wish-grid { grid-template-columns: 1fr; }
  .wish-card { gap: 24px; }
  .diary-grid { grid-template-columns: repeat(3, 1fr); }
  .list-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
}