/* ==========================================================================
   九州快讯 — 现代科技时尚设计系统
   设计理念：Crisp Tech（深色导航 + 浅色内容 + 电光渐变 + 玻璃拟态）
   ========================================================================== */

/* ---------- 设计令牌（CSS 变量） ---------- */
:root {
  /* 主色系 */
  --bg-page: #f1f5f9;
  --bg-content: #ffffff;
  --bg-dark: #0a0e1a;
  --bg-dark-2: #131826;
  --bg-dark-3: #1e293b;

  /* 强调色 */
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #131826 40%, #1e3a5f 100%);

  /* 文字 */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-dim: #94a3b8;
  --text-inv: #f1f5f9;
  --text-inv-dim: #94a3b8;

  /* 边框与阴影 */
  --border: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* 价格色 */
  --price: #ef4444;

  /* 字体 */
  --font-display: 'Sora', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text);
  padding-top: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-cyan); }

/* ==========================================================================
   导航栏 — 玻璃拟态深色
   ========================================================================== */
.site-nav {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-nav .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-nav .nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}
.site-nav .nav-brand-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.site-nav .nav-link {
  color: var(--text-inv-dim) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--text-inv) !important;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-link.active {
  color: var(--text-inv) !important;
  background: rgba(37, 99, 235, 0.15);
}

/* 导航栏 CTA 按钮 */
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  border: none;
  padding: 0.45rem 1.3rem !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  color: #fff !important;
}

.nav-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  color: var(--text-inv) !important;
  font-weight: 500;
  font-size: 0.88rem;
}

.navbar-toggler { border-color: var(--border-dark); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28241,245,249,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   英雄区（首页顶部）
   ========================================================================== */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  color: var(--text-inv);
}

/* 网格背景纹理 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* 光晕装饰 */
.hero-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}
.hero-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-inv-dim);
  margin-bottom: 1.8rem;
  max-width: 540px;
}

/* 英雄区搜索框 */
.hero-search {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
}
.hero-search input {
  border: none;
  outline: none;
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  background: transparent;
  font-family: var(--font-body);
}
.hero-search button {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}
.hero-search button:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

/* 英雄区统计数字 */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-inv-dim);
}

/* ==========================================================================
   内容容器
   ========================================================================== */
.content-area {
  padding: 2rem 0 3rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   分类筛选条
   ========================================================================== */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-content);
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}
.cat-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.cat-pill.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   产品卡片网格
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

/* 旧 Bootstrap 网格兼容 */
.product-grid .col-md-3,
.product-grid .col-6 { padding: 0; }

.product-card {
  background: var(--bg-content);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s, border-color 0.2s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-page);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.logo-upload {
  position: relative;
}
.logo-upload .upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dim);
}
.logo-upload .upload-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.logo-upload .upload-btn i {
  font-size: 1.5rem;
}
.logo-preview {
  position: relative;
  width: 100%;
}
.logo-preview img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-page);
}
.logo-preview .remove-logo {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin-bottom: 0.5rem;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent); }

.product-card-brand {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-display);
  color: var(--price);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: auto;
}

/* 卡片渐入动画 */
.product-card {
  opacity: 0;
  animation: cardFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.product-grid > *:nth-child(1) { animation-delay: 0.03s; }
.product-grid > *:nth-child(2) { animation-delay: 0.07s; }
.product-grid > *:nth-child(3) { animation-delay: 0.11s; }
.product-grid > *:nth-child(4) { animation-delay: 0.15s; }
.product-grid > *:nth-child(5) { animation-delay: 0.19s; }
.product-grid > *:nth-child(6) { animation-delay: 0.23s; }
.product-grid > *:nth-child(7) { animation-delay: 0.27s; }
.product-grid > *:nth-child(8) { animation-delay: 0.31s; }
.product-grid > div:nth-child(n+9) { animation-delay: 0.35s; }
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   通用区块标题
   ========================================================================== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient);
  border-radius: 3px;
}

/* ==========================================================================
   分页
   ========================================================================== */
.pagination { gap: 0.3rem; }
.pagination .page-item .page-link {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  min-width: 38px;
  text-align: center;
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}
.pagination .page-item.disabled .page-link { color: var(--text-dim); }

.pagination li {
  margin: 0 10px !important;
}


/* ==========================================================================
   表单 — 现代风格
   ========================================================================== */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

/* 主按钮 */
.btn-primary {
  background: var(--gradient) !important;
  border: none !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}
.btn-outline-primary {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ==========================================================================
   认证卡片（登录/注册）
   ========================================================================== */
.auth-wrap {
  min-height: calc(100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.auth-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
}
.auth-card {
  background: var(--bg-content);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  animation: authFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-card.wide { max-width: 600px; }
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.auth-subtitle {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   面板卡片（个人中心/通用容器）
   ========================================================================== */
.panel {
  background: var(--bg-content);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 信息行 */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
}
.info-value {
  color: var(--text);
  font-weight: 600;
}

/* 徽章 */
.badge {
  font-weight: 600;
  padding: 0.35em 0.8em;
  border-radius: 6px;
  font-size: 0.78rem;
}
.badge.bg-success { background: #10b981 !important; }
.badge.bg-warning { background: #f59e0b !important; color: #fff !important; }
.badge.bg-danger { background: var(--price) !important; }
.badge.bg-secondary { background: #64748b !important; }

/* ==========================================================================
   产品详情页
   ========================================================================== */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.detail-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.detail-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.detail-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--price);
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.detail-meta-item {
  font-size: 0.9rem;
}
.detail-meta-item .label { color: var(--text-dim); }
.detail-meta-item .value { font-weight: 600; }

/* 联系方式卡片 */
.contact-card {
  background: var(--gradient-dark);
  border-radius: var(--radius);
  padding: 1.8rem;
  color: var(--text-inv);
  position: sticky;
  top: 80px;
}
.contact-card h5 {
  color: var(--text-inv);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
}
.contact-info-row .ci-label {
  color: var(--text-inv-dim);
  min-width: 50px;
  font-size: 0.88rem;
}
.contact-info-row .ci-value {
  color: var(--text-inv);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================================
   表格
   ========================================================================== */
.table {
  margin-bottom: 0;
}
.table > :not(caption) > * > * {
  padding: 0.75rem 1rem;
  border-bottom-color: var(--border);
}
.table thead th {
  background: var(--bg-page);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 2px solid var(--border);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inv-dim);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.5;
}
.site-footer .footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}
.site-footer .footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-inv-dim);
}
.site-footer .footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-inv);
  margin-bottom: 1rem;
}
.site-footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.site-footer .footer-contact li i {
  width: 1.2rem;
  color: var(--accent);
  font-size: 0.9rem;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.site-footer .footer-links a {
  color: var(--text-inv-dim);
  font-size: 0.86rem;
  transition: color 0.2s;
}
.site-footer .footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}
.site-footer .footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.site-footer .footer-copyright p {
  font-size: 0.82rem;
  color: var(--text-inv-dim);
  margin: 0;
}

/* ==========================================================================
   告警/提示框
   ========================================================================== */
.alert {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.alert-info {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent);
}
.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #92400e;
}

/* ==========================================================================
   空状态
   ========================================================================== */
.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-dim);
}
.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

/* ==========================================================================
   图片上传预览
   ========================================================================== */
.upload-preview img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
}

/* ==========================================================================
   工具类
   ========================================================================== */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-lift { transition: transform 0.2s; }
.hover-lift:hover { transform: translateY(-2px); }

/* 联系方式模糊遮罩 */
.contact-mask { filter: blur(8px); user-select: none; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 5px; border: 2px solid var(--bg-page); }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* 选中文本 */
::selection { background: rgba(37, 99, 235, 0.2); }
