/* 分类详情页样式 */
.category-header {
    background: var(--gradient-primary);
    padding: 3rem 0;
    color: white;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.category-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-text p {
    opacity: 0.8;
}

.category-filters {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

/* 游戏网格布局 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.game-image {
    position: relative;
    height: 200px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-platforms {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.game-platforms span {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .category-icon {
        margin: 0 auto;
    }

    .category-filters {
        flex-direction: column;
    }

    .filter-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
} 