/* 禁漫天堂全局样式 */
.manga-heaven-page {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 卡片悬停效果 */
.comic-card-1:hover,
.comic-card-2:hover,
.comic-card-3:hover,
.comic-card-4:hover {
    transform: translateY(-5px);
}

.category-card-1,
.category-card-2,
.category-card-3,
.category-card-4 {
    transition: all 0.3s ease;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

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

.comic-card-1,
.comic-card-2,
.comic-card-3,
.comic-card-4 {
    animation: fadeInUp 0.6s ease-out;
}

.category-card-1 { animation-delay: 0.1s; }
.category-card-2 { animation-delay: 0.2s; }
.category-card-3 { animation-delay: 0.3s; }
.category-card-4 { animation-delay: 0.4s; }

/* 评论区域样式 */
.comment-item-1,
.comment-item-2,
.comment-item-3 {
    transition: all 0.3s ease;
}

.comment-item-1:hover,
.comment-item-2:hover,
.comment-item-3:hover {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin: -16px;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .manga-heaven-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 加载动画 */
.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 搜索框聚焦效果 */
.search-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* 按钮点击效果 */
.btn-primary:active {
    transform: scale(0.98);
}