/* 喵嗷漫画 - 完整样式表 */
:root {
  --primary: #7C5CFC;
  --primary-light: #a78bfa;
  --primary-dark: #5b3df5;
  --secondary: #4A4AF0;
  --accent: #ff9a76;
  --accent-pink: #ff6b9d;
  --accent-yellow: #ffd93d;
  --bg: #F8F4FF;
  --bg-dark: #0D0820;
  --bg-card: #FFFFFF;
  --bg-card-dark: #1a1530;
  --text: #1A1A2E;
  --text-light: #2D2D44;
  --text-muted: #6b6b80;
  --border: #eee8ff;
  --shadow-sm: 0 2px 12px rgba(26,26,46,0.08);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.1);
  --shadow-lg: 0 12px 32px rgba(26,26,46,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);
}

/* 暗色模式 */
[data-theme="dark"] {
  --bg: #0D0820;
  --bg-card: #1a1530;
  --text: #f0ebff;
  --text-light: #d0c8e8;
  --text-muted: #9a92b8;
  --border: #2a2345;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  --glass-bg: rgba(26,21,48,0.7);
  --glass-border: rgba(255,255,255,0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(124,92,252,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,154,118,0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,107,157,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

/* 通用动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 滚动动画 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  position: relative;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-pink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  transition: all 0.3s ease;
}

.logo h1:hover {
  background-position: 100% center;
}

.logo h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo::after {
  content: '🐱';
  position: absolute;
  right: -30px;
  top: -5px;
  font-size: 1.2rem;
  animation: float 3s ease-in-out infinite;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--text);
  background: rgba(124,92,252,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-nav a::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;
}

.main-nav a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124,92,252,0.3);
}

.main-nav a:hover::before {
  left: 100%;
}

/* Sections */
section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.section-sub {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1rem;
  opacity: 0.8;
}

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124,92,252,0.1), rgba(255,154,118,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124,92,252,0.2);
}

.card:hover::before {
  opacity: 1;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  background: linear-gradient(135deg, rgba(124,92,252,0.1), rgba(255,154,118,0.1));
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 16px;
  position: relative;
  z-index: 1;
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.card:hover .card-body h3 {
  color: var(--primary);
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.card-body .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(124,92,252,0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(124,92,252,0.4);
}

/* Two column layout */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

@media (max-width: 900px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .header-inner {
    flex-direction: column;
  }
  
  .main-nav ul {
    justify-content: center;
  }
}

/* Article */
.detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-pink));
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}

.detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.detail-card h2 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-card h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin: 24px 0 12px;
  position: relative;
  padding-left: 16px;
}

.detail-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px;
}

.detail-card p {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag-list span {
  background: linear-gradient(135deg, rgba(124,92,252,0.1), rgba(255,154,118,0.1));
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag-list span:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,92,252,0.3);
}

/* Sidebar */
.sidebar {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: sticky;
  top: 100px;
}

.sidebar:hover {
  box-shadow: var(--shadow-lg);
}

.sidebar h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 16px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--primary), var(--accent)) 1;
  padding-left: 12px;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rank-list {
  list-style: none;
}

.rank-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-list li:hover {
  padding-left: 10px;
  background: rgba(124,92,252,0.05);
  border-radius: 8px;
}

.rank-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124,92,252,0.3);
  transition: all 0.3s ease;
}

.rank-list li:hover .rank-num {
  transform: scale(1.1) rotate(-10deg);
}

.rank-list li:nth-child(n+4) .rank-num {
  background: linear-gradient(135deg, var(--border), var(--text-muted));
  color: var(--text);
}

.stat-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-box:last-child {
  border-bottom: none;
}

.stat-box:hover {
  padding: 12px 10px;
  background: rgba(124,92,252,0.05);
  border-radius: 8px;
}

.stat-num {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Comments */
.comment-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.comment-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 4rem;
  color: rgba(124,92,252,0.1);
  font-family: Georgia, serif;
}

.comment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-user {
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-user::before {
  content: '👤';
  font-size: 1rem;
}

.comment-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comment-text {
  color: var(--text);
  line-height: 1.6;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-pink));
  background-size: 200% auto;
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  animation: gradientShift 3s ease infinite;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section::after {
  content: '🐱';
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 3rem;
  opacity: 0.2;
  animation: float 3s ease-in-out infinite;
}

.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: pulse 2s ease-in-out infinite;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  font-size: 1.1rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.btn {
  display: inline-block;
  background: #fff;
  color: var(--secondary);
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  margin: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  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.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--primary);
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--bg-dark), #1a1530);
  color: var(--text-light);
  padding: 60px 0 20px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-pink));
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.05);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
  line-height: 1.8;
}

.footer-copy a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-copy a:hover {
  color: #fff;
}

/* Character */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.char-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(124,92,252,0.05), rgba(255,154,118,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.char-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.char-card:hover::before {
  opacity: 1;
}

.char-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 4px solid;
  border-image: linear-gradient(135deg, var(--primary), var(--accent)) 1;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.char-card:hover img {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(124,92,252,0.3);
}

.char-card h4 {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.char-card .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.char-card p {
  font-size: 0.9rem;
  margin-top: 8px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* 响应式优化 */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .detail-card {
    padding: 20px;
  }
  
  .cta-section {
    padding: 32px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  
  .char-card img {
    width: 90px;
    height: 90px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
  
  .card-body {
    padding: 12px;
  }
  
  .card-body h3 {
    font-size: 0.95rem;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .main-nav a {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .card-body {
    padding: 10px;
  }
  
  .card-body h3 {
    font-size: 0.85rem;
  }
  
  .card-body p {
    font-size: 0.75rem;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .sidebar {
    padding: 16px;
  }
  
  .comment-card {
    padding: 16px;
  }
  
  .detail-card {
    padding: 16px;
  }
  
  .detail-card h2 {
    font-size: 1.4rem;
  }
  
  .detail-card h3 {
    font-size: 1.1rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* 选中文本样式 */
::selection {
  background: var(--primary);
  color: white;
}

/* 焦点样式 */
:focus {
  outline: 3px solid rgba(124,92,252,0.3);
  outline-offset: 2px;
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0820;
    --bg-card: #1a1530;
    --text: #f0ebff;
    --text-light: #d0c8e8;
    --text-muted: #9a92b8;
    --border: #2a2345;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
    --glass-bg: rgba(26,21,48,0.7);
    --glass-border: rgba(255,255,255,0.1);
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .sidebar {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    break-inside: avoid;
  }
}