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

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

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

.comic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.15);
}

.comic-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;
}

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

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

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

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

.btn-primary {
  background: linear-gradient(90deg, #FF5E8A 0%, #FF89B3 100%);
  color: white;
  border: none;
  border-radius: 32px;
  padding: 13px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 94, 138, 0.35);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(255, 94, 138, 0.45);
}

.section-title {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

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

.new-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  background: #FF5E8A;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 9px;
  border-radius: 22px;
  z-index: 10;
}

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

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

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

.search-container {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 6px 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

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

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

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

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

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

/* 响应式调整 */
@media (max-width: 768px) {
  .comic-cover {
height: 180px;
  }
  
  .hero-section {
height: 280px;
  }
  
  .hero-content h1 {
font-size: 26px;
  }
  
  .hero-content p {
font-size: 16px;
  }
  
  .category-card h3 {
font-size: 13px;
  }
}

@media (max-width: 480px) {
  .comic-cover {
height: 160px;
  }
  
  .hero-section {
height: 240px;
  }
  
  .section-title {
font-size: 1.5rem;
  }
  
  .category-card h3 {
font-size: 12px;
  }
}