/* Starvalley 星谷 - 全站样式 */
/* 配色：森林绿 #2D5A3D + 米白 #F5F1E8 + 原木色 #C8A27A */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --primary: #2D5A3D;
  --primary-light: #3A7A52;
  --primary-dark: #1E3D2A;
  --bg: #F5F1E8;
  --bg-card: #FFFFFF;
  --wood: #C8A27A;
  --wood-light: #E0C9A6;
  --text: #2C2C2C;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #E8E2D5;
  --shadow: 0 2px 12px rgba(45, 90, 61, 0.08);
  --shadow-lg: 0 8px 32px rgba(45, 90, 61, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#root { min-height: 100vh; padding-bottom: 140px; }

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ========== 加载动画 ========== */
.app-loading {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; z-index: 9999;
}
.app-loading .logo {
  font-size: 2rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; letter-spacing: 2px;
}
.app-loading .slogan { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.app-loading .spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== 顶部导航（电脑端） ========== */
.desktop-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
  z-index: 100; padding: 0 40px; height: 72px;
  align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.desktop-nav .nav-logo {
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.desktop-nav .nav-links { display: flex; gap: 8px; align-items: center; }
.desktop-nav .nav-links a {
  color: #444; font-size: 0.95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; border-bottom: 2px solid transparent;
  transition: all 0.25s ease; text-decoration: none;
}
.desktop-nav .nav-links a.active {
  color: var(--primary); background: rgba(45,90,61,0.08); font-weight: 600;
}
.desktop-nav .nav-links a:hover {
  color: var(--primary); background: rgba(45,90,61,0.05);
}
.desktop-nav .nav-cta {
  background: var(--primary); color: #fff; padding: 8px 24px;
  border-radius: 24px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.desktop-nav .nav-cta:hover { background: var(--primary-light); }

/* ========== 轮播图 ========== */
.banner-slider {
  position: relative; width: 100%; height: 280px; overflow: hidden;
}
.banner-slider .banner-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
}
.banner-slider .banner-slide.active { opacity: 1; }
.banner-slider .banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slider .banner-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  padding: 40px 20px 20px; color: #fff;
}
.banner-slider .banner-overlay h2 { font-size: 1.4rem; margin-bottom: 4px; }
.banner-slider .banner-overlay p { font-size: 0.85rem; opacity: 0.9; }
.banner-slider .banner-dots {
  position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; z-index: 2;
}
.banner-slider .banner-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.banner-slider .banner-dots span.active { background: #fff; width: 18px; border-radius: 3px; }

/* ========== 通用区块 ========== */
.section { padding: 24px 16px; }
.section-title {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ''; width: 4px; height: 20px; background: var(--primary); border-radius: 2px;
}
.section-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

/* ========== 欢迎语 ========== */
.welcome-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; padding: 28px 20px; text-align: center;
}
.welcome-section h1 { font-size: 1.6rem; margin-bottom: 8px; letter-spacing: 1px; }
.welcome-section .slogan { font-size: 0.95rem; opacity: 0.9; margin-bottom: 12px; }
.welcome-section .desc { font-size: 0.85rem; opacity: 0.8; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* ========== 活动横幅 ========== */
.promo-banner {
  margin: 16px; padding: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--wood) 0%, var(--wood-light) 100%);
  color: #fff; display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
}
.promo-banner .promo-text h3 { font-size: 1rem; margin-bottom: 2px; }
.promo-banner .promo-text p { font-size: 0.8rem; opacity: 0.9; }
.promo-banner .promo-btn {
  background: #fff; color: var(--wood); padding: 8px 16px;
  border-radius: 20px; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}

/* ========== 业态按钮网格 ========== */
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 16px;
}
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; border-radius: var(--radius); background: var(--bg-card);
  box-shadow: var(--shadow); transition: transform 0.2s; cursor: pointer;
}
.category-item:active { transform: scale(0.95); }
.category-item .cat-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem;
}
.category-item .cat-name { font-size: 0.75rem; color: var(--text); font-weight: 500; text-align: center; line-height: 1.3; }

/* ========== 四季活动 ========== */
.seasons-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.seasons-scroll::-webkit-scrollbar { display: none; }
.season-card {
  min-width: 160px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); box-shadow: var(--shadow); flex-shrink: 0;
}
.season-card .season-img { height: 100px; position: relative; }
.season-card .season-img img { width: 100%; height: 100%; object-fit: cover; }
.season-card .season-badge {
  position: absolute; top: 8px; left: 8px; padding: 2px 10px;
  border-radius: 12px; color: #fff; font-size: 0.75rem; font-weight: 600;
}
.season-card .season-info { padding: 10px 12px; }
.season-card .season-months { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; }
.season-card .season-items { display: flex; flex-wrap: wrap; gap: 4px; }
.season-card .season-items span {
  font-size: 0.7rem; padding: 2px 8px; background: var(--bg);
  border-radius: 8px; color: var(--text-light);
}

/* ========== 关于星谷 ========== */
.about-section { background: var(--bg-card); margin: 16px; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.about-section .about-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-feature { display: flex; align-items: center; gap: 8px; }
.about-feature .feat-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.about-feature .feat-text { font-size: 0.8rem; color: var(--text); font-weight: 500; }

/* ========== 会员体系 ========== */
.membership-section { padding: 24px 16px; background: var(--bg-card); }
.member-cards { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.member-cards::-webkit-scrollbar { display: none; }
.member-card {
  min-width: 200px; border-radius: var(--radius-lg); padding: 20px 16px;
  background: var(--bg); flex-shrink: 0; position: relative; border: 2px solid transparent;
}
.member-card.popular { border-color: var(--wood); background: linear-gradient(180deg, #FFF9F0 0%, var(--bg) 100%); }
.member-card .popular-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--wood); color: #fff; padding: 2px 12px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.member-card .mc-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.member-card .mc-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.member-card .mc-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
.member-card .mc-features { list-style: none; }
.member-card .mc-features li {
  font-size: 0.78rem; color: var(--text-light); padding: 4px 0;
  padding-left: 18px; position: relative; line-height: 1.4;
}
.member-card .mc-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

/* 随心付说明 */
.pwyw-section { margin: 16px; padding: 20px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; }
.pwyw-section .pwyw-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.pwyw-section .pwyw-desc { font-size: 0.82rem; opacity: 0.9; margin-bottom: 14px; line-height: 1.6; }
.pwyw-stages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pwyw-stage {
  background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.pwyw-stage .ps-level {
  font-size: 0.7rem; padding: 2px 8px; background: rgba(255,255,255,0.2);
  border-radius: 8px; white-space: nowrap; font-weight: 600; flex-shrink: 0; margin-top: 1px;
}
.pwyw-stage .ps-scope { font-size: 0.8rem; }
.pwyw-stage .ps-scope .ps-note { font-size: 0.7rem; opacity: 0.7; margin-top: 2px; }
.pwyw-bottomlines { font-size: 0.75rem; opacity: 0.8; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.2); }
.pwyw-bottomlines strong { opacity: 1; }

/* ========== 今日房态 ========== */
.room-status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
.room-status-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
}
.room-status-card .rs-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.room-status-card .rs-info { flex: 1; }
.room-status-card .rs-name { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.room-status-card .rs-count { font-size: 0.75rem; color: var(--text-muted); }
.room-status-card .rs-count .available { color: var(--primary); font-weight: 700; }

/* ========== 用户评价 ========== */
.reviews-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; }
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  min-width: 260px; background: var(--bg-card); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); flex-shrink: 0;
}
.review-card .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-card .review-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; flex-shrink: 0;
}
.review-card .review-meta { flex: 1; }
.review-card .review-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.review-card .review-date { font-size: 0.7rem; color: var(--text-muted); }
.review-card .review-stars { color: #FFB300; font-size: 0.8rem; }
.review-card .review-content { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 8px; }
.review-card .review-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.review-card .review-tags span {
  font-size: 0.68rem; padding: 2px 8px; background: var(--bg);
  border-radius: 8px; color: var(--text-muted);
}

/* ========== 交通指引 ========== */
.transport-section { background: var(--bg-card); margin: 16px; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.transport-item { margin-bottom: 14px; }
.transport-item:last-child { margin-bottom: 0; }
.transport-item .ti-label {
  font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.transport-item .ti-content { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.transport-tips { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.transport-tips li { font-size: 0.78rem; color: var(--text-muted); padding: 3px 0; list-style: none; padding-left: 16px; position: relative; }
.transport-tips li::before { content: '•'; position: absolute; left: 4px; color: var(--wood); }

/* ========== FAQ ========== */
.faq-list { padding: 0 16px; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius); margin-bottom: 10px;
  overflow: hidden; box-shadow: var(--shadow);
}
.faq-item .faq-q {
  padding: 14px 16px; font-size: 0.88rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.faq-item .faq-q .faq-arrow { transition: transform 0.3s; color: var(--text-muted); font-size: 0.8rem; }
.faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.faq-item .faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 0.82rem; color: var(--text-light); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 16px 14px; }

/* ========== 精选推荐 ========== */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.featured-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
}
.featured-card .fc-img { height: 80px; }
.featured-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-card .fc-info { padding: 8px 10px; }
.featured-card .fc-title { font-size: 0.75rem; font-weight: 600; color: var(--text); margin-bottom: 2px; line-height: 1.3; }
.featured-card .fc-desc { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 4px; line-height: 1.3; }
.featured-card .fc-price { font-size: 0.8rem; font-weight: 700; color: var(--primary); }

/* ========== 底部版权 ========== */
.footer {
  text-align: center; padding: 24px 16px; font-size: 0.75rem;
  color: var(--text-muted); line-height: 1.6;
}

/* ========== 底部导航栏 ========== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 44px);
  z-index: 100;
  padding: 8px 4px calc(28px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.bottom-nav .nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  color: #2563EB; font-size: 0.68rem;
  transition: all 0.25s ease; cursor: pointer;
  border-radius: 8px;
}
.bottom-nav .nav-item.active { color: var(--primary); font-weight: 600; background: rgba(45,90,61,0.06); }
.bottom-nav .nav-item.active .nav-icon { transform: scale(1.1); }
.bottom-nav .nav-item .nav-icon { font-size: 1.35rem; transition: transform 0.25s ease; display: flex; align-items: center; justify-content: center; }

/* ========== 悬浮按钮 ========== */
.floating-buttons {
  position: fixed; right: 12px; bottom: 140px; z-index: 99;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: transform 0.2s;
}
.fab:active { transform: scale(0.9); }
.fab.share { background: var(--primary); color: #fff; }
.fab.nav { background: var(--wood); color: #fff; }
.fab.phone { background: var(--primary-light); color: #fff; }

/* 分享弹窗 */
.share-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 200; display: flex;
  align-items: flex-end; justify-content: center;
}
.share-modal .share-content {
  background: var(--bg-card); width: 100%; border-radius: 20px 20px 0 0;
  padding: 24px 20px 32px; animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.share-modal .share-title { font-size: 1rem; font-weight: 600; text-align: center; margin-bottom: 20px; }
.share-modal .share-options { display: flex; justify-content: space-around; margin-bottom: 20px; }
.share-modal .share-option { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.share-modal .share-option .so-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
}
.share-modal .share-option .so-label { font-size: 0.75rem; color: var(--text-light); }
.share-modal .share-close {
  width: 100%; padding: 12px; background: var(--bg); border-radius: 12px;
  font-size: 0.9rem; color: var(--text-light); text-align: center; cursor: pointer;
}

/* ========== 预约页面 ========== */
.booking-page { padding-bottom: 20px; }
.booking-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; padding: 24px 20px; text-align: center;
}
.booking-header h1 { font-size: 1.4rem; margin-bottom: 4px; }
.booking-header p { font-size: 0.85rem; opacity: 0.9; }

.booking-tabs {
  display: flex; background: var(--bg-card); padding: 4px; margin: 16px;
  border-radius: 12px; box-shadow: var(--shadow); gap: 4px;
}
.booking-tab {
  flex: 1; padding: 10px; text-align: center; font-size: 0.85rem;
  font-weight: 500; color: var(--text-light); border-radius: 8px; cursor: pointer;
  transition: all 0.2s;
}
.booking-tab.active { background: var(--primary); color: #fff; }

.booking-list { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.booking-item {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex;
}
.booking-item .bi-img { width: 100px; height: 100px; flex-shrink: 0; }
.booking-item .bi-img img { width: 100%; height: 100%; object-fit: cover; }
.booking-item .bi-info { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.booking-item .bi-name { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.booking-item .bi-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 4px; }
.booking-item .bi-bottom { display: flex; align-items: center; justify-content: space-between; }
.booking-item .bi-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.booking-item .bi-price small { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }
.booking-item .bi-price.free { color: var(--wood); }
.booking-item .bi-btn {
  background: var(--primary); color: #fff; padding: 6px 14px;
  border-radius: 16px; font-size: 0.78rem; font-weight: 500;
}

/* 预约表单弹窗 */
.booking-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 200; display: flex;
  align-items: flex-end; justify-content: center;
}
.booking-modal .bm-content {
  background: var(--bg-card); width: 100%; max-height: 85vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 24px 20px 32px; animation: slideUp 0.3s ease;
}
.booking-modal .bm-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.booking-modal .bm-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.booking-modal .bm-close { font-size: 1.5rem; color: var(--text-muted); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.booking-modal .bm-item { margin-bottom: 16px; }
.booking-modal .bm-label { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.booking-modal .bm-input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.9rem; background: var(--bg);
  transition: border-color 0.2s;
}
.booking-modal .bm-input:focus { outline: none; border-color: var(--primary); }
.booking-modal .bm-submit {
  width: 100%; padding: 14px; background: var(--primary); color: #fff;
  border-radius: 12px; font-size: 1rem; font-weight: 600; margin-top: 8px;
}
.booking-modal .bm-submit:disabled { background: var(--text-muted); }

/* 预约成功弹窗 */
.success-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 300; display: flex;
  align-items: center; justify-content: center; padding: 20px;
}
.success-modal .sm-content {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; max-width: 320px; width: 100%; animation: popIn 0.3s ease;
}
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-modal .sm-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
}
.success-modal .sm-title { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.success-modal .sm-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.success-modal .sm-code {
  background: var(--bg); border-radius: 10px; padding: 12px; margin-bottom: 20px;
  font-size: 1.1rem; font-weight: 700; color: var(--primary); letter-spacing: 2px;
}
.success-modal .sm-btn {
  width: 100%; padding: 12px; background: var(--primary); color: #fff;
  border-radius: 10px; font-size: 0.95rem; font-weight: 600;
}

/* ========== 会员页面 ========== */
.member-page { padding-bottom: 20px; }
.member-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 32px 20px; text-align: center;
}
.member-hero h1 { font-size: 1.6rem; margin-bottom: 6px; }
.member-hero p { font-size: 0.9rem; opacity: 0.9; }

.member-benefits { padding: 24px 16px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit-item {
  background: var(--bg-card); border-radius: var(--radius); padding: 16px 8px;
  text-align: center; box-shadow: var(--shadow);
}
.benefit-item .bf-icon { font-size: 1.8rem; margin-bottom: 6px; }
.benefit-item .bf-name { font-size: 0.78rem; font-weight: 600; color: var(--text); }

.member-form-section { padding: 0 16px 24px; }
.member-form {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow);
}
.member-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }

/* ========== 山野动态页面 ========== */
.news-page { padding-bottom: 20px; }
.news-header {
  background: linear-gradient(135deg, var(--wood) 0%, var(--wood-light) 100%);
  color: #fff; padding: 24px 20px; text-align: center;
}
.news-header h1 { font-size: 1.4rem; margin-bottom: 4px; }
.news-header p { font-size: 0.85rem; opacity: 0.9; }

.news-list { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.news-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
}
.news-card .nc-img { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; }
.news-card .nc-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news-card .nc-category {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  background: rgba(45, 90, 61, 0.9); color: #fff; border-radius: 12px;
  font-size: 0.72rem; font-weight: 600;
}
.news-card .nc-info { padding: 16px; }
.news-card .nc-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.news-card .nc-summary { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.news-card .nc-meta { display: flex; align-items: center; justify-content: space-between; }
.news-card .nc-date { font-size: 0.75rem; color: var(--text-muted); }
.news-card .nc-tags { display: flex; gap: 4px; }
.news-card .nc-tags span { font-size: 0.68rem; padding: 2px 8px; background: var(--bg); border-radius: 8px; color: var(--text-muted); }

/* 文章详情弹窗 */
.article-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 200; display: flex; flex-direction: column;
  height: 100vh; overflow: hidden;
}
.article-modal .am-back { font-size: 1.5rem; color: var(--text); cursor: pointer; width: 32px; }

/* ========== 后台管理面板 ========== */
.admin-login {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 20px; z-index: 500;
}
.admin-login h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 8px; }
.admin-login p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.admin-login input {
  width: 100%; max-width: 300px; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.95rem; margin-bottom: 16px; text-align: center;
}
.admin-login button {
  width: 100%; max-width: 300px; padding: 12px; background: var(--primary);
  color: #fff; border-radius: 10px; font-size: 1rem; font-weight: 600;
}

.admin-panel {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 400; overflow-y: auto;
}
.admin-header {
  background: var(--primary); color: #fff; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.admin-header h2 { font-size: 1.1rem; }
.admin-header .admin-close { font-size: 1.3rem; cursor: pointer; }

.admin-tabs {
  display: flex; background: var(--bg-card); padding: 4px; margin: 12px 16px;
  border-radius: 10px; overflow-x: auto; gap: 4px; scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  padding: 8px 14px; font-size: 0.8rem; font-weight: 500; color: var(--text-light);
  border-radius: 8px; cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.admin-tab.active { background: var(--primary); color: #fff; }

.admin-content { padding: 0 16px 40px; }
.admin-section { background: var(--bg-card); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.admin-section h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.admin-field { margin-bottom: 12px; }
.admin-field:last-child { margin-bottom: 0; }
.admin-field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.admin-field input, .admin-field textarea, .admin-field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.85rem; background: var(--bg);
}
.admin-field textarea { min-height: 80px; resize: vertical; }
.admin-save-btn {
  width: 100%; padding: 12px; background: var(--primary); color: #fff;
  border-radius: 10px; font-size: 0.95rem; font-weight: 600; margin-top: 8px;
}
.admin-item-list { display: flex; flex-direction: column; gap: 8px; }
.admin-item {
  display: flex; align-items: center; gap: 10px; padding: 10px;
  background: var(--bg); border-radius: 8px;
}
.admin-item .ai-name { flex: 1; font-size: 0.85rem; color: var(--text); }
.admin-item .ai-actions { display: flex; gap: 6px; }
.admin-item .ai-btn {
  padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 500;
}
.admin-item .ai-btn.edit { background: var(--wood); color: #fff; }
.admin-item .ai-btn.delete { background: #E57373; color: #fff; }
.admin-add-btn {
  width: 100%; padding: 10px; border: 2px dashed var(--border); border-radius: 8px;
  font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; background: none;
}

/* ========== 电脑端响应式 ========== */
@media (min-width: 768px) {
  #root { padding-bottom: 0; }
  .desktop-nav { display: flex; }
  .bottom-nav { display: none; }
  .banner-slider { height: 480px; margin-top: 72px; }
  .page-header { margin-top: 72px; }
  .banner-slider .banner-overlay h2 { font-size: 2.2rem; }
  .banner-slider .banner-overlay p { font-size: 1.1rem; }
  .welcome-section { padding: 48px 40px; }
  .welcome-section h1 { font-size: 2.4rem; }
  .section { padding: 40px; max-width: 1200px; margin: 0 auto; }
  .section-title { font-size: 1.6rem; }
  .category-grid { grid-template-columns: repeat(7, 1fr); max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .category-item { padding: 20px 8px; }
  .category-item .cat-icon { width: 56px; height: 56px; font-size: 1.6rem; }
  .category-item .cat-name { font-size: 0.85rem; }
  .seasons-scroll { padding: 0 40px 12px; max-width: 1200px; margin: 0 auto; }
  .season-card { min-width: 220px; }
  .season-card .season-img { height: 140px; }
  .about-section { max-width: 1200px; margin: 24px auto; padding: 32px; }
  .about-features { grid-template-columns: repeat(4, 1fr); }
  .membership-section { max-width: 1200px; margin: 0 auto; padding: 40px; }
  .member-cards { justify-content: center; }
  .member-card { min-width: 240px; }
  .pwyw-section { max-width: 1200px; margin: 24px auto; padding: 32px; }
  .room-status-grid { grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .reviews-scroll { max-width: 1200px; margin: 0 auto; padding: 0 40px 12px; }
  .review-card { min-width: 320px; }
  .transport-section { max-width: 1200px; margin: 24px auto; }
  .faq-list { max-width: 900px; margin: 0 auto; padding: 0 40px; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; padding: 0 40px; gap: 20px; }
  .featured-card .fc-img { height: 160px; }
  .featured-card .fc-title { font-size: 0.9rem; }
  .featured-card .fc-desc { font-size: 0.78rem; }
  .promo-banner { max-width: 1200px; margin: 24px auto; }
  .floating-buttons { bottom: 32px; right: 32px; }
  .fab { width: 52px; height: 52px; font-size: 1.4rem; }
  .booking-header, .member-hero, .news-header { padding: 48px 40px; margin-top: 64px; }
  .booking-header h1, .news-header h1 { font-size: 2rem; }
  .booking-tabs { max-width: 800px; margin: 24px auto; }
  .booking-list { max-width: 900px; margin: 0 auto; padding: 0 40px; }
  .booking-item .bi-img { width: 160px; height: 140px; }
  .news-list { max-width: 900px; margin: 0 auto; padding: 24px 40px; }
  .news-card .nc-img { padding-bottom: 56.25%; }
  .member-benefits { max-width: 1000px; margin: 0 auto; }
  .benefit-grid { grid-template-columns: repeat(6, 1fr); }
  .member-form-section { max-width: 600px; margin: 0 auto; }
  .admin-content { max-width: 900px; margin: 0 auto; }
}

@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ========== 极简首页（顶部功能区+轮播图+底部） ========== */
.home-simple { padding-bottom: 0; }
.top-categories {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 12px 12px 8px; background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.top-cat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 4px; border-radius: 10px; cursor: pointer; transition: all 0.2s; position: relative;
}
.top-cat-item:active { background: var(--bg); transform: scale(0.96); }
.top-cat-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #3a7a52); border-radius: 12px;
  color: #fff; margin-bottom: 6px; font-size: 1.2rem;
}
.top-cat-name { font-size: 0.72rem; color: var(--text); text-align: center; line-height: 1.2; font-weight: 500; }
.top-cat-add { border: 2px dashed var(--border); }
.top-cat-add .top-cat-icon { background: none; color: var(--text-muted); font-size: 1.5rem; }
.banner-subtitle { font-size: 1rem; opacity: 0.9; margin-top: 6px; letter-spacing: 2px; }
.footer-simple {
  padding: 20px 16px; text-align: center; font-size: 0.75rem; color: var(--text-muted);
  background: var(--bg-card); border-top: 1px solid var(--border); line-height: 1.8; position: relative;
}

/* ========== 活动弹窗 ========== */
.activity-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; animation: fadeIn 0.3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.activity-content {
  background: #fff; border-radius: 16px; max-width: 360px; width: 100%; overflow: hidden; position: relative; animation: slideUp 0.3s;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.activity-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.activity-close {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; background: rgba(0,0,0,0.5);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; z-index: 10;
}
.activity-title { font-size: 1.1rem; font-weight: 700; color: var(--text); padding: 16px 16px 8px; margin: 0; }
.activity-desc { font-size: 0.85rem; color: var(--text-light); padding: 0 16px 16px; line-height: 1.6; }
.activity-btn {
  margin: 0 16px 16px; padding: 12px; background: var(--primary); color: #fff; text-align: center;
  border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
}

/* ========== 编辑模式 ========== */
.edit-mode-bar {
  background: linear-gradient(90deg, #FF9800, #F57C00); color: #fff; padding: 8px 16px;
  font-size: 0.8rem; text-align: center; position: sticky; top: 0; z-index: 1000;
}
.edit-exit-link { text-decoration: underline; cursor: pointer; font-weight: 600; }
.edit-exit-btn { background: #E57373 !important; }
.edit-pencil {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; background: rgba(255,152,0,0.9);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; cursor: pointer; z-index: 10; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.banner-edit { top: 10px; left: 10px; right: auto; width: auto; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; }
.footer-edit { position: static; display: inline-block; margin-top: 8px; width: auto; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; }
.top-cat-item.editable { border: 1px dashed #FF9800; }
.edit-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 20px;
}
.edit-content { background: #fff; border-radius: 16px; max-width: 400px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 20px; }
.edit-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.edit-form .ef-item { margin-bottom: 14px; }
.edit-form .ef-item label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.edit-form .ef-item input, .edit-form .ef-item textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; box-sizing: border-box; }
.edit-actions { display: flex; gap: 8px; margin-top: 16px; }
.edit-actions button { flex: 1; padding: 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; }
.btn-save { background: var(--primary); color: #fff; }
.btn-cancel { background: var(--bg); color: var(--text-light); }
.btn-delete { background: #E57373; color: #fff; flex: 0.6; }

/* ========== 电脑端极简首页适配 ========== */
@media (min-width: 768px) {
  .top-categories { grid-template-columns: repeat(8, 1fr); padding: 16px 40px; gap: 12px; }
  .top-cat-icon { width: 48px; height: 48px; font-size: 1.4rem; }
  .top-cat-name { font-size: 0.8rem; }
  .banner-slider { height: calc(100vh - 200px); min-height: 500px; }
  .footer-simple { padding: 24px; }
  .activity-content { max-width: 440px; }
  .activity-img { height: 220px; }
}

/* ========== 极简首页（全屏轮播图） ========== */
.home-minimal { padding-bottom: 0 !important; min-height: 100vh; display: flex; flex-direction: column; }
.hero-slider { position: relative; flex: 1; min-height: calc(100vh - 120px); overflow: hidden; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s ease; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.4) 100%); }
.hero-content {
  position: absolute; bottom: 18%; left: 50%; transform: translateX(-50%);
  text-align: center; color: #fff; z-index: 2; width: 90%; max-width: 600px;
}
.hero-title {
  font-size: 2.4rem; font-weight: 700; letter-spacing: 4px; margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5); font-family: Georgia, 'Times New Roman', serif;
}
.hero-divider { width: 50px; height: 2px; background: #fff; margin: 16px auto; opacity: 0.8; }
.hero-subtitle {
  font-size: 1.1rem; letter-spacing: 8px; margin: 0; opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4); font-weight: 300;
}
.hero-vision {
  font-size: 0.85rem; letter-spacing: 4px; margin: 14px 0 0; opacity: 0.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4); font-weight: 300; font-family: Georgia, 'Times New Roman', serif;
}
.hero-dots { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-scroll-hint { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.75rem; text-align: center; z-index: 3; animation: bounce 2s infinite; }
.scroll-arrow { font-size: 1.2rem; margin-bottom: 4px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.hero-edit { top: 80px; left: 20px; right: auto; width: auto; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; }
.footer-minimal { padding: 20px 16px; text-align: center; font-size: 0.75rem; color: var(--text-muted); background: var(--bg-card); border-top: 1px solid var(--border); line-height: 1.8; position: relative; }
.footer-edit-inline { position: static; display: inline-block; margin-top: 8px; width: auto; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; }

/* ========== 7项导航栏 ========== */
.desktop-nav-7 .nav-links { gap: 6px; }
.desktop-nav-7 .nav-links a { padding: 8px 13px; font-size: 0.88rem; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { padding: 8px 13px; font-size: 0.88rem; color: #444; cursor: pointer; text-decoration: none; border-radius: 8px; display: inline-block; transition: all 0.25s ease; }
.nav-item-dropdown > a:hover, .nav-item-dropdown.active > a { color: var(--primary); background: rgba(45,90,61,0.08); font-weight: 600; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: #fff; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15); padding: 8px; min-width: 180px; z-index: 100;
  animation: fadeIn 0.2s;
}
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: background 0.2s; font-size: 0.85rem; color: var(--text); }
.dropdown-item:hover { background: var(--bg); }
.di-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--primary); }

/* 手机端7项底部导航 */
.bottom-nav-7 { padding: 8px 4px calc(28px + env(safe-area-inset-bottom)); gap: 8px; }
.bottom-nav-7 .nav-item { padding: 4px 2px; }
.bottom-nav-7 .nav-icon { width: 26px; height: 26px; font-size: 1.3rem; margin-bottom: 2px; }
.bottom-nav-7 .nav-label { font-size: 0.66rem; line-height: 1.1; }

/* ========== 页面通用页头 ========== */
.page-header { padding: 32px 20px 24px; text-align: center; background: linear-gradient(135deg, var(--primary), #3a7a52); color: #fff; }
.page-header h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 6px; }
.page-header p { font-size: 0.85rem; opacity: 0.9; margin: 0; }

/* ========== 关于星谷页面 ========== */
.about-page { padding-bottom: 80px; }
.about-section { padding: 24px 20px; }
.about-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.about-text { font-size: 0.9rem; line-height: 1.8; color: var(--text-light); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card { background: var(--bg-card); border-radius: 12px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.feat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.feat-title { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.feat-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.philosophy-list { display: flex; flex-direction: column; gap: 12px; }
.philosophy-item { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-card); padding: 14px; border-radius: 10px; }
.philosophy-num { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.philosophy-item span:last-child { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.about-cta { text-align: center; padding: 32px 20px; background: var(--bg-card); }
.about-cta p { font-size: 1rem; color: var(--text); margin-bottom: 16px; }
.cta-btn { background: var(--primary); color: #fff; border: none; padding: 12px 36px; border-radius: 25px; font-size: 0.95rem; font-weight: 600; cursor: pointer; }

/* ========== 业态列表页面 ========== */
.category-page { padding-bottom: 80px; }
.category-list { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.category-detail-card { background: var(--bg-card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s; }
.category-detail-card:active { transform: scale(0.98); }
.cdc-img { position: relative; height: 160px; }
.cdc-img img { width: 100%; height: 100%; object-fit: cover; }
.cdc-icon { position: absolute; bottom: -20px; left: 20px; width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.cdc-info { padding: 28px 20px 16px; }
.cdc-name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.cdc-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin: 0 0 12px; }
.cdc-btn { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.category-tip { text-align: center; padding: 20px; font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }

/* ========== 留言板页面 ========== */
.message-page { padding-bottom: 80px; }
.message-form-section { padding: 20px; }
.message-form-section h2, .message-list-section h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 16px; }
.submit-success { background: #e8f5e9; color: #2e7d32; padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 0.85rem; }
.message-form { background: var(--bg-card); padding: 20px; border-radius: 12px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-item { margin-bottom: 12px; }
.form-item:last-child { margin-bottom: 0; }
.form-item label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.form-item input, .form-item textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; box-sizing: border-box; }
.submit-btn { width: 100%; background: var(--primary); color: #fff; border: none; padding: 12px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; margin-top: 8px; }
.message-list-section { padding: 0 20px 20px; }
.empty-tip { text-align: center; padding: 40px; color: var(--text-muted); font-size: 0.85rem; }
.message-card { background: var(--bg-card); border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.msg-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.msg-avatar { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.msg-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.msg-date { font-size: 0.75rem; color: var(--text-muted); }
.msg-content { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

/* ========== 手机横屏适配 ========== */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-slider { min-height: calc(100vh - 60px); }
  .hero-content { bottom: 22%; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.9rem; letter-spacing: 6px; }
  .hero-dots { bottom: 10%; }
  .page-header { padding: 16px 20px 12px; }
  .page-header h1 { font-size: 1.2rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-nav-7 .nav-label { font-size: 0.6rem; }
  .bottom-nav-7 .nav-icon { width: 22px; height: 22px; font-size: 1.05rem; }
}

/* ========== 电脑端新页面适配 ========== */
@media (min-width: 768px) {
  .hero-title { font-size: 3.2rem; letter-spacing: 6px; }
  .hero-subtitle { font-size: 1.3rem; letter-spacing: 12px; }
  .hero-divider { width: 70px; margin: 20px auto; }
  .about-section, .message-form-section, .message-list-section { max-width: 900px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .category-list { max-width: 900px; margin: 0 auto; }
  .category-detail-card { display: flex; }
  .cdc-img { width: 280px; height: auto; flex-shrink: 0; }
  .cdc-info { padding: 24px; flex: 1; }
  .cdc-icon { left: 20px; bottom: 20px; }
  .form-row { gap: 16px; }
  .desktop-nav-7 .nav-links { gap: 6px; }
  .desktop-nav-7 .nav-links a, .nav-item-dropdown > a { padding: 8px 13px; font-size: 0.88rem; color: #2563EB; cursor: pointer; text-decoration: none; border-radius: 8px; display: inline-block; transition: all 0.25s ease; }
}

/* ========== 关于星谷页面 - 整体排版（紧凑版） ========== */
.about-page { padding-bottom: 16px; }
.page-header { padding: 20px 16px 16px; text-align: center; background: linear-gradient(135deg, #F5F1E8 0%, #EDE6D6 100%); }
.page-header h1 { font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; letter-spacing: 3px; }
.page-header p { font-size: 0.82rem; color: var(--text-light); letter-spacing: 2px; }
.about-section { padding: 18px 16px; }
.about-section h2 { font-size: 1.05rem; color: var(--primary); margin-bottom: 12px; text-align: center; position: relative; padding-bottom: 8px; }
.about-section h2:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 2px; background: var(--accent); }
.about-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.8; text-align: justify; }
.about-text p { margin-bottom: 10px; text-indent: 2em; }
.about-text p:last-child { margin-bottom: 0; }

/* ========== 关于星谷页面 - 季节列表（紧凑版） ========== */
.season-list { display: flex; flex-direction: column; gap: 8px; }
.season-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: var(--bg-card); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.season-tag { flex-shrink: 0; min-width: 60px; padding: 4px 10px; background: linear-gradient(135deg, var(--primary), #4a8c5f); color: #fff; border-radius: 16px; font-size: 0.72rem; font-weight: 600; text-align: center; }
.season-content { font-size: 0.84rem; color: var(--text-light); line-height: 1.6; padding-top: 2px; }

/* ========== 关于星谷页面 - 愿景（紧凑版） ========== */
.vision-section { text-align: center; padding: 28px 16px; background: linear-gradient(135deg, rgba(45,90,61,0.05) 0%, rgba(200,162,122,0.08) 100%); margin: 0 16px; border-radius: 12px; }
.vision-section h2 { margin-bottom: 16px; }
.vision-text { font-size: 1.2rem; font-weight: 600; color: var(--primary); letter-spacing: 2px; line-height: 1.8; font-family: Georgia, 'Times New Roman', serif; }

/* ========== 关于星谷页面 - 会员信息（紧凑版） ========== */
.member-info { background: var(--bg-card); padding: 14px 16px; border-radius: 10px; }
.member-info p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.member-list { list-style: none; padding: 0; margin: 0 0 10px; }
.member-list li { padding: 7px 0 7px 24px; position: relative; font-size: 0.84rem; color: var(--text-light); line-height: 1.5; border-bottom: 1px dashed var(--border); }
.member-list li:before { content: '✓'; position: absolute; left: 0; top: 7px; color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.member-list li:last-child { border-bottom: none; }

/* 关于星谷底部CTA（紧凑版） */
.about-cta { text-align: center; padding: 24px 16px; background: var(--bg-card); margin-top: 8px; }
.about-cta p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 12px; }

/* ========== 星谷会 - 推荐新会员 ========== */
.recommend-section { text-align: center; }
.recommend-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }

/* ========== 星谷会 - 会员动态（专栏样式） ========== */
.posts-featured { background: linear-gradient(135deg, rgba(45,90,61,0.04) 0%, rgba(200,162,122,0.06) 100%); border-radius: 16px; margin: 0 12px; padding: 20px 16px; }
.posts-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.posts-header h2 { margin: 0; font-size: 1.1rem; color: var(--primary); }
.posts-count { background: var(--primary); color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.posts-desc { font-size: 0.8rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }
.post-item { background: var(--bg-card); border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.post-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #4a8c5f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600; flex-shrink: 0; }
.post-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.post-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.post-content { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.post-image-wrap { margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
.post-image { width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; display: block; }
.post-file { margin-bottom: 10px; }
.post-file a { display: inline-block; padding: 8px 14px; background: rgba(45,90,61,0.08); color: var(--primary); border-radius: 8px; font-size: 0.82rem; text-decoration: none; transition: all 0.2s; }
.post-file a:hover { background: rgba(45,90,61,0.15); }
.post-actions { display: flex; justify-content: flex-end; }
.post-like { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; padding: 4px 10px; border-radius: 16px; background: rgba(45,90,61,0.06); transition: all 0.2s; }
.post-like:hover { background: rgba(45,90,61,0.12); color: var(--primary); }
.loading-text, .empty-text { text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.85rem; }

/* ========== 后台管理 - 邀请模块 ========== */
.invite-section { margin-bottom: 20px; }
.invite-code-box { background: #F5F1E8; border: 2px dashed var(--primary); border-radius: 10px; padding: 16px; text-align: center; margin-bottom: 12px; }
.invite-code { font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: 4px; margin: 8px 0; }
.invite-link { font-size: 0.78rem; color: var(--text-light); word-break: break-all; background: #fff; padding: 8px; border-radius: 6px; margin-top: 8px; }
.invite-record { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--bg-card); border-radius: 8px; margin-bottom: 8px; }
.invite-record-info { flex: 1; }
.invite-record-name { font-size: 0.85rem; font-weight: 600; }
.invite-record-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.invite-status { padding: 3px 10px; border-radius: 12px; font-size: 0.72rem; font-weight: 600; }
.invite-status-pending { background: #FFF3CD; color: #856404; }
.invite-status-used { background: #D4EDDA; color: #155724; }

/* ========== 星谷会页面 ========== */
.member-hero { position: relative; height: 240px; background: linear-gradient(135deg, #2D5A3D 0%, #1a3d2a 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.member-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.member-hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 20px; }
.member-hero-content h1 { font-size: 2rem; margin-bottom: 8px; letter-spacing: 4px; }
.member-hero-sub { font-size: 1rem; opacity: 0.9; margin-bottom: 12px; letter-spacing: 2px; }
.member-hero-desc { font-size: 0.85rem; opacity: 0.75; line-height: 1.6; max-width: 500px; margin: 0 auto; }
.member-section { padding: 24px 16px; }
.member-section h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 16px; text-align: center; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-item { display: flex; align-items: flex-start; gap: 8px; padding: 12px; background: var(--bg-card); border-radius: 10px; }
.benefit-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }
.benefit-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }
.pay-section { background: linear-gradient(135deg, #F5F1E8 0%, #EDE6D6 100%); margin: 0 16px; border-radius: 12px; }
.pay-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; text-align: center; margin-bottom: 16px; }
.pay-highlight { text-align: center; font-size: 0.95rem; font-weight: 700; color: var(--primary); padding: 12px; background: rgba(45,90,61,0.08); border-radius: 8px; letter-spacing: 1px; }
.join-section { text-align: center; }
.join-method { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; padding: 0 10px; }
.join-form { margin-top: 20px; padding: 20px; background: var(--bg-card); border-radius: 12px; text-align: left; }
.join-form h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 16px; text-align: center; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; box-sizing: border-box; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.btn-secondary { padding: 10px 24px; background: #eee; color: #666; border: none; border-radius: 8px; font-size: 0.9rem; cursor: pointer; }
.members-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.member-card { background: var(--bg-card); border-radius: 12px; padding: 16px; text-align: center; }
.member-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), #4a8c5f); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; margin: 0 auto 10px; }
.member-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.member-date { font-size: 0.72rem; color: #999; margin-bottom: 6px; }
.member-intro { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }
.member-cta { text-align: center; padding: 30px 16px; background: var(--bg-card); }
.member-cta p { font-size: 1rem; color: var(--text-light); margin-bottom: 16px; }

/* ========== 留言板页面 ========== */
.message-form-section { padding: 20px 16px; background: var(--bg-card); margin: 16px; border-radius: 12px; }
.message-form-section h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: 16px; }
.message-list-section { padding: 0 16px 20px; }
.message-list-section h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: 16px; }
.loading-text, .empty-text { text-align: center; color: #999; padding: 30px; font-size: 0.9rem; }
.message-item { background: var(--bg-card); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.message-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.message-avatar { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.message-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.message-date { font-size: 0.72rem; color: #999; }
.message-content { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.message-reply { margin-top: 12px; padding: 12px; background: rgba(45,90,61,0.06); border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; }
.reply-label { font-size: 0.75rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.reply-content { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

/* ========== 业态页面价格 ========== */
.cdc-price { display: inline-block; margin-top: 8px; padding: 4px 12px; background: rgba(45,90,61,0.1); color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* ========== 动态文章详情（上图下文，不重叠，一屏显示） ========== */
.article-fullscreen { display: flex; flex-direction: column; overflow: hidden; }
.am-bg { position: relative; flex: 1; min-height: 0; background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #1a1a1a; z-index: 1; display: flex; align-items: center; justify-content: center; }
.am-bg-overlay { display: none; }
.am-back-top { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.5); color: #fff; padding: 7px 16px; border-radius: 22px; font-size: 0.85rem; cursor: pointer; z-index: 10; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.2); }
.am-back-top:hover { background: rgba(0,0,0,0.7); }
.am-video-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 600px; z-index: 5; }
.am-bottom-card { position: relative; flex-shrink: 0; max-height: 50vh; display: flex; flex-direction: column; z-index: 5; }
.am-card-inner { background: rgba(255,255,255,0.97); border-radius: 16px 16px 0 0; padding: 16px 18px 14px; overflow-y: auto; flex: 1; }
.am-card-category { display: inline-block; padding: 3px 10px; background: var(--primary); color: #fff; border-radius: 12px; font-size: 0.7rem; font-weight: 600; margin-bottom: 6px; }
.am-card-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 4px; line-height: 1.4; }
.am-card-meta { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; }
.am-card-body { margin-bottom: 10px; }
.am-card-paragraph { font-size: 0.85rem; color: #444; line-height: 1.65; margin-bottom: 7px; text-indent: 1.5em; }
.am-card-footer { text-align: center; padding-top: 8px; border-top: 1px solid #eee; }
.am-card-footer .am-back-btn { padding: 7px 20px; font-size: 0.8rem; border-radius: 18px; }

/* ========== 电脑端适配（星谷会/留言板） ========== */
@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); max-width: 800px; margin: 0 auto; }
  .members-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; }
  .member-hero { height: 320px; }
  .member-hero-content h1 { font-size: 2.5rem; }
  .message-form-section, .message-list-section { max-width: 700px; margin-left: auto; margin-right: auto; }
  .member-section { max-width: 900px; margin: 0 auto; }
}
