/* ============================================
   星枢创研 (XingShu) - 深空蓝黑 + 金色渐变科技感
   ============================================ */

/* ========== 1. CSS 变量 ========== */
:root {
  --bg-deep: #0A0C10;
  --bg: #0D0F14;
  --bg2: #141821;
  --bg3: #1A1F2E;
  --bg4: #1E2535;
  --ink: #ffffff;
  --ink2: #e0e6f0;
  --muted: #9A8B7A;
  --muted2: #6B6B6B;
  --rule: rgba(255,255,255,0.06);
  --rule2: rgba(255,255,255,0.1);
  --gold: #D4A84B;
  --gold2: #B8933F;
  --gold3: #9A7B3D;
  --gold-dark: #8A6B30;
  --gold-light: #F0D78C;
  --gold-highlight: #FFE5A0;
  --gold-glow: rgba(212,168,75,0.3);
  --gold-glow2: rgba(212,168,75,0.15);
  --red: #ef4444;
  --green: #34d399;
  --blue: #60a5fa;
  --card-bg: #141821;
  --card-border: rgba(212,168,75,0.25);
}

/* ========== 2. 全局样式 & Reset ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background-color: #070b14;
  background-image: linear-gradient(135deg, #070b14 0%, #0a0f1a 50%, #0d1220 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* 深色径向光晕叠加 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(240,198,116,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(96,165,250,0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--gold3);
  color: #fff;
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted2);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg3) transparent;
}

/* ========== 3. 粒子背景画布 ========== */
.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ========== 4. 公告条 ========== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(7,11,20,0.95);
  z-index: 410;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2rem;
}

.announcement-bar .announce-pill {
  flex-shrink: 0;
  display: inline-block;
  background: rgba(240,198,116,0.1);
  border: 1px solid rgba(240,198,116,0.2);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 12px;
  color: var(--gold);
  margin-right: 0.75rem;
}

.announcement-bar .announce-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.announcement-bar .announce-scroll > span {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 40px;
}

.announcement-bar .announce-scroll-inner {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-announce 40s linear infinite;
}

@keyframes scroll-announce {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.announcement-bar .announce-history-btn {
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--gold);
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

.announcement-bar .announce-history-btn:hover {
  text-decoration: underline;
}

/* ========== 5. 顶部导航 ========== */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid rgba(212,168,75,0.08);
  z-index: 400;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 100%;
}

/* ========== 6. Logo ========== */
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(240,198,116,0.2), rgba(240,198,116,0.05));
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.logo-text {
  background: linear-gradient(180deg, var(--gold-highlight), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== 7. 主导航 ========== */
.main-nav {
  display: flex;
  gap: 0;
  margin-left: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 0 1.1rem;
  line-height: 64px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--gold);
}

.nav-item.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ========== 8. 子菜单 ========== */
.sub-menu {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 410;
}

.nav-item:hover .sub-menu,
.nav-item.sub-active .sub-menu {
  display: block;
  opacity: 1;
}

.sub-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}

.sub-menu a:hover {
  color: var(--gold);
  background: rgba(240,198,116,0.05);
}

/* ========== 9. 右侧用户区 ========== */
.user-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-login {
  padding: 0.45rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-login:hover {
  background: rgba(240,198,116,0.08);
}

.btn-register {
  padding: 0.45rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-light), var(--gold2));
  color: var(--bg-deep);
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 14px rgba(201,162,39,0.3);
  font-family: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-register:hover {
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
  transform: translateY(-1px);
}

/* ========== 10. 用户头像区（登录后） ========== */
.user-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  border-radius: 20px;
  border: 1px solid var(--rule2);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.user-avatar-wrap:hover {
  border-color: var(--card-border);
  background: rgba(240,198,116,0.05);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.user-name {
  color: var(--ink2);
  font-size: 0.85rem;
  white-space: nowrap;
}

.msg-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: inline-block;
  position: absolute;
  top: 2px;
  right: 6px;
}

/* ========== 11. 用户下拉菜单 ========== */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  z-index: 100;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}

.user-dropdown a:hover {
  color: var(--gold);
  background: rgba(240,198,116,0.05);
}

.user-dropdown hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 4px 0;
}

.user-dropdown .logout-btn {
  color: var(--red) !important;
}

.user-dropdown .logout-btn:hover {
  background: rgba(239,68,68,0.05) !important;
}

/* ========== 12. 主内容 ========== */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 110px;
}

/* ========== 13. 玻璃态卡片 ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 40px var(--gold-glow2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: rgba(212,168,75,0.4);
  box-shadow: 0 0 60px var(--gold-glow2);
}

/* ========== 14. 页面标题 ========== */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== 15. 标签页 ========== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.7rem 1.5rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: var(--ink2);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ========== 16. 表格 ========== */
table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: rgba(240,198,116,0.08);
  color: var(--gold);
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--card-border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink2);
  font-size: 0.9rem;
}

table tr:hover td {
  background: rgba(240,198,116,0.03);
}

/* ========== 17. 表单 ========== */
.form-group {
  margin-bottom: 0.6rem;
}

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule2);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,198,116,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.8rem 0;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label a:hover {
  color: var(--gold-light);
}

/* ========== 18. 按钮 ========== */
.btn {
  padding: 0.55rem 1.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold2));
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(201,162,39,0.3);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--card-border);
  color: var(--gold);
  background: transparent;
  border-radius: 10px;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(240,198,116,0.05);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  opacity: 0.9;
}

.btn-block {
  width: 100%;
  padding: 0.75rem;
}

/* ========== 19. 标签 / 徽章 ========== */
.tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.tag-gold {
  background: rgba(240,198,116,0.12);
  color: var(--gold);
}

.tag-red {
  background: rgba(239,68,68,0.12);
  color: var(--red);
}

.tag-green {
  background: rgba(52,211,153,0.12);
  color: var(--green);
}

.tag-gray {
  background: rgba(139,146,160,0.12);
  color: var(--muted);
}

/* ========== 20. 警告框 / 提示框 ========== */
.warn-box {
  border-left: 3px solid var(--red);
  background: rgba(239,68,68,0.06);
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
  margin: 1rem 0;
  color: var(--ink2);
  font-size: 0.85rem;
}

.info-box {
  border-left: 3px solid var(--gold);
  background: rgba(240,198,116,0.06);
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
  margin: 1rem 0;
  color: var(--ink2);
  font-size: 0.85rem;
}

/* ========== 21. 模态框 ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  width: 90%;
  max-width: 460px;
  max-height: 85vh;
  box-shadow: 0 0 80px var(--gold-glow2);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-sm {
  max-width: 380px;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--ink);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ========== 22. Hero 区域（首页专用） ========== */
.hero-section {
  display: flex;
  align-items: center;
  padding: 3rem 0 2rem;
  gap: 3rem;
}

.hero-left {
  flex: 2;
}

.hero-brand {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  background: linear-gradient(180deg, var(--gold-highlight) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  color: #9A8B7A;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.hero-tagline span {
  color: var(--ink2);
}

/* ========== 23. 3D 会员卡堆叠 ========== */
.member-cards {
  position: relative;
  width: 280px;
  height: 340px;
  flex-shrink: 0;
  perspective: 1000px;
}
.member-card {
  position: absolute;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 40px var(--gold-glow2), 0 20px 50px rgba(0,0,0,0.3);
}
.member-card:nth-child(1) {
  top: 0; left: 0;
  transform: rotateY(-15deg) rotateX(5deg);
  z-index: 3;
}
.member-card:nth-child(2) {
  top: 15px; left: 20px;
  transform: rotateY(-10deg) rotateX(3deg);
  z-index: 2;
  opacity: 0.6;
}
.member-card:nth-child(3) {
  top: 30px; left: 40px;
  transform: rotateY(-5deg) rotateX(1deg);
  z-index: 1;
  opacity: 0.3;
}
.member-level {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.member-level-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.member-level-bar {
  height: 2px;
  background: var(--rule2);
  border-radius: 1px;
  overflow: hidden;
}
.member-level-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 1px;
}

/* ========== 24. 功能卡片网格 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--rule2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--card-border);
  box-shadow: 0 0 40px var(--gold-glow2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,168,75,0.08);
  border: 1px solid rgba(212,168,75,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.feature-card h4 {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ========== 25. 资金公示条 ========== */
.fund-banner {
  position: relative;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  border-radius: 4px;
  padding: 1rem 2rem;
  margin: 2rem 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.fund-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.fund-banner p {
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ========== 26. 网格布局 ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ========== 27. 快捷入口 ========== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.quick-item {
  background: var(--card-bg);
  border: 1px solid var(--rule2);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-item:hover {
  border-color: var(--card-border);
  box-shadow: 0 0 30px var(--gold-glow2);
  transform: translateY(-3px);
}

.quick-item .quick-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.quick-item .quick-label {
  font-size: 0.88rem;
  color: var(--ink2);
}

/* ========== 28. 流程步骤 ========== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}

.flow-step {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.flow-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -8px;
  width: 1px;
  background: var(--rule2);
}

.flow-step:last-child::before {
  display: none;
}

.flow-dot {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.flow-step-content {
  flex: 1;
  padding-top: 4px;
}

.flow-step-content h4 {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.flow-step-content p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========== 29. 进度条 ========== */
.progress-bar {
  height: 6px;
  background: var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ========== 30. 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.empty-state p {
  font-size: 1rem;
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ========== 31. 登录页特殊样式 ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 104px;
}

.login-card {
  width: 420px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 0 80px var(--gold-glow2), 0 25px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}

.login-card .form-group {
  position: relative;
}

.login-card .form-group .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.login-card input {
  padding-left: 2.8rem;
}

.login-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin: 0.8rem 0 1.5rem;
  font-size: 0.8rem;
}

.login-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.login-links a:hover {
  color: var(--gold);
}

.login-legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted2);
  margin-top: 1.5rem;
}

.login-legal a {
  color: var(--muted);
  text-decoration: underline;
}

.security-tip {
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 260px;
  background: var(--card-bg);
  border: 1px solid var(--rule2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 1;
}

.security-tip h5 {
  color: var(--ink);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.security-tip p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ========== 32. 响应式 ========== */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .member-cards {
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-brand {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 115px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-brand {
    font-size: 2.5rem;
  }

  .login-card {
    width: 90%;
  }

  .security-tip {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  .user-area .user-name {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal {
    width: 95%;
  }

  .header-inner {
    padding: 0 1rem;
  }

  .main-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 1024px) {
  .hero-carousel {
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 320px;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1.1rem;
  }

  .card {
    padding: 1rem;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .quick-item {
    padding: 1rem 0.8rem;
  }

  .hero-brand {
    font-size: 2rem;
  }

  .login-card {
    padding: 1.5rem;
  }

  .modal-header {
    padding: 1.2rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

/* ========== 33. 汉堡菜单 & 移动端导航 ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========== 轮播图 ========== */
.hero-carousel {
  position: relative;
  flex: 3;
  min-height: 0;
  aspect-ratio: 2.5 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 0 80px var(--gold-glow2), 0 25px 60px rgba(0,0,0,0.35);
  max-height: 480px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(10,12,16,0.85));
  color: var(--ink2);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  transform: scale(1.2);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10,12,16,0.6);
  border: 1px solid var(--rule2);
  color: var(--ink2);
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
}
.hero-carousel:hover .carousel-arrow {
  opacity: 1;
}
.carousel-arrow:hover {
  background: rgba(212,168,75,0.2);
  border-color: var(--card-border);
  color: var(--gold);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* ========== 页脚 ========== */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 0;
  border-top: 1px solid var(--rule);
  background-color: #070b14;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.footer-brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-highlight), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-desc {
  color: var(--muted2);
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-title {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-contact {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--muted2);
  font-size: 0.78rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: none;
}

.mobile-overlay.open {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: rgba(17,24,39,0.98);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .mobile-nav-item {
  display: block;
  padding: 0.8rem 0;
  color: var(--ink2);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu .mobile-nav-item:hover {
  color: var(--gold);
}

.mobile-menu .mobile-sub-item {
  display: block;
  padding: 0.6rem 0 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu .mobile-sub-item:hover {
  color: var(--gold);
}

/* ========== 辅助工具类 ========== */
.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--muted);
}

.text-red {
  color: var(--red);
}

.text-green {
  color: var(--green);
}

.text-blue {
  color: var(--blue);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.hidden { display: none; }

/* ========== 状态标签 ========== */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ========== 在线客服悬浮按钮 ========== */
.cs-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(212,168,75,0.35), 0 0 0 4px rgba(212,168,75,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.cs-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 24px rgba(212,168,75,0.45), 0 0 0 6px rgba(212,168,75,0.1);
}
.cs-float-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.cs-float-text {
  font-size: 0.65rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-top: 1px;
}

/* ========== 在线客服面板 ========== */
.cs-panel {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  z-index: 199;
  width: 300px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.cs-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cs-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(212,168,75,0.12), rgba(212,168,75,0.04));
  border-bottom: 1px solid var(--card-border);
}
.cs-panel-header h4 {
  color: var(--gold);
  font-size: 1rem;
  margin: 0;
}
.cs-panel-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.cs-panel-close:hover {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
}

.cs-panel-body {
  padding: 1rem;
}
.cs-time {
  text-align: center;
  color: var(--muted2);
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cs-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cs-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
  cursor: pointer;
}
.cs-contact-item:hover {
  background: rgba(212,168,75,0.06);
  border-color: rgba(212,168,75,0.15);
  transform: translateX(2px);
}
.cs-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.cs-contact-info {
  flex: 1;
  min-width: 0;
}
.cs-contact-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.cs-contact-val {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
}
.cs-contact-arrow {
  color: var(--muted2);
  font-size: 1.2rem;
  font-weight: 300;
}

.cs-faq-hint {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted2);
}
.cs-faq-hint a {
  color: var(--gold);
  text-decoration: none;
}
.cs-faq-hint a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .cs-panel {
    right: 0.8rem;
    left: 0.8rem;
    width: auto;
    bottom: 4.5rem;
  }
  .cs-float {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }
}

/* ===== 营销徽章组件库 ===== */

/* 绶带横幅 */
.xs-ribbon {
  position: absolute;
  top: 12px;
  left: -8px;
  padding: 4px 18px 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  border-radius: 0 4px 4px 0;
  z-index: 10;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.xs-ribbon::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  border: 3px solid transparent;
  border-top-color: rgba(0,0,0,0.2);
  border-left-color: rgba(0,0,0,0.2);
}
.xs-ribbon-hot { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.xs-ribbon-new { background: linear-gradient(135deg, #D4A84B, #B8860B); }
.xs-ribbon-urgent { background: linear-gradient(135deg, #e74c3c, #8e0000); }
.xs-ribbon-dividend { background: linear-gradient(135deg, #2980b9, #1a5276); }
.xs-ribbon .xs-ribbon-tag {
  position: absolute;
  top: -2px;
  right: -6px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

/* 爆裂角标 */
.xs-burst {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
  z-index: 10;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 发光标题徽章 */
.xs-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #D4A84B;
  border: 1px solid rgba(212,168,75,0.3);
  border-radius: 20px;
  background: rgba(212,168,75,0.08);
  box-shadow: 0 0 12px rgba(212,168,75,0.15);
  text-shadow: 0 0 8px rgba(212,168,75,0.3);
}
.xs-glow-badge.red { color: #e74c3c; border-color: rgba(231,76,60,0.3); background: rgba(231,76,60,0.08); box-shadow: 0 0 12px rgba(231,76,60,0.15); }
.xs-glow-badge.blue { color: #60a5fa; border-color: rgba(96,165,250,0.3); background: rgba(96,165,250,0.08); box-shadow: 0 0 12px rgba(96,165,250,0.15); }

/* 胶囊按钮标签 */
.xs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.xs-pill:hover { transform: scale(1.05); }
.xs-pill-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.xs-pill-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.xs-pill-gold { background: linear-gradient(135deg, #D4A84B, #B8860B); }

/* 勋章徽标 */
.xs-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,75,0.4);
  background: radial-gradient(circle at 30% 30%, rgba(212,168,75,0.15), rgba(212,168,75,0.03));
  box-shadow: 0 0 8px rgba(212,168,75,0.1), inset 0 0 8px rgba(212,168,75,0.05);
  font-size: 1.1rem;
}

/* 箭头标签 */
.xs-arrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  clip-path: polygon(0% 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 0% 100%);
}
.xs-arrow-tag-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.xs-arrow-tag-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.xs-arrow-tag-gold { background: linear-gradient(135deg, #D4A84B, #B8860B); }
.xs-arrow-tag-dark { background: linear-gradient(135deg, #2d2d2d, #1a1a1a); border: 1px solid rgba(212,168,75,0.3); }

/* 会员级别标签 */
.xs-level-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  color: #1a1a1a;
}
.xs-level-tag-lv1 { background: linear-gradient(135deg, #9ca3af, #6b7280); color: #fff; }
.xs-level-tag-lv2 { background: linear-gradient(135deg, #cd7f32, #a0522d); }
.xs-level-tag-lv3 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); }
.xs-level-tag-lv4 { background: linear-gradient(135deg, #FFD700, #DAA520); }
.xs-level-tag-lv5 { background: linear-gradient(135deg, #e5e4e2, #b0b0b0); color: #333; }
.xs-level-tag-lv6 { background: linear-gradient(135deg, #b9f2ff, #00bfff); color: #003366; }
.xs-level-tag-lv7 { background: linear-gradient(135deg, #e0b0ff, #9b59b6); color: #fff; }
.xs-level-tag-lv8 { background: linear-gradient(135deg, #FFE5A0, #D4AF37, #B8860B); }

/* 板块分类标签 */
.xs-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid rgba(212,168,75,0.2);
  color: #D4A84B;
  background: rgba(212,168,75,0.06);
}

/* ========== 4x4 导航网格 ========== */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 560px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.nav-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.nav-grid-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(212,168,75,0.2);
}
.nav-grid-item img {
  width: 100%;
  max-width: 80px;
  height: auto;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .nav-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; max-width: 100%; }
  .nav-grid-item img { max-width: 64px; }
}

/* ========== 首页精选内容区 ========== */
.home-featured {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.home-announce {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.home-announce-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.home-announce-item:last-child { border-bottom: none; }

.home-two-col,
.home-three-col {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.home-two-col { grid-template-columns: 1fr 1fr; }
.home-three-col { grid-template-columns: 1fr 1fr 1fr; }

.home-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.2rem;
}

.home-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.home-card-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.home-card-item:hover {
  background: rgba(212,168,75,0.04);
}

.home-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.home-shop-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  transition: all 0.2s;
}
.home-shop-card:hover {
  border-color: rgba(212,168,75,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
  .home-two-col { grid-template-columns: 1fr; }
  .home-three-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-featured { padding: 0 0.8rem; }
  .home-section { padding: 1rem; }
}

/* ========== 推广中心 ========== */
.data-table td:first-child { font-weight: 600; }
.data-table .xs-level-tag { display: inline-block; padding: 1px 6px; font-size: 0.68rem; }
