/* ===== CSS Variables - White & Gold Premium Theme ===== */
:root {
  /* 金色系 - 黑金色点缀 */
  --gold-primary: #C9A96E;      /* 主金色 - 温润 */
  --gold-light: #E8D5A3;        /* 亮金 - 柔和 */
  --gold-dark: #8B7355;         /* 暗金 - 沉稳 */
  --gold-accent: #D4AF37;       /* 点缀金 - 华丽 */
  
  /* 白色背景为主 */
  --bg: #FFFFFF;                /* 主背景 - 纯白 */
  --bg-card: #F8F8F8;           /* 卡片 - 浅灰白 */
  --bg-elevated: #F0F0F0;       /* 提升层 - 略深灰白 */
  --bg-subtle: #FAFAFA;         /* 微妙层 - 暖白 */
  
  /* 文字颜色 - 深灰/黑为主 */
  --text: #1A1A1A;              /* 主文字 - 深灰黑 */
  --text-secondary: #5A5A5A;    /* 次要文字 - 中灰 */
  --text-light: #808080;        /* 浅文字 */
  --text-muted: #A0A0A0;        /* 弱化文字 */
  
  /* 边框和阴影 - 浅灰 */
  --border: #E0E0E0;            /* 边框 - 浅灰 */
  --border-light: #D0D0D0;      /* 浅边框 */
  --shadow: 0 4px 24px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-gold: 0 0 20px rgba(201,169,110,0.12);
  
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
  
  /* 浮光效果 */
  --glow-text: 0 0 20px rgba(201,169,110,0.3);
  --glow-gold: 0 0 25px rgba(201,169,110,0.25);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Header ===== */
.header {
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(201,169,110,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.3s ease;
}
.logo:hover {
  text-shadow: var(--glow-text);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C1E;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
  line-height: 1.9;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== Search Bar ===== */
.search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.search-bar input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 1px solid var(--border-light);
  border-radius: 60px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--bg-card);
  color: var(--text);
}
.search-bar input::placeholder {
  color: var(--text-muted);
}
.search-bar input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.1), var(--shadow-gold);
}
.search-bar .search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 1.2rem;
}

/* ===== Section ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: 1px;
}
.section-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ===== City Tabs ===== */
.city-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.city-tab {
  padding: 10px 24px;
  border-radius: 60px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}
.city-tab:hover {
  border-color: var(--gold-dark);
  color: var(--gold-primary);
}
.city-tab.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1C1C1E;
  border-color: var(--gold-primary);
  font-weight: 600;
}

/* ===== Spot Cards Grid ===== */
.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.spot-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid var(--border);
  position: relative;
}
.spot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.spot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border-color: rgba(201,169,110,0.3);
}
.spot-card:hover::before {
  opacity: 1;
}
.spot-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.spot-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.spot-card:hover .spot-card-img img {
  transform: scale(1.05);
}
.spot-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.8);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,169,110,0.3);
}
.spot-card-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1C1C1E;
  padding: 6px 14px;
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 600;
}
.spot-card-body {
  padding: 24px;
}
.spot-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.spot-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
}
.spot-card-tags {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.tag {
  padding: 5px 14px;
  border-radius: 60px;
  font-size: 0.76rem;
  font-weight: 500;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.tag:hover {
  border-color: var(--gold-dark);
  color: var(--gold-primary);
}
.tag.green { 
  background: rgba(16,185,129,0.08); 
  color: #34D399; 
  border-color: rgba(16,185,129,0.2);
}
.tag.blue { 
  background: rgba(59,130,246,0.08); 
  color: #60A5FA; 
  border-color: rgba(59,130,246,0.2);
}
.tag.orange { 
  background: rgba(245,158,11,0.08); 
  color: #FBBF24; 
  border-color: rgba(245,158,11,0.2);
}

/* ===== Tips Banner ===== */
.tips-banner {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}
.tip-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tip-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-subtle));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.tip-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}
.tip-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}
.footer ul li {
  margin-bottom: 12px;
}
.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer ul li a:hover {
  color: var(--gold-primary);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ===== Spot Detail Page ===== */
.spot-hero {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  overflow: hidden;
}
.spot-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 32px;
  background: linear-gradient(transparent, rgba(28,28,30,0.9));
  color: var(--text);
}
.spot-hero-overlay h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.spot-hero-overlay .spot-location {
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-top: 8px;
}

/* Spot Info Bar */
.spot-info-bar {
  display: flex;
  gap: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: -30px 24px 0;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  border: 1px solid var(--border);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.info-item .text .label {
  font-size: 0.78rem;
  color: var(--text-light);
}
.info-item .text .value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* Location Cards */
.location-list {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.location-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}
.location-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.location-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1C1C1E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.location-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.location-photos {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.photo-block {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}
.photo-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 60px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.2);
}

.location-guide {
  padding: 24px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.guide-section h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.guide-section p,
.guide-section li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
.guide-section ul {
  padding-left: 18px;
}
.guide-section ul li {
  list-style: disc;
  margin-bottom: 6px;
}

/* Parameter Grid */
.param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.param-item {
  background: var(--bg-elevated);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.param-item .param-label {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.param-item .param-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 4px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 16px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .hero { padding: 60px 16px 50px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 32px; }
  .hero-stat .num { font-size: 1.8rem; }
  .section { padding: 50px 16px; }
  .section-title { font-size: 1.5rem; }
  .spots-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .tips-grid { grid-template-columns: 1fr; }
  .tips-banner { padding: 24px; }
  .tip-item { flex-direction: column; gap: 12px; }
  .tip-icon { width: 48px; height: 48px; font-size: 1.3rem; }
  .location-content { grid-template-columns: 1fr; }
  .location-guide { border-left: none; border-top: 1px solid var(--border); }
}
