/* ============================================================
   莱存·本地生活信息发布平台 - 全局样式
   品牌调性：中式商务红金风格
   ============================================================ */

/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f7f7f7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
button { cursor: pointer; border: 0; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }

/* ========== Color Tokens ========== */
:root {
  --lc-red: #FF2D2D;          /* 品牌主色 */
  --lc-red-dark: #D41A1A;     /* 深红 */
  --lc-red-light: #FF5A5A;    /* 浅红 */
  --lc-red-50: #FFF1F1;       /* 极浅红（背景用） */
  --lc-red-100: #FFE0E0;      /* 浅红背景 */
  --lc-red-200: #FFB8B8;      /* 淡红边框 */
  --lc-gold: #E8B64A;         /* 品牌金 */
  --lc-gold-light: #F5D27A;   /* 浅金 */
  --lc-gold-dark: #B8891F;    /* 深金 */
  --lc-bg: #f7f7f7;           /* 页面背景 */
  --lc-white: #ffffff;
  --lc-gray-1: #f2f2f2;
  --lc-gray-2: #e5e5e5;
  --lc-gray-3: #cccccc;
  --lc-gray-4: #999999;
  --lc-gray-5: #666666;
  --lc-gray-6: #333333;
  --lc-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --lc-shadow-hover: 0 6px 20px rgba(255,45,45,0.15);
  --lc-radius: 8px;
  --lc-radius-lg: 12px;
  --lc-max: 1200px;
}

/* ========== Layout ========== */
.container {
  max-width: var(--lc-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Top Bar ========== */
.top-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #ebebeb;
  font-size: 12px;
  color: var(--lc-gray-5);
  height: 32px;
  line-height: 32px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .top-left span { margin-right: 16px; }
.top-bar .top-right { display: flex; gap: 16px; }
.top-bar a:hover { color: var(--lc-red); }

/* ========== Header ========== */
.header {
  background: var(--lc-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--lc-red) 0%, var(--lc-red-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-gold);
  font-weight: bold;
  font-size: 20px;
  font-style: italic;
  position: relative;
  box-shadow: 0 2px 8px rgba(255,45,45,0.3);
}
.logo-mark::after {
  content: "®";
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 8px;
  color: var(--lc-gold);
  font-style: normal;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .cn {
  font-size: 20px;
  font-weight: bold;
  color: var(--lc-red);
  letter-spacing: 1px;
}
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.logo-text .en {
  font-size: 10px;
  color: var(--lc-gray-4);
  letter-spacing: 2px;
  text-transform: none;
  font-weight: 400;
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 50px 0 16px;
  border: 2px solid var(--lc-red);
  border-radius: 20px;
  font-size: 14px;
  background: #fff;
}
.header-search button {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 44px;
  height: 36px;
  background: var(--lc-red);
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search button:hover { background: var(--lc-red-dark); }
.header-search button svg { width: 18px; height: 18px; }

.header-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.header-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  transition: all .2s;
  border: 1px solid var(--lc-red);
}
.header-btn.btn-login {
  color: var(--lc-red);
  background: #fff;
}
.header-btn.btn-login:hover { background: var(--lc-red); color: #fff; }
.header-btn.btn-register {
  color: #fff;
  background: linear-gradient(135deg, var(--lc-red), var(--lc-red-light));
  border-color: var(--lc-red);
}
.header-btn.btn-register:hover { background: var(--lc-red-dark); }

/* ========== Nav ========== */
.nav {
  background: var(--lc-red);
  color: #fff;
  height: 48px;
}
.nav .container {
  display: flex;
  height: 100%;
  align-items: center;
}
.nav ul {
  display: flex;
  height: 100%;
  gap: 0;
}
.nav li {
  height: 100%;
  position: relative;
}
.nav li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.nav li a:hover,
.nav li.active a {
  background: var(--lc-red-dark);
}
.nav li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--lc-gold);
  transition: width .25s;
}
.nav li a:hover::before,
.nav li.active a::before { width: 60%; }

.nav-join {
  margin-left: auto;
  background: linear-gradient(135deg, var(--lc-gold), var(--lc-gold-light));
  color: var(--lc-red-dark);
  padding: 8px 24px;
  border-radius: 24px;
  font-weight: bold;
  font-size: 14px;
  transition: transform .2s;
}
.nav-join:hover { transform: scale(1.05); }

/* ========== Banner (Swiper-like) ========== */
.banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #2a0a0a;
}
.banner-slides {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.banner-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.banner-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.banner-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(154,12,35,0.75) 0%, rgba(154,12,35,0.2) 60%);
}
.banner-slide .content {
  position: relative;
  z-index: 2;
  max-width: var(--lc-max);
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
  width: 100%;
}
.banner-slide h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.banner-slide p {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: .9;
  max-width: 500px;
}
.banner-slide .banner-btn {
  display: inline-block;
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--lc-gold), var(--lc-gold-light));
  color: var(--lc-red-dark);
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  transition: transform .2s;
}
.banner-slide .banner-btn:hover { transform: translateY(-2px); }

.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all .2s;
}
.banner-dots span.active {
  background: var(--lc-gold);
  width: 28px;
  border-radius: 5px;
}

/* ========== Section Common ========== */
.section { padding: 40px 0; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--lc-gray-6);
  position: relative;
  padding-left: 14px;
}
.section-title h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--lc-red), var(--lc-gold));
  border-radius: 2px;
}
.section-title .more {
  color: var(--lc-gray-4);
  font-size: 13px;
}
.section-title .more:hover { color: var(--lc-red); }

/* ========== Categories ========== */
.categories {
  background: #fff;
  border-radius: var(--lc-radius-lg);
  padding: 24px;
  box-shadow: var(--lc-shadow);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 16px 8px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
}
.cat-item:hover {
  background: #fff5f5;
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f0, #ffe5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--lc-red);
}
.cat-name {
  font-size: 13px;
  color: var(--lc-gray-6);
  text-align: center;
}

/* ========== Store Card ========== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.store-card {
  background: #fff;
  border-radius: var(--lc-radius);
  overflow: hidden;
  box-shadow: var(--lc-shadow);
  transition: all .25s;
  cursor: pointer;
  position: relative;
}
.store-card:hover {
  box-shadow: var(--lc-shadow-hover);
  transform: translateY(-4px);
}
.store-card .cover {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
}
.store-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.store-card:hover .cover img { transform: scale(1.05); }
.store-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
}
.badge-premium {
  background: linear-gradient(135deg, var(--lc-gold), var(--lc-gold-dark));
  color: #fff !important;
}
.badge-hot {
  background: var(--lc-red);
}
.store-card .info {
  padding: 14px;
}
.store-card .name {
  font-size: 15px;
  font-weight: bold;
  color: var(--lc-gray-6);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--lc-gray-4);
}
.store-card .score { color: var(--lc-gold-dark); font-weight: bold; }
.store-card .score::before { content: "★"; margin-right: 2px; }
.store-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.store-card .tag {
  padding: 2px 8px;
  font-size: 11px;
  background: #fff5f5;
  color: var(--lc-red);
  border-radius: 4px;
}
.store-card .addr {
  font-size: 12px;
  color: var(--lc-gray-5);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card .views {
  margin-left: auto;
  font-size: 12px;
  color: var(--lc-gray-4);
}

/* ========== Groupon Card ========== */
.groupon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.groupon-card {
  background: #fff;
  border-radius: var(--lc-radius);
  overflow: hidden;
  box-shadow: var(--lc-shadow);
  transition: all .25s;
  cursor: pointer;
}
.groupon-card:hover {
  box-shadow: var(--lc-shadow-hover);
  transform: translateY(-4px);
}
.groupon-card .cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.groupon-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.groupon-card .info {
  padding: 14px;
}
.groupon-card .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--lc-gray-6);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.groupon-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.groupon-card .price {
  color: var(--lc-red);
  font-size: 20px;
  font-weight: bold;
}
.groupon-card .price::before {
  content: "¥";
  font-size: 13px;
  margin-right: 2px;
}
.groupon-card .sold {
  margin-left: auto;
  font-size: 12px;
  color: var(--lc-gray-4);
}

/* ========== Stats Section ========== */
.stats {
  background: linear-gradient(135deg, var(--lc-red-dark), var(--lc-red));
  padding: 50px 0;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 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.04'%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");
  opacity: .6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-item .num {
  font-size: 48px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--lc-gold), var(--lc-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .label {
  font-size: 15px;
  opacity: .9;
  letter-spacing: 2px;
}

/* ========== Announcements ========== */
.announce-list {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 20px;
  box-shadow: var(--lc-shadow);
}
.announce-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  gap: 12px;
}
.announce-item:last-child { border-bottom: 0; }
.announce-item .date {
  flex-shrink: 0;
  text-align: center;
  padding: 8px 12px;
  background: #fff5f5;
  border-radius: 6px;
  color: var(--lc-red);
}
.announce-item .date .d { font-size: 18px; font-weight: bold; line-height: 1; }
.announce-item .date .m { font-size: 11px; margin-top: 2px; }
.announce-item .title {
  flex: 1;
  font-size: 14px;
  color: var(--lc-gray-6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-item .title:hover { color: var(--lc-red); }
.announce-item .tag-news {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 11px;
  background: var(--lc-red);
  color: #fff;
  border-radius: 3px;
}

/* ========== Join Banner ========== */
.join-banner {
  background: linear-gradient(135deg, #fff9f0, #fff0e0);
  border-radius: var(--lc-radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.join-banner::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,168,83,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.join-banner .text h3 {
  font-size: 28px;
  color: var(--lc-red-dark);
  margin-bottom: 10px;
}
.join-banner .text p {
  font-size: 15px;
  color: var(--lc-gray-5);
  margin-bottom: 20px;
}
.join-banner .btn-join-big {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--lc-red), var(--lc-red-light));
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(255,45,45,0.3);
  transition: transform .2s;
}
.join-banner .btn-join-big:hover { transform: translateY(-2px); }
.join-banner .features {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.join-banner .feat {
  text-align: center;
}
.join-banner .feat .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--lc-gold-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.join-banner .feat .txt {
  font-size: 13px;
  color: var(--lc-gray-6);
}

/* ========== Partners ========== */
.partners {
  background: #fff;
  padding: 40px 0;
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.partner-item {
  width: 150px;
  height: 70px;
  background: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--lc-gray-5);
  font-weight: 500;
  border: 1px solid #eee;
  transition: all .2s;
}
.partner-item:hover {
  border-color: var(--lc-red);
  color: var(--lc-red);
  transform: translateY(-2px);
}

/* ========== Page Banner (inner pages) ========== */
.page-banner {
  height: 200px;
  background: linear-gradient(135deg, var(--lc-red-dark), var(--lc-red));
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 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='%23ffffff' fill-opacity='0.04'%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/svg%3E");
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}
.page-banner .breadcrumb {
  font-size: 14px;
  opacity: .8;
}
.page-banner .breadcrumb a:hover { color: var(--lc-gold); }

/* ========== Main Content Layout ========== */
.main-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 30px 0;
}
.sidebar {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 16px;
  box-shadow: var(--lc-shadow);
  height: fit-content;
  position: sticky;
  top: 140px;
}
.sidebar h4 {
  font-size: 16px;
  font-weight: bold;
  color: var(--lc-gray-6);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--lc-red);
  display: inline-block;
}
.sidebar ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--lc-gray-6);
  transition: all .2s;
}
.sidebar ul li a:hover,
.sidebar ul li.active a {
  background: #fff5f5;
  color: var(--lc-red);
}

.content-main {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 24px;
  box-shadow: var(--lc-shadow);
  min-height: 500px;
}

/* ========== Filter Bar ========== */
.filter-bar {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--lc-shadow);
}
.filter-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  gap: 12px;
}
.filter-row:last-child { border-bottom: 0; }
.filter-label {
  flex-shrink: 0;
  width: 70px;
  font-size: 13px;
  color: var(--lc-gray-5);
  padding-top: 4px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.filter-options a {
  padding: 4px 14px;
  font-size: 13px;
  border-radius: 4px;
  color: var(--lc-gray-6);
  transition: all .2s;
}
.filter-options a:hover,
.filter-options a.active {
  background: var(--lc-red);
  color: #fff;
}

/* ========== Sort Bar ========== */
.sort-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--lc-radius);
  margin-bottom: 16px;
  box-shadow: var(--lc-shadow);
  gap: 8px;
}
.sort-bar .sort-label { font-size: 13px; color: var(--lc-gray-5); margin-right: 8px; }
.sort-bar a {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 4px;
  color: var(--lc-gray-6);
}
.sort-bar a:hover,
.sort-bar a.active {
  background: var(--lc-red);
  color: #fff;
}
.sort-bar .count { margin-left: auto; font-size: 13px; color: var(--lc-gray-4); }

/* ========== About Page ========== */
.about-hero {
  padding: 50px 0;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}
.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-hero h2 {
  font-size: 32px;
  color: var(--lc-red-dark);
  margin-bottom: 20px;
}
.about-hero p {
  font-size: 15px;
  color: var(--lc-gray-6);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-hero .about-img {
  height: 320px;
  background: linear-gradient(135deg, var(--lc-red), var(--lc-gold));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.timeline {
  padding: 50px 0;
}
.timeline-list {
  position: relative;
  padding-left: 40px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--lc-red), var(--lc-gold));
}
.tl-item {
  position: relative;
  padding-bottom: 36px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--lc-red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--lc-gold);
  border-radius: 50%;
}
.tl-item .year {
  font-size: 20px;
  font-weight: bold;
  color: var(--lc-red);
  margin-bottom: 8px;
}
.tl-item .desc {
  font-size: 14px;
  color: var(--lc-gray-6);
  line-height: 1.7;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.honor-card {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--lc-shadow);
  transition: transform .2s;
}
.honor-card:hover { transform: translateY(-4px); }
.honor-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #fff0f0, #ffe5e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--lc-red);
}
.honor-card h4 {
  font-size: 15px;
  color: var(--lc-gray-6);
  margin-bottom: 6px;
}
.honor-card p {
  font-size: 12px;
  color: var(--lc-gray-4);
}

/* ========== Rank Tab ========== */
.rank-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  background: #fff;
  padding: 16px;
  border-radius: var(--lc-radius);
  box-shadow: var(--lc-shadow);
  flex-wrap: wrap;
}
.rank-tabs a {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--lc-gray-6);
  border: 1px solid #e0e0e0;
  transition: all .2s;
}
.rank-tabs a:hover { border-color: var(--lc-red); color: var(--lc-red); }
.rank-tabs a.active {
  background: var(--lc-red);
  color: #fff;
  border-color: var(--lc-red);
}

/* ========== Article / Policy Pages ========== */
.article {
  padding: 30px;
}
.article h1 {
  font-size: 26px;
  color: var(--lc-gray-6);
  text-align: center;
  margin-bottom: 16px;
}
.article .meta-info {
  text-align: center;
  color: var(--lc-gray-4);
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.article h2 {
  font-size: 18px;
  color: var(--lc-red);
  margin: 24px 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--lc-red);
}
.article h3 {
  font-size: 15px;
  color: var(--lc-gray-6);
  margin: 16px 0 8px;
}
.article p {
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--lc-gray-6);
  text-align: justify;
}
.article ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.article ul li {
  list-style: disc;
  margin-bottom: 6px;
  line-height: 1.8;
  color: var(--lc-gray-6);
}

/* ========== Forms ========== */
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: var(--lc-radius-lg);
  box-shadow: var(--lc-shadow);
}
.form-wrap h2 {
  text-align: center;
  font-size: 24px;
  color: var(--lc-gray-6);
  margin-bottom: 8px;
}
.form-wrap .form-sub {
  text-align: center;
  color: var(--lc-gray-4);
  font-size: 13px;
  margin-bottom: 30px;
}
.form-item {
  margin-bottom: 18px;
}
.form-item label {
  display: block;
  font-size: 13px;
  color: var(--lc-gray-6);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-item label .required { color: var(--lc-red); margin-right: 2px; }
.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color .2s;
}
.form-item textarea {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
  min-height: 100px;
}
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  border-color: var(--lc-red);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.form-item .btn-code {
  width: 100%;
  height: 42px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: var(--lc-gray-6);
  transition: all .2s;
}
.form-item .btn-code:hover {
  background: var(--lc-red);
  color: #fff;
  border-color: var(--lc-red);
}
.captcha-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}
.captcha-box {
  height: 42px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 6px;
  color: var(--lc-red);
  font-style: italic;
  cursor: pointer;
  user-select: none;
  font-family: Georgia, serif;
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--lc-gray-6);
  margin-bottom: 20px;
}
.form-checkbox a { color: var(--lc-red); }
.form-checkbox input { width: auto; height: auto; }
.btn-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, var(--lc-red), var(--lc-red-light));
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-submit:hover {
  background: var(--lc-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,45,45,0.3);
}
.form-foot {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--lc-gray-5);
}
.form-foot a { color: var(--lc-red); }

/* ========== Store Detail ========== */
.store-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 30px 0;
}
.store-gallery {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 20px;
  box-shadow: var(--lc-shadow);
  margin-bottom: 20px;
}
.gallery-main {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.gallery-thumbs .thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .7;
  transition: all .2s;
}
.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
  border-color: var(--lc-red);
  opacity: 1;
}
.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-info-block {
  background: #fff;
  border-radius: var(--lc-radius);
  padding: 24px;
  box-shadow: var(--lc-shadow);
  margin-bottom: 20px;
}
.store-info-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--lc-gray-6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-info-block .badge-premium {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: normal;
}
.store-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--lc-gray-5);
}
.store-meta-row .score-big {
  color: var(--lc-gold-dark);
  font-size: 20px;
  font-weight: bold;
}
.store-meta-row .score-big::before {
  content: "★ ";
  font-size: 18px;
}
.store-info-block .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.store-info-block .tag {
  padding: 3px 10px;
  font-size: 12px;
  background: #fff5f5;
  color: var(--lc-red);
  border-radius: 4px;
}
.store-contact {
  padding-top: 16px;
  border-top: 1px dashed #eee;
}
.store-contact p {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--lc-gray-6);
}
.store-contact .label {
  color: var(--lc-gray-4);
  flex-shrink: 0;
  width: 60px;
}

.services-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--lc-gray-6);
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 团购空态 */
.service-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--lc-gray-3);
}
.service-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.service-empty-text {
  font-size: 15px;
  color: var(--lc-gray-5);
  margin-bottom: 6px;
  font-weight: 500;
}
.service-empty-sub {
  font-size: 12px;
  color: var(--lc-gray-3);
}
.service-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
}
.service-item:hover {
  border-color: var(--lc-red);
  box-shadow: 0 2px 8px rgba(255,45,45,0.08);
}
.service-item .cover {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.service-item .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item .info { flex: 1; display: flex; flex-direction: column; }
.service-item .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--lc-gray-6);
  margin-bottom: 6px;
}
.service-item .desc {
  font-size: 12px;
  color: var(--lc-gray-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-item .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.service-item .price {
  color: var(--lc-red);
  font-size: 20px;
  font-weight: bold;
}
.service-item .price::before {
  content: "¥";
  font-size: 13px;
  margin-right: 2px;
}
.service-item .btn-buy {
  padding: 6px 16px;
  background: var(--lc-red);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  margin-left: auto;
}

/* ========== Footer ========== */
.footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 50px 0 0;
  margin-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #3a3a3a;
}
.footer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.footer-brand .logo-mark {
  width: 56px;
  height: 56px;
  font-size: 22px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: #aaa;
  margin-top: 12px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--lc-red);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color .2s;
}
.footer-col ul li a:hover {
  color: var(--lc-gold);
}
.footer-contact p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
  line-height: 1.7;
}
.footer-contact .phone {
  font-size: 22px;
  color: var(--lc-gold);
  font-weight: bold;
  margin: 8px 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #888;
  line-height: 2;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--lc-gold); }
.footer-bottom .icp-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom .police-beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-bottom .police-icon {
  font-size: 13px;
  line-height: 1;
}

/* ========== Ranking Page Special ========== */
.rank-list {
  background: #fff;
  border-radius: var(--lc-radius);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  transition: background .2s;
  cursor: pointer;
}
.rank-item:hover { background: #fafafa; }
.rank-item:last-child { border-bottom: 0; }
.rank-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;
  flex-shrink: 0;
  color: #fff;
  background: #ccc;
}
.rank-num.top1 { background: linear-gradient(135deg, #ff6b35, #ff3d00); }
.rank-num.top2 { background: linear-gradient(135deg, #ffa726, #ff8f00); }
.rank-num.top3 { background: linear-gradient(135deg, #ffca28, #ffa000); color: #333; }
.rank-item .cover {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.rank-item .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-item .info { flex: 1; }
.rank-item .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--lc-gray-6);
  margin-bottom: 4px;
}
.rank-item .meta {
  font-size: 12px;
  color: var(--lc-gray-4);
}
.rank-item .metric {
  text-align: right;
  flex-shrink: 0;
}
.rank-item .metric .val {
  font-size: 20px;
  font-weight: bold;
  color: var(--lc-red);
}
.rank-item .metric .lbl {
  font-size: 12px;
  color: var(--lc-gray-4);
}

/* ========== Activity Card ========== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.activity-card {
  background: #fff;
  border-radius: var(--lc-radius);
  overflow: hidden;
  box-shadow: var(--lc-shadow);
  transition: all .25s;
  cursor: pointer;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lc-shadow-hover);
}
.activity-card .cover {
  height: 180px;
  background: linear-gradient(135deg, var(--lc-red), var(--lc-red-dark));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}
.activity-card.alt .cover {
  background: linear-gradient(135deg, var(--lc-gold-dark), var(--lc-gold));
  color: var(--lc-red-dark);
}
.activity-card .info {
  padding: 18px;
}
.activity-card .title {
  font-size: 16px;
  font-weight: bold;
  color: var(--lc-gray-6);
  margin-bottom: 8px;
}
.activity-card .desc {
  font-size: 13px;
  color: var(--lc-gray-5);
  margin-bottom: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.activity-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--lc-gray-4);
}

/* ========== Help Center ========== */
.help-category {
  margin-bottom: 30px;
}
.help-category h3 {
  font-size: 16px;
  color: var(--lc-red);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.help-list li {
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
}
.help-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lc-red);
}
.help-list li a {
  font-size: 14px;
  color: var(--lc-gray-6);
}
.help-list li a:hover { color: var(--lc-red); }

/* ========== Contact Us ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.contact-info h3 {
  font-size: 20px;
  color: var(--lc-gray-6);
  margin-bottom: 20px;
}
.contact-info ul li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
  color: var(--lc-gray-6);
}
.contact-info ul li .icon {
  width: 36px;
  height: 36px;
  background: #fff5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-red);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info ul li .txt strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lc-gray-6);
}
.contact-info ul li .txt span {
  color: var(--lc-gray-5);
  font-size: 13px;
}
.contact-map {
  height: 300px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-gray-4);
  font-size: 14px;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.pagination a {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: var(--lc-gray-6);
  transition: all .2s;
}
.pagination a:hover,
.pagination a.active {
  background: var(--lc-red);
  color: #fff;
  border-color: var(--lc-red);
}

/* ========== Utility ========== */
.text-red { color: var(--lc-red) !important; }
.text-gold { color: var(--lc-gold) !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ========== Responsive (basic) ========== */
@media (max-width: 1024px) {
  .store-grid, .groupon-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-search { display: none; }
  .store-grid, .groupon-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .banner { height: 280px; }
  .banner-slide h2 { font-size: 28px; }
  .stats .num { font-size: 32px; }
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .store-detail { grid-template-columns: 1fr; }
  .about-hero .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .member-cards { grid-template-columns: 1fr; }
}

/* ========== 会员等级卡片 ========== */
.member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all .3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255,45,45,0.15);
}
.member-card-head {
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border-bottom: 1px solid #eee;
}
.member-card-gold .member-card-head {
  background: linear-gradient(135deg, #fff9f0, #fff1db);
  border-bottom: 1px solid #ffe5b8;
}
.member-card-diamond .member-card-head {
  background: linear-gradient(135deg, #fff1f1, #ffe0e0);
  border-bottom: 1px solid #ffc2c2;
}
.member-icon {
  font-size: 42px;
  margin-bottom: 10px;
  line-height: 1;
}
.member-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--lc-gray-6);
  margin-bottom: 6px;
}
.member-card-gold .member-name { color: var(--lc-gold-dark); }
.member-card-diamond .member-name { color: var(--lc-red); }
.member-price {
  font-size: 14px;
  color: var(--lc-gray-4);
}
.member-tag {
  position: absolute;
  top: 14px;
  right: -28px;
  transform: rotate(45deg);
  font-size: 11px;
  padding: 3px 32px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
}
.member-tag.hot {
  background: var(--lc-gold);
  color: #fff;
}
.member-tag.best {
  background: var(--lc-red);
  color: #fff;
}
.member-card-body {
  padding: 20px 24px 28px;
  flex: 1;
}
.member-card-body ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.member-card-body li {
  font-size: 13px;
  color: var(--lc-gray-6);
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.member-card-body li:last-child { border-bottom: 0; }
.member-card-body .check {
  color: var(--lc-red);
  font-weight: bold;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}
.member-card-gold .member-card-body .check { color: var(--lc-gold-dark); }

/* 平板适配 */
@media (max-width: 1024px) {
  .member-cards { grid-template-columns: repeat(2, 1fr); }
}
