```css
/* ===== 香蕉社区 - 完整样式表 ===== */
/* 风格：现代暖色渐变 + 毛玻璃 + 圆角卡片 + 深色模式 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 主色调 - 香蕉黄渐变 */
  --primary: #f59e0b;
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --secondary: #8b5cf6;
  --accent: #ec4899;

  /* 背景色 */
  --bg-light: #fef9f0;
  --bg-dark: #0f172a;
  --bg-card-light: rgba(255, 255, 255, 0.75);
  --bg-card-dark: rgba(30, 41, 59, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.55);
  --bg-glass-dark: rgba(15, 23, 42, 0.6);

  /* 文字色 */
  --text-light: #1e293b;
  --text-dark: #f1f5f9;
  --text-muted-light: #64748b;
  --text-muted-dark: #94a3b8;

  /* 边框 */
  --border-light: rgba(245, 158, 11, 0.15);
  --border-dark: rgba(148, 163, 184, 0.2);

  /* 阴影 */
  --shadow-light: 0 10px 40px rgba(245, 158, 11, 0.08);
  --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.3);

  /* 圆角 */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  /* 渐变 */
  --gradient-hero: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%, #fcd34d 60%, #fbbf24 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  --gradient-btn: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-title: linear-gradient(90deg, #b45309, #d97706, #f59e0b);
}

/* ===== 基础样式 ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(at 20% 20%, rgba(251, 191, 36, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

body.dark-mode {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 20% 20%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.06) 0px, transparent 50%);
  color: var(--text-dark);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== 标题样式 ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 3rem 0 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
  color: var(--text-light);
}

body.dark-mode h2 {
  color: var(--text-dark);
  border-left-color: var(--primary-light);
}

h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  color: var(--text-light);
}

body.dark-mode h3 {
  color: var(--text-dark);
}

h4 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-light);
}

body.dark-mode h4 {
  color: var(--text-dark);
}

/* ===== 段落和链接 ===== */
p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
  opacity: 0.9;
}

body.dark-mode p {
  color: var(--text-dark);
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

body.dark-mode a {
  color: var(--primary-light);
}

body.dark-mode a:hover {
  color: #fde68a;
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

body.dark-mode .navbar {
  background: var(--bg-glass-dark);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

body.dark-mode .logo {
  color: var(--text-dark);
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
  -webkit-text-fill-color: initial;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links > a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

body.dark-mode .nav-links > a {
  color: var(--text-dark);
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links > a:hover::after {
  width: 100%;
}

.nav-links > a:hover {
  color: var(--primary-dark);
}

body.dark-mode .nav-links > a:hover {
  color: var(--primary-light);
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 0.4rem 0.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

body.dark-mode .search-box {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

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

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-light);
  font-size: 0.9rem;
  width: 140px;
  padding: 0.3rem 0.5rem;
}

body.dark-mode .search-box input {
  color: var(--text-dark);
}

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

body.dark-mode .search-box input::placeholder {
  color: var(--text-muted-dark);
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  transition: transform 0.2s ease;
  padding: 0.3rem;
}

.search-box button:hover {
  transform: scale(1.1);
}

body.dark-mode .search-box button {
  color: var(--text-dark);
}

/* 主题切换和汉堡按钮 */
.theme-toggle, .hamburger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-light);
  transition: transform 0.3s ease;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover, .hamburger:hover {
  transform: rotate(15deg) scale(1.1);
  background: rgba(245, 158, 11, 0.1);
}

body.dark-mode .theme-toggle, body.dark-mode .hamburger {
  color: var(--text-dark);
}

.hamburger {
  display: none;
}

/* 移动菜单 */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: var(--bg-glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 0.8rem;
  border-top: 1px solid var(--border-light);
}

body.dark-mode .mobile-menu {
  background: var(--bg-glass-dark);
  border-top-color: var(--border-dark);
}

.mobile-menu a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s ease;
}

body.dark-mode .mobile-menu a {
  color: var(--text-dark);
  border-bottom-color: var(--border-dark);
}

.mobile-menu a:hover {
  color: var(--primary-dark);
}

body.dark-mode .mobile-menu a:hover {
  color: var(--primary-light);
}

.mobile-menu input {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card-light);
  color: var(--text-light);
  outline: none;
  margin-top: 0.5rem;
}

body.dark-mode .mobile-menu input {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  color: var(--text-dark);
}

.mobile-menu.show {
  display: flex;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: var(--gradient-btn);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 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.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  color: #fff;
}

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

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

body.dark-mode .btn {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

/* ===== Hero 区域 ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0;
  min-height: 80vh;
  position: relative;
}

.hero-text {
  flex: 1;
  animation: fadeInUp 1s ease;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

body.dark-mode .hero-text p {
  color: var(--text-muted-dark);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(245, 158, 11, 0.2));
}

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

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

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg-card-light);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

body.dark-mode .card {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-dark);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

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

body.dark-mode .card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

body.dark-mode .card h3 {
  color: var(--text-dark);
}

.card p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

body.dark-mode .card p {
  color: var(--text-muted-dark);
}

/* ===== 文章列表 ===== */
.article-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.article-list li {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

body.dark-mode .article-list li {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

.article-list li:hover {
  transform: translateX(8px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1);
}

.article-list h4 {
  margin-bottom: 0.5rem;
}

.article-list h4 a {
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.2s ease;
}

body.dark-mode .article-list h4 a {
  color: var(--text-dark);
}

.article-list h4 a:hover {
  color: var(--primary-dark);
}

body.dark-mode .article-list h4 a:hover {
  color: var(--primary-light);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-bottom: 0.5rem;
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}

body.dark-mode .article-meta {
  color: var(--text-muted-dark);
  background: rgba(245, 158, 11, 0.15);
}

.article-list li > a:last-child {
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

body.dark-mode .article-list li > a:last-child {
  color: var(--primary-light);
}

/* ===== FAQ 样式 ===== */
.faq-item {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.dark-mode .faq-item {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  color: var(--text-light);
  transition: all 0.3s ease;
  user-select: none;
}

body.dark-mode .faq-question {
  color: var(--text-dark);
}

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

body.dark-mode .faq-question:hover {
  color: var(--primary-light);
}

.faq-question span {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-question.active span {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  display: none;
  animation: fadeIn 0.3s ease;
}

body.dark-mode .faq-answer {
  color: var(--text-muted-dark);
}

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

/* ===== 表格 ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

body.dark-mode table {
  box-shadow: var(--shadow-dark);
}

th, td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

body.dark-mode th, body.dark-mode td {
  border-bottom-color: var(--border-dark);
}

th {
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(245, 158, 11, 0.05);
}

body.dark-mode tr:hover td {
  background: rgba(245, 158, 11, 0.1);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
}

.footer h4 {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer a {
  color: #fbbf24;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fde68a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-btn);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  border: none;
  font-size: 1.5rem;
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== 联系方式区块 ===== */
#contact p {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

body.dark-mode #contact p {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

#contact p:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

#contact p strong {
  color: var(--primary-dark);
  margin-right: 0.5rem;
}

body.dark-mode #contact p strong {
  color: var(--primary-light);
}

/* ===== 友情链接区域 ===== */
#contact + .container > p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

#contact + .container a {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

body.dark-mode #contact + .container a {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

#contact + .container a:hover {
  background: var(--gradient-btn);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ===== HowTo 教程区域 ===== */
#howto p {
  background: var(--bg-card-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

body.dark-mode #howto p {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

#howto p:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

#howto p strong {
  color: var(--primary-dark);
  margin-right: 0.5rem;
}

body.dark-mode #howto p strong {
  color: var(--primary-light);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 1rem;
  }

  .search-box input {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
    gap: 2rem;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image svg {
    max-width: 250px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .to-top {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }

  .article-list li {
    padding: 1.2rem;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.2rem 1rem;
  }

  .search-box {
    display: none;
  }

  .mobile-menu input {
    display: block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .article-list li {
    padding: 1rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }
}

/* ===== 暗色模式额外优化 ===== */
body.dark-mode .search-box input::placeholder {
  color: #64748b;
}

body.dark-mode .card .article-meta {
  color: #94a3b8;
  background: rgba(245, 158, 11, 0.15);
}

body.dark-mode .faq-question:hover {
  background: rgba(245, 158, 11, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

/* ===== 选中文字样式 ===== */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--text-light);
}

body.dark-mode ::selection {
  background: rgba(245, 158, 11, 0.4);
  color: #fff;
}

/* ===== 焦点可见性 ===== */
:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== 打印样式 ===== */
@media print {
  .navbar, .footer, .to-top, .search-box, .theme-toggle, .hamburger, .mobile-menu {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card, .article-list li, .faq-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
```