```css
/* ============================================
   全免漫画 - 终极乐园
   风格: 赛博动漫 / 电竞霓虹
   ============================================ */

:root {
  /* 主色板 - 霓虹暗夜 */
  --bg: #0b0e1a;
  --bg2: #111527;
  --card: rgba(22, 27, 48, 0.75);
  --card-solid: #161b30;
  --text: #f0f4ff;
  --muted: #8a93b5;
  --primary: #0f1428;
  --accent: #ff2d78;
  --accent2: #7b2dff;
  --accent3: #00e5ff;
  --success: #00e5a0;
  --warning: #ffb300;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(255, 45, 120, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 20, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.12);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", monospace;
}

/* 暗色模式 - 默认深色，浅色模式作为补充 */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f4ff;
    --bg2: #e8ecff;
    --card: rgba(255, 255, 255, 0.82);
    --card-solid: #ffffff;
    --text: #12162b;
    --muted: #5a648c;
    --primary: #12162b;
    --accent: #e6005c;
    --accent2: #6a1bff;
    --accent3: #0095b7;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 32px rgba(80, 90, 200, 0.12);
    --shadow-glow: 0 0 40px rgba(230, 0, 92, 0.12);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
  }
}

/* ============================================
   基础重置 & 全局
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg2);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 10%, rgba(123, 45, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 45, 120, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 30%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 10px;
}

/* ============================================
   顶部导航 - 毛玻璃吸顶
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 12, 30, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* 搜索框 */
.search-box {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.2);
}

.search-box input {
  border: none;
  outline: none;
  padding: 10px 20px;
  width: 220px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--text);
}

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

.search-box button {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
  background: var(--glass);
  backdrop-filter: blur(15px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent3);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* ============================================
   Hero 主视觉 - 渐变星空
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0a0e1f 0%, #1a1040 50%, #2d0a3e 100%);
  color: #fff;
  padding: 80px 0;
  border-radius: 0 0 60px 60px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 45, 120, 0.1) 50%, transparent 100%);
  animation: hero-shine 8s linear infinite;
  transform: rotate(20deg);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(123, 45, 255, 0.15) 0%, transparent 70%);
  filter: blur(40px);
}

@keyframes hero-shine {
  0% { transform: translateX(-100%) rotate(20deg); }
  100% { transform: translateX(200%) rotate(20deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 45, 120, 0.3);
  border: none;
  cursor: pointer;
}

.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(-4px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 45, 120, 0.5);
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.hero svg {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  transform: perspective(1000px) rotateY(-5deg);
}

.hero svg:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 30px 80px rgba(255, 45, 120, 0.3);
}

/* ============================================
   统计数字 - 霓虹卡片
   ============================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--mono);
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.2;
}

.stat-item p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   区块标题
   ============================================ */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 60px 0 30px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
  margin-top: 10px;
  border-radius: 4px;
  animation: title-line 3s ease infinite;
}

@keyframes title-line {
  0%, 100% { width: 60px; opacity: 1; }
  50% { width: 100px; opacity: 0.7; }
}

/* ============================================
   卡片网格 - 玻璃拟态
   ============================================ */
.grid-card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.05) 0%, transparent 50%, rgba(123, 45, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

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

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

/* ============================================
   文章列表
   ============================================ */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 45, 120, 0.15);
  border-top-color: var(--accent2);
}

.article-card:hover::after {
  opacity: 1;
}

.article-card time {
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

.article-card h3 {
  font-size: 1.15rem;
  margin: 10px 0;
  color: var(--text);
  transition: color 0.3s ease;
}

.article-card:hover h3 {
  color: var(--accent);
}

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

.article-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.article-card a::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-card a:hover {
  color: var(--accent3);
}

.article-card a:hover::after {
  transform: translateX(5px);
}

/* ============================================
   FAQ 手风琴
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 45, 120, 0.05);
  color: var(--accent);
}

.faq-question span {
  font-size: 1.8rem;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 300;
  display: inline-block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--muted);
  padding-left: 12px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  margin-top: 12px;
  animation: fadeInUp 0.4s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: var(--accent2);
}

.faq-item.active .faq-question {
  color: var(--accent);
}

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

/* ============================================
   教程区块
   ============================================ */
.howto-box {
  background: var(--glass);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.howto-box::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 45, 120, 0.05) 50%, transparent 60%);
  animation: howto-glow 6s linear infinite;
}

@keyframes howto-glow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50%, 50%); }
}

.howto-box h3 {
  color: var(--accent);
  margin: 20px 0 10px;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.howto-box h3:first-child {
  margin-top: 0;
}

.howto-box p, .howto-box ol {
  color: var(--muted);
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.howto-box ol {
  padding-left: 24px;
}

.howto-box li {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.howto-box li:hover {
  background: rgba(255, 45, 120, 0.08);
  border-left-color: var(--accent2);
  transform: translateX(5px);
}

/* ============================================
   联系信息
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.contact-card h3 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ============================================
   友情链接
   ============================================ */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 40px;
}

.friend-links a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.friend-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 45, 120, 0.2);
}

/* ============================================
   页脚
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, rgba(10, 12, 30, 0.95), rgba(5, 8, 20, 0.98));
  color: #8a93b5;
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  animation: footer-line 4s ease infinite;
}

@keyframes footer-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-grid h4 {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

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

.footer-grid a {
  display: block;
  color: #8a93b5;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-grid a::before {
  content: "▸";
  position: absolute;
  left: -12px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-grid a:hover {
  color: var(--accent);
  padding-left: 12px;
}

.footer-grid a:hover::before {
  opacity: 1;
  left: 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6a7299;
  position: relative;
  z-index: 1;
}

.copyright p {
  margin-bottom: 8px;
}

/* ============================================
   返回顶部
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
  border: none;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(255, 45, 120, 0.4);
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 45, 120, 0.6);
}

.back-to-top:active {
  transform: scale(0.95);
}

/* ============================================
   滚动动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   工具类
   ============================================ */
.flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

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

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .menu-toggle {
    display: block;
  }
  
  .search-box input {
    width: 120px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .grid-card {
    grid-template-columns: 1fr;
  }
  
  .article-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .howto-box {
    padding: 24px;
  }
  
  .back-to-top {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .search-box {
    display: none;
  }
  
  .hero {
    padding: 50px 0;
    border-radius: 0 0 40px 40px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .card {
    padding: 20px;
  }
}

/* ============================================
   暗色模式微调
   ============================================ */
@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(10, 12, 30, 0.7);
  }
  
  .search-box {
    background: rgba(255, 255, 255, 0.03);
  }
  
  .search-box input {
    color: #e0e4ff;
  }
  
  .faq-question {
    color: #e0e4ff;
  }
  
  .howto-box li {
    background: rgba(255, 255, 255, 0.02);
  }
}

/* 浅色模式微调 */
@media (prefers-color-scheme: light) {
  .site-header {
    background: rgba(255, 255, 255, 0.75);
  }
  
  .search-box {
    background: rgba(0, 0, 0, 0.03);
  }
  
  .search-box input {
    color: #12162b;
  }
  
  .howto-box li {
    background: rgba(0, 0, 0, 0.02);
  }
}

/* ============================================
   打印样式
   ============================================ */
@media print {
  .site-header,
  .hero,
  .breadcrumb,
  .back-to-top,
  .site-footer {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ============================================
   无障碍 & 焦点
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
```