```css
/* ============================================
   妖精动漫网 - 完整样式表
   yunkung.net | 风格：暖色活力 + 毛玻璃 + 圆角
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --primary: #ff7a45;
  --primary-light: #ffa07a;
  --primary-dark: #e85d2a;
  --accent: #ffd9c2;
  --bg: #f9f7f3;
  --bg-alt: #f1ece4;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.7);
  --text: #2e2b28;
  --text-light: #5c554e;
  --heading: #1f1b18;
  --border: #e8e2d8;
  --border-light: #f0ebe3;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-height: 64px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 暗色模式变量 ---------- */
body.dark {
  --primary: #ff8c5a;
  --primary-light: #ffab85;
  --primary-dark: #ff7a45;
  --accent: #ffd9c2;
  --bg: #1a1715;
  --bg-alt: #221e1b;
  --card: #2a2622;
  --card-glass: rgba(42, 38, 34, 0.75);
  --text: #e8e2da;
  --text-light: #b5aca2;
  --heading: #f5f0ea;
  --border: #3d3732;
  --border-light: #4a433d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark {
  background: var(--bg);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input {
  font-family: inherit;
}

/* ---------- 布局容器 ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 16px;
  border-left: 6px solid var(--primary);
  padding-left: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ---------- 网格系统 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading);
}

.card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

.card .badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* 玻璃卡片 */
.glass-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

body.dark .navbar {
  background: rgba(26, 23, 21, 0.92);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.logo:hover {
  color: var(--primary-dark);
  transform: scale(1.02);
}

.logo::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  transition: var(--transition);
}

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

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

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

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 0;
  margin-left: 8px;
  transition: transform 0.2s;
}

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

/* 暗色模式切换 */
.dark-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dark-toggle:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

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

/* 移动端菜单 */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--card);
  padding: 20px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* ---------- Hero Banner ---------- */
.hero {
  background: linear-gradient(135deg, #2a1e18 0%, #1f1b18 50%, #3d2b22 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 217, 194, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta a {
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.3);
  display: inline-block;
}

.hero-cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.4);
}

.hero-cta a:last-child {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.hero-cta a:last-child:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Banner 轮播 */
.banner-carousel {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.banner-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

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

.banner-item:nth-child(3) {
  animation-delay: 1s;
}

.banner-item:nth-child(4) {
  animation-delay: 1.5s;
}

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

/* ---------- 品牌介绍 ---------- */
#brand .card {
  border-left: 4px solid var(--primary);
}

#brand .card p {
  margin-bottom: 12px;
}

#brand .card p:last-child {
  margin-bottom: 0;
}

/* ---------- 产品 ---------- */
#products .grid-4 .card {
  text-align: center;
  padding: 32px 24px;
}

#products .grid-4 .card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

#products .grid-4 .card p {
  font-size: 0.9rem;
}

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

#products .grid-4 .card:hover::before {
  transform: scaleX(1);
}

/* ---------- 解决方案 ---------- */
#solutions .card {
  border-top: 3px solid transparent;
}

#solutions .card:hover {
  border-top-color: var(--primary);
}

#solutions .card h3 {
  font-size: 1.25rem;
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
  border-color: var(--primary-light);
}

.article-item svg {
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.article-meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.article-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading);
  transition: var(--transition);
}

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

.article-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 8px;
  line-height: 1.6;
}

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

.article-item a:hover {
  gap: 8px;
}

/* ---------- FAQ ---------- */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: var(--transition);
}

details:hover {
  border-color: var(--primary-light);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

details[open] summary {
  color: var(--primary);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- HowTo ---------- */
#howto .card {
  padding: 36px;
  border-left: 4px solid var(--primary);
}

#howto .card h3 {
  margin-bottom: 16px;
}

#howto .card p {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

#howto .card p::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
}

.contact-item span {
  font-weight: 700;
  font-size: 1.2rem;
}

/* ---------- 页脚 ---------- */
footer {
  background: var(--dark-bg);
  color: #ddd;
  padding: 60px 0 24px;
  margin-top: 40px;
  border-top: 4px solid var(--primary);
}

body.dark footer {
  background: #141210;
  border-top-color: var(--primary);
}

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

.footer-grid h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-grid a {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin: 8px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-bottom p {
  margin: 4px 0;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.4);
}

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

.reveal.show {
  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;
}

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

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

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

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

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

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* ---------- 自定义滚动条 ---------- */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions .search-box {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

  .hero-cta a {
    padding: 14px 30px;
    font-size: 0.95rem;
  }

  .mobile-menu {
    display: flex;
  }

  .article-item {
    flex-direction: column;
    padding: 20px;
  }

  .article-item svg {
    width: 50px;
    height: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .section-title {
    font-size: 1.4rem;
  }

  .card {
    padding: 20px;
  }

  .banner-item {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .navbar,
  .hero,
  .back-to-top,
  .footer-grid,
  .dark-toggle,
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .section {
    padding: 20px 0;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* ---------- 暗色模式微调 ---------- */
body.dark .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

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

body.dark .banner-item {
  background: rgba(255, 255, 255, 0.05);
}

body.dark .hero {
  background: linear-gradient(135deg, #141210 0%, #1a1715 50%, #221e1b 100%);
}

body.dark .hero::before {
  background: radial-gradient(circle, rgba(255, 122, 69, 0.15) 0%, transparent 70%);
}

body.dark .footer-bottom {
  border-top-color: #3d3732;
}

/* ---------- 性能优化：减少重绘 ---------- */
.card,
.navbar,
.article-item,
details,
.search-box,
.dark-toggle {
  will-change: transform, box-shadow, border-color;
}

/* ---------- 动画降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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