/* ===== 青岛本地网 v4 — UI Design Taste 设计系统 ===== */
/* 配色: 深海 (Deep Sea) | 标题字体: Space Grotesk | 正文字体: Inter */

/* === Google Fonts (通过 @import 加载) === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* === 设计令牌 (Design Tokens) === */
:root {
  /* 深海配色方案 */
  --primary: #1E3A8A;
  --primary-dark: #172554;
  --primary-light: #DBEAFE;
  --primary-bright: #2563EB;
  --secondary: #2563EB;
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-light: #FEF3C7;
  --bg: #EFF6FF;
  --bg-alt: #F8FAFC;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-body: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --footer-bg: #0F172A;

  /* 字体 */
  --font-heading: 'Space Grotesk', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;

  /* 阴影系统 (5层) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  /* 色调阴影 */
  --shadow-tinted: 0 8px 20px -4px color-mix(in srgb, var(--primary) 20%, transparent);

  /* 圆角系统 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 间距系统 (8点网格) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* 动效 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-alt);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease-out); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === 进入动画 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeInUp 0.6s var(--ease-out) both;
}
.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.2s; }
.fade-in-d3 { animation-delay: 0.3s; }

/* === Top Bar === */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: #fff; }
.top-bar .sep { color: rgba(255,255,255,0.25); margin: 0 8px; }

/* === Header === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { height: 40px; flex-shrink: 0; }

/* Nav */
.nav-list { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav-list a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
}
.nav-list a:hover, .nav-list a.active { 
  color: var(--primary); 
  background: var(--primary-light); 
}

/* Search */
.search-box {
  display: flex; align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 38px;
  width: 220px;
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease-out);
}
.search-box:focus-within {
  border-color: var(--primary-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text-body);
  width: 100%;
  font-family: var(--font-body);
}
.search-box .search-icon {
  cursor: pointer;
  color: var(--text-lighter);
  margin-right: 8px;
  font-size: 15px;
  transition: color 0.2s;
}
.search-box .search-icon:hover { color: var(--primary); }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-login {
  font-size: 13px; font-weight: 500; color: var(--text-light);
  padding: 6px 14px; border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
}
.btn-login:hover { color: var(--primary); background: var(--primary-light); }
.btn-publish {
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
}
.btn-publish:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,119,6,0.3);
}

/* === Section Title === */
.section-title {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.section-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.section-title .more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s var(--ease-out);
}
.section-title .more:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

/* === Card Grid === */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-6 { grid-template-columns: repeat(6, 1fr); }

/* === Card (标准卡片) === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-tinted);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--border);
}
.card-img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), #BFDBFE);
  color: var(--primary); font-size: 36px;
}
.card-body { padding: 16px 18px 18px; }
.card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-body .meta { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.card-body .meta span { margin-right: 12px; }
.card-body .price {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}
.card-body .rating { color: #F59E0B; font-size: 13px; }
.card-body .tag {
  display: inline-block;
  font-size: 11px; padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  margin: 2px;
}

/* === Card Variant: 无边框卡片 (解决卡片疲劳) === */
.card-borderless {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.card-borderless .card-body { padding: 14px 0; }
.card-borderless .card-body h3 { font-size: 15px; }
.card-borderless:hover .card-body h3 { color: var(--primary); }

/* === 快捷入口 (Quick Links) === */
.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 8px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tinted);
}
.quick-link .icon { font-size: 30px; line-height: 1; }
.quick-link .label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
}

/* === 新闻列表项 === */
.news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}
.news-item:hover {
  background: var(--bg);
  transform: translateX(4px);
}
.news-item .thumb {
  width: 100px; height: 66px;
  object-fit: cover; border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.news-item .title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item .date {
  display: block;
  font-size: 12px;
  color: var(--text-lighter);
  margin-top: 4px;
}

/* === Hero / Carousel === */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  aspect-ratio: 2.4/1;
  background: var(--primary);
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
  max-width: 600px;
}
.hero-content h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.hero-cta {
  display: inline-block;
  padding: 10px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s var(--ease-out);
}
.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,119,6,0.35);
}

/* Hero 指示器 */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
}
.hero-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #fff;
}

/* === 标签 (Tags) === */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tag-cloud .tag-label {
  font-size: 13px;
  color: var(--text-lighter);
}
.tag-pill {
  font-size: 13px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s var(--ease-out);
  font-family: var(--font-heading);
  font-weight: 500;
}
.tag-pill:hover {
  transform: translateY(-1px);
}

/* === Footer === */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: var(--space-12) 0 var(--space-6);
  margin-top: var(--space-16);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer-col p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s var(--ease-out);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-8);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); margin: 0 8px; }
.footer-bottom a:hover { color: #fff; }

/* === Section Spacing === */
.section-block { margin-bottom: var(--space-12); }

/* === Filter Bar === */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px 20px; background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filter-bar select, .filter-bar .filter-btn {
  padding: 8px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--text-body);
  background: var(--white);
  font-family: var(--font-body);
  cursor: pointer; transition: all 0.2s var(--ease-out);
}
.filter-bar select:hover, .filter-bar .filter-btn:hover { border-color: var(--primary-bright); }
.filter-bar .filter-btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.filter-bar .filter-btn-primary:hover { background: var(--primary-dark); }

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-lighter); margin: 0 8px; }

/* === Page Title === */
.page-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.page-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }

/* === Detail Page === */
.detail-banner {
  width: 100%; height: 400px; object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  background: var(--border);
}
.detail-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.detail-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-item { font-size: 14px; }
.info-item strong { color: var(--text-light); margin-right: 8px; }

/* === Star Rating === */
.stars { color: #F59E0B; font-size: 14px; }
.stars .empty { color: var(--border); }

/* === Tags (Detail Page) === */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tags span {
  font-size: 12px; padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-light); color: var(--primary);
}

/* === Pagination === */
.pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: var(--space-8);
}
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  font-size: 14px; color: var(--text-light);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease-out);
}
.pagination a:hover, .pagination a.active {
  background: var(--primary); color: white; border-color: var(--primary);
}

/* === Back to Top === */
.back-to-top {
  position: fixed; bottom: 40px; right: 40px; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white; border: none;
  font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease-out);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === Mobile Toggle === */
.mobile-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  border-radius: var(--radius-sm);
}
.mobile-toggle:hover { background: var(--bg); }

/* === Loading Overlay === */
#loadingOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease-out);
}
#loadingOverlay.hidden {
  opacity: 0; pointer-events: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-list { 
    display: none; 
    position: fixed; top: 64px; left: 0; right: 0; 
    background: white; flex-direction: column; 
    padding: 12px; 
    box-shadow: var(--shadow-lg); z-index: 99; 
  }
  .nav-list.open { display: flex; }
  .search-box { width: 140px; }
  .top-bar .container { font-size: 11px; flex-wrap: wrap; }
  .top-bar .container > div:last-child { display: none; }
  .card-grid-3, .card-grid-4, .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .quick-links { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick-link { padding: 16px 8px 14px; }
  .hero-content { padding: 30px 24px; }
  .hero-content h2 { font-size: 22px; }
  .hero-content p { font-size: 13px; }
  .info-grid { grid-template-columns: 1fr; }
  .detail-banner { height: 240px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
  .back-to-top { right: 20px; bottom: 20px; width: 40px; height: 40px; }
  .section-title h2 { font-size: 18px; }
  .page-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .card-grid-3, .card-grid-4, .card-grid-6 { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 16px; }
  .page-title { font-size: 20px; }
}

/* ===================================================================
   v4.1 — 滚动触发动画 + 微交互增强
   =================================================================== */

/* === 滚动触发动画 (IntersectionObserver) === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* 错开延迟 — 用于网格中的多卡片 */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* === 卡片微交互增强 === */
.card {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-tinted);
}
.card:active {
  transform: translateY(-3px) scale(0.98);
}

.card-img {
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card-img {
  transform: scale(1.05);
}
.card-img-wrap {
  overflow: hidden;
}

/* === 按钮微交互 === */
.hero-cta, .btn-publish, .filter-bar .filter-btn-primary {
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.hero-cta:hover, .btn-publish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217,119,6,0.35);
}
.hero-cta:active, .btn-publish:active {
  transform: translateY(0) scale(0.97);
}

/* 涟漪效果 (ripple) */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.ripple:active::after {
  opacity: 1;
  transition: opacity 0s;
}

/* === 导航链接下划线动画 === */
.nav-list a {
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

/* === 快捷入口动画增强 === */
.quick-link {
  transition: all 0.4s var(--ease-out);
}
.quick-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-tinted);
}
.quick-link .icon {
  transition: transform 0.4s var(--ease-out);
}
.quick-link:hover .icon {
  transform: scale(1.2);
}

/* === 返回顶部按钮脉冲 === */
.back-to-top {
  transition: all 0.3s var(--ease-out);
}
.back-to-top.show:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,58,138,0.35);
}

/* === 标签悬停 === */
.tag-pill {
  transition: all 0.3s var(--ease-out);
}
.tag-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* === 面包屑悬停 === */
.breadcrumb a {
  position: relative;
  transition: color 0.2s;
}
.breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out);
}
.breadcrumb a:hover::after {
  width: 100%;
}

/* === 列表条目悬停 === */
.news-item {
  transition: all 0.3s var(--ease-out);
}
.news-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

/* === Footer 链接动画 === */
.footer-col a {
  transition: all 0.3s var(--ease-out);
}
.footer-col a:hover {
  transform: translateX(6px);
  color: #fff;
}

/* === 加载动画增强 === */
@keyframes spin {
  to { transform: rotate(360deg); }
}
#loadingOverlay .spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

/* === 骨架屏 pulse === */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* === 首页新闻区域呼吸灯 === */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,119,6,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(217,119,6,0); }
}
.hero-cta {
  animation: glow-pulse 3s ease-in-out infinite;
}
.hero-cta:hover {
  animation: none;
}

/* === Header 收缩效果 (通过JS加类) === */
.site-header.shrink .container {
  height: 52px;
}
.site-header.shrink .logo {
  height: 32px;
}
.site-header.shrink .nav-list a {
  padding: 4px 12px;
  font-size: 13px;
}
.site-header.shrink .search-box {
  height: 32px;
  width: 180px;
}

/* === 进度条 (页面顶部加载条) === */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  width: 0;
  transition: width 0.3s var(--ease-out);
}

/* === 平滑滚动容器 === */
.smooth-scroll {
  scroll-behavior: smooth;
}
