* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    margin-bottom: 30px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #1e88e5;
}

.search-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.search input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 280px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.hero-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.hero-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-info {
    padding: 15px;
}

.hero-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.hero-category {
    color: #666;
    font-size: 14px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .hero-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
} 