* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #c9a45b;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.search-container {
    margin-bottom: 20px;
}

#searchInput {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #c9a45b;
    box-shadow: 0 0 5px rgba(201, 164, 91, 0.5);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #c9a45b;
    color: white;
    border-color: #c9a45b;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.hero-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-info {
    padding: 15px;
    text-align: center;
}

.hero-name {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.hero-type {
    font-size: 14px;
    color: #777;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 14px;
}

footer a {
    color: #c9a45b;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .hero-image {
        height: 150px;
    }
}

@media screen and (max-width: 480px) {
    .hero-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .hero-image {
        height: 120px;
    }
    
    .hero-info {
        padding: 10px;
    }
    
    .hero-name {
        font-size: 16px;
    }
    
    .hero-type {
        font-size: 12px;
    }
} 