/* 动漫分类页面专用样式 */

/* 页面标题 */
h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #cc2529, #e62e33);
    border-radius: 2px;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.tab {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid #e9ecef;
    text-decoration: none;
}

.tab:hover {
    background-color: #cc2529;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(204, 37, 41, 0.3);
    border-color: #cc2529;
}

.tab.active {
    background: linear-gradient(135deg, #b32124, #cc2529);
    color: white;
    border-color: #b32124;
    box-shadow: 0 4px 10px rgba(204, 37, 41, 0.3);
}

/* 动漫网格 */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

/* 动漫卡片 */

/* 空状态 */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.empty-state p {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 25px;
    }
    
    .card-cover {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .card-cover {
        height: 200px;
    }
    
    .card-info {
        padding: 15px;
    }
    
    .song-title {
        font-size: 16px;
    }
    
    .song-artist {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .card-cover {
        height: 180px;
    }
    
    .category-tabs {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    
    .card-cover {
        height: 170px;
    }
    
    .card-info {
        padding: 12px;
    }
    
    .song-title {
        font-size: 15px;
    }
    
    .song-artist {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .song-meta {
        font-size: 12px;
    }
    
    h1 {
        font-size: 28px;
    }
}