```css
/* 萝莉社 - 完整样式表 */
:root {
  --primary: #ff6b6b;
  --primary-dark: #e55b5b;
  --secondary: #4ecdc4;
  --secondary-dark: #3dbdb5;
  --accent: #fdcb6e;
  --dark: #2d3436;
  --dark-bg: #1a1a2e;
  --light: #f8f9fa;
  --light-card: #ffffff;
  --gray-text: #555555;
  --light-gray: #999999;
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-height: 70px;
}

/* 暗色模式变量 */
.dark-mode {
  --primary: #ff7b7b;
  --primary-dark: #e96b6b;
  --secondary: #5edbd2;
  --secondary-dark: #4ecbc2;
  --accent: #fddb7e;
  --dark: #e0e0e0;
  --dark-bg: #12121f;
  --light: #1a1a2e;
  --light-card: #2a2a3e;
  --gray-text: #b0b0b0;
  --light-gray: #888888;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
}

/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-main);
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

body::selection {
  background: var(--primary);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: var(--font-main);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============ 吸顶导航 ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .header {
  background: rgba(26, 26, 46, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-height);
}

.logo {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 107, 0.3));
  transition: transform 0.5s ease;
}

.logo:hover svg {
  transform: rotate(15deg);
}

.menu {
  display: flex;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.menu a {
  padding: 8px 16px;
  border-radius: 30px;
  position: relative;
  transition: all 0.3s ease;
  color: var(--dark);
  font-weight: 500;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.menu a:hover {
  color: var(--primary);
  background: rgba(255, 107, 107, 0.08);
}

.menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--light-card);
  border-radius: 30px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
  border-color: var(--primary);
}

.search-box input {
  border: none;
  outline: none;
  width: 150px;
  font-size: 0.9rem;
  padding: 5px 0;
  background: transparent;
  color: var(--dark);
  transition: width 0.3s ease;
}

.search-box input::placeholder {
  color: var(--light-gray);
}

.search-box button {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-box button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  line-height: 1;
}

.mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ============ Banner 轮播 ============ */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 30px 0 40px;
  min-height: 380px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
  display: flex;
  align-items: center;
  box-shadow: 0 10px 40px rgba(252, 182, 159, 0.3);
  isolation: isolate;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%);
  z-index: -1;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,107,107,0.15) 0%, transparent 50%);
  z-index: -1;
}

.dark-mode .banner {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #2d3436 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.slide {
  display: none;
  padding: 50px 60px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 600px;
}

.slide.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide h2 {
  font-size: 2.4rem;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.dark-mode .slide h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--dark);
  opacity: 0.8;
  font-weight: 500;
}

.dark-mode .slide p {
  color: #e0e0e0;
}

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--dark);
  font-size: 1.5rem;
  padding: 0 18px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.banner:hover .banner-btn {
  opacity: 1;
}

.banner-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.dark-mode .banner-btn {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dark-mode .banner-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ============ 内容区块 ============ */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 60px 0 30px;
  position: relative;
  display: inline-block;
  color: var(--dark);
  transition: color 0.3s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.section-title:hover::after {
  width: 100%;
}

/* 网格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* 卡片通用样式 */
.card {
  background: var(--light-card);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
  transition: color 0.3s ease;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.8;
}

.dark-mode .card {
  border-color: rgba(255, 255, 255, 0.05);
}

.badge {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin: 5px 5px 5px 0;
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

/* SVG 图标 */
.svg-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.card:hover .svg-icon {
  transform: scale(1.05) rotate(2deg);
}

/* ============ 文章卡片 ============ */
.article-card {
  background: var(--light-card);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.article-card h4 {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.article-card:hover h4 {
  color: var(--primary);
}

.article-meta {
  color: var(--light-gray);
  font-size: 0.8rem;
  display: flex;
  gap: 15px;
  align-items: center;
}

.article-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.7;
  flex-grow: 1;
}

.article-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.article-card a:hover {
  gap: 10px;
}

/* ============ FAQ ============ */
.faq-item {
  background: var(--light-card);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  font-size: 1rem;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-a {
  padding: 0 22px 20px;
  display: none;
  color: var(--gray-text);
  line-height: 1.8;
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.open .faq-a {
  display: block;
}

.arrow {
  transition: transform 0.4s ease;
  font-size: 0.8rem;
  color: var(--primary);
}

.faq-item.open .arrow {
  transform: rotate(180deg);
}

/* ============ 页脚 ============ */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #b0b0b0;
  padding: 50px 0 30px;
  margin-top: 80px;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer a {
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #8a8a8a;
}

.footer .text-center {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* ============ 工具类 ============ */
.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(-1px);
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  font-size: 1.3rem;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

/* 暗黑模式切换按钮 */
.dark-mode-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--light);
  border: 2px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 999;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle:hover {
  transform: rotate(180deg) scale(1.05);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
  background-clip: padding-box;
}

/* 滚动动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 动画延迟 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 图片悬停效果 */
.hover-zoom {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.hover-zoom img {
  transition: transform 0.5s ease;
}

.hover-zoom:hover img {
  transform: scale(1.05);
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 列表样式 */
.custom-list {
  padding-left: 20px;
}

.custom-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--gray-text);
  line-height: 1.7;
}

.custom-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

/* 有序列表 */
.custom-ol {
  padding-left: 20px;
  counter-reset: custom-counter;
}

.custom-ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  color: var(--gray-text);
  line-height: 1.7;
}

.custom-ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

/* 链接卡片 */
.link-card {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 20px;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 5px;
}

.link-card:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ============ 响应式布局 ============ */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-box input {
    width: 120px;
  }
  
  .slide {
    padding: 40px;
  }
  
  .slide h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--light-card);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    animation: slideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 5px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
  }
  
  .dark-mode .menu {
    background: rgba(26, 26, 46, 0.95);
  }
  
  .menu.show {
    display: flex;
  }
  
  .menu a {
    padding: 12px 20px;
    border-radius: 12px;
  }
  
  .menu a::after {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .search-box {
    display: none;
  }
  
  .banner {
    min-height: 300px;
    margin: 20px 0 30px;
  }
  
  .slide {
    padding: 30px;
  }
  
  .slide h2 {
    font-size: 1.6rem;
  }
  
  .slide p {
    font-size: 1rem;
  }
  
  .banner-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    padding: 0;
    opacity: 1;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin: 40px 0 25px;
  }
  
  .card {
    padding: 22px;
  }
  
  .back-to-top,
  .dark-mode-toggle {
    width: 42px;
    height: 42px;
    right: 15px;
    font-size: 1.1rem;
  }
  
  .back-to-top {
    bottom: 75px;
  }
  
  .dark-mode-toggle {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo svg {
    width: 36px;
    height: 36px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .slide {
    padding: 25px;
  }
  
  .slide h2 {
    font-size: 1.4rem;
  }
  
  .article-card {
    padding: 20px;
  }
  
  .faq-q {
    padding: 15px 18px;
    font-size: 0.95rem;
  }
  
  .faq-a {
    padding: 0 18px 15px;
  }
}

/* 动画关键帧 */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 装饰元素 */
.decorative-circle {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.decorative-circle-2 {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  bottom: -100px;
  right: -100px;
}

/* 打印样式 */
@media print {
  .header,
  .banner,
  .footer,
  .back-to-top,
  .dark-mode-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card,
  .article-card,
  .faq-item {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 焦点可见性 */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 加载动画 */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 107, 107, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, var(--light-card) 25%, rgba(128, 128, 128, 0.1) 50%, var(--light-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 工具提示 */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--dark);
  color: var(--light);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 徽章动画 */
.badge {
  animation: float 3s ease-in-out infinite;
}

.badge:nth-child(2) {
  animation-delay: 0.5s;
}

/* 卡片编号样式 */
.card-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
}

.dark-mode .card-number {
  color: rgba(255, 255, 255, 0.05);
}

/* 联系方式样式 */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--gray-text);
  line-height: 1.6;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* 友情链接样式 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.friend-links a {
  padding: 6px 14px;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 20px;
  color: var(--secondary-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.friend-links a:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

/* 暗黑模式下的链接 */
.dark-mode .friend-links a {
  background: rgba(78, 205, 196, 0.2);
  color: var(--secondary);
}

.dark-mode .friend-links a:hover {
  background: var(--secondary);
  color: var(--dark-bg);
}

/* 响应式微调 */
@media (max-width: 768px) {
  .contact-item {
    font-size: 0.9rem;
  }
  
  .card-number {
    font-size: 1.5rem;
  }
}

/* 性能优化：使用 will-change */
.card:hover,
.article-card:hover,
.faq-item:hover {
  will-change: transform, box-shadow;
}

/* 减少 GPU 使用 */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .article-card,
  .faq-item {
    transform: translateZ(0);
  }
}
```