  /* 韩漫阅读网样式 */
/* 基础样式 */
:root {
  --primary: #FF6B9D;
  --secondary: #7A67EE;
  --dark: #312F5D;
  --light: #F9F5FF;
  --accent: #FF8CC7;
  --text-primary: #333;
  --text-secondary: #666;
}

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

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, var(--light) 0%, #F3EEFF 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 漫画卡片样式 */
.comic-card {
  transition: all 0.4s ease;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
  background: white;
}

.comic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.comic-cover {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.comic-cover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 1;
}

.comic-cover span {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

/* 分类标签优化 */
.category-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* 标题样式 */
.section-title {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 35px;
  font-size: 28px;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 3px;
}

/* 按钮样式 */
.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  border-radius: 35px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 107, 157, 0.3);
  display: inline-flex;
  align-items: center;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255, 107, 157, 0.4);
}

.btn-primary i {
  margin-left: 8px;
}

/* 导航栏样式 */
.header-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

/* 徽章样式 */
.new-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 10;
  -webkit-font-smoothing: antialiased;
}

/* 漫画统计信息 */
.comic-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.comic-stats span {
  display: flex;
  align-items: center;
}

.comic-stats i {
  margin-right: 5px;
}

/* 搜索框样式 */
.search-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 35px;
  padding: 6px 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 10px 12px;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

/* 移动端菜单 */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mobile-menu.active {
  max-height: 600px;
}

/* 页脚链接样式 */
.footer-links a {
  position: relative;
  padding-bottom: 6px;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

.footer-links a:hover {
  color: white;
}

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

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

/* 应用下载样式 */
.app-download {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-download:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}

/* 花瓣飘落效果 */
.petal {
  position: absolute;
  background: linear-gradient(135deg, #FFCCD5 0%, #FFBBD0 100%);
  border-radius: 50% 50% 0 50%;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: falling linear forwards;
}

@keyframes falling {
  0% {
transform: translateY(-30px) rotate(0deg);
opacity: 0.7;
  }
  100% {
transform: translateY(calc(100vh + 60px)) rotate(360deg);
opacity: 0.3;
  }
}

/* 评分星星样式 */
.rating {
  color: #FFD700;
  font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .comic-cover {
height: 200px;
font-size: 18px;
  }
  
  .hero-section {
height: 280px;
  }
  
  .hero-content h1 {
font-size: 22px;
  }
  
  .hero-content p {
font-size: 15px;
  }
  
  .section-title {
font-size: 24px;
  }
  
  .category-tag {
font-size: 12px;
padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .comic-cover {
height: 180px;
font-size: 16px;
  }
  
  .btn-primary {
padding: 12px 24px;
font-size: 14px;
  }
  
  .comic-stats {
font-size: 12px;
  }
  
  .category-tag {
top: 10px;
right: 10px;
padding: 3px 8px;
  }
}