/* 驴尾巴户外运动俱乐部 | 现代橙色户外风格 */
:root {
  --brand-1: #ff7e00;
  --brand-2: #ff5400;
  --brand-3: #ff9d4d;
  --dark: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f7fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 24px; /* 更大圆角 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-gray { background: #fffaf4; padding: 80px 0; }
.section-dark { background: linear-gradient(135deg, #0f172a, #111827); color: #f9fafb; padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* Nav */
.navbar { 
  position: sticky; 
  top: 0; 
  z-index: 10; 
  background: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04); 
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { 
  width: 50px; 
  height: 50px; 
  border-radius: 16px; 
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.brand-logo:hover {
  transform: scale(1.05);
}
.brand-icon { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); display: grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: 1px; box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 16px; }
.brand-tagline { font-size: 12px; color: var(--muted); }
.nav-menu { list-style: none; display: flex; gap: 16px; align-items: center; }
.nav-menu a { 
  padding: 10px 16px; 
  border-radius: 16px; 
  font-weight: 600; 
  color: var(--text); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.nav-menu a:hover { 
  background: rgba(255, 126, 0, 0.1); 
  color: var(--brand-2); 
  transform: translateY(-1px);
}
.nav-menu a.active { 
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); 
  color: #fff; 
  box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3); 
}
.link-btn { 
  background: transparent; 
  border: 1px solid var(--border); 
  padding: 8px 14px; 
  border-radius: 16px; 
  cursor: pointer; 
  font-weight: 600; 
  transition: all 0.3s ease;
}
.link-btn:hover { 
  border-color: var(--brand-2); 
  color: var(--brand-2); 
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 126, 0, 0.15);
}
.user-badge { background: rgba(255,126,0,0.1); color: var(--brand-2); padding: 6px 10px; border-radius: 10px; font-weight: 700; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: grid; place-items: center; padding: 40px 0 60px; background: linear-gradient(120deg, #0f172a 0%, #0b192f 60%, rgba(15,23,42,0.8) 100%), url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; color: #f9fafb; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,126,0,0.25), transparent 45%), radial-gradient(circle at 80% 20%, rgba(255,84,0,0.22), transparent 35%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.hero-kicker { color: #fbbf24; font-weight: 700; letter-spacing: 0.5px; }
.hero h1 { font-size: clamp(32px, 5vw, 46px); margin: 12px 0; }
.hero-sub { color: #d1d5db; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; margin: 18px 0; }
.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; color: #e5e7eb; font-size: 14px; opacity: 0.9; }
.hero-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.hero-card h3 { margin-bottom: 12px; }
.hero-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.pill { background: rgba(255,255,255,0.15); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: #fff; }
.link { display: inline-block; margin-top: 12px; color: #fbbf24; }

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 12px 24px; 
  border-radius: 16px; 
  font-weight: 700; 
  border: none; 
  cursor: pointer; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  text-decoration: none; 
}
.btn-primary { 
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); 
  color: #fff; 
  box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3); 
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 126, 0, 0.4);
}
.btn-ghost { 
  background: rgba(255,255,255,0.1); 
  color: #fff; 
  border: 1px solid rgba(255,255,255,0.3); 
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.modal .btn-ghost { 
  color: var(--brand-2); 
  border-color: var(--border); 
  background: #fff; 
}
.modal .btn-ghost:hover {
  border-color: var(--brand-2);
  box-shadow: 0 2px 8px rgba(255, 126, 0, 0.15);
}

/* Stats */
.stats { text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-number { font-size: 32px; font-weight: 800; color: var(--brand-2); }
.stat-label { color: var(--muted); margin-top: 6px; }

/* Compact Sections */
.section-compact { 
  padding: 32px 0 !important; 
  background: linear-gradient(135deg, #ffe5cc 0%, #ffd4a3 100%) !important;
  position: relative !important;
}
.section-compact::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.2), transparent 50%) !important;
  pointer-events: none !important;
}
.section-compact + .section-compact {
  padding-top: 32px !important;
  margin-top: 0 !important;
}
.section-head-compact { 
  text-align: center; 
  margin-bottom: 20px !important;
  position: relative !important;
  z-index: 1 !important;
}
.section-head-compact h2 { 
  font-size: 24px !important; 
  margin-bottom: 6px !important;
  color: #333 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5) !important;
}
.section-head-compact p { 
  color: #666 !important;
  font-size: 13px !important;
  margin: 0 !important;
}

.stats-compact { 
  display: flex !important; 
  flex-direction: row !important;
  justify-content: center !important; 
  align-items: center !important;
  gap: 20px !important; 
  flex-wrap: nowrap !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}
.stat-item { 
  display: flex !important; 
  flex-direction: row !important;
  align-items: center !important; 
  gap: 12px !important;
  padding: 18px 24px !important;
  background: #fff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: 0 4px 12px rgba(255,126,0,0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.stat-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(255,126,0,0.28) !important;
  border-color: rgba(255,126,0,0.3) !important;
}
.stat-icon { 
  font-size: 38px !important; 
  line-height: 1 !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  flex-shrink: 0 !important;
}
.stat-content { 
  display: flex !important; 
  flex-direction: column !important; 
  align-items: flex-start !important;
  justify-content: center !important;
}
.stat-content .stat-number { 
  font-size: 26px !important; 
  font-weight: 800 !important; 
  color: var(--brand-2) !important; 
  line-height: 1 !important;
  margin-bottom: 4px !important;
}
.stat-content .stat-label { 
  color: var(--muted) !important; 
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Articles Timeline */
.articles-timeline {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  max-width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}
.article-card-compact {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 20px !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: 0 4px 12px rgba(255,126,0,0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  min-height: 180px !important;
}
.article-card-compact:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(255,126,0,0.28) !important;
  border-color: rgba(255,126,0,0.3) !important;
}
.article-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.article-date-badge {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(255,126,0,0.3) !important;
}
.article-card-compact h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
}
.article-card-summary {
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex: 1 !important;
}
.article-card-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--border) !important;
  margin-top: auto !important;
}
.article-read-more {
  color: var(--brand-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

@media (max-width: 1024px) {
  .stats-compact {
    flex-wrap: wrap !important;
  }
  .stat-item {
    flex: 1 1 calc(50% - 10px) !important;
  }
}

@media (max-width: 900px) {
  .articles-timeline {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .stats-compact { 
    gap: 12px !important;
    flex-wrap: wrap !important;
  }
  .stat-item { 
    flex: 1 1 calc(50% - 6px) !important;
  }
  .articles-timeline {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .stat-item { 
    flex: 1 1 100% !important;
  }
}

/* Tours */
.filters { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
  margin-bottom: 24px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.input { 
  padding: 12px 16px; 
  border-radius: 16px; 
  border: 1px solid var(--border); 
  background: #fff; 
  font-size: 14px; 
  min-width: 220px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.input:focus {
  border-color: var(--brand-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
}
.select { min-width: 180px; }
.tours-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 24px; 
}
.tour-card { 
  background: var(--card); 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); 
  display: flex; 
  flex-direction: column; 
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(255, 126, 0, 0.2);
}
.tour-cover { 
  position: relative; 
  height: 200px; 
  background: #111; 
  overflow: hidden;
}
.tour-cover img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-card:hover .tour-cover img {
  transform: scale(1.1);
}
.tour-theme { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.tour-body { padding: 16px; display: grid; gap: 8px; flex: 1; }
.tour-title { font-size: 18px; font-weight: 700; }
.tour-destination { color: var(--muted); font-size: 14px; }
.tour-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.price { color: var(--brand-2); font-weight: 800; font-size: 20px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.tag { background: rgba(255,126,0,0.1); color: var(--brand-2); padding: 4px 8px; border-radius: 999px; font-size: 12px; }

/* Forms */
.card { 
  background: var(--card); 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); 
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: #111827; }
.field span { font-size: 14px; color: #374151; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); outline: none; box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.2); }
.field textarea { resize: vertical; }
.field.full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-msg { font-size: 14px; color: var(--brand-2); }
.muted { color: var(--muted); font-size: 13px; }

.tour-details { background: #fff7ed; border: 1px dashed #fdba74; border-radius: var(--radius); padding: 12px; color: #92400e; margin-top: 10px; line-height: 1.6; }

/* Feature grid */
.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 20px; 
}
.feature-card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 126, 0, 0.2);
}
.feature-card h3 { 
  margin-bottom: 12px; 
  color: var(--text);
}
.feature-card p { 
  color: var(--muted); 
  line-height: 1.7;
}

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: grid; place-items: center; z-index: 1001; }
.modal-card { background: #fff; border-radius: 16px; padding: 20px; width: min(520px, 92vw); box-shadow: var(--shadow); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.close-btn { background: transparent; border: none; font-size: 20px; cursor: pointer; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tab { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 700; }
.tab.active { border-color: var(--brand-2); color: var(--brand-2); background: rgba(255,126,0,0.08); }
.tab-panel { }

/* Footer */
.footer { padding: 44px 0 40px; background: linear-gradient(180deg, #0b1224, #070b16); color: #e5e7eb; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px 32px; }
.footer-content > div:first-child { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; column-gap: 14px; row-gap: 6px; }
.footer-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; grid-row: 1 / span 2; box-shadow: 0 10px 30px rgba(0,0,0,0.24); }
.footer-content > div:first-child p { font-size: 14px; color: rgba(229, 231, 235, 0.9); }
.footer-meta { display: flex; gap: 10px; color: #cbd5e1; flex-wrap: wrap; align-items: center; justify-content: flex-end; font-weight: 600; }
.footer-meta span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 12px; }
.footer .beian { display: flex; align-items: center; gap: 14px; color: #cbd5e1; flex-wrap: wrap; font-size: 12px; margin-top: 10px; grid-column: 2; }
.footer .beian a { color: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.footer .beian img { width: 18px; height: 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); }

/* Utility */
section + section { border-top: 1px solid rgba(0,0,0,0.03); }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .hero-card { order: -1; }
  .cta { flex-direction: column; align-items: flex-start; }
}

.home-footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.home-footer .footer-content > div:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.home-footer .footer-content > div:first-child p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-footer .footer-logo { margin: 0; grid-row: auto; }
.home-footer .footer-meta { justify-content: center; }
.home-footer .beian {
  margin-top: 0;
  grid-column: auto;
  justify-content: center;
  gap: 10px;
}
.home-footer .beian a { padding: 6px 14px; }

@media (max-width: 640px) {
  .nav-container { height: auto; padding: 14px 0; gap: 10px; flex-direction: column; align-items: flex-start; }
  .nav-menu { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero { padding-top: 60px; }
  .filters { flex-direction: column; }
  .input { width: 100%; }
  .footer { padding: 32px 0; }
  .footer-content { grid-template-columns: 1fr; gap: 16px; }
  .footer-content > div:first-child { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
  .footer-meta { justify-content: flex-start; }
}

/* 省份筛选标签 */
.province-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.province-tag {
  display: inline-block;
  padding: 10px 24px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.province-tag:hover {
  background: #fff7ed;
  border-color: var(--brand-3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(255, 126, 0, 0.15);
}

.province-tag.active {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: white;
  border-color: var(--brand-1);
  box-shadow: 0 6px 20px rgba(255, 126, 0, 0.35);
  transform: translateY(-1px);
}

.province-tag.active:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 126, 0, 0.4);
}

@media (max-width: 640px) {
  .province-filter {
    gap: 8px;
  }
  .province-tag {
    padding: 8px 18px;
    font-size: 13px;
  }
}
