/* 免费韩国漫画网样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
  background: linear-gradient(120deg, #FAF5FF 0%, #F5EEFF 100%);
  background-attachment: fixed;
  color: #333;
  font-family: 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.manga-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(0,0,0,0.08);
}

.manga-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

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

.manga-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 60%);
  z-index: 1;
}

.manga-cover span {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
  line-height: 1.6;
}

.genre-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  padding: 5px 12px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.13);
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.header-gradient {
  background: linear-gradient(90deg, #FF6B9B 0%, #7B68EE 100%);
}

.btn-primary {
  background: linear-gradient(90deg, #FF6B9B 0%, #FF8EC7 100%);
  color: white;
  border: none;
  border-radius: 34px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 107, 155, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 107, 155, 0.4);
}

.section-title {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 34px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 6px;
  background: linear-gradient(90deg, #FF6B9B 0%, #7B68EE 100%);
  border-radius: 3px;
}

.new-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #FF6B9B;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 24px;
  z-index: 10;
}

.manga-stats {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

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

.manga-stats i {
  margin-right: 6px;
}

.search-container {
  background: rgba(255, 255, 255, 0.93);
  border-radius: 34px;
  padding: 7px 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.11);
}

.search-container input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 10px 14px;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.mobile-nav.active {
  max-height: 500px;
}

.footer-link {
  position: relative;
  padding-bottom: 7px;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF6B9B;
  transition: width 0.3s ease;
}

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

.app-download {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.3s ease;
}

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

/* 樱花飘落效果 */
.cherry-blossom {
  position: absolute;
  background: linear-gradient(135deg, #FFD1DC 0%, #FFB5C5 100%);
  border-radius: 50% 50% 0 50%;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
  animation: falling linear forwards;
}

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

/* 分类文字优化 */
.genre-card h3 {
  color: #333;
  text-shadow: none;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .manga-cover {
height: 180px;
  }
  
  .hero-section {
height: 300px;
  }
  
  .hero-content h1 {
font-size: 28px;
  }
  
  .hero-content p {
font-size: 18px;
  }
  
  .genre-card h3 {
font-size: 14px;
  }
}

@media (max-width: 480px) {
  .manga-cover {
height: 160px;
  }
  
  .hero-section {
height: 260px;
  }
  
  .section-title {
font-size: 1.7rem;
  }
  
  .genre-card h3 {
font-size: 13px;
  }
}