```css
:root {
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --secondary: #FD79A8;
  --accent: #00CEC9;
  --bg: #0F0F1A;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --text: #E8E8F0;
  --text-muted: #A0A0B8;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(108, 92, 231, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f093fb 100%);
  --font: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

[data-theme="light"] {
  --bg: #F5F6FA;
  --bg-card: rgba(0, 0, 0, 0.04);
  --bg-card-hover: rgba(0, 0, 0, 0.08);
  --text: #2D3436;
  --text-muted: #636E72;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(108, 92, 231, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 121, 198, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
  animation: bgFloat 20s ease-in-out infinite alternate;
}

@keyframes bgFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.05); }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

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

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

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

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

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

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

header.scrolled {
  background: var(--glass-bg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.logo h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover {
  color: var(--primary-light);
}

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

/* Main */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px 60px;
}

section {
  margin-bottom: 80px;
}

section > h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

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

/* 漫画卡片网格 */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.comic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease both;
}

.comic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.comic-card:hover::before {
  opacity: 0.05;
}

.comic-card:nth-child(1) { animation-delay: 0.05s; }
.comic-card:nth-child(2) { animation-delay: 0.1s; }
.comic-card:nth-child(3) { animation-delay: 0.15s; }
.comic-card:nth-child(4) { animation-delay: 0.2s; }
.comic-card:nth-child(5) { animation-delay: 0.25s; }
.comic-card:nth-child(6) { animation-delay: 0.3s; }
.comic-card:nth-child(7) { animation-delay: 0.35s; }
.comic-card:nth-child(8) { animation-delay: 0.4s; }
.comic-card:nth-child(9) { animation-delay: 0.45s; }
.comic-card:nth-child(10) { animation-delay: 0.5s; }
.comic-card:nth-child(11) { animation-delay: 0.55s; }
.comic-card:nth-child(12) { animation-delay: 0.6s; }

.comic-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.comic-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

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

.comic-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

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

.comic-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.comic-card p:last-child {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 8px;
  font-weight: 500;
}

/* 推荐网格 */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.recommend-grid article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease both;
}

.recommend-grid article:nth-child(1) { animation-delay: 0.1s; }
.recommend-grid article:nth-child(2) { animation-delay: 0.2s; }
.recommend-grid article:nth-child(3) { animation-delay: 0.3s; }
.recommend-grid article:nth-child(4) { animation-delay: 0.4s; }

.recommend-grid article:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.recommend-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recommend-grid article:hover img {
  transform: scale(1.1);
}

.recommend-grid h3 {
  font-size: 1.3rem;
  padding: 20px 20px 8px;
  position: relative;
}

.recommend-grid h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.recommend-grid p {
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.recommend-grid p:last-child {
  padding-bottom: 20px;
  line-height: 1.6;
}

/* 详细介绍 */
#detail article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease both;
  position: relative;
  overflow: hidden;
}

#detail article::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

#detail h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#detail img {
  width: 100%;
  max-width: 600px;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 30px;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease;
}

#detail img:hover {
  transform: scale(1.02);
}

#detail p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
}

#detail p:last-child {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--primary-light);
}

/* 角色介绍 */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.character-grid article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: scaleIn 0.6s ease both;
}

.character-grid article:nth-child(1) { animation-delay: 0.1s; }
.character-grid article:nth-child(2) { animation-delay: 0.2s; }
.character-grid article:nth-child(3) { animation-delay: 0.3s; }
.character-grid article:nth-child(4) { animation-delay: 0.4s; }

.character-grid article:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.character-grid img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--gradient);
  padding: 3px;
  transition: all 0.5s ease;
  animation: float 3s ease-in-out infinite;
}

.character-grid article:hover img {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--secondary);
}

.character-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.character-grid p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.character-grid p:last-child {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
}

/* 平台介绍 */
#platform article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease both;
}

#platform h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--primary-light);
  position: relative;
  padding-bottom: 15px;
}

#platform h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

#platform p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text);
}

/* APP下载 */
#app article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease both;
  position: relative;
  overflow: hidden;
}

#app article::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 3s infinite;
}

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

#app p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  line-height: 1.8;
}

#app button {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  margin: 0 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

#app button::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;
}

#app button:hover::before {
  left: 100%;
}

#app button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

#app button:active {
  transform: translateY(-2px) scale(0.98);
}

/* 用户评论 */
.comments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.comments-list article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease both;
  position: relative;
}

.comments-list article::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.comments-list article:nth-child(1) { animation-delay: 0.05s; }
.comments-list article:nth-child(2) { animation-delay: 0.1s; }
.comments-list article:nth-child(3) { animation-delay: 0.15s; }
.comments-list article:nth-child(4) { animation-delay: 0.2s; }
.comments-list article:nth-child(5) { animation-delay: 0.25s; }
.comments-list article:nth-child(6) { animation-delay: 0.3s; }
.comments-list article:nth-child(7) { animation-delay: 0.35s; }
.comments-list article:nth-child(8) { animation-delay: 0.4s; }
.comments-list article:nth-child(9) { animation-delay: 0.45s; }
.comments-list article:nth-child(10) { animation-delay: 0.5s; }
.comments-list article:nth-child(11) { animation-delay: 0.55s; }
.comments-list article:nth-child(12) { animation-delay: 0.6s; }

.comments-list article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.comments-list p:first-child {
  font-size: 1rem;
  margin-bottom: 15px;
  font-style: italic;
  color: var(--text);
  padding-left: 20px;
}

.comments-list p:not(:first-child) {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* 侧边栏 */
aside {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

aside h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-light);
  position: relative;
  padding-bottom: 10px;
}

aside h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

aside ol {
  list-style: none;
  counter-reset: rank;
}

aside ol li {
  counter-increment: rank;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

aside ol li::before {
  content: counter(rank);
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 50%;
  margin-right: 10px;
  font-weight: bold;
  font-size: 0.85rem;
  color: var(--primary-light);
  transition: all 0.3s ease;
}

aside ol li:hover {
  color: var(--primary-light);
  padding-left: 15px;
}

aside ol li:hover::before {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.1);
}

aside p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* Footer */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 30px 30px;
  text-align: center;
}

footer h3 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--primary-light);
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

footer ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

footer ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 1024px) {
  nav ul {
    gap: 20px;
  }
  
  nav ul li a {
    font-size: 0.85rem;
  }
  
  .comic-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  aside {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
    height: 60px;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li a {
    font-size: 1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  
  main {
    padding: 80px 20px 40px;
  }
  
  section {
    margin-bottom: 60px;
  }
  
  section > h2 {
    font-size: 1.6rem;
  }
  
  .comic-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .comic-card {
    padding: 15px;
  }
  
  .comic-card img {
    height: 200px;
  }
  
  .comic-card h3 {
    font-size: 1rem;
  }
  
  .recommend-grid {
    grid-template-columns: 1fr;
  }
  
  #detail article,
  #platform article,
  #app article {
    padding: 25px;
  }
  
  #detail h3 {
    font-size: 1.4rem;
  }
  
  #detail img {
    height: 250px;
  }
  
  .character-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .character-grid img {
    width: 120px;
    height: 120px;
  }
  
  .comments-list {
    grid-template-columns: 1fr;
  }
  
  aside {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }
  
  #app button {
    padding: 12px 30px;
    margin: 5px;
    font-size: 0.9rem;
  }
  
  footer {
    padding: 40px 20px 20px;
  }
  
  footer ul {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.3rem;
  }
  
  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .comic-card {
    padding: 10px;
  }
  
  .comic-card img {
    height: 150px;
  }
  
  .comic-card h3 {
    font-size: 0.9rem;
  }
  
  .comic-card p {
    font-size: 0.75rem;
  }
  
  .recommend-grid {
    grid-template-columns: 1fr;
  }
  
  .recommend-grid img {
    height: 180px;
  }
  
  #detail img {
    height: 200px;
  }
  
  #app button {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
}

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 主题切换按钮 */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.theme-toggle:hover {
  transform: rotate(180deg) scale(1.1);
  background: var(--gradient);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  transition: fill 0.3s ease;
}

.theme-toggle:hover svg {
  fill: #fff;
}

/* 移动端导航按钮 */
.mobile-nav-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-nav-btn {
    display: block;
  }
  
  .mobile-nav-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* 滚动条动画 */
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
```