```css
/* ==========================================
   爱动漫网dfls - 主样式表
   风格：暗色科技感 + 霓虹渐变
   设计理念：沉浸式观影体验
   ========================================== */

/* ===== CSS变量 & 主题 ===== */
:root {
  /* 主色调 */
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --secondary: #fd79a8;
  --accent: #00cec9;
  --accent-gold: #fdcb6e;

  /* 暗色背景 */
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 35, 0.8);
  --bg-card-hover: rgba(30, 30, 50, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);

  /* 文字颜色 */
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted: #6a6a7a;

  /* 边框/分割线 */
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(108, 92, 231, 0.5);

  /* 阴影 */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 5px 20px rgba(108, 92, 231, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-banner: linear-gradient(120deg, rgba(108, 92, 231, 0.3), rgba(253, 121, 168, 0.2), rgba(0, 206, 201, 0.3));
  --gradient-text: linear-gradient(90deg, var(--primary-light), var(--secondary), var(--accent));

  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(253, 121, 168, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 206, 201, 0.03) 0%, transparent 70%);
}

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

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

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

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

/* ===== 渐变Banner ===== */
header {
  background: var(--gradient-banner);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: headerSlideDown 0.5s ease;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== 导航栏 ===== */
nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

nav h1 {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  text-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
}

nav h1:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(108, 92, 231, 0.5));
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.5px;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  border-radius: 2px;
}

nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
  box-shadow: var(--shadow-sm);
}

nav ul li a:hover::before {
  width: 60%;
}

/* ===== 主内容区 ===== */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

/* ===== 通用区块样式 ===== */
section {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}

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

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: var(--transition);
}

section:hover h2::after {
  width: 100px;
}

/* ===== 卡片网格 ===== */
#hot, #new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ===== 动漫卡片 ===== */
article {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.6s ease both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

article:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

article:hover::before {
  transform: scaleX(1);
}

article img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

article:hover img {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

article h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  transition: var(--transition);
}

article:hover h3 {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

article p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

article p strong {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ===== 新番推荐特殊样式 ===== */
#new article p:first-of-type {
  font-style: italic;
  color: var(--text-primary);
  background: var(--bg-glass);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
  margin-bottom: 1rem;
}

/* ===== 详细介绍区块 ===== */
section > article {
  background: var(--bg-glass);
  border-left: 4px solid var(--primary);
  padding: 2rem;
}

section > article h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

section > article p {
  margin-bottom: 1.2rem;
  text-align: justify;
  color: var(--text-secondary);
  line-height: 2;
}

/* ===== 角色介绍 ===== */
#character {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

#character article {
  text-align: center;
  padding: 1.5rem;
}

#character img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid transparent;
  transition: var(--transition);
}

#character article:hover img {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
}

#character h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

#character p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

#character p:first-of-type {
  color: var(--accent);
  font-weight: 600;
}

/* ===== 平台介绍 ===== */
section:has(> p) {
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

section:has(> p) p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 2;
  font-size: 1.05rem;
}

section:has(> p) p:first-of-type {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
}

/* ===== APP下载 ===== */
#app {
  text-align: center;
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#app::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

#app h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#app p {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

#app button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  letter-spacing: 1px;
}

#app button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
  filter: brightness(1.2);
}

#app button:active {
  transform: translateY(-1px);
}

/* ===== 用户评论 ===== */
#comments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

#comments article {
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

#comments article:hover {
  background: var(--bg-glass-hover);
  transform: translateX(5px);
  border-color: var(--primary);
}

#comments p:first-child {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

#comments p:nth-child(2) {
  color: var(--text-muted);
  font-size: 0.8rem;
}

#comments p:last-child {
  color: var(--text-primary);
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== 侧边栏 ===== */
aside {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  animation: fadeInUp 1s ease;
}

aside h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
  position: relative;
  padding-left: 1rem;
}

aside h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

aside ul {
  list-style: none;
  margin-bottom: 2rem;
}

aside ul li {
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  border-radius: var(--radius-sm);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

aside ul li:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
  transform: translateX(5px);
}

aside ul li::before {
  content: '▸';
  color: var(--primary);
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition);
}

aside ul li:hover::before {
  opacity: 1;
}

aside p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

aside p:last-child {
  border-bottom: none;
}

/* ===== 页脚 ===== */
footer {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

footer h2 {
  font-size: 1.2rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  text-align: center;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

footer ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
}

footer ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
  box-shadow: var(--shadow-sm);
}

footer p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

footer p:last-child {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer p a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

footer p a:hover {
  color: var(--primary-light);
}

/* ===== 响应式布局 ===== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul {
    justify-content: center;
    gap: 0.8rem;
  }

  nav ul li a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  main {
    padding: 1rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  #hot, #new {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #character {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  #comments {
    grid-template-columns: 1fr;
  }

  #app {
    padding: 2rem 1rem;
  }

  #app button {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  aside {
    padding: 1.5rem;
  }

  footer {
    padding: 2rem 1rem;
  }

  footer ul {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  #character {
    grid-template-columns: 1fr;
  }

  nav h1 {
    font-size: 1.5rem;
  }

  article {
    padding: 1rem;
  }

  section > article {
    padding: 1.5rem;
  }
}

/* ===== 滚动动画增强 ===== */
@media (prefers-reduced-motion: no-preference) {
  section {
    animation: fadeInUp 0.8s ease both;
  }

  article {
    animation: cardFadeIn 0.6s ease both;
  }

  article:nth-child(2n) {
    animation-delay: 0.1s;
  }

  article:nth-child(3n) {
    animation-delay: 0.2s;
  }
}

/* ===== 暗色模式（默认即为暗色，但保留此块以确保一致性） ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-dark: #0a0a0f;
  }
}

/* ===== 无障碍优化 ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* ===== 链接悬停效果 ===== */
a[href="#"] {
  position: relative;
}

a[href="#"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

a[href="#"]:hover::after {
  width: 100%;
}

/* ===== 图片加载动画 ===== */
img {
  opacity: 0;
  animation: imgFadeIn 0.5s ease forwards;
}

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

/* ===== 全局hover效果增强 ===== */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* ===== 卡片编号装饰 ===== */
#hot article::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

#hot article:hover::after {
  opacity: 0.1;
  transform: scale(1.2);
}

/* ===== 侧边栏统计数字动画 ===== */
aside p::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

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

/* ===== 页脚版权区域样式 ===== */
footer p:last-child a {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

footer p:last-child a:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

/* ===== 响应式字体调整 ===== */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  section h2 {
    font-size: 1.3rem;
  }

  article h3 {
    font-size: 1.2rem;
  }
}

/* ===== 打印样式 ===== */
@media print {
  header, footer, aside, #app {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  article {
    break-inside: avoid;
    background: none;
    border: 1px solid #ddd;
  }
}

/* ===== 滚动进度条 ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transform-origin: 0 50%;
  animation: scrollProgress linear;
  animation-timeline: scroll();
  opacity: 0.8;
}

@keyframes scrollProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ===== 文本选择样式 ===== */
::selection {
  background: var(--primary);
  color: white;
  text-shadow: none;
}

/* ===== 最后优化：确保所有元素动画流畅 ===== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== 结束 ===== */
```